summaryrefslogtreecommitdiff
path: root/_posts/2009-06-20-git-email-settings.textile
diff options
context:
space:
mode:
authortekkub <tekkub@gmail.com>2009-07-27 01:51:05 -0600
committertekkub <tekkub@gmail.com>2009-07-27 01:51:05 -0600
commit6e4eaa1e31846f42fa50cee48b73bf0079e9aba6 (patch)
treef826efbca5942d4cf3e19ee95a936a2948166563 /_posts/2009-06-20-git-email-settings.textile
parentb5a95e8c10b04c5d2add56c9d9815113149adf3f (diff)
Make pretty console pre blocks
Diffstat (limited to '_posts/2009-06-20-git-email-settings.textile')
-rw-r--r--_posts/2009-06-20-git-email-settings.textile6
1 files changed, 3 insertions, 3 deletions
diff --git a/_posts/2009-06-20-git-email-settings.textile b/_posts/2009-06-20-git-email-settings.textile
index 4a1d08d..c057413 100644
--- a/_posts/2009-06-20-git-email-settings.textile
+++ b/_posts/2009-06-20-git-email-settings.textile
@@ -12,7 +12,7 @@ Git needs to know your username and email address to properly credit your commit
p(. _The "email" setting does not have to be a valid email address, it only need match the "user@server" naming scheme._
-<pre>$ git config --global user.name "Tekkub"
+<pre class="terminal">$ git config --global user.name "Tekkub"
$ git config --global user.email "tekkub@gmail.com"</pre>
h2. Overriding settings for individual repos
@@ -21,7 +21,7 @@ If you do not want commits to be "blamed" on your global email setting, you can
p(. _This change will only affect future commits. Existing commits will retain the info they were committed with._
-<pre>$ cd my_other_repo
+<pre class="terminal">$ cd my_other_repo
$ git config user.name "Not Tekkub"
$ git config user.email "not@tekkub.net"</pre>
@@ -29,7 +29,7 @@ h2. GitHub token config
Some tools connect to GitHub without SSH, for these tools you need to set your "local GitHub config":http://github.com/blog/180-local-github-config. You can find your token at the top of the "account page":https://github.com/account
-<pre>$ git config --global github.user tekkub
+<pre class="terminal">$ git config --global github.user tekkub
$ git config --global github.token 0123456789abcdef0123456789abcdef</pre>
If you change your GitHub password a new token will be created, therefore you'll need to change this setting. \ No newline at end of file