-
-
Notifications
You must be signed in to change notification settings - Fork 67
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
git-xargs should open PRs even if it did not commit any changes #39
Comments
Thanks for opening the issue. This does seem like the right behavior. I'm not going to be able to get to this soon, but a PR to fix this is very welcome. |
Hey, |
Hello again, I am now in a situation again, where it would be great, if the PR would be opened even if the push did not change anything. I changed over 100 repositories, sadly after less then 50 PRs the max numbers of PR retries where reached. |
Workaround: git push -d origin <branchname>
git checkout main
git branch -D <branchname>
git checkout -b <branchname> Make sure exists in none of your repos before. Otherwise it will be lost. |
I think, git-xargs should always open PRs even if the given command did not change anything locally or if the push returns already up-to-date.
The reason why I use your great tool, is that I want to merge some changes in to my main-branch. I don't care if the tool does these changes, commit them and push them to the branch I passed to the tool, or if these changes already exists in the remote branch, as long as a PR is opened so I can merge my changes into main.
The text was updated successfully, but these errors were encountered: