Summary Files Commits Branches @commit @diff @stats
path: root / scripts / h
blob: 845c99590ab7d6f493ff4b79e4047bd1a54ff457 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/bin/bash

cat <<HELP
h           Print this message
list        Show all repositories (short format)
list -l     Show all repositories (long format)

archive   <DIR>    Make directory read-only, recursively
unarchive <DIR>    Allow writes in directory, recursively

new       <DIR/REPO>    Create a repository
public    <DIR/REPO>    Make repository publicly accessible
private   <DIR/REPO>    Make repository publicly inaccessible
protect   <DIR/REPO>    Disallow force-pushes to repository
unprotect <DIR/REPO>    Allow force-pushes to repository

checkout <DIR/REPO> <BRANCH>         Set remote's active (default) branch
desc     <DIR/REPO> <DESCRIPTION>    Set repository description
logo     <DIR/REPO> <URL>            Set repository logo URL


Standard tools: cat ed git ln ls mkdir mv head tail
Delete        : To remove a repository, move it to /trash
Reorder       : To change order of repositories, edit /public_repos
HELP