File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 6363* [ Import from a bundle] ( https://github.com/git-tips/tips#import-from-a-bundle )
6464* [ Get the name of current branch.] ( https://github.com/git-tips/tips#get-the-name-of-current-branch )
6565* [ Ignore one file on commit (e.g. Changelog).] ( https://github.com/git-tips/tips#ignore-one-file-on-commit-eg-changelog )
66+ * [ 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 )
6667
6768<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
6869<!-- @doxie.inject end toc -->
@@ -366,7 +367,7 @@ __Alternatives:__
366367git branch -m [< old-branch-name> ] < new-branch-name>
367368```
368369
369- ## rebases 'feature' to 'master' and merges it in to master
370+ ## rebases 'feature' to 'master' and merges it in to master
370371``` sh
371372git checkout feature && git rebase @{-1} && git checkout @{-2} && git merge @{-1}
372373```
@@ -443,5 +444,10 @@ git rev-parse --abbrev-ref HEAD
443444git update-index --assume-unchanged Changelog; git commit -a; git update-index --no-assume-unchanged Changelog
444445```
445446
447+ ## Visualize each position of HEAD in the last 30 days
448+ ``` sh
449+ git reflog
450+ ```
451+
446452<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
447453<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 251251 {
252252 "title" : " Ignore one file on commit (e.g. Changelog)." ,
253253 "tip" : " git update-index --assume-unchanged Changelog; git commit -a; git update-index --no-assume-unchanged Changelog"
254+ },
255+ {
256+ "title" : " Visualize each position of HEAD in the last 30 days" ,
257+ "tip" : " git reflog"
254258 }
255259]
You can’t perform that action at this time.
0 commit comments