commit ecee849c6eb0eb60b45a31a41e11e40939737a6e Author: Gitea Date: Sat Apr 2 09:14:18 2022 +0000 init commit diff --git a/README b/README new file mode 100644 index 0000000..69d9e91 --- /dev/null +++ b/README @@ -0,0 +1,27 @@ +Sample programs callable through git-shell. Place a directory named +'git-shell-commands' in the home directory of a user whose shell is +git-shell. Then anyone logging in as that user will be able to run +executables in the 'git-shell-commands' directory. + +All those callable will be run with home directory as cwd. The directory +~/trash will be treated as trash bin of git repository. + +Provided commands: + +help: Prints out the names of available commands. When run +interactively, git-shell will automatically run 'help' on startup, +provided it exists. + +list: Displays any bare repository whose name ends with ".git" under +user's home directory. Repository in TRASH_DIR will not be listed. + +newrepo: Initialize a bare repository at user's home directory, it's +parameter is the fullname of the repository. + +delrepo: Move the repository directory to TRASH_DIR, so it would not +be listed by command list. + +desc: Display or modify a repository's description by read/write +description file under a bare repository. it is useful eapecially when +using cgit or git-web that respect repository'description. +