Git最常用的幾個命令

1. 提交 $ git add . 添加當前目錄的所有文件到暫存區 $ git commit 提交暫存區到倉庫區 $ git push 版本庫上傳到遠程倉庫 拉取 git clone url 克隆遠程代碼 git pull 取回遠程主機某個分支的更新,與本地分支合併 分支 $ git branch [branch-name] 新建一個分支,但依然停留在當前分支 $ git merge [branc
相關文章
相關標籤/搜索