commit 77a54eed10d82b08ac3902b29ff491ef053169ca from: Stefan Sperling date: Thu Jun 22 08:26:24 2023 UTC provide a 'got merge' example in the EXAMPLES section of got.1 commit - 1334230721068ac62f5ea69c359962cdedb4df60 commit + 77a54eed10d82b08ac3902b29ff491ef053169ca blob - b6da5695eaab874ad02b4ba5ad0801b9748b60fb blob + f6ba97cb74fbc7e6a57f575c6468ef0fed2550d7 --- got/got.1 +++ got/got.1 @@ -3687,7 +3687,19 @@ from upstream: .Pp .Dl $ got update -b upstream/master .Dl $ got rebase master +.Pp +As an alternative to +.Cm got rebase , +branches can be merged with +.Cm got merge : +.Pp +.Dl $ got update -b master +.Dl $ got merge upstream/master .Pp +The question of whether to rebase or merge branches is philosophical. +When in doubt, refer to the software project's policies set by project +maintainers. +.Pp As a final step, the forked repository's copy of the master branch needs to be kept in sync by sending the new changes there: .Pp