Having difficulty setting up git push/pull -


there no tracking information current branch. please specify branch want merge with. see git-pull(1) details      git pull <remote> <branch>  if wish set tracking information branch can with:      git branch --set-upstream-to=origin/<branch> exp-20-domain-conversion 

what mean? sounds have remote branch it's not correctly hooked remote repository. used work on different branch.

i keep getting errors when try set up.

>git branch --set-upstream-to=origin/exp-20-domain-conversi on exp-20-domain-conversion error: requested upstream branch 'origin/exp-20-domain-conversion' not exist hint: hint: if planning on basing work on upstream hint: branch exists @ remote, may need hint: run "git fetch" retrieve it. hint: hint: if planning push out new local branch hint: track remote counterpart, may want use hint: "git push -u" set upstream config push. 

i try run git fetch doesn't tell me what's going on. can see branch online in web browser.

>git branch --v * exp-20-domain-conversion              d53eae9 exp-20-domain-conversion started  testing hash code  ...other branches 

i noticed upstream mispelled. there undercase n. maybe that's causing it? how fix?

as guessed, case sensitivity issue. git case sensitive on case-sensitive filesystems.

to rename remote branch correct (by tracking, deleting , re-pushing it), run following:

$ git branch exp-20-domain-conversion origin/exp-20-domain-conversion $ git push origin --set-upstream exp-20-domain-conversion $ git push origin :exp-20-domain-conversion 

or if have up-to-date local branch under correct name, delete remote branch , re-push:

$ git push origin --set-upstream exp-20-domain-conversion $ git push origin :exp-20-domain-conversion 

Comments