чување 77fde6556252a491749980124c2403e6740662bb родитељ c80752f8e67d7386c3861d11c68df96c40781ea5 Аутор: Страхиња Радић <contact@strahinja.org> Датум: Tue, 28 May 2024 19:43:22 +0200 HACKING: Small improvements Diffstat:
| M | HACKING | | | 12 | +++++------- |
измењених датотека: 1, додавања: 5(+), брисања: 7(-)
diff --git a/HACKING b/HACKING @@ -56,18 +56,16 @@ closest thing to git email patches made by git-format-patch(1) is the output of `got diff -d`. -* Option 1 +* Option 1 (requires git) - Since the repository directory (**not** the work tree directory!) is a bare - git repository, from the repository directory issue the git command + Since the _repository directory_ (**not** the work tree directory!) is a bare + git repository, git can be used to generate the patch: + $ cd $(got info | awk '/repository:/{print $2}') $ git format-patch master..my_feature --stdout > my_feature.patch - similar to the one described above in "Creating customizations (git)". This - option actually needs to have git installed. - -* Option 2 +* Option 2 (got only) With got: