Slide 18
Slide 18 text
PUSHING AND PULLING
GIT BASICS
• If you’re collaborating with others, odds are you’ll both be
working at same time.
• If you try and push and you need to pull, you’ll get an error
• Normally though, git push [origin] [branch] (git push
origin master) will push the changes you’ve been working, but
be sure you’re on the correct branch!
• Pulling is just as easy, git pull [origin] [branch] will get
any remote changes that are available and all being well, there’s
no conflicts.