首页 > 其他 > 详细

Git命令

时间:2021-04-25 14:15:15      阅读:23      评论:0      收藏:0      [点我收藏+]

1.git fatal: The upstream branch of your current branch does not match the name of your current branch

参考https://stackoverflow.com/questions/24864700/fatal-the-upstream-branch-of-your-current-branch-does-not-match-the-name-of-you

git push时和远程仓库分支对不上

使用git push origin 本地分支名:远程分支名

PS E:\code\proj\vuey> git branch -a
* dev1
  master
  remotes/origin/HEAD -> origin/master
  remotes/origin/dev1
  remotes/origin/feature-vuey-v1.0.0-20200425
  remotes/origin/master
PS E:\code\proj\vuey> git push origin dev1:feature-vuey-v1.0.0-20200425
Everything up-to-date

 

Git命令

原文:https://www.cnblogs.com/Tiffany-YZ/p/14699906.html

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