reset

GIT: Force Overwrite of …

Sometimes we just need to reset a local file with what is saved in a remote repository. For example, you’re working locally and your files just get into a place where you need to reset, maybe only a file or two. Maybe you’ve merged in another branch and there are numerous conflicts and …

GIT: Forget Previously …

There are times we mistakenly check in certain files into our repository, or change our mind after a file has already been committed. I see this most often with .env or config files that contain sensitive information like passwords or API keys. These files are needed for the application to run, but …