set up fcheckout

pull/3/head
kevin zhuang 4 years ago
parent c03d7d281f
commit 710e5ab113

@ -41,6 +41,10 @@ case "$1" in
action_command='freset'
shift
;;
fcheckout)
action_command='fcheckout'
shift
;;
help)
usage
exit 0

@ -19,7 +19,7 @@ source "${mydir}"/../helper/get_confirmation
function usage() {
echo -e "Usage: dotbare freset [-h] [-c] [-S] [-H] ...\n"
echo -e "Reset/Unstage the selected staged file"
echo -e "Or reset the commit to certain point\n"
echo -e "Or reset the HEAD to certain commits by using -c flag\n"
echo -e "optional arguments:"
echo -e " -h\t\tshow this help message and exit"
echo -e " -c\t\treset commit to certain commit, default --mixed flag, reset HEAD to certain commit put all changes into modified states"

Loading…
Cancel
Save