[NFBCS] Questions about git?
Lewis Wood
lewislwood at gmail.com
Sun Feb 23 12:11:11 UTC 2025
Most everything revoloves around the origin when collaborating.
If you are working with large teams you will also inevitabley use the
fetch-all command to fetch all branches.
When you make modification create a new branch prior to making changes. Once
you are okay then push those changes. Since this is a new branch you will
have to do pull request followed with a merge.
By merging into your branch you verify no conflicts and resolve them if
present.
Once okay you issue a pushmerge request.
The person in charge will approve or not.
I never worked with those others so this may be redundant to you , since you
may have already been doing something similar.
Lewis Wood
lewislwood at gmail.com
-----Original Message-----
From: NFBCS <nfbcs-bounces at nfbnet.org> On Behalf Of Brian Buhrow via NFBCS
Sent: Saturday, February 22, 2025 11:41 PM
To: nfbcs at nfbnet.org
Cc: Brian Buhrow <buhrow at nfbcal.org>
Subject: [NFBCS] Questions about git?
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
_______________________________________________
NFBCS mailing list
NFBCS at nfbnet.org
http://nfbnet.org/mailman/listinfo/nfbcs_nfbnet.org
To unsubscribe, change your list options or get your account info for NFBCS:
http://nfbnet.org/mailman/options/nfbcs_nfbnet.org/lewislwood%40gmail.com
More information about the NFBCS
mailing list