czwartek, 6 listopada 2014

Git useful commands

Stashing


to push a new stash onto your stack
git stash
list down all stashes
git stash list
to apply a stash and keep it in the stash stack
git stash apply stash@{0}
to apply a stash and remove it from the stash stack
git stash pop stash@{0}
to give stash a name
git stash save "stashName"
turn a stash into a branch
git stash branch [branchname] [stash]

Brak komentarzy:

Prześlij komentarz