This wiki is for the exclusive use of my friends and colleagues. Account creation and anonymous editing have been turned off.

If you are a friend or colleague of mine, and would like to participate in this project, please send me a message.

If you find these pages useful, please donate to help cover server costs. Thanks!

Difference between revisions of "Git Resources"

From OdleWiki
(Added "Miscellaneous Links")
m (→‎General: Added "Adding a remote" link)
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{Template:External Resources}}
{{Template:External Resources}}
== General ==
* [ git merge - git corrupt files]
* [ How do you use git --bare init repository]
* [ What is the difference between git init and git init --bare]
* [ Adding a remote] — advice for Github, but also works on private git repos
== Git on Chrome ==
== Git on Chrome ==

Latest revision as of 01:34, 19 July 2017

External link icon.png

External Resources
These links should all open in a separate window.


Git on Chrome


Git Repo Config

To initiate a bare repository:

git init --bare name-of-repo.git

To enable HTTP push:

Edit config and add:

    receivepack = true

Miscellaneous Links


These links describe the web interface to a Git repository.

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:

    owner = name
    category = Category