1git-sh-setup-script(1) 2====================== 3 4NAME 5---- 6git-sh-setup-script - Common git shell script setup code. 7 8SYNOPSIS 9-------- 10'git-sh-setup-script' 11 12DESCRIPTION 13----------- 14 15Sets up the normal git environment variables and a few helper functions 16(currently just "die()"), and returns ok if it all looks like a git archive. 17So use it something like 18 19 . git-sh-setup-script || die "Not a git archive" 20 21to make the rest of the git scripts more careful and readable. 22 23Author 24------ 25Written by Linus Torvalds <torvalds@osdl.org> 26 27Documentation 28-------------- 29Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>. 30 31GIT 32--- 33Part of the link:git.html[git] suite 34