Crates.io | git-co |
lib.rs | git-co |
version | 0.3.1 |
source | src |
created_at | 2023-05-30 14:27:55.739575 |
updated_at | 2024-05-04 07:55:59.685062 |
description | A command-line tool for simplified git branch checkout. |
homepage | https://github.com/ne-oki/git-co |
repository | https://github.com/ne-oki/git-co |
max_upload_size | |
id | 877961 |
size | 42,552 |
git-co
is a command-line tool that replaces the git checkout <BRANCH_NAME>
command, enabling you to switch branches by selecting from the list of branch names.
You can install git-co
using cargo
, the package manager for Rust
:
cargo install git-co
Make sure you have Rust and Cargo installed on your system before running the above command.
To use git-co
, simply execute the command. This will launch the branch selection screen where you can choose the branch you want to check out.
git-co
The branch selection screen will display a list of available branches. Use the arrow keys or other supported keys to navigate through the list. Once you've highlighted your desired branch, press Enter
to check it out.