About 1,470,000 results
Open links in new tab
  1. Git merge two local branches - Stack Overflow

    Jul 31, 2014 · The answer from the Abiraman was absolutely correct. However, for newbies to git, they might forget to pull the repository. Whenever you want to do a merge from branchB into …

  2. How do I safely merge a Git branch into master? - Stack Overflow

    3739 How I would do this git checkout master git pull origin master git merge test git push origin master If I have a local branch from a remote one, I don't feel comfortable with merging other …

  3. What effect does the `--no-ff` flag have for `git merge`?

    Jan 30, 2012 · The --no-ff flag prevents git merge from executing a "fast-forward" if it detects that your current HEAD is an ancestor of the commit you're trying to merge. A fast-forward is when, …

  4. git - Merging changes from master into my branch - Stack Overflow

    Dec 8, 2016 · git merge master # merge master branch into custom_branch This will update your current branch with the changes from your local master branch, the state of which will be that …

  5. How to "git merge" without creating a merge commit?

    Is it possible to do a git merge, but without a commit? "man git merge" says this: With --no-commit perform the merge but pretend the merge failed and do not autocommit, to give the user a …

  6. What's the difference between 'git merge' and 'git rebase'?

    May 21, 2013 · In other words, the key difference between merge and rebase is that while merge preserves history as it happened, rebase rewrites it. Let's contextualize these statements with …

  7. git - Merge (with squash) all changes from another branch as a …

    In Git, is there a way to merge all changes from one branch into another, but squash to a single commit at the same time? I often work on a new feature in a separate branch and will regularly …

  8. merge - Merging 2 branches together in Git - Stack Overflow

    Now if you want to merge feature_branch changes to master, Do git merge feature_branch sitting on the master. This will add all commits into master branch (4 in master + 2 in feature_branch …

  9. github - Git merge with force overwrite - Stack Overflow

    Nov 10, 2016 · I have a branch called demo which I need to merge with master branch. I can get the desired result with following commands: git pull origin demo git checkout master git pull …

  10. How to resolve git's "not something we can merge" error

    514 I just encountered a problem when merging a branch into master in git. First, I got the branch name by running git ls-remote. Let's call that branch "branch-name". I then ran git merge …