• Print
  • Share
  • Dark
    Light

Accessing the ISC DHCP git Repository Via Command Line

  • Updated on 26 Sep 2018
  • 1 minute to read
  • Contributors 

Knowledge of git and of source code management is assumed...If you are unfamiliar with source code management, and in particular with the use of git, we recommend instead that you use the web-based interface to view the DHCP source code trees. It is available here: https://source.isc.org/cgi-bin/gitweb.cgi/.

To check out ISC DHCP source, type:

git clone https://source.isc.org/git/dhcp.git

This will create a local directory called dhcp which will contain all branches of the source code. 

Branch names are of the form v4_X, where X represents the second number in the ISC DHCP 4 version number. So for example, to check out the ISC DHCP 4.3 branch go into the dhcp directory and run:

git checkout v4_3

Extended Release Version branches are named slightly differently, but following the same pattern. To view the latest development version of DHCP 4.1-ESV-Rx, you would want to check out branch v4_1_ESV.

To later update your repository, go into the dhcp directory and type:

git checkout BRANCH
git pull origin BRANCH 

...where BRANCH is the branch you are interested in viewing.

Whenever a branch is ready for publication, a tag will be placed of the form v4_X_Y. The 4.3.6 release, for instance, is tagged as v4_3_6.

The branch in which the next major release is being developed is called master.

Problems with this site? Email us at marketing@isc.org