commit a5c1f56e99a46471058aa001cedc1dfe7ad396af from: barth date: Mon Sep 30 19:03:33 2024 UTC Added got_usage file commit - 2b7a3d084d70b266db82faddd91b66d4da8686e6 commit + a5c1f56e99a46471058aa001cedc1dfe7ad396af blob - /dev/null blob + 6af02a30dc4b872cd8de175b139c052a17b71f92 (mode 644) --- /dev/null +++ got_usage.org @@ -0,0 +1,40 @@ +#+TITLE: Got usage +#+DATE: <2024-09-29 Sun> + +* Contributing to a project + +** Clone repository + +#+begin_src sh + cd ~/src + got clone ssh://barth@freeirc.org/admin-notes +#+end_src + +** Create a working copy + +#+begin_src sh + cd ~/dev + got checkout ~/src/admin-notes.git ~/dev/admin-notes +#+end_src + +** Hack + +When you are done, stage the changes + +#+begin_src sh + got stage +#+end_src + +** Commit the changes + +#+begin_src sh + #if not defined yet, export GOT_AUTHOR variable + export GOT_AUTHOR="barth " + got commit -m "merged shell, email, bouncer source blocks" +#+end_src + +** Push the changes + +#+begin_src sh + got push +#+end_src