美文网首页
git常用命令

git常用命令

作者: 西亭月圆 | 来源:发表于2020-04-26 21:27 被阅读0次

# local

git init

git add .

git commit -m 'first commit'

# push remote

git push https://xxx/xxx.git master

git remote add xxx https://xxx/xxx.git     # set alias

git remote -v   #  列出已添加别名的远程仓库地址

git remote rm xxx   #  删除已添加别名的远程仓库地址

# pull to local

git clone https://xxx/xxx.git

相关文章

网友评论

      本文标题:git常用命令

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