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

Комментарии • 57

  • @robdunsmuir732
    @robdunsmuir732 7 месяцев назад +5

    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

  • @calvaguzmanalanalexis9084
    @calvaguzmanalanalexis9084 11 месяцев назад +9

    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.

  • @theBATfamiliar
    @theBATfamiliar 11 месяцев назад +3

    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 :)

    • @cwm-codingwithmike
      @cwm-codingwithmike  11 месяцев назад +1

      Awesome! You are starting an exciting journey as a software developer.

  • @mikegaravani7309
    @mikegaravani7309 10 месяцев назад +2

    THIS HELPED ME SO MUCH!!! thanks

  • @gigoplastinfo4977
    @gigoplastinfo4977 7 дней назад

    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 .

  • @yvettcodes
    @yvettcodes 4 месяца назад +1

    That was a little jam in the beginning~! Thanks for your help 💕💕

  • @Amar11115
    @Amar11115 Год назад +1

    It was really helpful. Thanks!

  • @Ksorroo
    @Ksorroo День назад

    Bro you save my life thank you so much 🇧🇷

  • @alexconklin-rn4jd
    @alexconklin-rn4jd 2 месяца назад

    finally a useful video thank you so much

  • @peternydahl6150
    @peternydahl6150 Месяц назад +1

    Excelent tutorial! Thanks alot! 😃

  • @hashkeeper
    @hashkeeper 8 месяцев назад +1

    your channel is great, with stylish flare. thanks!

  • @user-er4fz8li6t
    @user-er4fz8li6t Год назад +1

    fabulous explanation sir
    👌👌

  • @user-vo4jm5hf5i
    @user-vo4jm5hf5i Год назад +2

    Very helpful - thank you. It would make things easier to follow if you didn't clear the screen so quickly after every command.

    • @cwm-codingwithmike
      @cwm-codingwithmike  Год назад +1

      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.

  • @egorolender2577
    @egorolender2577 Месяц назад

    Cool trick, ive got a question though. when you use vim in gitbash, how did it work if you typed vi and not vim?

  • @nickgame98
    @nickgame98 Год назад +1

    Thank you very much Mike

  • @SIDDHARTHSINGH-ch9fz
    @SIDDHARTHSINGH-ch9fz Год назад +1

    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?

    • @cwm-codingwithmike
      @cwm-codingwithmike  Год назад

      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!

  • @lahoriyefoodsecrets
    @lahoriyefoodsecrets Год назад +1

    Thanks Sir ..
    love from Pakistan ❤️

  • @mohamedfaresbenayed9156
    @mohamedfaresbenayed9156 11 месяцев назад +1

    Vs code can help you connect with git without generating the acces token

  • @daefin9993
    @daefin9993 Год назад +2

    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

    • @cwm-codingwithmike
      @cwm-codingwithmike  11 месяцев назад +1

      It sounds like authentication errors. You might want to check when you set the "git remote set-url origin :@github.com//.git"

    • @daefin9993
      @daefin9993 11 месяцев назад

      @@cwm-codingwithmike thanks

  • @AntoinSts
    @AntoinSts 2 месяца назад

    thanks 😁

  • @vault_of_good_noises
    @vault_of_good_noises Год назад +1

    Thank you Mike

    • @cwm-codingwithmike
      @cwm-codingwithmike  Год назад

      I am glad you enjoyed the video and found it helpful! Btw, thanks for the Sub!

    • @vault_of_good_noises
      @vault_of_good_noises Год назад

      @@cwm-codingwithmike I was struggling for days with that issue, and you made it so easy. Thank you for sharing your knowledge

  • @vladx3539
    @vladx3539 3 месяца назад

    very helpful

  • @rhendrickramos
    @rhendrickramos Год назад +1

    Obrigado! Me ajudou bastante!

  • @realisnotfalsefalseisnotre3250
    @realisnotfalsefalseisnotre3250 14 дней назад

    git push -u origin main
    fatal: protocol 'https' is not supported (What's the error), Please tell me

    • @cwm-codingwithmike
      @cwm-codingwithmike  День назад

      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.

  • @vincentchimdi6812
    @vincentchimdi6812 Месяц назад

    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

    • @cwm-codingwithmike
      @cwm-codingwithmike  Месяц назад

      Hi Vince, I am sorry to hear you are still having problems getting this working.

  • @Mera2002
    @Mera2002 Год назад +1

    Nice email. X)

    • @cwm-codingwithmike
      @cwm-codingwithmike  Год назад

      Thanks 😅

    • @danielkarath2294
      @danielkarath2294 Год назад +1

      @@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

    • @cwm-codingwithmike
      @cwm-codingwithmike  Год назад

      hmmm. Thanks for catching that. I will address that.

  • @nicholasnovelle1445
    @nicholasnovelle1445 3 месяца назад

    useful

  • @user-ss4bz9tx8w
    @user-ss4bz9tx8w 4 месяца назад

    how to set multiple account with this

    • @cwm-codingwithmike
      @cwm-codingwithmike  4 месяца назад

      sorry for the delay in the response. I am not sure off the top of my head.

  • @yourlinuxguy
    @yourlinuxguy 11 месяцев назад +1

    Well, This was nice and all but, you could have kept the video very short.

    • @cwm-codingwithmike
      @cwm-codingwithmike  11 месяцев назад

      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.