This is a tool to generate random names for git repositories.
This is useful when you want to create a PR
but you don't know what name you should use.
You'll get a random name like this:
bash
w-mai@MacBook-Pro ~/P/X/E/lvgl (đ)> git branch | column
âšī¸ đ
đđģ đŖ
* đ đŠ
đ đĢ
đ đ
đ đ¤
đ đ¤Š
đ đĨŗ
đ đĨē
đ đĢĸ
bash
cargo install git_rnd_name
bash
grn --help
```bash Generate a random git branch name based on remote name you given.
Usage: grn [OPTIONS] [REMOTE]
Arguments: [REMOTE] remote name
Options:
-c, --repo
Chane to your git repository directory.
bash
grn
grn origin
You will get a random name like
đ
bash
grn origin -b
You will get a random name like
đ
and a new branch will be created.
bash
grn origin -c /path/to/repo
You will get a random name like
đ¤ī¸
in/path/to/repo
. If you add-b
option, a new branch will be created.
git clone https://github.com/yourname/git_rnd_name.git
cd git_rnd_name
bash
cargo build --release
MIT