-
Notifications
You must be signed in to change notification settings - Fork 145
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Hello!
First of all, thanks for making this.
A few days ago, I had everything set up fine and my GitHub Action was succesfully linting pull requests on master using Prettier, ESLint and Stylelint. However, in the mean time I did something that makes this lint action fail on every run:
Command failed: git branch --force development --track origin/development
error: the requested upstream branch 'origin/development' does not exist
hint:
hint: If you are planning on basing your work on an upstream
hint: branch that already exists at the remote, you may need to
hint: run "git fetch" to retrieve it.
hint:
hint: If you are planning to push out a new local branch that
hint: will track its remote counterpart, you may want to use
hint: "git push -u" to set the upstream config as you push.
The steps I took that I think might have caused this problem:
- Delete
origin/development(I know, bad idea — I wanted to remove a certain commit) - Reset the local branch to a previous commit and discard the local changes
- Push development to the remote
After some further testing, it seems that I cannot reuse the name development for any newly created branch (and then run a PR against master).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working