Posted By

satie83 on 04/01/12


Tagged

git branch stash


Versions (?)

GIT - Switch branch without committing


 / Published in: Bash
 

  1. git stash save
  2. git checkout branch
  3.  
  4. ...
  5. // Do something
  6. ...
  7.  
  8. git checkout oldbranch
  9. git stash pop

Report this snippet  

You need to login to post a comment.