@jswork/ushell-module-git 1.0.15 → 1.0.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.sh CHANGED
@@ -3,10 +3,10 @@
3
3
  ROOT_PATH=$(dirname $BASH_SOURCE);
4
4
 
5
5
  source $ROOT_PATH/modules/02-git-flow.sh;
6
+ source $ROOT_PATH/modules/07-git-rebase.sh;
6
7
 
7
8
  ## git base:
8
9
  alias gl='git pull';
9
- alias glb='git pull --rebase';
10
10
  alias gp='git push';
11
11
  alias glo='git pull origin ';
12
12
  alias gpo='git push origin ';
@@ -45,12 +45,6 @@ alias gmm='git merge master';
45
45
  alias gmd='git merge develop';
46
46
  alias gmdev='git merge dev';
47
47
 
48
- ## rebase
49
- alias grb='git rebase ';
50
- alias grbm='git rebase master';
51
- alias grbd='git rebase develop';
52
- alias grbdev='git rebase dev';
53
-
54
48
  ## chekcout
55
49
  alias gckm='git checkout master';
56
50
  alias gckd='git checkout develop';
package/modules/01-gcd.sh CHANGED
@@ -6,7 +6,7 @@ repourl=`echo $GIT_URL | awk -F [:/] '{print$1}'`;
6
6
 
7
7
  # A special case for nono `aric-` org.
8
8
 
9
- if [[ $orgname != "aric-"* || $orgname != "alo7i" ]]; then
9
+ if [[ $orgname != "aric-"* && $orgname != "alo7i" ]]; then
10
10
  orgname="github";
11
11
  fi
12
12
 
@@ -1,7 +1,5 @@
1
1
  #!/usr/bin/env bash
2
2
 
3
- #!/bin/bash
4
-
5
3
  # Delete local tags
6
4
  git tag -l | xargs git tag -d
7
5
 
@@ -0,0 +1,11 @@
1
+ #!/usr/bin/env bash
2
+
3
+ ## rebase
4
+ alias grb='git rebase ';
5
+ alias gmb='git rebase ';
6
+ alias grbm='git rebase master';
7
+ alias grbd='git rebase develop';
8
+ alias grbdev='git rebase dev';
9
+
10
+ # git pull
11
+ alias glb='git pull --rebase';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/ushell-module-git",
3
- "version": "1.0.15",
3
+ "version": "1.0.17",
4
4
  "description": "Unix like shell module for git.",
5
5
  "main": "index.sh",
6
6
  "repository": {