Go to file
Kasper Juul Hermansen bdfd001458
All checks were successful
continuous-integration/drone/pr Build is passing
continuous-integration/drone/push Build is passing
fix(deps): update rust crate futures to v0.3.31
2024-10-06 00:31:44 +00:00
assets/gifs chore: update gif to include spinner 2024-09-23 00:20:26 +02:00
crates/gitnow fix(deps): update rust crate octocrab to 0.41.0 2024-10-01 00:34:35 +00:00
examples/config feat: add config 2024-09-12 20:14:44 +02:00
scripts feat: add clone spinner 2024-09-23 19:45:34 +02:00
vhs feat: spawn a subshell for session 2024-09-22 16:25:44 +02:00
.drone.yml feat: init 2024-09-12 19:15:42 +02:00
.gitignore feat: include vhs demo 2024-09-22 14:55:41 +02:00
buf.gen.yaml feat: add cache 2024-09-14 20:45:49 +02:00
buf.yaml feat: add cache 2024-09-14 20:45:49 +02:00
Cargo.lock fix(deps): update rust crate futures to v0.3.31 2024-10-06 00:31:44 +00:00
Cargo.toml chore(release): v0.2.3 (#12) 2024-09-26 21:41:11 +02:00
CHANGELOG.md chore(release): v0.2.3 (#12) 2024-09-26 21:41:11 +02:00
cuddle.yaml feat: add clone spinner 2024-09-23 19:45:34 +02:00
README.md add docs 2024-09-23 22:42:01 +02:00
renovate.json feat: init 2024-09-12 19:15:42 +02:00

Git Now

Git Now is a utility for easily navigating git projects from common upstream providers. Search, Download, and Enter projects as quickly as you can type.

example gif

Installation

cargo (b)install gitnow

# You can either use gitnow directly (and use spawned shell sessions)
gitnow

# Or install gitnow scripts (in your .bashrc, .zshrc) this will use native shell commands to move you around
eval $(gitnow init zsh)
git-now # Long 
gn # Short alias

Reasoning

How many steps do you normally do to download a project?

  1. Navigate to github.com
  2. Search in your org for the project
  3. Find the clone url
  4. Navigate to your local github repositories path
  5. Git clone <project>
  6. Enter new project directory

A power user can of course use gh repo clone to skip a few steps.

With gitnow

  1. git now
  2. Enter parts of the project name and press enter
  3. Your project is automatically downloaded if it doesn't exist in an opinionated path dir, and move you there.