About 1,470,000 results
Open links in new tab
  1. 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 …

  2. 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 …

  3. How do you merge two Git repositories? - Stack Overflow

    Sep 15, 2009 · The git merge step fails here with fatal: refusing to merge unrelated histories; --allow-unrelated-histories fixes that as explained in the docs.

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

    3740 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 …

  5. 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 …

  6. What is `git merge` doing? - Stack Overflow

    How does Git perform when there is no common base for merging branches? How does Git perform when there are multiple common bases for merging branches? What happens when I …

  7. When do you use Git rebase instead of Git merge?

    Apr 30, 2009 · When is it recommended to use Git rebase vs. Git merge? Do I still need to merge after a successful rebase?

  8. How do I resolve merge conflicts in a Git repository?

    Before pushing your newly committed change to remote server, try git pull --rebase rather git pull and manual merge and it will automatically sync the latest remote server changes (with a fetch …

  9. How can I selectively merge or pick changes from another branch …

    git merge --no-commit followed by manual unstaging of a large number of edits that I don't want to make common between the branches. Manual copying of common files into a temporary …

  10. 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 …