GIT-SH-SETUP(1) Git Manual GIT-SH-SETUP(1) (NAME) git-sh-setup - (SYNOPSIS) . "$(git --exec-path)/git-sh-setup" (DESCRIPTION) . (Porcelain) . git sh-setup (source .) . USAGE ( LONG_USAGE) usage() . SUBDIRECTORY_OK ( ). GIT_DIR GIT_OBJECT_DIRECTORY (export) . (FUNCTIONS) die . usage (usage) . set_reflog_action GIT_REFLOG_ACTION ( ) . git (refs) reflog . git_editor (GIT_EDITOR core.editor VISUAL EDITOR) (dumb) . is_bare_repository true false (bare repository ) . cd_to_toplevel chdir . require_work_tree . require_work_tree_exists . cd_to_toplevel . require_clean_work_tree [] (index) . Cannot : . . : require_clean_work_tree rebase "Please commit or stash them." get_author_ident_from_commit eval GIT_AUTHOR_NAME GIT_AUTHOR_EMAIL GIT_AUTHOR_DATE . create_virtual_base . . (3-way merge) . (GIT) git(1) Git 2.55.0 2026-06-29 GIT-SH-SETUP(1)