Git

From Things and Stuff Wiki
Revision as of 20:23, 6 January 2012 by Milk (talk | contribs) (→‎Commands)
Jump to navigation Jump to search


Reference

man git-push

Guides

Articles

Handy

Commands

git branch - list branches
git branch -a - list branches (including remote)
git tag - list repo tags
git repo-config core.sharedRepository true - allow access by multiple users

Submodules

git submodule add git@mygithost:project goes/here --branch x.y

Repos

Git used for private repo, with Gitweb for easy overview.

For a public setup, a hosting system with access control like gitosis or gitolite is required, or for public read only, git-daemon would do.