Featured image of post Git 如何更新程式至遠端

Git 如何更新程式至遠端

Main

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
#1 檢查目前異動狀態
git status 

#2 將檔案新增上去索引
git add .

#3 再檢查一次異動狀態
git status 

#4 commit 上去 
git commit -m '說明 xxxx' 

#5 最後 push 上去
git push origin <branch>
Licensed under CC BY-NC-SA 4.0
comments powered by Disqus
Built with Hugo
Theme Stack designed by Jimmy