Git Init
複製公鑰
Windows
clip < ~/.ssh/id_rsa.pub
MAC
pbcopy < ~/.ssh/id_rsa.pub
下面設的帳號,記得與上面貼的公鑰匹配
一次性改帳號資訊(for 單個 repo)
git config user.name "Your Name Here"
git config user.email your@email.example
改 global 帳號資訊
git config --global user.name "Your Name Here"
git config --global user.email your@email.example
reset 遠端代碼(小心慎用,有警告正常)
git stash "SOMETHING"
git reset --hard "commit ID"
git push -f