mirror of
https://github.com/tiimgreen/github-cheat-sheet.git
synced 2025-08-08 08:56:35 +02:00
Fix Markdown format, the right way!
Ref: https://github.github.com/gfm/#example-193
This commit is contained in:
@@ -929,7 +929,7 @@ $ git config --global alias.ac 'add -A . && commit'
|
|||||||
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
||||||
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
||||||
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
||||||
| `git cleanup` | `git branch --merged` | `grep -v '*'` | `xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged` | `grep -v '*'` | `xargs git branch -d"` |
|
| `git cleanup` | `git branch --merged \| grep -v '*' \| xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged \| grep -v '*' \| xargs git branch -d"` |
|
||||||
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
||||||
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
||||||
|
|
||||||
|
@@ -1021,7 +1021,7 @@ $ git config --global alias.ac 'add -A . && commit'
|
|||||||
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
||||||
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
||||||
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
||||||
| `git cleanup` | `git branch --merged` | `grep -v '*'` | `xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged` | `grep -v '*'` | `xargs git branch -d"` |
|
| `git cleanup` | `git branch --merged \| grep -v '*' \| xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged \| grep -v '*' \| xargs git branch -d"` |
|
||||||
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
||||||
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
||||||
|
|
||||||
|
@@ -967,7 +967,7 @@ Some useful aliases include:
|
|||||||
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
||||||
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
||||||
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
||||||
| `git cleanup` | `git branch --merged` | `grep -v '*'` | `xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged` | `grep -v '*'` | `xargs git branch -d"` |
|
| `git cleanup` | `git branch --merged \| grep -v '*' \| xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged \| grep -v '*' \| xargs git branch -d"` |
|
||||||
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
||||||
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
||||||
|
|
||||||
|
@@ -861,7 +861,7 @@ $ git config --global alias.ac 'add -A . && commit'
|
|||||||
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
||||||
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
||||||
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
||||||
| `git cleanup` | `git branch --merged` | `grep -v '*'` | `xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged` | `grep -v '*'` | `xargs git branch -d"` |
|
| `git cleanup` | `git branch --merged \| grep -v '*' \| xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged \| grep -v '*' \| xargs git branch -d"` |
|
||||||
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
||||||
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
||||||
|
|
||||||
|
@@ -905,7 +905,7 @@ $ git config --global alias.ac 'add -A . && commit'
|
|||||||
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
|
||||||
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
| `git tags` | `git tag -l` | `git config --global alias.tags 'tag -l'` |
|
||||||
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
| `git branches` | `git branch -a` | `git config --global alias.branches 'branch -a'` |
|
||||||
| `git cleanup` | `git branch --merged` | `grep -v '*'` | `xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged` | `grep -v '*'` | `xargs git branch -d"` |
|
| `git cleanup` | `git branch --merged \| grep -v '*' \| xargs git branch -d` | `git config --global alias.cleanup "!git branch --merged \| grep -v '*' \| xargs git branch -d"` |
|
||||||
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
| `git remotes` | `git remote -v` | `git config --global alias.remotes 'remote -v'` |
|
||||||
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
| `git lg` | `git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --` | `git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --"` |
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user