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 section on "Git Repo Config")
(Added "Miscellaneous Links")
Line 30: Line 30:
 
     receivepack = true
 
     receivepack = true
 
</pre>
 
</pre>
 +
 +
 +
== Miscellaneous Links ==
 +
 +
* [http://semver.org/ Semantic Versioning]
 +
* [http://tom.preston-werner.com/ Tom Preston-Werner]
 +
* [http://repo.or.cz/ repo.or.cz]
 +
* [https://swcarpentry.github.io/git-novice/ Version Control with Git]
 +
* [https://software-carpentry.org/lessons/ Software Carpentry Lessons]
  
  

Revision as of 16:38, 8 July 2017

External link icon.png

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


Git on Chrome


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


Miscellaneous Links


GitWeb

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:

[gitweb]
    owner = name
    category = Category