<?xml version='1.0' encoding='utf-8' ?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Social Memory Complex: git</title>
<link href="https://www.socialmemorycomplex.net/tags/git/feed.xml" rel="self" />
<link href="https://www.socialmemorycomplex.net/tags/git/" />
<updated>2026-05-24T21:17:06+00:00</updated>
<id>https://www.socialmemorycomplex.net/tags/git/</id>
<entry>
  <title>Need git aliases?</title>
  <link href="http://socialmemorycomplex.net/2010/01/11/need-git-aliases/" />
  <updated>2010-01-11T00:00:00+00:00</updated>
  <id>http://socialmemorycomplex.net/2010/01/11/need-git-aliases/</id>
  <author><name>Jeremy Weiland</name></author>
  <content type="html"><![CDATA[<p>I’ve used git on many other people’s computers and they never have the shortcuts that make git nimble for me to use. Until just now, I had know idea how those aliases were set. From a cursory reading of <a href="https://www.kernel.org/pub/software/scm/git/docs/git-config.html">the docs</a>, I gathered that you can edit your aliases directly with <code class="language-plaintext highlighter-rouge">git config --global -e</code>. For example:</p>

<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>	[merge]
		tool = opendiff
	[core]
		excludesfile = /Users/jeremyweiland/.gitignore
		editor = mate -w
	[alias]
		st = status
		ci = commit
		co = checkout
		br = branch
		lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
	[color]
		pager = true
		ui = auto
</code></pre></div></div>
]]></content>
</entry>
</feed>
