sit

Crates.iosit
lib.rssit
version0.1.2
sourcesrc
created_at2023-07-20 18:29:47.224266
updated_at2023-12-16 00:21:02.299512
descriptionSpeedy Git (sit) is a CLI tool to automate common git workflows and provide safer defaults
homepagehttps://github.com/camdenmcgath/speedy-git
repositoryhttps://github.com/camdenmcgath/speedy-git
max_upload_size
id921655
size25,812
Camden McGath (camdenmcgath)

documentation

README

Speedy Git aka Sit

Sit is a command line tool built to wrap git commands into quicker and more concise commands with safer defaults. This is currently a very basic implementation and a young app, so there is a lot of room for development!

Installation

Currently, only binary installations for Windows and a crates.io installation for Rust devs are supported. Deploying to other binary targets is planned for the future, as well as registering with many package registries!

Binaries

Windows

Download sit.exe from the latest releases page to a directory in your PATH, like the ~\Downloads directory. To double-check existing paths, run $env:Path -split ';' in powershell. To add to the PATH variable, run $addPath = 'C:\YourPath'.

Crates.io (Rust Devs)

Installing Rust may be worth it for easy updating (cargo update) rather than manual binary installations. If Rust is installed, you can run cargo install sit. It will copy binary targets to ~/.cargo/bin/, so if sit is having trouble running, ensure that your shell is checking that directory!

Commands

sit git
sit commit <msg> git add .
git commit --message="msg"
sit push git push --set-upstream origin <curr_branch>
sit update <msg> git add .
git commit --message="msg"
git push --set-upstream origin <curr_branch>
sit make <url> git init
git remote add origin <url>

Notes

  • sit commands will fail if current directory is not a git repository
  • commands listed with the <curr_branch> parameter use the current working branch
  • sit make will only git init if repo is not already initialized
Commit count: 68

cargo fmt