Skip to content

LupusMichaelis/victor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

A script to replace master branches

On the wake of the BLM movement, I discovered that GitHub's master get its roots from a Master/Slave metaphor. In a effort to remove such indignity, here is a script to clean:

  • local repositories
  • remote GitHub repositories

As the git init default main branch is hardcoded, and until corrected versions reach our workstations, it also provide a Git repository template without the master branch.

Usage

export GIT_TEMPLATE_DIR=~/repositories/template.git
export GIT_HOME_DIR=~/workshop
export GITHUB_USER=VictorSchoelcher
export GITHUB_TOKEN=123
export DEFAULT_BRANCH=trunk

./aboli.sh

You will need to create a token to clean your GitHub's repos.

Improvement

This is a quick and dirty script, please submit improvements as they arise in your workflow.

Naming

I named the project victor to reference Victor Schroelcher, who've been instrumental in slavery abolision in France and colonies.

About

A helper script to remove master branches

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages