How to just overwrite managed files in an existing directory with the latest 
versions from a remote branch/repo, without merging or whack-n-clone? What I 

As previously noted!topic/git-users/kjNzSHA12bI

I'm attempting to shepherd a group from CVS to git. I'm starting with a small 
subgroup of early-adopter types, who mostly seem enthused. One problem we're 
having relates to how our workspaces are configured, about which we have little 
control. We have separate clusters on which we operate depending on job and 
availability. So it is often the case that a developer will be making changes 
in a working folder on one cluster for one job, then want to bring 
origin/master into a working folder on another cluster.

The early adopters don't like the solutions that are obvious to me:

1 Pull and merge: they usually don't wanna hafta merge, just to overwrite local 
files with the "latest-n-greatest."

2 "Whack and clone": i.e.

cd ..
rm -fr foo/
git clone

  They don't like this, because they usually have non-managed, .gitignore'd in 
the working directory, which must be saved and then restored.

I'm wondering: is there another way to do this?

TIA, Tom Roche <>

You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To post to this group, send email to
To unsubscribe from this group, send email to
For more options, visit this group at

Reply via email to