blob: a71a670c67e72d7e28edcf5ebc909d5dd70bcf5a [file] [log] [blame]
J-Alves241c66c2023-10-19 13:59:29 +01001Getting the source code
2=======================
3
4Hafnium source code is maintained in a Git repository hosted on trustedfirmware.org.
5To clone this repository from the server, run the following in your shell:
6
7.. code:: shell
8
9 git clone --recurse-submodules https://git.trustedfirmware.org/hafnium/hafnium.git
10
11In order to import gerrit hooks useful to add a Change-Id footer in commit messages,
12it is recommended to use:
13
14.. code:: shell
15
16 git clone --recurse-submodules https://git.trustedfirmware.org/hafnium/hafnium.git && { cd hafnium && f="$(git rev-parse --git-dir)"; curl -Lo "$f/hooks/commit-msg" https://review.trustedfirmware.org/tools/hooks/commit-msg && { chmod +x "$f/hooks/commit-msg"; git submodule --quiet foreach "cp \"\$toplevel/$f/hooks/commit-msg\" \"\$toplevel/$f/modules/\$path/hooks/commit-msg\""; }; }
17
18--------------
19
20*Copyright (c) 2023, Arm Limited. All rights reserved.*