ruby on rails - Restore Gemfile.lock from gitignore -


in rails app, gemfile.lock ignored tracking through .gitignore

but want file committed , tracked.

how do that?

first remove entry gemfile.lock .gitignore, add .gitignore , commit. add , commit gemfile.lock. long these done in 2 separate commits, other team members able track gemfile.lock file.


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -