Project

git_eraser

0.0
No commit activity in last 3 years
No release in over 3 years
git_eraser is used to help you in cleaning your branches.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 2.0
~> 10.0
~> 3.0

Runtime

~> 1.5.0
~> 2.0.2
~> 2.8.3
= 2.1.0
~> 3.0.0
~> 0.20.3
= 0.2.6
 Project Readme

GitEraser

Welcome to GitEraser 🧹🧹!

By this Gem, you'll Preview and Cleanup your branches that had been merged to master branch.

TODOs

  • Allow to skip different branches not just master.
  • Allow deleting immediately flag --force.

Installation

Execute this command:

$ gem install git_eraser

Usage

  • Navigate to directory where you need to delete branches. (NOTE: MUST HAVE .git folder)

  • Write this command to preview local branches: (Change --local to --origin to preview origin branches)

    $ git_eraser preview --local

  • Write this command to delete local branches: (Change --local to --origin to delete origin branches) (NOTE: This command will delete all branches except master just for now)

    $ git_eraser erase --local

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/KarimEbrahemAbdelaziz/git_eraser. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The gem is available as open source under the terms of the MIT License.

Code of Conduct

Everyone interacting in the GitEraser project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.