Important git commands used more often
Committing files to wrong branch – in this case: master
git reset HEAD~
git commit -c ORIG_HEAD
Adding version number(tag) to commit
git tag -a "v1.0.0-beta"
List version numbers used
local: git tag --list
remote: git ls-remote --tags
Push tags to remote
git push --tags
status including neat branch graph
git status
git log --graph
push branch to local and remote
git checkout -b new_branch_name
git commit -m "new branch"
git push -u origin new_branch_name