[desktop] Submitting a gnome-user-docs patch

Hannie Dumoleyn lafeber-dumoleyn2 at zonnet.nl
Sat May 6 07:22:31 UTC 2017


Hi Gunnar,
Thanks for sharing this with us.
The following webpages was also very useful to me to learn how to upload 
translations to git.gnome:
https://wiki.gnome.org/AccountsTeam/NewAccounts
https://wiki.gnome.org/TranslationProject/GitHowTo
Hannie


Op 05-05-17 om 23:26 schreef Gunnar Hjalmarsson:
> Hi again,
>
> The bug I mentioned in my previous message includes a patch.
>
> https://bugzilla.gnome.org/show_bug.cgi?id=782198
>
> Thanks to Jeremy's handholding it's the first properly formatted (I 
> hope) git patch I've ever submitted. :) Below I summarize the steps to 
> get started with git and generate such a patch.
>
> * Install git
>
> sudo apt install git
>
> * Initial setup
>
> git config --global user.name "Gunnar Hjalmarsson"
> git config --global user.email gunnarhj at ubuntu.com
> git config --global core.editor nano
>
> * You can browse the gnome-user-docs repository at
>   <https://git.gnome.org//browse/gnome-user-docs>. To get a local
>   copy of the repository:
>
> git clone git://git.gnome.org/gnome-user-docs
>
> * Edit the file(s) you want to change
>
> * Add the changes to the Index
>
> git add *
>
> * Commit the changes
>
> git commit
>
> [That command makes a nano instance show up. Enter the commit message 
> there, which in my case was:
>
> Install missing icons
>
> https://bugzilla.gnome.org/show_bug.cgi?id=782198
>
> and then save to complete the git command.]
>
> * Generate the patch
>
> git format-patch HEAD~
>
> [That command saves a patch in the root of your local gnome-user-docs 
> repository, which can be submitted to the bug.]
>
> I think that's about it. Probably others with git experience can add 
> additional tips, but this way worked for me.
>




More information about the ubuntu-doc mailing list