| Crates.io | git_rnd_name |
| lib.rs | git_rnd_name |
| version | 0.1.6 |
| created_at | 2023-06-06 07:07:18.335693+00 |
| updated_at | 2024-01-18 03:38:04.526486+00 |
| description | Generate a random git branch name based on remote name you given. |
| homepage | https://github.com/W-Mai/git_rnd_name |
| repository | https://github.com/W-Mai/git_rnd_name |
| max_upload_size | |
| id | 883576 |
| size | 31,552 |
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:
w-mai@MacBook-Pro ~/P/X/E/lvgl (đ)> git branch | column
âšī¸ đ
đđģ đŖ
* đ đŠ
đ đĢ
đ đ
đ đ¤
đ đ¤Š
đ đĨŗ
đ đĨē
đ đĢĸ
cargo install git_rnd_name
grn --help
Generate a random git branch name based on remote name you given.
Usage: grn [OPTIONS] [REMOTE]
Arguments:
[REMOTE] remote name
Options:
-c, --repo <REPO> local repo path
-b, --branch create new branch
-v, --verbose... verbose mode
-h, --help Print help
-V, --version Print version
Chane to your git repository directory.
grn
grn origin
You will get a random name like
đ
grn origin -b
You will get a random name like
đand a new branch will be created.
grn origin -c /path/to/repo
You will get a random name like
đ¤ī¸in/path/to/repo. If you add-boption, a new branch will be created.
git clone https://github.com/yourname/git_rnd_name.gitcd git_rnd_namecargo build --release
MIT