tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Help with git/wip
There are two answers for your case:
(A) Work in your own branch, then use "git cherry-pick" to move a commit to the branch tracking the origin. You can pull into your master
(B) stash any changes before you pull, I.e.
Git stash
Git pull -r
Git push
Git unstash (or whatever the command is)
On 07/26/17 12:23, D'Arcy Cain wrote:
> $ git pull -r
> error: cannot pull with rebase: You have unstaged changes.
> error: please commit or stash them.
Ahh, the beauty of git!
I have all but stopped using wip, because of (among others*) git's habit
to assume control of the entire sandbox, when I like my sandbox(es)
littered withc tweaks and not-yet-ready changes.
Can we have a wip-to-cvs gateway for wip, please?
Cheerio,
hauke
* git-team's failure to provide transitional documentation for common
workflows didn't help either. You know - this could have been a showcase...
--
The ASCII Ribbon Campaign Hauke Fath
() No HTML/RTF in email Institut für Nachrichtentechnik
/\ No Word docs in email TU Darmstadt
Respect for open standards Ruf +49-6151-16-21344
Home |
Main Index |
Thread Index |
Old Index