faulty
faulty

Reputation: 8347

Merging Branch using Git

We're using TFS2010 for our ASP.Net project's VCS. Recently there's a need to make some minor changes but affecting a lot of files. Since branching is only reserved for major release, we've decided to use a local branch while trying out Git. An isolated team is working on this local branch while the remaining team members are working on bug fixes for the main branch in TFS.

Now we're done and it's time to merge. What we have in mind is to get the latest copy from our TFS and replace into the local branch and manually merge using TortoiseGit.

What would be the recommended process to merge for our case?

Upvotes: 1

Views: 85

Answers (1)

VonC
VonC

Reputation: 1329542

What we have in mind is to get the latest copy from our TFS

That would be a simple git fetch

replace into the local branch and manually merge using TortoiseGit.

Since it is a local branch, not yet push, you can rebase it.

git checkout yourLocalBranch
git rebase origin/master

That way, you resolve your merges locally, and said branch can be merged back into master at any time (it would be a trivial fast-foward merge).

Upvotes: 1

Related Questions