A simple utility to generate unique git branch names based on your git username and a timestamp hash.
You can install GitGen using Homebrew:
brew tap moogacs/gitgen
brew install gitgen
Simply run gitgen
in your git repository to create a new branch with a unique name:
cd your-git-repo
gitgen
This will create and checkout a new branch with a name in the format: username-hash
where username
is your git username (converted to lowercase with spaces replaced by dashes)
and hash
is an 8-character hash based on the current timestamp.
--version
: Display the current version of gitgen
This project is licensed under the MIT License - see the LICENSE file for details.