其他分享
首页 > 其他分享> > GIT常见问题

GIT常见问题

作者:互联网

You asked to pull from the remote 'origin', but did not specify a branch. Because this is not the default configured remote

for your current branch, you must specify a branch on the command line.

git remote add origin https://github.com/XXX(username)/YYYY(projectname).git
git branch --set-upstream-to=origin/master master


 

yaoshengting 发布了216 篇原创文章 · 获赞 135 · 访问量 137万+ 他的留言板 关注

标签:origin,git,remote,GIT,master,branch,常见问题,specify
来源: https://blog.csdn.net/ystyaoshengting/article/details/104050599