English 中文(简体)
EGIT 当地对远程跟踪
原标题:EGIT branches local vs Remote tracking
  • 时间:2011-11-21 15:01:54
  •  标签:
  • git
  • egit

我对德国信息技术公司来说是新的。 我用粗略使用EGIT。

我对两个部门“地方”和“恢复跟踪”有疑问。 如果我不得不就其中一个分支开展工作,我认为我可以采取两种方式做到这一点。

a) Check out origin/featureBranch under remote tracking and work on it.

b) 在当地进行点击,并设立一个地方分支机构,点击/重新定位/featureBranch并着手进行这项工作?

Are there any difference between these two approaches? which one is preferred?

最佳回答

b) would be best.
a) would create a DETACHED HEAD, which would allow you to work on an "anonymous" branch, but would not allow you to push your work.
(See also "Git Tip of the Week: Detached Heads" and "detached head explained" for more on detached head)

For EGit, see " 吉唐: 注意左侧:

“Egit

问题回答

暂无回答




相关问题
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 ...

热门标签