Skip to content

Commit 3ef8b01

Browse files
author
Bhavi Dhingra
committed
feat(new-command): custom-git-update & custom-git-uninstall
1 parent b666922 commit 3ef8b01

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

.gitcommitscopes

+1
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ gbranchcreate
44
gcommit
55
header
66
init
7+
new-command

cmd/custom-git-uninstall

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
if command -v curl >/dev/null 2>&1; then
4+
bash -c "$(curl -fsSL https://custom-git.io/uninstall)"
5+
else
6+
bash -c "$(wget -qO- https://custom-git.io/uninstall)"
7+
fi

cmd/custom-git-update

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/bash
2+
3+
if command -v curl >/dev/null 2>&1; then
4+
bash -c "$(curl -fsSL https://custom-git.io/update)"
5+
else
6+
bash -c "$(wget -qO- https://custom-git.io/update)"
7+
fi

0 commit comments

Comments
 (0)