DEV Community

Discussion on: Bash Functions & Git - How to wipe out changes made to a specific file

 
stephencweiss profile image
Stephen Charles Weiss

Got it. That makes a lot of sense. I'll update cpkg to git checkout -- package*.json.

Sometimes you just need to put things out there to have people show you a better way! Appreciate it!