-3

I am new to git and don't know much about it can anyone help me with this how to get this right it is saying 123 commits behind. I have all tried this what no luck. What I can do to resolve "1 commit behind master"?

enter image description here enter image description here

Rocky_Mental
  • 148
  • 1
  • 2
  • 12

1 Answers1

3

Short-Answer:

If you want to update your local branch from the remote branch, do git pull --rebase

This will pull all the remote changes and commit them into your local branch, then it will put your local change on top of it. You can then move on with adding local commits and merging to the remote (if you want).

Khalil Khalaf
  • 9,259
  • 11
  • 62
  • 104