5 echo "Usage: nogit <command>"
7 echo "Available commands are:"
12 echo "See 'nogit help' for more details"
17 echo "Usage: nogit <command>"
19 echo "Possible commands are described below:"
21 echo "nogit clone <command>"
23 echo " Clone a nogit repository into the current directory."
24 echo " This differs from 'git clone' in that it will not create"
25 echo " a new top-level directory but will instead clone the"
26 echo " resulting files into the current directory (which may"
27 echo " already be a local git repository). The object store for"
28 echo " this newly-cloned repository will be a directory named"
29 echo " .nogit rather than .git."
31 echo " The repository to be cloned should be a nogit repository"
32 echo " in the sense that its files are intended to be managed"
33 echo " according to nogit semantics. But other than that, the"
34 echo " repository to be cloned is an actual git repository."
38 echo " Synchronize local and remote changes"
40 echo " For all files managed by a previously-cloned nogit repository"
41 echo " this command will:"
43 echo " * Commit local changes (auto-generated commit message)"
45 echo " * Pull down any new commits from the remote"
47 echo " * Auto-merge local and remote (keeping both sides and"
48 echo " with an auto-generated commit message)"
50 echo " * Push out any new commits generated locally"
55 echo "Internal error: 'nogit clone' not yet implemented"
60 echo "Internal error: 'nogit sync' not yet implemented"
64 echo "Error: missing command name." >&2
84 echo "Error: Unknown command: $cmd" >&2