• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 418
  • Last Modified:

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.
0
lvollmer
Asked:
lvollmer
  • 2
1 Solution
 
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
 
JESiiCommented:
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
 
lvollmerAuthor Commented:
thanks!
0
 
JESiiCommented:
You're welcome; glad that helped! And thanks for the points.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now