Search code examples
gitgithubgit-gui

Git-gui did not add "tracking branch"


please explain how add tracking branch in git-gui, when starting new local repository from scratch. started from scratch

If im truing clone the same repository in another folder, it gives me my "origin/master" tracking branch. if clone same repository

What the difference?


Solution

  • I dont know why git-gui didn`t have such setting. But, to solve this problem, you must go to Git Bash and set upstream by yourself.

    git branch --set-upstream-to origin/master master
    

    then restart git-gui