fuzzygit - 0.1.0
📦 I'm glad that your way led to this project. This is the first release of fuzzygit. 🎉 A simplistic helper for the git cli powered by fzf. Be sure to check out the additional information in the README and CONTRIBUTING file. Have fun!
🚀 Features
Functions
add
- Shows a list of files which can be added to the staging area.cherry <branch name> [<git log option>...]
- Cherry picks the selected commits from the given branch and the HEAD. The first parameter must be a branch name.flog [<git log option>...]
- Lists all items of the git tree and shows the log of the selected item.hash <command for hash>
- Shows the commit history and passes the hashes of the selected entries to the command which was given as an argument.- E.g. to get detailed information about a commit use
hash git show
.
- E.g. to get detailed information about a commit use
log [<git log option>...]
- Shows the commit history and shows the log between the selected one and the HEAD.restore
- Show the list of files in the working area (aka modified files) and restores the version from the local repository.switch [-r]
- Shows a list of branches and switches to the selected one.- By default, only local branches are shown. To get a list of remote branches, pass
-r
as an argument.
- By default, only local branches are shown. To get a list of remote branches, pass
unstage
- Shows the list of files which are in the staging area (aka added files) and puts them back into the working area.
Options
--help
- Shows the help.
Configurations
FUZZYGIT_IS_ECHO_STATUS=(true|false)
- [default:true
] - Toggle fuzzygit status information.FUZZYGIT_PREVIEW_GIT_LOG_OPTS
- [default:--stat
] - Set the options which are passed togit log
when it is used in a preview
environment.FUZZYGIT_GIT_LOG_PRETTY_FORMAT
- [default:--pretty=format:%h - (%ar) %C(bold)%s%C(reset) - %aN%
] - Set the pretty log format forgit log
.FUZZYGIT_IS_PREVIEW_SED=(true|false)
- [default:true
] - (experimental) Use fzf patterns in preview instead of sed command. Set totrue
if$SHELL
, which is used in preview by fzf, cannot handle the preview command. Note: Some previews might not work as expected.