Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

git pr --change xxx 不能推送已存在的PR  #52

@WaferJay

Description

@WaferJay

报错

$ grpr --change 10338772 
ERROR: rename <PROJECT_DIR>/.git/UPLOAD_OPTIONS.d.lock <PROJECT_DIR>/.git/UPLOAD_OPTIONS.d: file exists
Uncommitted changes in mmc-wireless/<REPO_NAME> (did you forget to amend?):
Continue uploading? (y/N) y
Enumerating objects: 40, done.
Counting objects: 100% (40/40), done.
Delta compression using up to 12 threads
Compressing objects: 100% (21/21), done.
Writing objects: 100% (29/29), 3.21 KiB | 1.07 MiB/s, done.
Total 29 (delta 15), reused 0 (delta 0), pack-reused 0
To gitlab.alibaba-inc.com:mmc-wireless/<REPO_NAME>.git
 ! [remote rejected] feature/bar_item_style -> refs/for-review/10338772 (invalid character '<' looking for beginning of value)
error: failed to push some refs to 'gitlab.alibaba-inc.com:mmc-wireless/<REPO_NAME>.git'

----------------------------------------------------------------------
[FAILED] ./              feature/bar_item_style (upload failed: exit status 1)

alias:

$ alias | grep -E 'grcr|grpr'
grcr='git repo download --single'
grpr='git repo upload --single'

在其他分支上通过 grpr 提交了一个PR,然后切新分支再 grcr 拉下来修改,最后用 change 参数更新PR是报错。是内网 gitlab 不支持这样的操作吗?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions