Git problem.

The Partridge Family were neither partridges nor a family. Discuss.
Trumps_Nipple
Posts: 27
Joined: August 2nd, 2016, 12:34 am
Location: Russia, SPb
Contact:

Git problem.

Post by Trumps_Nipple » July 23rd, 2017, 6:09 am

Hey guys. I can not send changes to the newly created repository
Attachments
photo_2017-07-23_09-08-17.jpg
(94.48 KiB) Not downloaded yet

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Git problem.

Post by albinopapa » July 23rd, 2017, 6:46 am

You are trying to push changes to chili's repository and you do not have that privilage.
  • Go to chili's GitHub, find the Snek repositor and click on Fork. This will copy his repo to your account.
  • Then in Visual Studio on the Team Explorer tab, open the snek repo/solution.
  • Click on the Home icon and then on the Settings button.
  • Click on the Repository Settings link.
  • Down near the bottom, you can change the Remotes settings. Change the addresses so they point to the repository in your GitHub account
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Trumps_Nipple
Posts: 27
Joined: August 2nd, 2016, 12:34 am
Location: Russia, SPb
Contact:

Re: Git problem.

Post by Trumps_Nipple » July 23rd, 2017, 8:14 am

nonono, I completely follow the video) I created a new repository on my account and try to send a branch there. If I sent to the repository, I would get another error, I specifically checked

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Git problem.

Post by albinopapa » July 23rd, 2017, 9:10 am

Look at the error, "Error encountered while pushing branch to remote repository:..."with error 403 which is unauthorized access. Plus the repository address you are pushing to is https://github.com/planetchili/snek.git and https://github.com/planetchili/poo_game.git so the repositories are trying to push to chili's repos, and not your own.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Trumps_Nipple
Posts: 27
Joined: August 2nd, 2016, 12:34 am
Location: Russia, SPb
Contact:

Re: Git problem.

Post by Trumps_Nipple » July 23rd, 2017, 9:15 am

albinopapa, thx for replies, but it's log) It's previous attempts with chili's repo. Sorry that I disoriented you. When my error appears, the VS writes ONLY the error that the one on the right, output does not change.

User avatar
chili
Site Admin
Posts: 3948
Joined: December 31st, 2011, 4:53 pm
Location: Japan
Contact:

Re: Git problem.

Post by chili » July 23rd, 2017, 10:11 am

Post another shot with the actual error, and give link to your repo.
Chili

Trumps_Nipple
Posts: 27
Joined: August 2nd, 2016, 12:34 am
Location: Russia, SPb
Contact:

Re: Git problem.

Post by Trumps_Nipple » July 23rd, 2017, 8:42 pm

Attachments
after.jpg
(69.47 KiB) Not downloaded yet
before press push.jpg
(71.47 KiB) Not downloaded yet
repos.jpg
(71.2 KiB) Not downloaded yet

User avatar
LuisR14
Posts: 1248
Joined: May 23rd, 2013, 3:52 pm
Location: USA
Contact:

Re: Git problem.

Post by LuisR14 » July 24th, 2017, 6:01 am

  • Go to branches
  • Right click your branch
  • Click Publish Branch
always available, always on, about ~10 years c/c++, java[script], win32/directx api, [x]html/css/php/some asp/sql experience. (all self taught)
Knows English, Spanish and Japanese.
[url=irc://irc.freenode.net/#pchili]irc://irc.freenode.net/#pchili[/url] [url=irc://luisr14.no-ip.org/#pchili]alt[/url] -- join up if ever want real-time help or to just chat :mrgreen: --

Trumps_Nipple
Posts: 27
Joined: August 2nd, 2016, 12:34 am
Location: Russia, SPb
Contact:

Re: Git problem.

Post by Trumps_Nipple » July 24th, 2017, 6:09 pm

I can not) I can only get an obvious error about the fact that the remote repository is not my.
Attachments
123.jpg
(247.77 KiB) Not downloaded yet

albinopapa
Posts: 4373
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: Git problem.

Post by albinopapa » July 24th, 2017, 11:04 pm

try removing chili's repo from the settings, instead of having to remotes, make yours the only one listed.
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply