git常用命令

下载仓库文件代码:

      git clone 仓库地址(https的那个)

克隆分支命令:

     git clone -b 分知名 仓库地址(https的那个)

推送命令:

     (1)、git add .     ------>       暂存所有

     (2)、git commit -m '提交备注说明文字'      --------->    暂存到本地仓库

     (3)、git push origin 分支名      -------->      推送到远程

从远程仓库获取最新版本并合并到本地 ( 即拉取 ) :

     git pull

原文地址:https://www.cnblogs.com/Z_66/p/12260460.html