1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-09 09:26:42 +02:00

Remove newline literal and duplicated info

This commit is contained in:
Tim Green
2014-04-17 22:10:59 +01:00
parent 3bac16a633
commit 69da2b5c44

View File

@@ -558,14 +558,14 @@ This is produced:
Running:
```bash
$ git log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'\n--abbrev-commit --date=relative
$ git log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
```
Produces:
![git log --all --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative](http://i.imgur.com/R2z8l7c.png)
Add this as an alias to your global git config. Credit to [Palesz](http://stackoverflow.com/users/88355/palesz)
Credit to [Palesz](http://stackoverflow.com/users/88355/palesz)
*This can be aliased using the instructions found [here](https://github.com/tiimgreen/github-cheat-sheet#aliases).*