Sunday, 15 March 2015

Git command line equivalent of GitHub app's magic stashing? -


According to the GitHup app documentation, " when you switch branches, Geeth Hub [for Mac] Does anyone know about this "Magic Stashing" git command line?

Suppose you are working on the branch current-branch basically, what happens in Git-terms:

  git stash Git checkout other-branch  

Then, when you checkout current-branch

  pop instead of git hiding  

stores ungraded changes in the working directory. Git hiding places to capture unlimited changes and keep them at the top of current-branch


No comments:

Post a Comment