angular-cli icon indicating copy to clipboard operation
angular-cli copied to clipboard

Uncommitted file changes found! Please commit all changes before deploying.

Open funnytao opened this issue 10 years ago • 4 comments

Hi,

My OS is Win 10 and the version of CLI is:

angular-cli: 1.0.0-beta.8 node: 4.4.6 os: win32 x64

I am trying to deploy my app on GitHub Page with

ng github-pages:deploy --message "Optional commit message"

but I got

Uncommitted file changes found! Please commit all changes before deploying.

I tried to make a new repository and used git push origin master but my repository only contained basic files when the project was generated. I mean, all other components I created later were not there. Am I missing something to configure it right? Thank you so much.

funnytao avatar Jul 10 '16 16:07 funnytao

I should use git commit before deploying. My fault. Thank you.

funnytao avatar Jul 10 '16 18:07 funnytao

@funnytao how did you do it man

lexcaraig avatar Aug 10 '16 15:08 lexcaraig

Typically, you just need to follow the basic process like 'git add .', 'git commit' and 'git push origin master', then you should be fine.

funnytao avatar Aug 20 '16 13:08 funnytao

This issue has been automatically locked due to inactivity. Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.