生成并獲取 sshkey:
ssh-keygen -t rsa -C "xxxxx@xxxxx.com" cat ~/.ssh/id_rsa.pub
?
克隆倉庫:
git clone xxx@xxx/xxx.git
?
重命名文件:
mv file_name new_file_name
?
git目錄區分大小寫:
git config core.ignorecase false
?
強制回滾(慎用):
git reset --hard 8e3567c git push -f origin master
?
遠端代碼覆蓋本地:
git fetch --all git reset --hard origin/master
?
持續更新...