Situation
- I have 2 local branches A and B.
- I have 2 remote branches C and D.
- The name of my remote is origin.
- If I want to push changes from my branch B to remote branch D, what should be the git push syntax? I am confused among the following options
- git push origin B:D
- git push origin B/D
- git push origin B
- git push origin D
Please help me in understanding the correct git push syntax as well as its meaning