+5 votes
1 view
in Devops and Agile by (29.1k points)
edited by

I know of some people who use git pull --rebase by default and others who insist never to use it. I believe I understand the difference between merging and rebasing, but I'm trying to put this in the context of git pull. Is it just about not wanting to see lots of merge commit messages, or are there other issues?

1 Answer

+5 votes
by (49.6k points)
edited by

You can use 

git pull --rebase

When your changes don’t deserve a separate branch.

 In Git, you're encouraged to branch and merge. Your local branch and remote branch are, actually, different branches, and git pull is about merging them. 

Regarding git branches, here we have a tutorial which helps you please go through the link:

Welcome to Intellipaat Community. Get your technical queries answered by top developers !


Categories

...