1
0
mirror of https://github.com/tiimgreen/github-cheat-sheet.git synced 2025-08-15 12:23:57 +02:00

Improve styling of examples

This commit is contained in:
Tim Green
2014-04-13 12:18:40 +01:00
parent 05c97b48d6
commit 7d37bec3e6

View File

@@ -279,30 +279,11 @@ $ git config alias.ac 'add -A . && commit'
Some recommendations include:
```bash
$ git cm
```
is Alias of:
```bash
$ git commit
```
<br>
```bash
$ git ac
```
is Alias of:
```bash
$ git add .
$ git commit
```
<br>
```bash
$ git st
```
is Alias of:
```bash
$ git status -sb
```
| Alias | Current Command | What to Type |
| --- | --- | --- |
| `git cm` | `git commit` | `git config --global alias.cm commit` |
| `git ac` | `git add . -A` `git commit` | `git config --global alias.ac '!git add -A && git commit'` |
| `git st` | `git status -sb` | `git config --global alias.st 'status -sb'` |
### Auto-correct