Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 2
    You could try asking your coworkers whether they have had any problems with the workflow. If they haven't then I wouldn't consider it harmful. Commented Sep 2, 2014 at 15:39
  • @AlexG That's a valid point. I'm asking the question here to see if there's any "gotchas" people have found. Commented Sep 2, 2014 at 15:43
  • 3
    If I understand it correctly... If you need to get changes or switch branches, push your uncommitted changes onto the stash - thats exactly what the stash is for. Commented Sep 2, 2014 at 15:49
  • 3
    @MichaelT My local branch allows everything. Unconditionally. Commented Sep 3, 2014 at 14:33
  • 2
    My pattern is: -> don't use git stash -> use feature branches -> save work-in-progress with a commit message of 'wip'. -> interactive rebase on the branch to squash the wip's into one meaningful commit but for your local, unpushed changes only. -> push to remote -> merge into master (and push) as appropriate for your git workflow. Commented Sep 3, 2014 at 16:43