0.0.4 • Published 9 years ago

distbranch v0.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

distbranch

CLI tool for create special "dist" (distribution) branch from all local other branches merged into master.

Install this globally and you'll have access to the distbranch command anywhere on your system.

npm install -g distbranch

What does distbranch tool?

Chain of git commands (5, 7 - pseudo code):

  1. git fetch upstream
  • git checkout master
  • git merge upstream/master (without exception if upstream not set)
  • git branch -D dist && git checkout -b dist
  • for (b of local_branches) git checkout b && git pull origin b
  • git checkout dist
  • for (b of local_branches) git merge -m "Merge branch 'b'" b
  • git push -f origin dist
0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago