git
Block 2.1: Collaboration & Pull Requests
Background: https://unsplash.com/photos/EOQhsfFBhRk
origin
clone
a repository, this remote is already linkedWhen you want to add an existing repository to github, you will have to add the remote yourself
You first pull
the latest changes from the remote and then push
your own changes
git pull
git pull
git pull
git pull
really does two things heregit fetch
to fetch the latest changes and then git merge <remote>/branch
to merge themgit fetch
will always fetch the latest changes without doing anything with them (which can be useful)git push
git push
pull
you need to pull
againgit-example
repogit remote -h
to learn about possible commandsgit-example-2
)Repository: https://github.com/CorrelAid/datenguideR
Repository: https://github.com/CorrelAid/datenguideR
Repository: https://github.com/microsoft/vscode
feature/vegan
git status
Any Questions?