githubschool / foundations-4-28-15

Class Repository for Foundations on 4/28/15
23 stars 47 forks source link

Trouble with adding repository via Netbeans #11

Open wrhubert opened 9 years ago

wrhubert commented 9 years ago

Hi, Earlier today I tried to enter in data for a repository via Netbeans Version 8. When I tried to push through the files it kept going to the Specifiy Git repository location window with the username and password. In the end it said I wasn't authorized to push. Do you know why?

patrickmckenna commented 9 years ago

@wrhubert It sounds like you don't have write access to the repo. You can read more about permissions here.

wrhubert commented 9 years ago

@PatrickBM But aren't I the owner? Shouldn't I have read/write permissions already????

patrickmckenna commented 9 years ago

@wrhubert Can you give me the repo url, please?

wrhubert commented 9 years ago

Sure. Here is the HTTPS version:

https://github.com/wrhubert/AnagramGame1.git

wrhubert commented 9 years ago

image

This is what I keep getting when I try to clone the file from Netbeans.

wrhubert commented 9 years ago

The URL I listed is different because I tried Anagram1 instead of AnagramGame1 where I added a README.md and license file.

patrickmckenna commented 9 years ago

@wrhubert So this sounds like a Netbeans problem, and I'm afraid I can't help you there (having never used Netbeans).

You have a GitHub repo called AnagramGame1 at https://github.com/wrhubert/AnagramGame1.git, you are listed as the owner, and it is empty (no pushes). If you have created a git repo locally, you should be able to push it to that repo. I'm not sure what you mean by "clone the file from Netbeans," though.

wrhubert commented 9 years ago

Not a problem. Thank you for getting back to me Patrick as well as the informative session on GitHub.

Have a great weekend! Bill

On Wed, Apr 29, 2015 at 4:59 PM, Patrick McKenna notifications@github.com wrote:

@wrhubert https://github.com/wrhubert So this sounds like a Netbeans problem, and I'm afraid I can't help you there (having never used Netbeans).

You have a GitHub repo called AnagramGame1 at https://github.com/wrhubert/AnagramGame1.git, you are listed as the owner, and it is empty (no pushes). If you have created a git repo locally, you should be able to push it to that repo. I'm not sure what you mean by "clone the file from Netbeans," though.

— Reply to this email directly or view it on GitHub https://github.com/githubschool/foundations-4-28-15/issues/11#issuecomment-97600540 .

Wagner-Rob commented 6 years ago

I'm getting the same issue, but no idea how to fix, or why it is resulting in "not authorized" as a response to the owner of both the program and the git.

Did you ever get this figured out?

jonzuck commented 6 years ago

Nope.

Sincerely,

Jon Zuck

Tel: 757-472-0662 Email: jonzuck@gmail.com Skype: jon.zuck

"When you can dance on nothing at all, you will never fall."

On Fri, Nov 3, 2017 at 3:17 PM, Rob Wagner notifications@github.com wrote:

I'm getting the same issue, but no idea how to fix, or why it is resulting in "not authorized" as a response to the owner of both the program and the git.

Did you ever get this figured out?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/githubschool/foundations-4-28-15/issues/11#issuecomment-341801050, or mute the thread https://github.com/notifications/unsubscribe-auth/ABqa1yo8zbpQxKNhMj9zn-FDwUXcrxvmks5sy2a1gaJpZM4EKyHx .

Sheron-R commented 3 years ago

image

This is what I keep getting when I try to clone the file from Netbeans.

how did you solve this issue?

admarmaz commented 3 years ago

I have the same problem with Netbeans 12.0, I am not able to push changes to my own repository. I have configured firewall in Linux and Windows and nothing worked.

luiyokesam commented 3 years ago

I have the same problem with Netbeans 12.0, I am not able to push changes to my own repository. I have configured firewall in Linux and Windows and nothing worked.

Same. Did you solve the problem?

admarmaz commented 3 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

luiyokesam commented 3 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

Solved. Thanks bro appreciate it.

v-marins commented 3 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

THAAANKKSSSS MANNNNNNNN <3

emrek1 commented 2 years ago

thx

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

thx

amirh715 commented 2 years ago

LOVE YOU!

Honounome commented 2 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

You, you saved me

pasmats commented 2 years ago

thanks !

mdeysa commented 2 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

Thank you!!

AAdewunmi commented 2 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

Hey @admarmaz, thank you!!!

leohvelasco commented 2 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

Man very good, you have resolved without circle around it!

Z3r0B7i55 commented 2 years ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

Thank you so much!

ViniKohler commented 1 year ago

Hi! I just had the same problem! You need to create a Token, and use it as the password in netbeans! I've followed this simple video, and it just works! https://www.youtube.com/watch?v=eFX4-JlhVF4

PheonixWay commented 1 year ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

thanks bro its help for me

amorimjessica commented 1 year ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token). Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/). Make sure you give permision in your token to push, etc.

THAAANKKSSSS MANNNNNNNN <3

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

thank you very much

brandonello commented 1 year ago

Hi everyone! Use Git Bash, it doesn't give problems :)

PointZero4 commented 1 year ago

God bless you!

HatafR commented 1 year ago

Yes I did. First you have to generate a token (https://docs.github.com/en/github/authenticating-to-github/keeping-your-account-and-data-secure/creating-a-personal-access-token).

Then you have to use this token as your password, since Git doesn`t allow to use normal password. (https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/https://github.blog/changelog/2021-08-12-git-password-authentication-is-shutting-down/).

Make sure you give permision in your token to push, etc.

Thanks Mate, GBU :)