@jswork/ushell-module-git 1.0.16 → 1.0.18

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,13 +3,14 @@
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
- alias gp='git push';
11
10
  alias glo='git pull origin ';
11
+ alias gp='git push';
12
12
  alias gpo='git push origin ';
13
+ alias gpof='git push origin -f';
13
14
 
14
15
  # push branchs/tags/deletes
15
16
  alias gpa='git push --all -u';
@@ -28,6 +29,7 @@ alias gc1='git clone --depth=1';
28
29
  alias gcf='git clean -f';
29
30
 
30
31
  # git fetch:
32
+ alias gfo='git fetch origin';
31
33
  alias gft='git fetch';
32
34
  alias gfa='git fetch --all';
33
35
  alias gfp='git fetch --all --prune';
@@ -45,11 +47,10 @@ alias gmm='git merge master';
45
47
  alias gmd='git merge develop';
46
48
  alias gmdev='git merge dev';
47
49
 
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';
50
+ # merge from remote:
51
+ alias gmmr='git merge origin/master';
52
+ alias gmdr='git merge origin/develop';
53
+ alias gmdevr='git merge origin/dev';
53
54
 
54
55
  ## chekcout
55
56
  alias gckm='git checkout master';
@@ -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.16",
3
+ "version": "1.0.18",
4
4
  "description": "Unix like shell module for git.",
5
5
  "main": "index.sh",
6
6
  "repository": {