Publish and un-publish easily
You can easily push local branch to the remote repo and set it in config to easily push/pull it later with this https://gist.github.com/3518700 alias.
git publish
git publish one-of-my-branches-to-be-pushed-to-remote-repo
This will push branch provided as an argument or use current branch if none provided in argument.
In similar way we can achieve unpublishing branch by removing it from remote repo and from config. Alias for it is here: https://gist.github.com/3518769
git unpublish
git unpublish one-of-my-branches-to-be-removed-from-remote-repo
Written by Paweł Tomak
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#