delorie.com/archives/browse.cgi | search |
On Mar 18, 2015, at 1:02 PM, Dave McGuire <mcguire AT neurotica DOT com> wrote: > On 03/18/2015 02:48 PM, Peter Stuge wrote: >>>> What do you want? >>> >>> I want "git update" to do what "cvs update" and "svn update" does - >>> update the source tree under my work-in-progress. >> >> I think this: >> >> git config --global alias.update \ >> '!git stash -a && git pull --rebase && git stash pop --index' >> >> might do what you want. The only gotcha is that if your WIP stash >> conflicts with what you've pulled, the stash will not get dropped. >> You can just leave it sitting there, it doesn't matter too much. > > My God. It’s not usually that bad unless you must fight the paradigm. John Doty Noqsi Aerospace, Ltd. http://www.noqsi.com/ jpd AT noqsi DOT com
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |