git - Sync Branch and staying up to date with a project using GitHub for Windows -
Text after "div class =" itemprop = "text">
What should I do in GitHub for Windows applications to stay up to date with changes made in a project or store Hosted on GitHub?
I'm not editing the most likely, but want to be aware of and involved in the changes made to this project.
When I clone in the desktop, using GitHub for Windows GUI, the option is a "sync branch" from me, which as "change from others sharing your local commitments on the server and down Stretching is defined ". With whom am I sharing my local commitment? Is this the original source? And, whose change I am "down down"?
It seems that the "Sync Branch" option will both be in the GUI (whether I want it or not).
You can do repo work (even if you do not intend to contribute back), only To keep a clear link with the original upstream. Repo
From there, you can:
- Localize your fork
-
Original repo over the river Adding a remote discussion to p>
add to git remote river https://github.com/user/repo
-
'Set up branch over river' for remote over river. In this way, drag a simple
<git pull
always from the original rep (upstream
one)set
Set
git checkout master git branch -u upstream / master
-
set
push.default
tomatch < / Code>.
In this way, agit pushing original
will turn on all your local branches (updated from upstream).git config push.default match
The idea behind those settings is: dragging from On the river, but emphasizing to the original , means to keep track of new changes :.
-
to
the original
(To update your local clone to the last SHA1, you were asked to do a new command / check with the original repo - and
Pull
toupstream
in / ul>
Comments
Post a Comment