4 space: work cache native remote
git branch -d <branchname>
git branch -r -d origin/<branchname>
git push origin :<branchname>
create & checkout Immediately
git checkout -b <branchname>
git checkout <branchname>
git clone https://github.com/wyhazq/GitCommand.git
commit to native with modify info
//1
git add .
git commit -m 'modify info'
//2
git commit -am 'modify info'
git config -f .git/config user.name 'username'
git config -f .git/config user.email test@github.com
git config --global user.name 'username'
git config --global user.email test@github.com
git fetch origin <branchname>
git log --oneline --graph
git log --author=<username>
git log --before={3.weeks.ago} --after={2008-08=08}
git mv <filename> <new filename>
git push origin <branchname>
remove work & native file
reset all cache file to work
git revert commit <commitId>
git tag -a <tagname> -m 'modify info'
git push origin :refs/tags/<tagname>
//1
git push origin <tagname>
//2
git push --tags
change git history author info
change git history author info