git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How to update? (git Changed but not updated)
@ 2009-02-21 21:23 Reto S. News
  2009-02-22  1:10 ` Sitaram Chamarty
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Reto S. News @ 2009-02-21 21:23 UTC (permalink / raw)
  To: git

Beginner question: "How to update the pushed changes on the master?"

As a proof of concept to switch from CVS to git I prepared an
environment on two servers. I call the one "Slave" and "Master"
the other. Almost everything is working besides a silly
"cvs update" functionality I couldn't still find out after hours.

On Slave Host (a Developer that receives a working copy of a project):

$ git clone git://master.example.net/test myrepo
$ cd myrepo   # ... here I see all received files from the master
$ Changing file "foo.txt"
$ git add .   # ... for whatever reason this is necessary
$ git commit -m 'I changed this file'
$ git push

On Master Host (master.example.net):

# git status # Shows me correctly foo.txt has been changed by the"Slave"
# git show   # Shows me even the made changes in a diff style!


Now I have to update the fresh content produced by the "Slave". As an
ugly work-around, I'm currently cloning it again from localhost :-|

Any suggestions are very appreciated.

--reto

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-02-22 19:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-21 21:23 How to update? (git Changed but not updated) Reto S. News
2009-02-22  1:10 ` Sitaram Chamarty
2009-02-22  1:32 ` Rainer Blome
2009-02-22 10:07 ` Reto Schär

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).