git常用命令

下载仓库文件代码:

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

克隆分支命令:

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

推送命令:

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

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

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

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

     git pull

posted @ 2020-02-04 18:27  扶不起的阿斗。  阅读(125)  评论(0编辑  收藏  举报