git-ctx 0.1.1

A git custom command to list and switch most recent branches
Documentation
  • Coverage
  • 0%
    0 out of 17 items documented0 out of 7 items with examples
  • Size
  • Source code size: 14.71 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 509.17 kB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 27s Average build duration of successful builds.
  • all releases: 27s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • kevinjqiu
          _ __             __      
   ____ _(_) /_      _____/ /__  __
  / __ `/ / __/_____/ ___/ __/ |/_/
 / /_/ / / /_/_____/ /__/ /__>  <  
 \__, /_/\__/      \___/\__/_/|_|  
/____/                             

Easily switch between recently used git branches

Usage

Drop the executable in any directory on your $PATH. Then:

git ctx

List recent branches:

git ctx list-branches  # or git ctx l

e.g.,

> git ctx l
[*] new-branch
    master
    old-branch-1
    old-branch-2

Switch branches:

git ctx switch-branch  # or git ctx s

e.g.,

> git ctx s
[0] -->new-branch<--
[1] master
[2] old-branch-1
[3] old-branch-2
---------------------
Enter the branch number you want to switch to:

2
Your branch is up to date with 'origin/old-branch-1'.

Previous HEAD position was ...
Switched to branch 'old-branch-1'