|
|
So if you're working on a branch, and
occassionally want to keep up with
current development on origin/master to continue working, what's
the best way to sync up?
I believe albrecht said this one command would do the job
if you run into trouble pushing a branch:
git pull --rebase
Is that also sufficient to keep an "in progress" branch synced
with origin/master?
The net seems to recommend the following for resync'ing an in
progress branch:
git checkout master -- switch from your branch to
master
git pull -- get the latest from the
remote. If your local master is clean, this shouldn't fail
git checkout <local-branch> -- switch back to your
branch
git rebase master -- rebase your branch to master
..or is that pretty much the same thing that 'git pull --rebase'
does while you're
on your branch?
--
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to fltkcoredev+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/fd2439e9-5132-e6f1-d4d3-b7417475699e%40seriss.com.
[ Direct Link to Message ] | |
|
| |