Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
382 views
in Technique[技术] by (71.8m points)

git 的问题

$ git branch --set-upstream-to=origin/<branch> dev

结果提示
bash: branch: No such file or directory
怎么个情况


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

你这是在哪里抄的代码吗?
git branch --set-upstream-to=origin/<branch> dev
上面高亮的<branch>是个变量,是叫你填上具体的分支名字,你直接抄过来当然报错了。
<branch>换成具体的远程分支名字。


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...