首页 > 其他 > 详细

GIT常用命令

时间:2019-12-07 01:48:19      阅读:80      评论:0      收藏:0      [点我收藏+]

git init

git add .

git commit -m "comment"

git remote add origin ssh://git@hupz.com:/home/git/gitrepo/gittest.git

git push origin master

 

 

# 查看关联的远程仓库的名称

git remote

# 查看关联的远程仓库的详细信息

git remote -v

# git_url 为你的远程仓库的 url,可采用 http 协议或 ssh(git) 协议

git remote add origin <url>

GIT常用命令

原文:https://www.cnblogs.com/hupingzhi/p/12000149.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!