Solved

Github and terminal question

Posted on 2011-09-16
4
387 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, EE MVE
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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
Does your audience prefer people in photos or no people? How can you best highlight what you’re selling? What are your competitors doing, and what can you do that is different and unique from them?  Continue reading to learn how to make your images …
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
The viewer will get a basic understanding of what section 508 compliance can entail, learn about skip navigation links, alt text, transcripts, and font size controls.

809 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