Shuvankar Paul Software Engineer, Strativ AB Magento eCommerce Website Development, Website Development Using Php and HTML and Cross-Platform application development using Appcelerator.

Git Config Pull Setting

22 sec read

Git Config Pull
Git Config Pull
Commands sometime before your next pull:

  git config pull.rebase false  # merge (the default strategy)
  git config pull.rebase true   # rebase
  git config pull.ff only       # fast-forward only

You can replace "git config" with "git config --global" to set a default
preference for all repositories. You can also pass --rebase, --no-rebase,
or --ff-only on the command line to override the configured default per
invocation

Reason for This

When from git repository for the first time you use the git pull

What you should use

Rather use git pull,
Use the git fetch

git fetch
git merge

Or

git pull --rebase=false

Shuvankar Paul Software Engineer, Strativ AB Magento eCommerce Website Development, Website Development Using Php and HTML and Cross-Platform application development using Appcelerator.

All common Git related problem & it’s the solution

How do I configure git to ignore some files locally? This is kind of common problem we face, like Can I ignore files locally...
Shuvankar Paul
1 min read

Most Common Git Issues & Solution

Git global setup Git Specific Repository Setup After Creating new Branch git checkout to new Branch not working For Example, you have only one...
Shuvankar Paul
25 sec read

Leave a Reply

Your email address will not be published. Required fields are marked *