আমার কাছে রিমোট বেয়ার রিপোজিটরি রয়েছে 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.
git pull hub master
?