Skip to content
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

towncrier build needs force removal #403

Closed
KonstantinKlepikov opened this issue Aug 27, 2022 · 4 comments
Closed

towncrier build needs force removal #403

KonstantinKlepikov opened this issue Aug 27, 2022 · 4 comments

Comments

@KonstantinKlepikov
Copy link

I want to remove the following files:
/home/myproject/newsfragments/3.feature
Is it okay if I remove those files? [Y/n]: y
error: the following file has changes staged in the index:
   myproject/newsfragments/3.feature
(use --cached to keep the file, or -f to force removal)
Done!
@adiroiban
Copy link
Member

Thanks for the report

Why you have staged fragment files ?

Is this related to #357 ?

Note that towncrier development is not very active. If you want to have this fixed you will have to submit a pull request... otherwise, there is a low probability for someone else to work on fixing it.

@KonstantinKlepikov
Copy link
Author

@adiroiban i stage it because another problem uccuped with untracked fragments: fatal: pathspec ...did not match any files Done!

related problem #60 and you recomended to this:

git add newsfragments\vue.misc before calling towncrier and it should work

@adiroiban
Copy link
Member

My suggestion for #60 was for a file that was not tracked.

I guess that in your case, the initial error is cause by another reason.

Can you provide the steps that one can follow to reproduce your error?

Thanks

@KonstantinKlepikov
Copy link
Author

@adiroiban sorry, my mistake. I tried create changelog before commit fragments. It's ok.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants