Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/dotenorio/git_aliases
Browse files Browse the repository at this point in the history
  • Loading branch information
dotenorio committed Jul 30, 2018
2 parents e9d5671 + 6394487 commit 49c59b4
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
Create aliases for git commands:

```
al ~> "config --get-regexp ^alias\."
co ~> checkout
cb ~> "checkout -b"
ca ~> "checkout -a"
Expand All @@ -18,6 +19,7 @@ ad ~> "add ."
cm ~> "commit -m"
in ~> init
lg ~> "log --pretty='> %Cred%h %Creset| %Cgreen"%s"%Creset | %Cblue%an%Creset - %ar' -10"
la ~> "log --oneline --all --graph"
rv ~> "remote -v"
df ~> diff
```
Expand Down
2 changes: 2 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
const { execSync } = require('child_process')

let to = {
al: `"config --get-regexp ^alias\\."`,
co: 'checkout',
cb: `"checkout -b"`,
ca: `"checkout -a"`,
Expand All @@ -16,6 +17,7 @@ let to = {
cm: `"commit -m"`,
in: 'init',
lg: `"log --pretty='> %Cred%h %Creset| %Cgreen"%s"%Creset | %Cblue%an%Creset - %ar' -10"`,
la: `"log --oneline --all --graph"`,
rv: `"remote -v"`,
df: 'diff'
}
Expand Down
Binary file modified output/git_aliases-linux
Binary file not shown.
Binary file modified output/git_aliases-macos
Binary file not shown.
Binary file modified output/git_aliases-win.exe
Binary file not shown.

0 comments on commit 49c59b4

Please sign in to comment.