checkout.txt 563 B

1234567891011121314151617181920212223
  1. Check out source code
  2. ---------------------
  3. Check out the source code from the git repository.::
  4. git clone https://github.com/geoserver/geoserver.git geoserver
  5. To list the available branches.::
  6. % git branch
  7. 2.21.x
  8. 2.22.x
  9. * main
  10. Choose ``main`` for the latest development.::
  11. % git checkout main
  12. Or choose a stable branch for versions less likely to change often::
  13. % git checkout 2.22.x
  14. In this example we will assume that your source code is in a directory called ``geoserver``, but a more descriptive name is generally recommended.