Commands
My collection of commandsWorkflow
⭐ Syncing
Simple workflowGitLab workflow⭐ Git flow
Tutorials
Solving problems
Source: http://justinhileman.info/article/git-pretty/git-pretty.png
- If work has been done on the wrong branch:
git stash
git checkout branch123
git stash apply
Once everything is back to normal, to clean the stash, remove it from the stash list:
git stash list
git stash drop <stash_name>