Restore Gemfile.lock from gitignore
In my Rails App, Gemfile.lock is ignored from the tracking through the .gitignore
But I want the file to be committed and tracked.
How do I do that?
One Solution collect form web for “Restore Gemfile.lock from gitignore”
First remove the entry for Gemfile.lock from the .gitignore, add the .gitignore and commit. Then add and commit the Gemfile.lock. As long as these are done in two separate commits, other team members will also be able to track the Gemfile.lock file.