@jswork/ushell-module-git 1.0.18 → 1.0.19
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 +3 -3
- package/package.json +1 -1
package/index.sh
CHANGED
|
@@ -53,10 +53,10 @@ alias gmdr='git merge origin/develop';
|
|
|
53
53
|
alias gmdevr='git merge origin/dev';
|
|
54
54
|
|
|
55
55
|
## chekcout
|
|
56
|
-
alias gckm='git checkout master';
|
|
57
|
-
alias gckd='git checkout develop';
|
|
56
|
+
alias gckm='git checkout master 2>/dev/null || git checkout main 2>/dev/null';
|
|
57
|
+
alias gckd='git checkout develop 2>/dev/null || git checkout dev 2>/dev/null';
|
|
58
|
+
alias gckb='git checkout beta';
|
|
58
59
|
alias gckr='git checkout release';
|
|
59
|
-
alias gckdev='git checkout dev';
|
|
60
60
|
|
|
61
61
|
## git others:
|
|
62
62
|
alias gs='git status ';
|