You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
35 lines
646 B
35 lines
646 B
19 years ago
|
git-sh-setup(1)
|
||
|
===============
|
||
19 years ago
|
|
||
|
NAME
|
||
|
----
|
||
19 years ago
|
git-sh-setup - Common git shell script setup code.
|
||
19 years ago
|
|
||
|
SYNOPSIS
|
||
|
--------
|
||
19 years ago
|
'git-sh-setup'
|
||
19 years ago
|
|
||
|
DESCRIPTION
|
||
|
-----------
|
||
|
|
||
19 years ago
|
Sets up the normal git environment variables and a few helper functions
|
||
|
(currently just "die()"), and returns ok if it all looks like a git archive.
|
||
|
So use it something like
|
||
19 years ago
|
|
||
19 years ago
|
. git-sh-setup || die "Not a git archive"
|
||
19 years ago
|
|
||
19 years ago
|
to make the rest of the git scripts more careful and readable.
|
||
19 years ago
|
|
||
|
Author
|
||
|
------
|
||
|
Written by Linus Torvalds <torvalds@osdl.org>
|
||
|
|
||
|
Documentation
|
||
|
--------------
|
||
|
Documentation by Junio C Hamano and the git-list <git@vger.kernel.org>.
|
||
|
|
||
|
GIT
|
||
|
---
|
||
|
Part of the link:git.html[git] suite
|
||
|
|