git config --global user.name "name"
git config --global user.email "[email protected]"
- 設定ssh金鑰(設定到ssh_config)
- 在github設定公鑰
- 測試repo是否可以正常pull或push
如果在github上面建立新的repo,通常它會附上一些指令輸入即可。
git init
# 常用commit指令
git commit
git commit -m "text"
# 常用檔案指令
git add file
git rm file
# 遠程(多人協作)常用指令
git push
git pull
如果需要詳細的說明請聯繫我