diff --git a/wiki/source/cgit.md b/wiki/source/cgit.md index 5f75ab1..76c3ff6 100644 --- a/wiki/source/cgit.md +++ b/wiki/source/cgit.md @@ -1,6 +1,8 @@ --- title: using cgit on tilde.club -author: deepend +author: + - deepend + - keyboardan category: tutorials --- @@ -15,7 +17,7 @@ Below is the quick‑start plus a few tips. --- -## 1  Create the **public\_git** directory (once) +## 1. Create the **public\_git** directory (once) ```bash $ mkdir -p ~/public_git @@ -25,7 +27,7 @@ The web server is already allowed to traverse `~/public_git`, so you do **not** --- -## 2  Add a repository +## 2. Add a repository Only **bare** repos are accepted (they have no working tree inside them). @@ -49,7 +51,7 @@ You can repeat for as many repos as you like; just keep each one directly in --- -## 3  Browse your repos +## 3. Browse your repos ``` Index page : https://tilde.club/~/git/ @@ -63,12 +65,12 @@ https://tilde.club/~deepend/git/ # lists everything https://tilde.club/~deepend/git/hello.git/ # specific repo ``` -The header will say `~deepend Git Repositories`, commits are clickable, diffs +The header will say `~deepend Git Repositories`, commits are clickable, diffs are highlighted, and the cloning URL is shown near the top right. --- -## 4  Update a repository +## 4. Update a repository Because the repo is bare you **push** into it; cgit shows the new state immediately. @@ -80,7 +82,7 @@ $ git push --mirror tilde # full mirror (branches + tags) --- -## 5  Remove a repository +## 5. Remove a repository Simply delete or rename the directory: @@ -122,4 +124,4 @@ https://tilde.club/~/git/.git --- Happy hacking, and show off your code! -Questions? `#club` on irc.newnet.net or mail **[root@tilde.club](mailto:root@tilde.club)**. +Questions? `#club` on irc.newnet.net or mail **[root@tilde.club](mailto:root@tilde.club)**. diff --git a/wiki/source/cli-for-beginners.md b/wiki/source/cli-for-beginners.md index b6ad602..6ed5a74 100644 --- a/wiki/source/cli-for-beginners.md +++ b/wiki/source/cli-for-beginners.md @@ -1,6 +1,8 @@ --- title: command line for absolute beginners -author: cmccabe +author: + - cmccabe + - keyboardan category: tutorials --- @@ -235,7 +237,7 @@ home directory. Verify this with `ls` in your home directory and in ### Delete Files and Directories, with `rm` and `rmdir` -As long as you're in one of your own directories (e.g. your home, or +As long as you're in one of your own directories (e.g. your home, or 'downloads' or 'public\_html'), you can create a new files. Create a new file called 'testtrash.txt': @@ -393,7 +395,7 @@ read, write or execute it. If you don't own a file, then you can't change its mode. This is a basic security principle in GNU+Linux systems. -For the files you own (i.e. the files within your home directory), you +For the files you own (i.e. the files within your home directory), you can change the file modes yourself. You do this using the "change mode" command, `chmod`. @@ -471,7 +473,7 @@ List of Common Programs `weechat`, `irssi` - for irc `scp` - for securely moving files between networked systems. this copies -files (i.e. 'cp') over ssh, hence 'scp' +files (i.e. 'cp') over ssh, hence 'scp' `lynx` - web browsing