Skip to content

Instantly share code, notes, and snippets.

@obfusk
Forked from noxqsgit/README.md
Created November 9, 2013 00:52
Show Gist options
  • Save obfusk/7380007 to your computer and use it in GitHub Desktop.
Save obfusk/7380007 to your computer and use it in GitHub Desktop.
nap switch branch

nap (remote)

nap stop APP

apps/APP (local)

git checkout stable
git push REMOTE stable
git branch -d master

repositories/REPO (remote)

git symbolic-ref HEAD refs/heads/stable
git branch -d master

apps/APP (local)

git remote prune REMOTE

nap (remote)

vim naprc # stable
git fetch --all
git checkout stable
git branch -d master
git remote prune origin
nap update APP
nap start APP
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment