git
Block 2.1: Collaboration & Merge 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
againRepository: https://gitlab.com/gitlab-org/gitlab
Repository: https://gitlab.com/gitlab-org/gitlab
Repository: https://gitlab.com/gitlab-org/gitlab
docs/alumni/index.md
Any Questions?