Now I want my local master to track the remote kislev-dev branch.
My approach is git branch --set-upstream master origin/kislev-dev, but this still doesn’t seem to work, every time When pushing, I have to write a long string like git push origin master. Can I configure it as git push to push directly to the remote kislev-dev?
It is recommended to use graphical tools to understand how git works, and then read the relevant tutorials!
Under Mac: smartgit
windows: little turtle
Documentation: git official website (available in Chinese) or Liao Xuefeng’s blog
Your problem should be modified by modifying the local or global gitconfig! It’s a mobile phone code. I’ll give you the code when I get back