...
Since repositories are auto-created if they don't exist (see above), allowing even a small subset of @admins to create them in the LSST/
hierarchy may lead to lots of spurious repos due to typos. Because of that, only the user 'root
' is allowed to create (or delete) repositories in LSST/
, and user 'root
' can only be accessed using the 'sudo
' command. This adds an additional layer of safety.
Deleting a Repository (that you don't own)
To remove a repository (assuming you are its owner), use the trash
command:
...
Code Block | ||
---|---|---|
| ||
gitolite expand contrib/obsolete_thing.git gitolite sudo <owner> trash contrib/obsolete_thing.git |
...