Difference between revisions of "Git Resources"
From OdleWiki
(→GitWeb: Added info about setting public owner and category of repos) |
(Added section on "Git Repo Config") |
||
Line 10: | Line 10: | ||
== GitHub == | == GitHub == | ||
+ | |||
* [https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet Markdown Cheatsheet] | * [https://github.com/adam-p/markdown-here/wiki/Markdown-Cheatsheet Markdown Cheatsheet] | ||
+ | |||
+ | |||
+ | == Git Repo Config == | ||
+ | |||
+ | To initiate a bare repository: | ||
+ | |||
+ | <pre> | ||
+ | git init --bare name-of-repo.git | ||
+ | </pre> | ||
+ | |||
+ | To enable HTTP push: | ||
+ | |||
+ | Edit <code>config</code> and add: | ||
+ | |||
+ | <pre> | ||
+ | [http] | ||
+ | receivepack = true | ||
+ | </pre> | ||
Revision as of 00:06, 8 June 2017
Contents
Git on Chrome
- Git and Node on a Chromebook, Without Crouton and Linux
- Chromebrew
- How Can I Use Git and Eclipse in my Chromebook
- How to Install Ubuntu Linux on Your Chromebook with Crouton
GitHub
Git Repo Config
To initiate a bare repository:
git init --bare name-of-repo.git
To enable HTTP push:
Edit config
and add:
[http] receivepack = true
GitWeb
These links describe the web interface to a Git repository.
- Git - gitweb Documentation — Basically, all the things you can do with GitWeb
- Git - gitweb.conf Documentation — Specific information about the configuration file for GitWeb
To set the public owner of a repository, enter the repo in question and enter
git config gitweb.owner name
To set the category of a repository, enter the repo in question and enter
git config gitweb.category Category
Alternately, enter the repo in question and edit config
, adding:
[gitweb] owner = name category = Category