1.開啟git bash
git config --global user.name "your username"
git config --global user.email "your email address"
1.開啟git bash
git config --global user.name "your username"
git config --global user.email "your email address"
basename -s .git `git config --get remote.origin.url`
1.對著要還原的commit點右鍵->reset current branch to this commit
->Mixed - keep working copy but reset index(移動index 但是 程式碼不會更動)
1.打開git bash
2.設定name