Git Hosting: Difference between revisions

From pronounmail wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 1: Line 1:
you can host [https://git-scm.com/ git] repositories on pronounmail.com, if you'd like.
you can host [https://git-scm.com/ git] repositories on pronounmail.com, if you'd like.
{{quote|It’s time to git hosting!|[[Franklin D. Roosevelt|Abraham Lincoln]]}}
{{quote|It’s time to git hosting!|Abraham [[Lincoln Park|Lincoln]]}}


== creating them ==
== creating them ==

Latest revision as of 10:05, 28 November 2024

you can host git repositories on pronounmail.com, if you'd like.

It’s time to git hosting!
—Abraham Lincoln

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