@jswork/ushell-module-git 1.0.23 → 1.0.24

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
@@ -86,7 +86,8 @@ alias github-cache='ssh-add ~/.ssh/id_rsa.github.com >/dev/null 2>/dev/null;';
86
86
  alias mvg="${ROOT_PATH}/modules/08-mvg.sh";
87
87
 
88
88
  # oprr
89
- alias oprr="open https://github.com/applyai-dev/applyai-frontend/compare/dev...$(git branch --show-current)?expand=1";
89
+ alias oprr="bash /path/to/oprr.sh"
90
+
90
91
  # git-url-cli
91
92
  # alias guc='git-url-cli'
92
93
 
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env bash
2
+
3
+
4
+ # 如果提供了参数,使用参数;否则使用 'dev' 作为默认值
5
+ BASE_BRANCH=${1:-dev}
6
+
7
+ # 打开 GitHub 对比页面
8
+ open "https://github.com/applyai-dev/applyai-frontend/compare/$BASE_BRANCH...$(git branch --show-current)?expand=1"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jswork/ushell-module-git",
3
- "version": "1.0.23",
3
+ "version": "1.0.24",
4
4
  "description": "Unix like shell module for git.",
5
5
  "main": "index.sh",
6
6
  "repository": {