Install Git:
Install Git software version 1.6.2.2 or later. See the Git
Community Handbook
installation and
setup instructions, as well as our
Installing git Genomewiki page.
Start an initial Git local repository:
$ git clone git://genome-source.cse.ucsc.edu/kent.git
or, if a firewall prevents git daemon port 9418, use:
$ git clone http://genome-source.cse.ucsc.edu/kent.git
The kent source tree will be imported to the current working directory
in a directory named ./kent/.
Track the beta branch at UCSC repository:
Most users want to use the beta branch, which has tested, released
versions of the browser. To create a beta
tracking branch:
$ cd kent
$ git checkout -t -b beta origin/beta
The -b creates a local branch with name "beta", and checks it out.
The -t makes it a tracking branch, so that 'git pull' brings in updates
from origin/beta, the "real" beta branch in our public central
read-only repository.
To get the latest UCSC release:
From anywhere within the kent source tree:
$ git pull
To view the source via gitweb:
Browse to http://genome-source.cse.ucsc.edu/gitweb/.
To construct a permanent URL to our source code files:
1. Boilerplate URL base:
http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob_plain;hb=HEAD;f=
2. Add the path/file as the f parameter: src/makefile
Example:
http://genome-source.cse.ucsc.edu/gitweb/?p=kent.git;a=blob_plain;hb=HEAD;f=src/makefile
Updates:
UCSC generally updates the origin/beta branch every three weeks. If you
are updating database tables for a mirror site, we recommend that you
update the source at the same time, as source code is sometimes
modified to include operations on new columns that have been added to
database tables.
See also: the README files in the source tree directory
src/product/README.*. For instructions on keeping local tracks
separate from UCSC Genome Browser tracks, see
src/product/README.trackDb.
Should you have any comments or questions, contact
genome-mirror@cse.ucsc.edu.
Last Modified: 2012-01-24 - 24 January 2012
|