git tag
git tag v1
git checkout v1^
git checkout v1
git checkout v1-beta
git hist master --all
git add hello.rb===> means to staged
git reset HEAD hello.rb —>clear the staged
git co hell…
git status
undo committed changes
git revert HEAD
git hist
remove commits from a branch
git tag oops
git reset --hard v1
git hist
git hist --all
remove tag
git tag -d oops
git hist --all
amend commit
git add he..
git commit --amend -m "Add.."
git co -b branchName