LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

legit

complementary command-line interface for Git that simplifies common workflows

TLDR

Switch branch with auto-stash
$ git sw [branch]
copy
Sync current branch with remote
$ git sync
copy
Publish branch to remote
$ git publish [branch]
copy
Unpublish branch from remote
$ git unpublish [branch]
copy
List all branches with status
$ git branches [pattern]
copy
Undo last commit
$ git undo --hard
copy

SYNOPSIS

git legit-command [options]

DESCRIPTION

legit is a complementary command-line interface for Git that simplifies common workflows. It adds commands for branch switching with automatic stashing, synchronization, and branch publishing.After installation, legit commands are available as Git subcommands (e.g., `git sw`, `git sync`).

PARAMETERS

sw BRANCH

Switch to branch, stashing and restoring unstaged changes
sync
Synchronize current branch with remote (merge or rebase)
publish BRANCH
Push branch to remote server
unpublish BRANCH
Remove branch from remote server
branches [PATTERN]
List branches with publication status
undo [--hard]
Remove last commit from history

INSTALL

brew install legit
copy
nix profile install nixpkgs#legit
copy

CAVEATS

Legit commands wrap standard Git operations. The `undo` command with `--hard` permanently discards changes.

SEE ALSO

git(1), git-flow(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid