4482885845d44081479921c1957fc24d8fc80288
git-fresh 🍋
Keep your repo fresh with one command.
Usage
Usage: git fresh [-fmrF] [-sl] [remote] [root]
By default, git-fresh will:
- rebase against remote current branch
- stash changes
- prune remote branches
-f: Delete stale local and remote branches
-m: Merge remote root into current branch
-r: Rebase current branch against remote root
-F: Reset local root to remote root, wipe workspace
-s: Apply stashed changes after run
-l: Only delete local stale branches
remote: remote name, origin by default
root: root branch, master by default
Installation
Manual
- Clone or download
cd git-freshsudo ./install
Package
- bpkg:
bpkg install imsky/git-fresh
License
git-fresh is provided under the MIT License.
Credits
git-fresh is a project by Ivan Malopinsky.
Description
Languages
Shell
87.1%
Roff
12.9%