This is a TUI application that shows all your local git repositories in one place
- set system type
systype=$(uname -m)
- install the package
curl -L https://github.com/Cwjiee/tracegit/releases/latest/download/tracegit_Darwin_"$systype".tar.gz > tracegit.tar.gz
curl -L https://github.com/Cwjiee/tracegit/releases/latest/download/tracegit_Linux_"$systype".tar.gz > tracegit.tar.gz
- extract the tar file
tar -xzf tracegit.tar.gz
- move file to binaries
sudo mv tracegit /usr/local/bin
- execute the command
tracegit
- when you first use
tracegit
, it will prompt you to enter your code directory (path where you store your repos)
/home/<username>/<your code directory>
# Linux/Wsl
/home/weijie/code
# Mac
/Users/weijie/code
-
input your path to the prompt
-
use
tracegit
anywhere in your terminal!
tracegit