For one of my project, I usually need to create new branch from development branch and when I completes my work (in new-branch) I need to merge new-branch into development branch. Here is the steps I do:
git clone –b development <git repository url>
git branch new-branch
git checkout new-branch
git push --all
I do my code in new-branch and commit/push code in new-branch.
Now I need to merge new-branch into development (keep in note that development branch get further commit of other developer by the time I complete my task in new-branch). My query is what is the right approach to merge new-branch into development-branch and push it to remote repository?
Thanks