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

assembly - 8086 TASM: Illegal Indexing Mode -

Java, LWJGL, OpenGL 1.1, decoding BufferedImage to Bytebuffer and binding to OpenGL across classes -

java - SmsManager sending message more than one -