Difference between revisions of "Git"

From Linuxintro
imported>ThorstenStaerk
imported>ThorstenStaerk
Line 1: Line 1:
 
Git is a [[revision control system]] that allows you to clone complete software repositories among developers.
 
Git is a [[revision control system]] that allows you to clone complete software repositories among developers.
 +
 +
= How to ... =
 +
 +
== ... get a past version ==
 +
repository # git reset  c3c9e4d97f0668235a5b
 +
Unstaged changes after reset:
 +
M      README
 +
  
 
= Set up a git server =
 
= Set up a git server =

Revision as of 07:40, 9 July 2011

Git is a revision control system that allows you to clone complete software repositories among developers.

How to ...

... get a past version

repository # git reset  c3c9e4d97f0668235a5b
Unstaged changes after reset:
M       README


Set up a git server

A git server is merely an ssh server with git installed. Here is how to set it up.

git vs svn translation

svn git purpose
svn co git clone get the software
svn up git pull update to the latest version