IDEA: Can't update: no tracked branch

2015-12-03

Problem #1

my project from within IntelliJ IDEA , I got this error:

Can't update: no tracked branch
No tracked branch configured for branch master.
To make your branch track a remote branch call, for example,
git branch --set-upstream master origin/master

It does provide this suggestion but I am not sure what to do at this point. Is there a way to fix this from within Android Studio?

Solutions

$cd $GIT_DIR$
$git branch --set-upstream-to remotes/origin/master master

Like the old Albert Einstein said:

If you can't explain it to a six-year-old, you really don't understand it yourself.

Comments
Write a Comment