X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=README.org;h=db4ed520dfb993f19e6750932641c8d87a24e160;hb=40c80fdec0cbed3bfd337d4a3b2c24ce2377d63a;hp=85963965d51b88cf16319d735b0c304fda7ef0f6;hpb=95ddf5e1099b76850b900f6cb9f9eb992424cae2;p=debian%2Fdebian-policy.git diff --git a/README.org b/README.org index 8596396..db4ed52 100644 --- a/README.org +++ b/README.org @@ -70,14 +70,18 @@ git commit git checkout master git pull -# If there are changes in master that make the branch not apply cleanly: - : git checkout -b temp master; git merge -# If error, reset temp, merge master into local; else skip these three lines - : git reset --hard HEAD; - : git checkout ; +git checkout master +git merge --no-commit +git reset --hard HEAD; +git checkout ; + +# If there are changes in master that make the branch not apply cleanly, there +# should have been en error during the merge step above. If there was an +# error, merge the master branch into the local branch, fix the conflicts, and +# commit the new version of the local branch. : git merge master -# get rid of the temp branch: - : git branch -D temp +# Edit files to remove conflict + : git commit -s # Checkout the local branch, to create the patch to send to the policy git checkout @@ -134,9 +138,9 @@ published at [[http://www.debian.org/doc/]]. In addition to the main technical manual, the team currently also maintains: ++ [[http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/][Machine-readable debian/copyright format]] + [[http://www.debian.org/doc/packaging-manuals/menu-policy/][Debian Menu sub-policy]] + [[http://www.debian.org/doc/packaging-manuals/perl-policy/][Debian Perl Policy]] -+ [[http://www.debian.org/doc/packaging-manuals/mime-policy/][Debian MIME support sub-policy]] + [[http://www.debian.org/doc/packaging-manuals/debconf_specification.html][Debconf Specification]] + [[http://www.debian.org/doc/packaging-manuals/virtual-package-names-list.txt][Authoritative list of virtual package names ]] @@ -235,12 +239,20 @@ git push origin bug12345-rra # update your local master branch git checkout master git pull -# If there are changes in master that make the branch not apply cleanly: -: git checkout -b temp master; git merge bug12345-rra -# If error; -: git reset --hard HEAD; -: git checkout bug12345-rra; git branch -D temp -: git merge master + +git checkout master +git merge --no-commit bug12345-rra +git reset --hard HEAD; + +# If there are changes in master that make the branch not apply cleanly, there +# should have been en error during the merge step above. If there was an +# error, merge the master branch into the local branch, fix the conflicts, and +# commit the new version of the local branch. + : git checkout bug12345-rra + : git merge master +# Edit files to remove conflict + : git commit -s + git checkout master git merge bug12345-rra # edit debian/changelog and upgrading-checklist.html