gitshell/help

19 lines
1.3 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 " $ sync 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 " $ show <repo> make repository public"
echo " $ hide <repo> hide public repository"