modify README, describe feature of newrepo

This commit is contained in:
Gitea 2022-04-02 11:38:30 +00:00
parent 7bee967865
commit a58bee1559

4
README
View file

@ -16,7 +16,9 @@ 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.
parameter is the fullname of the repository. It will try to add .git
suffix after fullname, and refuse fullname with a suffix slash. When
initializing repository, it will use git-template as template-dir.
delrepo: Move the repository directory to TRASH_DIR, so it would not
be listed by command list.