Fetch and rebase all locally-tracked remote branches
Copy bin/git-up
into your executable folder (like /usr/local/bin
or $HOME/bin
):
sudo curl --location --output /usr/local/bin/git-up "https://github.com/timonier/git-up/raw/master/bin/git-up"
sudo chmod +x /usr/local/bin/git-up
Linux users can use the installer:
curl --location "https://github.com/timonier/git-up/raw/master/bin/installer" | sudo sh -s -- install
Run the command git-up
or git up
:
# See all git-up options
git-up --help
# Run git-up
git-up
# Fetching origin
# develop up to date
# master up to date
# release/1.1.0 up to date