Call back add: git reset HEAD <file>git
Call back all add: git reset HEAD .spa
Commit log: git reflog -[number]ci
Back to specific commit: git reset --hard [commit hash value]rem
Log: git log -[number] --author=[author];hash
Show List: git show --name-only [commit-sha]it
Delete local branch: git branch -D <branch>List
Delete remote branch: git push origin --delete <branchName>file
Undo all the unstaged: git checkout .error
Remove untracked file: git clean -dfauth
Keep track on remote branch: git checkout --track [remoteBranch]
Remove untracked files: git clean -n(dry run幹跑) -f(force硬刪)
Long file name error resolve: git config --global core.longpaths true