Improve untracked files message during eject
See original GitHub issue> react-scripts eject
? Are you sure you want to eject? This action is permanent. Yes
This git repository has untracked files or uncommitted changes:
?? .gitignore, ?? app.js, ?? bee/, ?? package-lock.json, ?? package.json, ?? views/
Remove untracked files, stash or commit any changes, and try again.
npm version is 5.0.3
Issue Analytics
- State:
- Created 6 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
How to git clean untracked files example - TheServerSide.com
Run 'git clean -f' to force untracked file deletion;; Use 'git clean -f -d' to remove untracked directories;; Use 'git clean -f -x'...
Read more >How to Properly Remove Untracked Files With Git - CloudBees
In this post, learn how to remove untracked files with Git. We'll begin with a brief explanation followed by examples and best practices....
Read more >Error with run "npm run eject". Error 'Remove untracked files ...
This says in the message that you have untracked files that means that they are not being monitored by your VCS. Hence add...
Read more >cleaning up untracked files - Git Ready
That command would clean up files listed under the project's .gitignore file as well as removing other files and directories that aren't ...
Read more >How to Remove Untracked Files in Git - Linuxize
The files in the Git working directory can be either tracked or untracked. Tracked files are the ones that have been added and...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Please follow the recommendation in the message.
For example you can run
and then try again.
This should really be overridable… I have a repo with several projects combined and ejecting doesn’t affect all of them, it’s tedious that you have to manually remove the untracked files even though you know that the ejection won’t collide with them.