Skip to content

Commit 88cf812

Browse files
author
Thomas G.
committed
feat: ✨ simplify aliases
1 parent 335fc38 commit 88cf812

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

src/gitutils/alias.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,10 @@
3131
"cmd": "git commit --amend --edit",
3232
"help": "Edit the last commit message and content."
3333
},
34+
"feat": {
35+
"cmd": "git flow start feature $1",
36+
"help": "Start a new git flow feature branch."
37+
},
3438
"fixable": {
3539
"cmd": "git log --oneline $(git rev-parse --abbrev-ref --symbolic-full-name @{u})..HEAD",
3640
"help": "Show commits ahead of upstream."
@@ -47,24 +51,20 @@
4751
"cmd": "git diff -p -R --no-color | grep -E \"^(diff|(old|new) mode)\" --color=never | git apply --allow-empty --no-index",
4852
"help": "Restore file mode changes from diff."
4953
},
50-
"flwb": {
54+
"flb": {
5155
"cmd": "git release-beta",
5256
"help": "Run release-beta command."
5357
},
54-
"flwf": {
55-
"cmd": "git flow start feature $1",
56-
"help": "Start a new git flow feature branch."
57-
},
58-
"flwh": {
58+
"flf": {
5959
"cmd": "git release-hotfix",
6060
"help": "Run release-hotfix command."
6161
},
62-
"flwp": {
62+
"flp": {
6363
"cmd": "git release-prod",
6464
"help": "Run release-prod command."
6565
},
66-
"flwt": {
67-
"cmd": "git tag -a $1 -m \"$1\" && git push origin $1",
66+
"flt": {
67+
"cmd": "git tag -a $1 -m \"$1\"; git push origin $1",
6868
"help": "Create and push an annotated tag."
6969
},
7070
"forceable": {

src/gitutils/devcontainer-feature.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"id": "gitutils",
33
"name": "Git Aliases",
44
"description": "A feature to add useful Git aliases to your shell.",
5-
"version": "5.13.7",
5+
"version": "5.14.1",
66
"dependsOn": {
77
"ghcr.io/devcontainers/features/node:1": "lts",
88
"ghcr.io/tomgrv/devcontainer-features/common-utils:3": {

0 commit comments

Comments
 (0)