Solved

Github and terminal question

Posted on 2011-09-16
4
383 Views
Last Modified: 2013-11-13
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
Comment
Question by:lvollmer
  • 2
4 Comments
 
LVL 37

Expert Comment

by:Gerwin Jansen
ID: 36551504
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
 
LVL 12

Accepted Solution

by:
JESii earned 500 total points
ID: 36551817
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
 

Author Closing Comment

by:lvollmer
ID: 36560009
thanks!
0
 
LVL 12

Expert Comment

by:JESii
ID: 36560300
You're welcome; glad that helped! And thanks for the points.
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

Author Note: Since this E-E article was originally written, years ago, formal testing has come into common use in the world of PHP.  PHPUnit (http://en.wikipedia.org/wiki/PHPUnit) and similar technologies have enjoyed wide adoption, making it possib…
"In order to have an organized way for empathy mapping, we rely on a psychological model and trying to model it in a simple way, so we will split the board to three section for each persona and a scenario and try to see what those personas would Do,…
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now