Connecting Git to Github in 8 minutes
HTML-код
- Опубликовано: 29 авг 2022
- This video attempts to distill down the git commands needed to connect a local git repository to a remote GitHub repo using a Persona Access Token.
Subscribe: / @cwm-codingwithmike
I spent an hour trying to make it work searching, then i found this video - thank you for making this video. the personal access token was a game changer. such a concise, well-made video
thank you for the kind words!
I was just sick of having to log in every time I wanted to git push. Thank you very much, you are an awesome master and made my life so easier.
Glad I could help
This was awesome, thank you so much, I'm learning Java and I use my personal pc and my work pc, so using a GitHub repo saves me a lot of time as the code is centralized and I only need to updated it and push as I change machines :)
Awesome! You are starting an exciting journey as a software developer.
THIS HELPED ME SO MUCH!!! thanks
Thank you a verry Helpfull tuto ; i spent hours to login i did the "gh" command but i want to use git command ..Finaly you got me a great solution To it .
That was a little jam in the beginning~! Thanks for your help 💕💕
Awesome! I am glad this was helpful!
It was really helpful. Thanks!
Glad it was helpful!
Bro you save my life thank you so much 🇧🇷
finally a useful video thank you so much
Thank you for the kinds words! I am glad it helped!
Excelent tutorial! Thanks alot! 😃
I am glad it was helpful.
your channel is great, with stylish flare. thanks!
thanks!
fabulous explanation sir
👌👌
Thanks and welcome
Very helpful - thank you. It would make things easier to follow if you didn't clear the screen so quickly after every command.
Thanks for the tip! I was trying to make it easier for me on the video editing later when it came to obscuring certain details, but, yeah, definitely I will see what I can do.
Cool trick, ive got a question though. when you use vim in gitbash, how did it work if you typed vi and not vim?
Thank you very much Mike
I am glad this was a help to you.
❤️
It was helpul to start with, thanks!
My question is- If I am having my own repository in github and I have added it to my remote origin then is there any need to have a remote upstream URL?
You can probably omit the first remote upstream URL as long as you set the remote upstream url with the user and userkey it should be fine!
Thanks Sir ..
love from Pakistan ❤️
thank you!
Vs code can help you connect with git without generating the acces token
when using git push origin main, i get these errors: remote: Permission to REPOSITORY.git denied to USER.
fatal: unable to access 'REPOSITORY': The requested URL returned error: 403. censoring repo and user
It sounds like authentication errors. You might want to check when you set the "git remote set-url origin :@github.com//.git"
@@cwm-codingwithmike thanks
thanks 😁
Thank you Mike
I am glad you enjoyed the video and found it helpful! Btw, thanks for the Sub!
@@cwm-codingwithmike I was struggling for days with that issue, and you made it so easy. Thank you for sharing your knowledge
very helpful
I am glad it was! Thanks!
Obrigado! Me ajudou bastante!
I am so glad! Cheers!
git push -u origin main
fatal: protocol 'https' is not supported (What's the error), Please tell me
Sorry for the delayed response. You have a couple of options like removing the "origin" alias 'git remote remove origin' and then re-adding again: 'git remote add origin github.com/YourUsername/YourRepo.git'
Alternatively, this might be an issue with your git installation. You could remove the git installation on your OS and reinstalling. I would try the first step and if that doesn't work then reinstall git.
still doesn't work for me... I followed your steps, was still prompted to input username and password when it was time to push, tried both password and token key, both failed
Hi Vince, I am sorry to hear you are still having problems getting this working.
Nice email. X)
Thanks 😅
@@cwm-codingwithmike Hej, thank you for the video. Wanted to also reply that at 2:01 your full email is visible for a fraction of a second. Take care
hmmm. Thanks for catching that. I will address that.
useful
Glad to hear that
how to set multiple account with this
sorry for the delay in the response. I am not sure off the top of my head.
Well, This was nice and all but, you could have kept the video very short.
yeah, this is a challenge in trying to design a video that captures all the details. The balance between too much and not enough. Thanks for the comments.