Git Hosting: Difference between revisions
Created page with "you can host [https://git-scm.com/ git] repositories on pronounmail.com, if you like. (todo) Category:Pages that need things added to them Category:Pages with some amount of information in them" |
No edit summary |
||
Line 1: | Line 1: | ||
you can host [https://git-scm.com/ git] repositories on pronounmail.com, if you like. | you can host [https://git-scm.com/ git] repositories on pronounmail.com, if you'd like. | ||
== creating them == | |||
[[ | create a directory under <code>/var/repo</code>. if you're going to be making lots of repos, please create a folder under your name and put your repos in there. <code>cd</code> into your freshly-created directory and use <code>git init --bare</code> to initialise the repository. if you're concerned about other people touching your files, please take a second to set the [[File Permissions|permissions]] accordingly. | ||
== cloning them == | |||
you can clone a repository over http like this: | |||
git clone https://pronounmail.com/clone/my_repository | |||
note that the http endpoint is read only, if you want to be able to push changes to your repository, use ssh instead: | |||
git clone username@pronounmail.com:/var/repo/my_repository | |||
== lookin at them == | |||
we currently don't have a cool web ui for browsing repositories, maybe soon. | |||
if you want, you can use [[PHP|php]] or [[CGI|cgi]] to build your own repository viewer, like on [https://leah.pronounmail.com/code/ leah's really cool page] | |||
[[Category:Pages with some amount of information in them]] | [[Category:Pages with some amount of information in them]] |
Revision as of 00:57, 2 September 2024
you can host git repositories on pronounmail.com, if you'd like.
creating them
create a directory under /var/repo
. if you're going to be making lots of repos, please create a folder under your name and put your repos in there. cd
into your freshly-created directory and use git init --bare
to initialise the repository. if you're concerned about other people touching your files, please take a second to set the permissions accordingly.
cloning them
you can clone a repository over http like this:
git clone https://pronounmail.com/clone/my_repository
note that the http endpoint is read only, if you want to be able to push changes to your repository, use ssh instead:
git clone username@pronounmail.com:/var/repo/my_repository
lookin at them
we currently don't have a cool web ui for browsing repositories, maybe soon.
if you want, you can use php or cgi to build your own repository viewer, like on leah's really cool page