English 中文(简体)
当NOT时,Gite认为分支机构是相同的。
原标题:Git thinks branches are identical when they are NOT
  • 时间:2019-01-04 22:06:33
  •  标签:
  • git

我的一篇文字中有一些错误,因此我设立了一个部门来加以纠正。 新的分支称为“固定——rot”。

我用手稿正确操作。 我提出了合并的请求。 但是,当我与总经理合并时,要告诉我:

Branch "master" is already up-to-date with branch "fix_rotate_keys" in repository "aws_scripts".

真的? 由于我改用<代码>git 支票out Master,在我管理文字时,明显错误是:

AWS user name: aws-test-new does not exist in AWS account: ./aws_iam_utils.sh: line 2266: [: : integer expression expected
./aws_iam_utils.sh: line 2266: [: : integer expression expected

我能做些什么来使人认识到,如果是,国际交易日志的档案已经改变,需要并入主人?

我是gui,我看到:

“Git

问题回答

您似乎再次试图将<代码>master合并为fix_rotate_keys。 由于你从<条码>中建立了<条码>固定_rotate_keys,该电文具有意义(<条码>中上的电文也载于<条码>固定_rotate_keys)。

如果你想要合并<代码> 固定格式_rotate_keys 阁下:

git checkout master
git merge fix_rotate_keys

我刚刚遇到同样的错误,试图提出拉动要求(在Bucket)。

我已经:

  1. Created my local branch.
  2. Staged the local changes for commit.
  3. Pushed the new local branch to origin with git push -u origin branchname
  4. Tried to create the PR using the URL generated by the push command.

让我指出,我忽视了当地对分阶段变化的承诺(在步骤3之前)。 D Oh! 一旦当地人作出承诺并推向原产地,新部门就不再与我的主要/总务部门相同,并且可以设立PR。





相关问题
git confusion - cloning a repo is returning a past version

Im having some confusion with my git usage. I cloned a repo from one comp to the other, and the new clone is the state of the original that was active some time ago. So its cloning a past version. ...

Appropriate strategy for tagging and hotfixing with git

I was wondering if the strategy I m using for tagging and hotfixing tags (which then I use for deploying rails applications) with git is appropriate. For tagging I just tag a commit of the master ...

Tips on upgrading CVS to git/hg?

We still use CVS, I use git and hg for my personal use though I m still a novice at both, but I realize they re much more modern and better, faster, distributed, etc. It s just everyone is so ...

Using Git in a TFS shop

Using Git at home has spoiled me - I now find using TFS at work to be a bit of a drag and want to explore the possibility of using Git locally and syncing somehow with TFS. I figure there are a few ...

热门标签