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

Fix originpyup scheduled update 2018 12 31 #1674

Conversation

peterbe
Copy link
Contributor

@peterbe peterbe commented Dec 31, 2018

I pulled down the pyup-scheduled-update-2018-12-31 branch from origin, started a new branch, made some changes and committed. But I couldn't write to origin/pyup-scheduled-update-2018-12-31` branch. Why is that?

▶ git push origin pyup-scheduled-update-2018-12-31
error: src refspec pyup-scheduled-update-2018-12-31 does not match any.
error: failed to push some refs to '[email protected]:mozilla/normandy.git'

(so I pushed to me fork instead and made this PR)

@mythmon
Copy link
Contributor

mythmon commented Jan 7, 2019

The command git push origin pyup-scheduled-update-2018-12-31 could be described as "Push the local branch named pyup-scheduled-update-2018-12-31 to the remote branch named pyup-scheduled-update-2018-12-31 on the remote named origin."

I suspect that when you created a branch, you named it something different than pyup-scheduled-update-2018-12-31. If that's the case, the command you probably want is git push origin my-local-branch-name:pyup-scheduled-update-2018-12-31.

Copy link
Contributor

@mythmon mythmon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Your change will be reverted the next time pyup updates requirements. You'll need to add a pyup comment, like here:

# pyup: <0.29dev # requests_mock doesn't support >= 0.29

@mythmon
Copy link
Contributor

mythmon commented Jan 7, 2019

I think we should make these fixes to #1680.

@mythmon mythmon closed this Jan 7, 2019
@peterbe peterbe deleted the fix-originpyup-scheduled-update-2018-12-31 branch January 8, 2019 20:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants