> ## Content Index
> Fetch the complete content index at: https://leif.me/llms.txt
> Use this file to discover other available public pages before exploring further.

# Have git show what changed after pulling
- URL: https://leif.me/have-git-show-what-changed-after-pulling/
- Published: 2010-01-06T14:12:59.000Z
- Updated: 2024-10-17T22:58:48.000Z
- Author: Dr. Leif Singer
- Tags: #wordpress, #leif-2, #Import 2024-10-10 15:41

When pulling in the latest changes from the [Cappuccino repository](http://github.com/280north/cappuccino?ref=working-together-through-computers.ghost.io), I often ask myself what changed, that is, in which places I can expect improvements or differences. I found it therefore favorable to have git show me just that. After some searching, it turns out this is quite easy. Just open your `~/.gitconfig` file and add the following two lines:

```
[alias]
  pulled = log -p --reverse --no-merges --stat @{1}..
```

From now on, you can use `git pulled` to show those changes. If you just want to see the commits but not the actual code that changed, simply remove the `-p` flag.

During searching I also found [a rather nice list of tweaks](http://cheat.errtheblog.com/s/git?ref=working-together-through-computers.ghost.io) to your `~/.gitconfig`, which turns on coloring and other fancy things.