-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Noooooo my .git is dead! / Ignore dotfiles? #2882
Copy link
Copy link
Closed
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken
Description
I was just trying prettier to see the result on my codebase. I should have been more cautious but I scrapped my .git directory. All my local branches are probably lost forever!
You should consider adding a check to prevent altering any file with .git in the path.
😢
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
locked-due-to-inactivityPlease open a new issue and fill out the template instead of commenting.Please open a new issue and fill out the template instead of commenting.status:needs discussionIssues needing discussion and a decision to be made before action can be takenIssues needing discussion and a decision to be made before action can be taken