Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How do i Update local Repository From the Github Repo?

Posted on 2016-11-03
8
Medium Priority
?
171 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 2000 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
[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

 

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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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…
A publishing tool, a Version Control System, or a Collaboration Platform! These can be some of the defining words for the two very famous web-hosting Git repositories: Bitbucket and Github. Git is widely used amongst the programmers and developers f…
How to reset a branch to a previous commit, and how to squash multiple commits into a single commit 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.
Suggested Courses

916 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