push a branch with diffrent name 1

push a branch with diffrent name

git push origin local-name:remote-name

Here is what the above code is Doing:
1. git push – pushes the local changes to the remote repository
2. origin – the remote repository
3. local-name:remote-name – the local branch name and the remote branch name

Similar Posts