Github and terminal question

I am working with github for the first time.

I have a local copy of an app on my machine. Another developer has recently made a change to the app, so I need to update my local copy of the app with that change. I know I need run some commands in terminal to connect with the github repository in order to download the change and update my local copy of the app.

does anyone know the steps I would take to do this? i am reading some documentation and it is not quite clear to me.
lvollmerAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
JESiiConnect With a Mentor Commented:
First, your pal needs to add you as a collaborator to the app (assuming you're using a private app).

then you need to get a github account if you don't already have one.

then configure your account (see http://help.github.com/set-your-user-name-email-and-github-token/)

then you need to setup your machine to be able to get to github (see http://help.github.com/mac-set-up-git/)

then follow this workflow:
   git pull origin master <== or whatever your branch name is
   git add .
   git commit -m "message"
   git push origin master
0
 
Gerwin Jansen, EE MVETopic Advisor Commented:
I'm used to svn but in git you should just go to your local tree (copy) and do a 'git pull'.

What did you try meanwhile, did you get any errors?
0
 
lvollmerAuthor Commented:
thanks!
0
 
JESiiCommented:
You're welcome; glad that helped! And thanks for the points.
0
All Courses

From novice to tech pro — start learning today.