Checkout problem ::

 $ git checkout master   ------

 -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  ------- 

problem message ------- 

error: Your local changes to the following files would be overwritten by checkout:

template-app/Gemfile.lock

template-app/config/database.yml

template-app/db/schema.rb

Please, commit your changes or stash them before you can switch branches.

Aborting

 -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  -------  ------- 

solution ------

checkout gemfile.lock

checkout schema.rb

copy paste database.yml to some other place and then paste it in new sublime and then 

pull from master 


Comments

Popular posts from this blog

Rails 7 Features :: Comparison with Rails 6 and Rails 5