git clone https://github.com/adam-p/markdown-here.git
如果在訊息中看見「done」,就表示成功了:
現在你可以在電腦裡找到一個叫 markdown-here 的資料夾:
cd markdown-here
git checkout -b my-feature
git status
git add .
git commit -m "Add my changes"
git remote origin
8. 列出更詳細的清單:
git remote -v
heroku https://git.heroku.com/safe-river-21892.git (fetch)
heroku https://git.heroku.com/safe-river-21892.git (push)
upstream https://github.com/ALPHACamp/forum-express-grading.git (fetch)
upstream https://github.com/ALPHACamp/forum-express-grading.git (push)
git remote add origin https://github.com/adam-p/markdown-here.git
git remote remove origin
git branch -M main
git push -u origin main
git pull --rebase