be4311c07e14feb728abc6425ee606ffaa611a58 markd Fri Jan 22 06:46:58 2021 -0800 merge with master diff --git src/hg/htdocs/admin/git.html src/hg/htdocs/admin/git.html index 5b6207d..9cdd9d0 100755 --- src/hg/htdocs/admin/git.html +++ src/hg/htdocs/admin/git.html @@ -1,42 +1,42 @@

Access Browser Code Using Git

Install Git:
Install Git software version 1.6.2.2 or later. See the Git Community Handbook -installation and -setup +installation and +setup instructions, as well as our Installing git Genomewiki page.

Start an initial Git local repository:

$ git clone git://genome-source.soe.ucsc.edu/kent.git

Or, if a firewall prevents git daemon port 9418, use:

$ git clone http://genome-source.soe.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 +create a beta tracking branch:

$ cd kent
 $ git checkout -t -b beta origin/beta

The -b creates a local branch with the name "beta", and checks it out.
The -t makes it a tracking branch, so that "git pull" pulls in updates from origin/beta, the "real" beta branch in our public central read-only repository.

To get the latest UCSC release:
Type this command From anywhere within the kent source tree:

$ git pull

To view the source via gitlist:
Browse to