Tôi có một kho lưu trữ trần từ xa hub. Tôi chỉ làm việc trong masterchi nhánh. Câu cuối cùng của thông báo lỗi này dưới đây khiến tôi tự hỏi: Làm thế nào để tôi tìm ra "từ xa được cấu hình mặc định cho chi nhánh hiện tại của bạn" ? Và làm thế nào để tôi thiết lập nó?
[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.
git pull hub master?