gitshell/help

20 lines
1.4 KiB
Bash
Executable file

#!/bin/bash
echo "Command list:"
echo " $ help print this"
echo " $ ls list all repositories, marks hidden with [h]"
echo " $ new <name> create new repository"
echo " $ mirror <url> [name] mirror remote repository"
echo " $ upstream <repo> <url> set repository to push to a given remote"
echo " $ downstream <repo> <url> set repository to fetch from a given remote"
echo " $ fetch-mirrors push and pull all mirrored repositories"
echo " $ tree <repo> show file tree of repo at HEAD"
echo " $ log <repo> show commit log of repo"
echo " $ head <repo> <name> change default branch of repository"
echo " $ descr <repo> <text> change description of repository"
echo " $ owner <repo> [owner] set or unset owner for repository"
echo " $ group <repo> [group] set or unset group for repository"
echo " $ page <repo> [page] set or unset homepage for repository"
echo " $ pic <repo> [href] set or unset picture url for repository"
echo " $ update-time force update idle times for all repos"
echo " $ show <repo> make repository public"
echo " $ hide <repo> hide public repository"