Skip to content

Commit cfca175

Browse files
committed
Tip to display history of HEAD
1 parent ca58c81 commit cfca175

File tree

2 files changed

+13
-3
lines changed

2 files changed

+13
-3
lines changed

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@
5353
* [rebases 'feature' to 'master' and merges it in to master ](https://github.com/git-tips/tips#rebases-feature-to-master-and-merges-it-in-to-master)
5454
* [Archive the `master` branch](https://github.com/git-tips/tips#archive-the-master-branch)
5555
* [Modify previous commit without modifying the commit message](https://github.com/git-tips/tips#modify-previous-commit-without-modifying-the-commit-message)
56-
* [Purnes branches that have been deleted in the remote.](https://github.com/git-tips/tips#purnes-branches-that-have-been-deleted-in-the-remote)
56+
* [Prunes branches that have been deleted in the remote.](https://github.com/git-tips/tips#prunes-branches-that-have-been-deleted-in-the-remote)
57+
* [Visualize each position of HEAD in the last 30 days](https://github.com/git-tips/tips#visualize-each-position-of-head-in-the-last-30-days)
5758

5859
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
5960
<!-- @doxie.inject end toc -->
@@ -372,7 +373,7 @@ git archive master --format=zip --output=master.zip
372373
git add --all && git commit --amend --no-edit
373374
```
374375

375-
## Purnes branches that have been deleted in the remote.
376+
## Prunes branches that have been deleted in the remote.
376377
```sh
377378
git fetch -p
378379
```
@@ -383,5 +384,10 @@ __Alternatives:__
383384
git remote prune origin
384385
```
385386

387+
## Visualize each position of HEAD in the last 30 days
388+
```sh
389+
git reflog
390+
```
391+
386392
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
387393
<!-- @doxie.inject end -->

tips.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -210,8 +210,12 @@
210210
"tip": "git add --all && git commit --amend --no-edit"
211211
},
212212
{
213-
"title": "Purnes branches that have been deleted in the remote.",
213+
"title": "Prunes branches that have been deleted in the remote.",
214214
"tip": "git fetch -p",
215215
"alternatives":["git remote prune origin"]
216+
},
217+
{
218+
"title": "Visualize each position of HEAD in the last 30 days",
219+
"tip": "git reflog"
216220
}
217221
]

0 commit comments

Comments
 (0)