Solved

Github and terminal question

Posted on 2011-09-16
4
390 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 
LVL 38

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

How Do You Stack Up Against Your Peers?

With today’s modern enterprise so dependent on digital infrastructures, the impact of major incidents has increased dramatically. Grab the report now to gain insight into how your organization ranks against your peers and learn best-in-class strategies to resolve incidents.

Question has a verified solution.

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

Suggested Solutions

Boost your ability to deliver ambitious and competitive web apps by choosing the right JavaScript framework to best suit your project’s needs.
Fine Tune your automatic Updates for Ubuntu / Debian
The viewer will learn how to count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

730 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