Skip to content

9999years/git-upstream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

git-upstream

Crates.io

A shortcut for git push --set-upstream "$(git remote)" "$(git rev-parse --abbrev-ref HEAD)".

Usage: git-upstream [--fail-fast] [--branch BRANCH] [--remote REMOTE].

Unless --fail-fast is given, all remotes are tried until one succeeds.

Installation

With Nix, you can nix run github:9999years/git-upstream -- ....

You can also cargo install git-upstream.

Finally, statically linked binaries are uploaded to GitHub for each release.