Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
129 views

From git-merge Documentation: By default, git merge command refuses to merge histories that do not share a common ancestor. This option can be used to override this safety when merging histories of ...
Ooker's user avatar
  • 3,404
0 votes
1 answer
710 views

I have a branch feature based on my develop branch. My feature was needed earlier than anticipated in production so I decided to rebase my feature branch on top of my master branch like this (my ...
PrOpoLo's user avatar
  • 123
1 vote
1 answer
541 views

I'm trying to determine the frequency with which master is merged into a specific release branch. So, I want to know the history of all merge-bases. Is there a way to list all of the merges that have ...
fuzzybear3965's user avatar
1 vote
1 answer
180 views

I am doing a cherry-pick that resulted in a merge conflict and when I resolve it, the default merge tool, Vimdiff, is opened. With 4 panes, the top being the Local , base , and remote. However I ...
dgunc's user avatar
  • 35
3 votes
2 answers
529 views

I have the following git branch scenario: F0---F1---Fn (feature: checked out) / ---D0--- (dev) When I issue the command git merge-base dev HEAD on my local repository it returns the ...
steve dunning's user avatar
14 votes
2 answers
15k views

Some people like git merge --squash due to the reason as follows: Squashing to a single commit gives you an opportunity to clean up messy WIP commits and provide a good rationale for the changes your ...
Tomoyuki Aota's user avatar
3 votes
1 answer
2k views

What I am trying to do is ensure that I can delete local branches safely. I found some great answers to this question here: How can I know in git if a branch has been already merged into master? So ...
user avatar
1 vote
2 answers
776 views

Suppose that I have 2 branches: v1.0 and development. Our process is to create local branch using: git merge-base v1.0 development git checkout <commit-hash> git checkout -b <new-branch-name&...
mpasko256's user avatar
  • 842
5 votes
1 answer
3k views

I tried to get ancestor of my branch with git merge-base command on merged branch. When I try git merge-base develop branch1 it shows sha YYY instead of XXX * `develop` | * merge branch1 into ...
milczi's user avatar
  • 7,612