mirror of
https://git.alemi.dev/gitshell.git
synced 2024-11-14 03:39:20 +01:00
18 lines
1.2 KiB
Bash
Executable file
18 lines
1.2 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 " $ 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"
|