Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Data Science
  3. Question
Data Science

How to resolve the current index first?

Asked by Diana Campbell Jul 31, 2023 2.0K views 1 answer
Share

About this question

 There is a git branch having a great working code. I wish to convert it into the master branch.

$ git branch

branch’* master In trying to convert the branch, it shows the below message:

$ git checkout branch

app/helpers/application_helper .rb : needs merge

Error: you need to resolve your current index first.

May I know how to ignore the master branch errors and do a git rebase?

Your answer

1 Answer

More Data Science discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Data Science Blogs

Guides, tips and career advice on Data Science from JanBask experts.