Skip to content

sdoerger/branchTerminator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Branch Terminator

Project Stack

  • nodejs
  • nodemone
  • simple-git

Prequesitions

npm install

Project setup

Add path

Of the desired repo in variable repoPath, i. e.: repoPath = '/home/mypath/to/my/git-repository'

Add branches

Add into the array, all branches you want to delete from your local machine and remote, i. e.: branches = ['test1', 'test2', 'test3', 'test4'];

Set options

Options: 'local', 'remote' or 'both'

Start script

Go into this script folder and run the script by npm terminate or node index.js

or in watchmode npm start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published