plainblack.com
Username Password
search
Bookmark and Share

    

Git advice, save current changes and revert branch

User perlDreamer
Date 9/24/2009 9:59 pm
Views 596
Rating 1    Rate [
|
]
Previous · Next
User Message
perlDreamer

Several times over the last several days I've had to interrupt what I'm doing and pull changes from github.  But since I have modified files, I can't do a pull.

What I've been doing is to take a patch, revert the changes in the files, and then do a pull.  But I'm wondering if there isn't a better way using git to do that.


Any suggestions?



Back to Top
Rate [
|
]
 
 
patspam
git-stash ftw!

On Fri, Sep 25, 2009 at 12:59 PM, <colink@perldreamer.com> wrote:
perlDreamer wrote:

Several times over the last several days I've had to interrupt what I'm doing and pull changes from github.  But since I have modified files, I can't do a pull.

What I've been doing is to take a patch, revert the changes in the files, and then do a pull.  But I'm wondering if there isn't a better way using git to do that.


Any suggestions?



http://www.webgui.org/develop/forum/git-advice-save-current-changes-and-revert-branch


--

WebGUI
http://www.webgui.org




Back to Top
Rate [
|
]
 
 
    



© 2012 Plain Black Corporation | All Rights Reserved