-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Failed to push to github #958
Comments
I received the same error with a JavaScript project. I hard-reloaded the page and was able to make my commits after that. I'm not sure if Git has a different state for when the project is first connected vs when it is reloaded. This might not work for you since it's a different project type but at least in this scenario it worked. |
I am getting the same issue on a tutorial that I am playing around with. Using Angular. |
What is the workaround for that, please? |
@lmame I see this when I click your link: |
You can download that folder on your local computer and then push to the github ok that is also way or you can fork bt i am not able to fork that ok i hope this help |
@lmame |
One solution that worked for me was to make a new branch and merge them via PR on github. I would like to just be able to force push always though, as I have no intention of editing this project outside of stackblitz. |
is it possible to perform commit with additional parameters? |
Please update when this issue got fixed from stackblitz |
Okay. Found a dirty workaround.
|
Yes, @jeserkin’s method (stash) is the only thing that worked for me so far. Neither pulling nor creating a new branch helped (in a Javascript project). Bonus: if you want to customize the commit message, you can pull it in the console, |
I still feel like it could be solved more elegantly. |
This issue is now resolved! Full writeup in Github issue #2473 |
Thanks @kc0tlh :) |
I am at ngConf 2019 and was working on a workshop.
I took the trainer stackblitz, forked it and used stackblitz to create a repo on my github.
It went ok.
Locally on my laptop I cloned the repo and added the slides (20MB+?).
On stackblitz I pulled the modification (no error message).
I worked on the workshop and tried to commit.
It failed with an error message (not simple enough for fast forward, use force).
Then now the stackblitz project cannot even load anymore:
https://stackblitz.com/edit/ngconf2019-bz-angular-ngrx
Import error, can't find files:
/src/main.ts
/src/index.html
/src/styles.css
/src/polyfills.ts
/src/app/app.module.ts
/src/app/app.routing.ts
/src/app/app.component.ts
/src/app/app.component.css
/src/app/app.component.html
/src/app/hello.component.ts
/src/app/banana/banana.component.ts
/src/app/banana/banana.component.css
/src/app/banana/banana.component.html
The text was updated successfully, but these errors were encountered: