mirror of
https://github.com/git/git.git
synced 2024-12-12 03:14:11 +08:00
52a22d1e72
Add some documentation. Text taken from the the commit messages and the command sources.
35 lines
681 B
Plaintext
35 lines
681 B
Plaintext
git-sh-setup-script(1)
|
|
======================
|
|
|
|
NAME
|
|
----
|
|
git-sh-setup-script - Common git shell script setup code.
|
|
|
|
SYNOPSIS
|
|
--------
|
|
'git-sh-setup-script'
|
|
|
|
DESCRIPTION
|
|
-----------
|
|
|
|
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
|
|
|
|
. git-sh-setup-script || die "Not a git archive"
|
|
|
|
to make the rest of the git scripts more careful and readable.
|
|
|
|
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
|
|
|