Git: Pull - so use the command
Git Pull is one of the most important commands you need when working with Git. Git is a version control that you can use to manage and archive multiple development statuses in a project. Git is also a handy tool for working with multiple people on a project. This practical tip shows you how to use the pull command correctly.
Git Pull: Update and Merge
You need the pull command in the daily Git workflow to update the local repository with the latest changes.
- Navigate to your project in the terminal or in the command line with "cd".
- Execute the "git pull" command there.
- The changes are first downloaded (fetch) and then merged with the local version (merge).
- Git tries to merge the changes automatically. If that doesn't work, conflicts arise.
- You have to solve these conflicts by manually editing the relevant files.
- If you have done this, you must inform Git with "git add [file name]".
You can read about how to use Markdown on Github in the next practical tip.