Re: [git-users] How to "refresh" my local repo copy.
Yea I was trying pull and fetch but wasnt working.. then I realized I had to do it from inside the repository. *bonk* I was trying it from the location where I performed my "git clone". Thx On Thu, Apr 17, 2014 at 4:08 PM, Charles Manning wrote: > You want git pull > > git fetch will fetch the files > git merge will then merge in the changes > > git pull does it in one step. > > > > > On Fri, Apr 18, 2014 at 8:21 AM, rhugga wrote: > >> >> I'm on a team of about 15 people and we are using a central server to >> store our "master" repo. >> >> Each user then pulls down (git clone) a copy of the master repo to where >> ever they happen to be working at the time. >> >> Is there an easy way for someone to "refresh" their local copy, so they >> pull down any files someone else has committed? The only way I can see to >> do this is commit and push your local changes, delete your local copy and >> pull down again using clone. >> >> Thx. >> >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Git for human beings" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to git-users+unsubscr...@googlegroups.com. >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- > You received this message because you are subscribed to a topic in the > Google Groups "Git for human beings" group. > To unsubscribe from this topic, visit > https://groups.google.com/d/topic/git-users/RmJywM2_vCk/unsubscribe. > To unsubscribe from this group and all its topics, send an email to > git-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] How to "refresh" my local repo copy.
You want git pull git fetch will fetch the files git merge will then merge in the changes git pull does it in one step. On Fri, Apr 18, 2014 at 8:21 AM, rhugga wrote: > > I'm on a team of about 15 people and we are using a central server to > store our "master" repo. > > Each user then pulls down (git clone) a copy of the master repo to where > ever they happen to be working at the time. > > Is there an easy way for someone to "refresh" their local copy, so they > pull down any files someone else has committed? The only way I can see to > do this is commit and push your local changes, delete your local copy and > pull down again using clone. > > Thx. > > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to git-users+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] How to "refresh" my local repo copy.
On Thu, Apr 17, 2014 at 01:21:28PM -0700, rhugga wrote: > > I'm on a team of about 15 people and we are using a central server > to store our "master" repo. > > Each user then pulls down (git clone) a copy of the master repo to > where ever they happen to be working at the time. > > Is there an easy way for someone to "refresh" their local copy, so > they pull down any files someone else has committed? The only way I > can see to do this is commit and push your local changes, delete > your local copy and pull down again using clone. I'm doubting my understanding here because it sounds like you are looking for `git pull` (or possibly `git fetch`), but these commands are both prominently featured in every single tutorial I've read as well as obviously named that you simply can't have missed them! /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: mag...@therning.org jabber: mag...@therning.org twitter: magthe http://therning.org/magnus Heuristic is an algorithm in a clown suit. It’s less predictable, it’s more fun, and it comes without a 30-day, money-back guarantee. -- Steve McConnell, Code Complete pgpFCAz1lTCZW.pgp Description: PGP signature
[git-users] How to "refresh" my local repo copy.
I'm on a team of about 15 people and we are using a central server to store our "master" repo. Each user then pulls down (git clone) a copy of the master repo to where ever they happen to be working at the time. Is there an easy way for someone to "refresh" their local copy, so they pull down any files someone else has committed? The only way I can see to do this is commit and push your local changes, delete your local copy and pull down again using clone. Thx. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.