Solved

How do i Update local Repository From the Github Repo?

Posted on 2016-11-03
8
50 Views
Last Modified: 2016-11-04
Hi Experts,

How do i update my local repository when someone did the changes on cloud github ? . What command i should use for that . Is there any other resources related to learn git please mention it
0
Comment
Question by:karthik80c
  • 5
  • 3
8 Comments
 
LVL 3

Accepted Solution

by:
Kyu Lapiz earned 500 total points
ID: 41872333
Hi  karthik80c,

I found this link to be useful for your question. Certain commands are found on the link including the one you specifically asked.

http://rogerdudler.github.io/git-guide/
1
 

Author Comment

by:karthik80c
ID: 41872348
HI Kyu

Thanks Buddy
0
 
LVL 3

Expert Comment

by:Kyu Lapiz
ID: 41872354
Hi karthik80c,

You're welcome. Let me know if you need more help.
0
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 

Author Comment

by:karthik80c
ID: 41872374
Buddy i saw the $ git pull request is to update local repo . But it shows as Already up-to-date.
and  i cant see the changes made by colleague updated on Github the same on my local . Is am doing rite
0
 
LVL 3

Expert Comment

by:Kyu Lapiz
ID: 41872382
Hi karthik80c,

Try to use these commands:

git diff
or git whatchanged
0
 
LVL 3

Expert Comment

by:Kyu Lapiz
ID: 41872383
Also use git diff --cached to be more specific in checking the changes
1
 

Author Comment

by:karthik80c
ID: 41873457
Thanks Buddy i just made the commit and not sync option . That caused the issue .Thanks a lot Kyu
0
 
LVL 3

Expert Comment

by:Kyu Lapiz
ID: 41873968
You're welcome karthik80c :)
1

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How do I make a GIT Repo auto pull changes? 2 126
How do I configure local github 7 197
Github Pull Request 3 174
Running Jira on Raspberry PI 2? 3 337
To properly understand GitHub, let’s divide it into two words ‘Git’ and ‘Hub’. Git is basically a ‘Distribution Version Control’ (DVC) and ‘Source Code Management’ (SCM) system widely used by software programmers while Hub means the efficient centre…
In this article you will learn how to create a free basic website on Bitbucket, a git service provider. Polymer creates dynamic HTML components, which allow more flexibility than static HTML. This tutorial uses Ubuntu Linux but can also be done on W…
How to create a Git repository using GitHub, and how to clone and checkout the repository using the EGit plugin for Eclipse.
Explains the Git Index and the differences between a Remote, a Remote Tracking Branch, and a Local (or Tracking) branch.

785 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