rebase-helper propose-update failed with traceback on git push --force
See original GitHub issueI have tried to update rebase-helper
by packit but it failed with traceback.
.packit.yml configuration file is here: https://github.com/rebase-helper/rebase-helper/blob/master/.packit.yaml
$ packit propose-update
Checking out upstream version 0.16.2
using "master" dist-git branch
syncing ./.packit.yaml
syncing ./rebase-helper.spec
INFO: Running 'anitya' versioneer
INFO: Downloading file from URL https://github.com/rebase-helper/rebase-helper/archive/0.16.2/rebase-helper-0.16.2.tar.gz
[ <=> ] 1.80M in 00:00:01
downloaded archive: /tmp/tmpeqbb9vh6/rebase-helper-0.16.2.tar.gz
uploading to the lookaside cache
ERROR Cmd('git') failed due to: exit code(128)
cmdline: git push --force --porcelain fork 0.16.2-master-update
stderr: 'fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.'
Unexpected exception occurred,
please fill an issue here:
https://github.com/packit-service/packit/issues
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Why is `git push --force-with-lease` failing with "rejected ...
In this case it turned out that the problem was that the remote branch had been deleted, but there was still a copy...
Read more >git-push Documentation - Git
git -push - Update remote refs along with associated objects ... This flag forces progress status even if the standard error stream is...
Read more >Git Push Crashes from IDE [124680708] - Issue Tracker - Google
Commit works fine, its the push that fail.s Change any file from a bitbucket git ... then push dialog appears, and fails to...
Read more >Introduction to Git rebase and force-push - GitLab Docs
This guide helps you to get started with rebasing, force-pushing, and fixing merge conflicts locally. Before diving into this document, make sure you...
Read more >force considered harmful; understanding git's -force-with-lease
Git's push --force is destructive because it unconditionally overwrites the remote repository with whatever you have locally, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Cool, so we should just catch the giterror exc and reraise as packit exc.
If I got your idea, this is the current state: https://github.com/packit-service/packit/blob/master/packit/cli/utils.py#L30