Fixed Style in Split Git Documentation

Put filenames and commands in between back ticks to match the style
of the rest of the documentation.
This commit is contained in:
Nicklaus McClendon 2016-05-25 03:03:27 -05:00
parent 3239b9c4e5
commit c785d3785f
No known key found for this signature in database
GPG Key ID: 4D4DF09C56AB4D16

View File

@ -175,7 +175,7 @@ from a security perspective.
Git can be configured to used with Split-GPG, something useful if you would Git can be configured to used with Split-GPG, something useful if you would
like to contribute to the Qubes OS Project as every commit is required to be like to contribute to the Qubes OS Project as every commit is required to be
signed. The most basic ~/.gitconfig file to with working Split-GPG looks signed. The most basic `~/.gitconfig` file to with working Split-GPG looks
something like this. something like this.
[user] [user]
@ -187,7 +187,7 @@ something like this.
program = qubes-gpg-client-wrapper program = qubes-gpg-client-wrapper
Your key id is the public id of your signing key, which can be found by running Your key id is the public id of your signing key, which can be found by running
"qubes-gpg-client -k". In this instance, the key id is DD160C74. `qubes-gpg-client -k`. In this instance, the key id is DD160C74.
[user@work ~]$ qubes-gpg-client -k [user@work ~]$ qubes-gpg-client -k
/home/user/.gnupg/pubring.kbx /home/user/.gnupg/pubring.kbx
@ -197,14 +197,14 @@ Your key id is the public id of your signing key, which can be found by running
To sign commits, you now add the "-S" flag to your commit command, which should To sign commits, you now add the "-S" flag to your commit command, which should
prompt for Split-GPG usage. If you would like automatically sign all commits, prompt for Split-GPG usage. If you would like automatically sign all commits,
you can add the following snippet to ~/.gitconfig. you can add the following snippet to `~/.gitconfig`.
[commit] [commit]
gpgsign = true gpgsign = true
Lastly, if you would like to add aliases to sign and verify tags using the Lastly, if you would like to add aliases to sign and verify tags using the
conventions the Qubes OS Project recommends, you can add the following snippet conventions the Qubes OS Project recommends, you can add the following snippet
to ~/.gitconfig. to `~/.gitconfig`.
[alias] [alias]
stag = "!id=`git rev-parse --verify HEAD`; git tag -s user_${id:0:8} -m \"Tag for commit $id\"" stag = "!id=`git rev-parse --verify HEAD`; git tag -s user_${id:0:8} -m \"Tag for commit $id\""