{"thread":{"id":"52989","subject":"What is so broken with pull","startedAt":"2020-03-13T15:26:46Z","lastAt":"2020-03-13T15:49:24Z","messageCount":2,"participants":["Jeffrey Walton","Andrei Rybak"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"393209","messageId":"CAH8yC8knZEmKyYc7TwmXRCd24nK9YgDo3EYfvH58QWP61ZHpwQ@mail.gmail.com","threadId":"52989","inReplyTo":null,"subject":"What is so broken with pull","fromName":"Jeffrey Walton","fromEmail":"noloader@gmail.com","sentAt":"2020-03-13T15:26:32Z","receivedAt":"2020-03-13T15:26:46Z","isPatch":false,"sender":{"key":"noloader@gmail.com","avatar":null},"body":"'git pull' used to work for me. Then I tried to sync my branch with\nupstream/master according to\nhttps://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork.\n\nNow this is the shit I am dealing with:\n\n$ git pull\nThere is no tracking information for the current branch.\nPlease specify which branch you want to merge with.\nSee git-pull(1) for details.\n\n    git pull <remote> <branch>\n\nIf you wish to set tracking information for this branch you can do so with:\n\n    git branch --set-upstream-to=<remote>/<branch> android\n\n$ git branch --set-upstream-to=https://github.com/noloader/openssl/android\nandroid\nerror: the requested upstream branch\n'https://github.com/noloader/openssl/android' does not exist\nhint:\nhint: If you are planning on basing your work on an upstream\nhint: branch that already exists at the remote, you may need to\nhint: run \"git fetch\" to retrieve it.\nhint:\nhint: If you are planning to push out a new local branch that\nhint: will track its remote counterpart, you may want to use\nhint: \"git push -u\" to set the upstream config as you push.\n\n\nWhat is so broken with these workflows? Wht can't Git perform a simple\ngod damn sync? Where the hell did the information go? How did Got\nmanage to lose it?\n"},{"id":"393210","messageId":"4aed477e-dadb-8077-c648-2b11c893f0ee@gmail.com","threadId":"52989","inReplyTo":"CAH8yC8knZEmKyYc7TwmXRCd24nK9YgDo3EYfvH58QWP61ZHpwQ@mail.gmail.com","subject":"Re: What is so broken with pull","fromName":"Andrei Rybak","fromEmail":"rybak.a.v@gmail.com","sentAt":"2020-03-13T15:49:14Z","receivedAt":"2020-03-13T15:49:24Z","isPatch":false,"sender":{"key":"rybak.a.v@gmail.com","avatar":"https://avatars.githubusercontent.com/u/624072?v=4"},"body":"Hello Jeffrey,\n\nOn 2020-03-13 16:26, Jeffrey Walton wrote:\n> $ git pull\n> There is no tracking information for the current branch.\n> Please specify which branch you want to merge with.\n> See git-pull(1) for details.\n>\n>     git pull <remote> <branch>\n>\n> If you wish to set tracking information for this branch you can do so with:\n>\n>     git branch --set-upstream-to=<remote>/<branch> android\n>\n> $ git branch --set-upstream-to=https://github.com/noloader/openssl/android\n> android\n> error: the requested upstream branch\n> 'https://github.com/noloader/openssl/android' does not exist\n> hint:\n> hint: If you are planning on basing your work on an upstream\n> hint: branch that already exists at the remote, you may need to\n> hint: run \"git fetch\" to retrieve it.\n> hint:\n> hint: If you are planning to push out a new local branch that\n> hint: will track its remote counterpart, you may want to use\n> hint: \"git push -u\" to set the upstream config as you push.\n\nIt seems you are trying to set the upstream branch to the branch 'android' of\nthe Github repository https://github.com/noloader/openssl.  Option\n--set-upstream-to expects a remote branch, not a URL.  You could try:\n\n    $ git branch --set-upstream-to=origin/android android\n\nIn the hint printed by git pull, <remote> referes to the name of the remote, not\nits URL.  You can check configuration of remote names and URLs in a repository\nusing command \"git remote -v\".\n"}]}