# 使用Git 發送第一個PR - 什麼是PR (pull request) - 發送第一個PR - 更換git remote - 使用git delete檔案(已上傳上去) 什麼是PR === Contribute to Open Source Project 1. 遇到問題可以開issue 2. 原作覺得妥,可以fork一份Respository到自己的github 3. 做完發一個PR給作者 4. 原作看了覺得很棒,會把PR merge到那個Respository 發送第一個PR === 試著fork luka 的專案  1. 那個右上角的fork按下去 2. 會到自己的repository會發現出現了luka的專案 點進去 然後在Code那把那個碼複製起來  3. 回到iterm2,輸入 `cd git clone git@github.com:Chrislinlin/Git-Tutorial.git`  4. `cd Git-Tutorial` 5. `git status`確認狀態 6. `git add.` (加入git) 7. `git status`  8. 輸入git commit -m "Chrislinlin's first pull request" 9. git status確認綠色不見  10. git log(確認有丟上去了) 11. git push  12. 回到Chrislinlin的github會發現 first pr出現了hi 我是Chrislin  ###### tags: `git`
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up