Git 常用命令 --持續更新

1.git init 初始化 2.git clone 克隆代碼到本地 3.git fetch 從遠程倉庫獲取最新的代碼 4.git pull 把遠程的代碼更新到本地 5.git add . 那本地的代碼提交到stage中 6.git commit -m 'comments' 把stage中的修改代碼提交到本地倉庫 7.git push 把本地的修改代碼到遠程倉庫 8.git branch -r/-
相關文章
相關標籤/搜索