Remove files that are listed in the .gitignore but still on the repository.
git rm --cached file1 file2 dir/file3
Or, if you have a lot of files:
git rm --cached 'git ls-files -i --exclude-from=.gitignore'
Well, I’m a Senior Full Stack Ruby on Rails Developer having experience of over 10 years. I have technically rich hands-on developing applications in Ruby on Rails, ReactJS, React Native, Python, Jekyll and develop the APIs as well. I am an enthusiast with experience in JavaScript frameworks such as - angualr.js, react.js, backbone.js, ember.js, vue.js, and CSS3, Bootstrap, HTML5, HAML, Slim, Redis, Sidekiq, Social Media API’s, Payment Gateways Integration.
Comments
Post a Comment