File tree 2 files changed +11
-1
lines changed 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 63
63
* [ Import from a bundle] ( https://github.com/git-tips/tips#import-from-a-bundle )
64
64
* [ Get the name of current branch.] ( https://github.com/git-tips/tips#get-the-name-of-current-branch )
65
65
* [ 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 )
66
67
67
68
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
68
69
<!-- @doxie.inject end toc -->
@@ -366,7 +367,7 @@ __Alternatives:__
366
367
git branch -m [< old-branch-name> ] < new-branch-name>
367
368
```
368
369
369
- ## rebases 'feature' to 'master' and merges it in to master
370
+ ## rebases 'feature' to 'master' and merges it in to master
370
371
``` sh
371
372
git checkout feature && git rebase @{-1} && git checkout @{-2} && git merge @{-1}
372
373
```
@@ -443,5 +444,10 @@ git rev-parse --abbrev-ref HEAD
443
444
git update-index --assume-unchanged Changelog; git commit -a; git update-index --no-assume-unchanged Changelog
444
445
```
445
446
447
+ ## Visualize each position of HEAD in the last 30 days
448
+ ``` sh
449
+ git reflog
450
+ ```
451
+
446
452
<!-- Don’t remove or change the comment below – that can break automatic updates. More info at <http://npm.im/doxie.inject>. -->
447
453
<!-- @doxie.inject end -->
Original file line number Diff line number Diff line change 251
251
{
252
252
"title" : " Ignore one file on commit (e.g. Changelog)." ,
253
253
"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"
254
258
}
255
259
]
You can’t perform that action at this time.
0 commit comments