git

作者: w_dll | 来源:发表于2019-08-03 09:01 被阅读0次

添加远程仓库

$ git remote add origin git@github.com:xxwdll/test.git

从远程仓库克隆

$ git clone git@github.com:xxwdll/test.git

将本地仓库内容提交github

$ git pull --rebase origin master
//第一次需要加-u,后面不需要
$ git push -u origin master

从远程更新

$git remote -v //查看远程仓库
$git fetch origin master:temp
$git merge temp
$git branch -d temp

相关文章

网友评论

      本文标题:git

      本文链接:https://www.haomeiwen.com/subject/sviddctx.html