{"thread":{"id":"37337","subject":"Not able to create feature branch Git","startedAt":"2014-08-12T19:02:56Z","lastAt":"2014-08-17T08:37:52Z","messageCount":2,"participants":["Arup Rakshit","Jeff King"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"247620","messageId":"10058843.3H3SQKIfkQ@linux-wzza.site","threadId":"37337","inReplyTo":null,"subject":"Not able to create feature branch Git","fromName":"Arup Rakshit","fromEmail":"aruprakshit@rocketmail.com","sentAt":"2014-08-12T19:02:56Z","receivedAt":"2014-08-12T19:02:56Z","isPatch":false,"sender":{"key":"aruprakshit@rocketmail.com","avatar":"https://gravatar.com/avatar/a05a6142b0941fafb88c96b156982deb8e49e863ae7803d15c5147276fdeff92?d=mp&s=160"},"body":"Hi,\n\nI am not able to push my feature branch using Git. I cloned using SSH and SSH \nkey is also added.\n\narup@linux-wzza:~/Ruby/yzz> git status\n# On branch posward\n# Untracked files:\n#   (use \"git add <file>...\" to include in what will be committed)\n#\n#       lib/yzz/posward_side.rb\nnothing added to commit but untracked files present (use \"git add\" to track)\narup@linux-wzza:~/Ruby/yzz> git add lib/yzz/posward_side.rb\narup@linux-wzza:~/Ruby/yzz> git status\n# On branch posward\n# Changes to be committed:\n#   (use \"git reset HEAD <file>...\" to unstage)\n#\n#       new file:   lib/yzz/posward_side.rb\n#\narup@linux-wzza:~/Ruby/yzz> git commit -m \"Yzz::Side is now refactord into 2 \nclasses, one of which is Yzz::PoswardSide.\"\n[posward a31be0c] Yzz::Side is now refactord into 2 classes, one of which is \nYzz::PoswardSide.\n 1 file changed, 41 insertions(+)\n create mode 100644 lib/yzz/posward_side.rb\narup@linux-wzza:~/Ruby/yzz> git push origin posward\nWarning: Permanently added the RSA host key for IP address '192.30.252.131' to \nthe list of known hosts.\nERROR: Permission to boris-s/yzz.git denied to aruprakshit.\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\narup@linux-wzza:~/Ruby/yzz> ls -al ~/.ssh\ntotal 20\ndrwxr-xr-x  2 arup users 4096 May 27 00:17 .\ndrwxr-xr-x 44 arup users 4096 Aug 13 01:07 ..\n-rw-------  1 arup users 1675 May 10 22:22 id_rsa\n-rw-r--r--  1 arup users  408 May 10 22:22 id_rsa.pub\n-rw-r--r--  1 arup users 2210 Aug 13 01:18 known_hosts\narup@linux-wzza:~/Ruby/yzz> xclip -sel clip < ~/.ssh/id_rsa.pub\narup@linux-wzza:~/Ruby/yzz> git push origin posward\nERROR: Permission to boris-s/yzz.git denied to aruprakshit.\nfatal: Could not read from remote repository.\n\nPlease make sure you have the correct access rights\nand the repository exists.\narup@linux-wzza:~/Ruby/yzz>\n\n\n\nCan anyone tell me what is the problem ?\n\n-- \n================\nRegards,\nArup Rakshit\n================\nDebugging is twice as hard as writing the code in the first place. Therefore, \nif you write the code as cleverly as possible, you are, by definition, not \nsmart enough to debug it.\n\n--Brian Kernighan\n"},{"id":"247811","messageId":"20140817083752.GK23808@peff.net","threadId":"37337","inReplyTo":"10058843.3H3SQKIfkQ@linux-wzza.site","subject":"Re: Not able to create feature branch Git","fromName":"Jeff King","fromEmail":"peff@peff.net","sentAt":"2014-08-17T08:37:52Z","receivedAt":"2014-08-17T08:37:52Z","isPatch":false,"sender":{"key":"peff@peff.net","avatar":"https://avatars.githubusercontent.com/u/45925?v=4"},"body":"On Wed, Aug 13, 2014 at 01:32:56AM +0630, Arup Rakshit wrote:\n\n> arup@linux-wzza:~/Ruby/yzz> git push origin posward\n> Warning: Permanently added the RSA host key for IP address '192.30.252.131' to \n> the list of known hosts.\n> ERROR: Permission to boris-s/yzz.git denied to aruprakshit.\n> fatal: Could not read from remote repository.\n\nIt looks like you are pushing to GitHub here. You are fetching from user\nboris-s, but you do not have write permission to push to his repository.\n\nIf boris-s is somebody you are working with and he would like to use a\nshared repository workflow with you, ask him to follow this guide:\n\n  https://help.github.com/articles/adding-collaborators-to-a-personal-repository\n\nHowever, the normal workflow for most open-source projects is to make\nyour own fork with your changes, and then send a pull request to\nboris-s. You can follow this guide:\n\n  https://help.github.com/articles/fork-a-repo\n\n-Peff\n"}]}