Skip to content

Commit 35975cd

Browse files
author
Bhavi Dhingra
committed
feat(new-command): gpush and gpull
1 parent e2c67a8 commit 35975cd

File tree

2 files changed

+26
-0
lines changed

2 files changed

+26
-0
lines changed

cmd/gpull

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
#shellcheck disable=SC1091
4+
5+
source "${__CUSTOM_GIT_UTIL}"/__assertgitrepo
6+
7+
__assertgitrepo
8+
9+
clear
10+
git pull
11+
12+
echo
13+
git status

cmd/gpush

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#!/bin/bash
2+
3+
#shellcheck disable=SC1091
4+
5+
source "${__CUSTOM_GIT_UTIL}"/__assertgitrepo
6+
7+
__assertgitrepo
8+
9+
clear
10+
git push
11+
12+
echo
13+
git status

0 commit comments

Comments
 (0)