how to switch to the new branch in the current working project

1. git checkout master 

2. copy the code of database.yml and put at another place in sublime or anywhere 

3. git checkout -b workflow  (the new branch)

4. paste the code of  database.yml previously taken in the database.yml 

4. git pull origin master 

5. close the database.yml 

6. git pull origin master 



Comments

Popular posts from this blog

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