DEV Community

Discussion on: Explain git config Like I'm Five

Collapse
 
rhymes profile image
rhymes

Keep in mind that practically always you don't edit the gitconfig file manually, but trough git config.

This is a good tutorial.

If you want to know each and every option the gitconfig can have you have to read the documentation.

What is the difference between merge and fetch?

git fetch means "go to the remote repository and download the new changes to our local repository". git merge means "integrate this set of changes into this other branch". git pull means more or less "go to the remote repository, download the new changes, merge such changes in the branch" (git fetch + git merge)