File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 9
9
"editLast" : " git commit --amend --edit" ,
10
10
"fixable" : " git log --oneline $(git rev-parse --abbrev-ref --symbolic-full-name @{u})..HEAD" ,
11
11
"fixAuthor" : " git config \" ${1---global}\" user.name \" $(git log -2 --pretty=format:'%an' | tail -1)\" && git config \" ${1---global}\" user.email \" $(git log -2 --pretty=format:'%ae' | tail -1)\" " ,
12
- "fixConfig" : " for alias in $( git config --global --get-regexp '^alias.' | grep '/tmp' | cut -d' ' -f1) ; do git config --global --unset $alias; done" ,
12
+ "fixConfig" : " git config --global --get-regexp '^alias.' | grep '/tmp' | cut -d' ' -f1 | while read -r alias ; do git config --global --unset \" $alias\" ; done" ,
13
13
"fixMode" : " git diff -p -R --no-color | grep -E \" ^(diff|(old|new) mode)\" --color=never | git apply --allow-empty --no-index" ,
14
14
"forceable" : " git log --oneline $(echo $(git rev-parse --abbrev-ref --symbolic-full-name @{u};git log --merges --first-parent -1 --pretty=%h)| tail -1)..HEAD $*" ,
15
15
"go" : " git commit -m \" $1\" --all" ,
Original file line number Diff line number Diff line change 2
2
"id" : " gitutils" ,
3
3
"name" : " Git Aliases" ,
4
4
"description" : " A feature to add useful Git aliases to your shell." ,
5
- "version" : " 5.12.1 " ,
5
+ "version" : " 5.12.2 " ,
6
6
"dependsOn" : {
7
7
"ghcr.io/devcontainers/features/node:1" : " lts" ,
8
8
"ghcr.io/tomgrv/devcontainer-features/common-utils:3" : {
You can’t perform that action at this time.
0 commit comments