What git branch was I just in? -
my workflow consists of following:
- working on long term feature branch (call 'a')
- checking out master , making hotfix branch (call 'b')
- pushing hotfix
- then forget branch working on before that...
is there sort of git history show me thing working on branch a?
try:
git reflog
which list of recent actions changed something, checkout, rebase, pull, push, etc.
also includes commit ids, example if did dozen commit --amend
can jump 1 in middle.
Comments
Post a Comment