Skip to content

valencia-io/git-fresh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 

Repository files navigation

git-fresh 🍋

Keep your repo fresh with one command.

  • Updates local master to match remote, prunes stale branches
  • Rebases current branch against remote master with -r flag
  • Deletes stale local and remote branches with -f flag
  • Wipes the slate clean with -F flag

Usage

Usage: git fresh [-frsF] [remote] [root]
-f: Delete stale local and remote branches
-r: Rebase current branch against remote root
-s: Apply stashed changes after run
-F: Reset local root to remote root, wipe workspace
remote: remote name, origin by default
root: root branch, master by default

Installation

  1. Download
  2. sudo make install

License

git-fresh is provided under the MIT License.

Credits

git-fresh is a project by Ivan Malopinsky.

About

🍋 Fresh Git repository.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 98.5%
  • Makefile 1.5%