Work on this exercise with your group.
What happens if you make changes to the same line simultaneously?
push
and pull
commandspush
and pull
commands work?
git remote add origin
, the remote and local branches aren't connected yet.
git pull origin main
push
with git push --set-upstream origin main
git push
and git pull
.master
vs. main
error: failed to push some refs to [your-url]
main
branch, while your local repository has master
git branch -m main
to rename your local master
to main