[NFBCS] Questions about git?

Brian Buhrow buhrow at nfbcal.org
Sun Feb 23 05:40:53 UTC 2025


	Hello everyone!  While I'm familiar with distributed source control systems like cvs and
svn, I'm less familiar with git.  I know how to git clone a source tree to make a copy from a
foreign source repository, but I'm less familiar with how to keep that copy current with the
foreign repository over time.  

In my quick read of the manual, it looks like something like: git pull
should update all my local files relative to the remote repository.  Sort of the equivalent of
cvs update to an already checked out tree.  However,  on the particular repository I'm working
on, git pull doesn't do what I expect and the manual is not clear to me at the moment about
what I need to do.
Obviously, I could erase my local tree and git clone it again, but I expect to collaborate with
folks on this tree and that seems like a very wrong way to do it.

	Another note I saw suggested that perhaps I need to supply the URL to the remote
repository on the git pull command line.  Okay if that's true, but doesn't git remember the URL
from which a local tree wa cloned?  Surely I shouldn't have to supply the URL for each git
command if the operation I'm performing is on the same URL as the last one?

Any help with this would be greatly appreciated.

-thanks
-Brian




More information about the NFBCS mailing list