I have a question about the git push command below.
In the command 1, I think I will push the current HEAD to the dev branch of the remote repository, but what is the difference in the case of 2?
git
The "origin/dev" branch is the "remote tracking branch" for the remote "dev" branch called "origin".In contrast, the "dev" branch is a local branch.
For more information, the Pro Git commentary is easy to understand: Git branch functionality - remote branch
© 2024 OneMinuteCode. All rights reserved.