.gitignore only ignores files that are not part of the repository yet. If you already git added some files, their changes will still be tracked. To remove those files from your repository (but not from your file system) use git rm --cached on them.

I used this to clear out a file, and then essentially they got removed but then readded during a the next commit. I chose the entire file

git rm — cached -r client

the -r was required to do so recursively (ie, remove files already on commit branch”




Starting a tech bootcamp

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

3D Reconstruction with Stereo Images -Part 1: Camera Calibration

Unlock Django Framework With Kerberos

vRealize Automation 8.0 : Architecture

Just Start the Goals

How to Learn Python For Data Structure?

The A to Z of Microservice Architecture

Writing Fancy READMEs: A Guide

Elevate performance

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Jesse Chung

Jesse Chung

Starting a tech bootcamp

More from Medium

The authenticity in an essay — or how much can you really share to the world?

Five reasons to embrace NoCode

Can you be better than a Pitbull?

On a busy morning at the Coffee Bean & Tea Leaf in Glendale California

What I’ve Built and What’s Next