Solved

Github and terminal question

Posted on 2011-09-16
4
389 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 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
LogmeIn using Linux Ubuntu 16.04 6 63
Apache module 5 47
How to use NFS (Network File System) in Asp.net mvc 5? 4 45
Adding items to a C# list incrementally 5 33
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
There’s a good reason for why it’s called a homepage – it closely resembles that of a physical house and the only real difference is that it’s online. Your website’s homepage is where people come to visit you. It’s the family room of your website wh…
The viewer will learn how to dynamically set the form action using jQuery.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

838 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