-
Notifications
You must be signed in to change notification settings - Fork 12k
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
ng github-pages:deploy deleted my project #3030
Comments
Just did that to me too, but I had the --user-page flag, as well. Everything is there, though, other than the "src" directory. I also keep getting this error:
|
My bad - it was indeed a different branch. Didn't notice it checked out a branch. |
If github-pages:deploy fails due to 'No changes found' or fails pushing to git repo, it then attempts to checkout the initial branch. Closes angular#3030
If github-pages:deploy fails due to 'No changes found' or fails pushing to git repo, it then attempts to checkout the initial branch. Closes angular#3030
If github-pages:deploy fails due to 'No changes found' or fails pushing to git repo, it then attempts to checkout the initial branch. Closes angular#3030 Closes angular#2663
If github-pages:deploy fails due to 'No changes found' or fails pushing to git repo, it then attempts to checkout the initial branch. Closes angular#3030 Closes angular#2663
If github-pages:deploy fails due to 'No changes found' or fails pushing to git repo, it then attempts to checkout the initial branch. Closes angular#3030 Closes angular#2663 Closes angular#1259
Getting "Failed to create GitHub repo. Error: 401 Unauthorized" when tries to deploys angular 2 app to my organization guthub page . Asking for a token and fails with 401 ng github-pages:deploy ? Please enter GitHub token you just created (used only once to create the repo): |
@priyeshn You're commenting on a completely unrelated issue, and without full information also. You should create a new issue, ensuring to fill out the template provided and including all relevant information. You didn't include in your above comment whether or not you created the GitHub token -- might be worth adding that in. |
If github-pages:deploy fails due to 'No changes found' or fails pushing to git repo, it then attempts to checkout the initial branch. Closes angular#3030 Closes angular#2663 Closes angular#1259
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
I've created a sample project, and then tried to upload it to github.
Instead of loading the project to github, it just deleted my local project completely - including the git commits, so there is no way back!
Any idea why this happened?
Here's the command I've used:
ng github-pages:deploy --message "First commit"
The text was updated successfully, but these errors were encountered: