Что это за отслеживание веток (если есть) в git?
я есть удаленный голый репозиторийhub
, Я работаю только вmaster
ветка. Последнее предложение этого сообщения об ошибке ниже заставляет меня задуматься: как мне узнать, что является"настроенный по умолчанию пульт для вашей текущей ветки"? И как мне это установить?
[myserver]~/progs $ git remote -v
hub ~/sitehub/progs.git/ (fetch)
hub ~/sitehub/progs.git/ (push)
[myserver]~/progs $ git branch -r
hub/master
[myserver]~/progs $ cat .git/HEAD
ref: refs/heads/master
[myserver]~/progs $ git pull hub
You asked to pull from the remote 'hub', but did not specify
a branch. Because this is not the default configured remote
for your current branch, you must specify a branch on the command line.