You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

70 lines
2.6KB

  1. #!/bin/csh
  2. git clone git@github.com:HardenedBSD/hardenedBSD.git hardenedBSD.git
  3. if ( $? != 0 ) then
  4. git clone https://github.com/HardenedBSD/hardenedBSD.git hardenedBSD.git
  5. endif
  6. cd hardenedBSD.git
  7. git remote add freebsd https://github.com/freebsd/freebsd.git
  8. git config --add remote.freebsd.fetch '+refs/notes/*:refs/notes/*'
  9. git fetch freebsd
  10. # FreeBSD upstream repos
  11. git branch --track freebsd/current/master freebsd/master
  12. git branch --track freebsd/10-stable/master freebsd/stable/10
  13. git branch --track freebsd/11-stable/master freebsd/stable/11
  14. git branch --track freebsd/12-stable/master freebsd/stable/12
  15. git branch --track freebsd/10.3-releng/master freebsd/releng/10.3
  16. git branch --track freebsd/11.0-releng/master freebsd/releng/11.0
  17. git branch --track freebsd/11.1-releng/master freebsd/releng/11.1
  18. git branch --track freebsd/11.2-releng/master freebsd/releng/11.2
  19. git branch --track freebsd/12.0-releng/master freebsd/releng/12.0
  20. git branch --track freebsd/12.1-releng/master freebsd/releng/12.1
  21. # HardenedBSD 10-STABLE master branches
  22. git branch --track {,origin/}hardened/10-stable/master
  23. git branch --track {,origin/}hardened/10-stable/master-libressl
  24. # HardenedBSD 10-STABLE topic branches
  25. git branch --track {,origin/}hardened/10-stable/unstable
  26. # HardenedBSD 10.3-RELENG master branches
  27. git branch --track {,origin/}hardened/10.3-releng/master
  28. # HardenedBSD 11.0-RELENG master branch
  29. git branch --track {,origin/}hardened/11.0-releng/master
  30. # HardenedBSD 11.1-RELENG master branch
  31. git branch --track {,origin/}hardened/11.1-releng/master
  32. # HardenedBSD 11.2-RELENG master branch
  33. git branch --track {,origin/}hardened/11.2-releng/master
  34. # HardenedBSD 11-STABLE master branches
  35. git branch --track {,origin/}hardened/11-stable/master
  36. git branch --track {,origin/}hardened/11-stable/master-libressl
  37. # HardenedBSD 11-STABLE topic branches
  38. git branch --track {,origin/}hardened/11-stable/unstable
  39. # HardenedBSD 12-STABLE master branches
  40. git branch --track {,origin/}hardened/12-stable/master
  41. #git branch --track {,origin/}hardened/12-stable/master-libressl
  42. # HardenedBSD 12.0-RELENG master branch
  43. git branch --track {,origin/}hardened/12.0-releng/master
  44. # HardenedBSD 12.1-RELENG master branch
  45. git branch --track {,origin/}hardened/12.1-releng/master
  46. # HardenedBSD master branch
  47. git branch --track {,origin/}hardened/current/master
  48. git branch --track {,origin/}hardened/current/unstable
  49. # HardenedBSD CURRENT topic branches
  50. git branch --track {,origin/}hardened/current/intel-smap
  51. git branch --track {,origin/}hardened/current/segvguard-ng
  52. git branch --track {,origin/}hardened/current/log