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

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -