How to create a new branch on GitHub // Commit & Push

แชร์
ฝัง
  • เผยแพร่เมื่อ 30 พ.ย. 2024

ความคิดเห็น • 156

  • @KahanDataSolutions
    @KahanDataSolutions  3 ปีที่แล้ว +7

    Deliver more impact w/ modern data tools, without getting overwhelmed
    See how in The Starter Guide for Modern Data → www.kahandatasolutions.com/guide

    • @johnpulwers680
      @johnpulwers680 2 ปีที่แล้ว

      Will these commands also work with GitLab?

  • @rondevcode
    @rondevcode 2 ปีที่แล้ว +7

    This video is straight to the point and very clear on how to commit changes to Github. I watched several other videos and for some reason I couldn't grasped the concept. Thank you.

  • @StephanieMitchell-hv3qh
    @StephanieMitchell-hv3qh 2 ปีที่แล้ว +1

    This video is absolutely a life saver! If you just take the few minutes to watch it, Kahan helps you easily solve the mysteries of git and branches so quickly.
    Thank you!

  • @matthewhawkins3697
    @matthewhawkins3697 2 ปีที่แล้ว +19

    This was a perfect tutorial, very clear and well-explained. Thanks man!

    • @KahanDataSolutions
      @KahanDataSolutions  2 ปีที่แล้ว

      Thank you!

    • @michaelkennedy5126
      @michaelkennedy5126 2 ปีที่แล้ว

      what that guy said, I really liked the simple octocat and text transitions between sections as well. Subscribed!

  • @ai.201
    @ai.201 3 ปีที่แล้ว +5

    Finally, I was quite confused before. Thankyou.

  • @shubhamthakur4751
    @shubhamthakur4751 3 หลายเดือนก่อน

    Straight to the point and precise. Thank you!!

  • @vatsalanundloll3878
    @vatsalanundloll3878 ปีที่แล้ว

    Thank you so much, that was by far one of the best videos I've seen on github.

  • @buzzcodez
    @buzzcodez 2 ปีที่แล้ว

    Best git tutorial i've watched so far.. thank you!

  • @BizzaroBrainBoi
    @BizzaroBrainBoi ปีที่แล้ว

    I was able to create a new branch, thank you for the video!

  • @marwenmejri6435
    @marwenmejri6435 3 ปีที่แล้ว +2

    Very helpful Tutorial man, you made it seem too easy

  • @ohmakademi
    @ohmakademi 2 ปีที่แล้ว

    That was info i was looking for. Thansk a lot !

  • @KG_Unlimited
    @KG_Unlimited ปีที่แล้ว +1

    Thank you! Outstanding explanation.

  • @abababa514
    @abababa514 ปีที่แล้ว

    YOU ARE A LEGEND, MY FRIEND!

  • @クバ
    @クバ ปีที่แล้ว

    Thank you. Very helpful
    For anyone already knowing Git and just looking for command to push new branch $git push origin head (be sure to be at the branch you want to push)

  • @dataisfun4964
    @dataisfun4964 ปีที่แล้ว

    Thanks clear and simple to understand.

  • @joep5094
    @joep5094 2 ปีที่แล้ว +1

    What should you already made changes, whilst still being in the main branch. Is there any way to transfer these changes to a branch?

  • @sipwhitemocha
    @sipwhitemocha ปีที่แล้ว

    Hello, is "pushing" to Github as shown in 6:35 as same as "Publishing" to github (which is said in VSCode -> Source Control) after you commit

  • @akashvashishtha3424
    @akashvashishtha3424 6 หลายเดือนก่อน

    Thanks mate. to the point and got the work done. cheers.

  • @erikafunny.
    @erikafunny. 2 ปีที่แล้ว

    Best Explanation so far

  • @osarobostarlite7596
    @osarobostarlite7596 2 ปีที่แล้ว

    awesome , this is one of the most informative videos i have seen on this topic so far. you earned my sub.

  • @xiaoyuezhu3599
    @xiaoyuezhu3599 2 ปีที่แล้ว

    very clear!!! the only video that answers all my questions!

  • @ItsThankK
    @ItsThankK 2 ปีที่แล้ว

    Thanks a bunch. Very hands-on and straight to the point tutorial 👍

  • @jawadsafdar8944
    @jawadsafdar8944 2 ปีที่แล้ว

    Excellent videos and very clear to understand and follow all steps. Thanks

  • @ItachiUchiha-ix5sg
    @ItachiUchiha-ix5sg 2 หลายเดือนก่อน

    Thank you sir you helped me a lot

  • @buropro1497
    @buropro1497 3 ปีที่แล้ว +1

    Thank you simple and clean.

  • @romeopmusic6319
    @romeopmusic6319 ปีที่แล้ว

    Thank you for this tutorial, clear and concise!!

  • @SnoopyMatcha
    @SnoopyMatcha ปีที่แล้ว

    You are a lord👑, sir. Thanks a lot.

  • @NcVelocity
    @NcVelocity 2 ปีที่แล้ว +1

    Thank you simple and clean!!

  • @goldeneye075
    @goldeneye075 ปีที่แล้ว

    A very good explanation , and would be much better if you can increase the font size. Nice work !!!

  • @isurumw6119
    @isurumw6119 2 ปีที่แล้ว

    For push command, its showing git push - - set-upstream origin . Is it the same as origin head?

  • @sureshmg6786
    @sureshmg6786 2 ปีที่แล้ว

    Thanks, this helped me to learn new today!! Keep going 👏👏

  • @whiskers08spot09
    @whiskers08spot09 8 หลายเดือนก่อน

    Im using Vite, and deploying it to Netlify via Github, would all this still work?

  • @vendetaace5135
    @vendetaace5135 2 ปีที่แล้ว

    Thank you, very helpful. straight to point

  • @kikesings4843
    @kikesings4843 ปีที่แล้ว

    The video is very good except your subtitles are covering the terminal and one can't really see what you are doing but can hear you clearly.

  • @_KobbyOb
    @_KobbyOb 2 ปีที่แล้ว

    Thanks, this was what I really needed!

  • @PankajSonkusare-d9n
    @PankajSonkusare-d9n ปีที่แล้ว

    The video was very good and nicely explained, But need to ask If we want to create branch in other git hub repo under master then do we need that git hub username and email address?

  • @MoEDF
    @MoEDF ปีที่แล้ว

    Hi. How to fix that fatal error? Is it the way you created the branch?

  • @LeBossDesBossDesBosss
    @LeBossDesBossDesBosss ปีที่แล้ว

    SUPER VIDÉO MERCI BEAUCOUP POUR L'AIDE !!

  • @olp9667
    @olp9667 ปีที่แล้ว

    Thanks mate, this tutorial helped me so much!! :D

  • @agopkaroghlanian6338
    @agopkaroghlanian6338 2 ปีที่แล้ว

    This was absolutely perfect. Thank you!

  • @MICHAELLEE-ni6qb
    @MICHAELLEE-ni6qb 2 ปีที่แล้ว

    When i try to git push origin head I'm getting "error: src refspec head does not match any" and "error: failed to push some refs: ..."

  • @mounis
    @mounis 3 ปีที่แล้ว +2

    Great video! Thanks.

  • @micmic2575
    @micmic2575 2 ปีที่แล้ว

    What should I do if I want to want to push and updated version of master file?
    I have old master file in master repository and a new file outside of file location. How do I go about pushing changes?

    • @KahanDataSolutions
      @KahanDataSolutions  2 ปีที่แล้ว

      1. Create a new "dev" branch from existing master branch
      2. Add your updates to "dev" branch
      3. Merge "dev" branch changes to master branch

  • @GAMEBR0VIP2462
    @GAMEBR0VIP2462 3 ปีที่แล้ว

    im trying to download a project but when i open it isnt working proper. then at the bottom of the project i see this Fork the Project
    Create your Feature Branch (git checkout -b feature/Feature)
    Commit your Changes (git commit -m 'Add some Feature')
    Push to the Branch (git push origin feature/Feature)
    Open a Pull Request
    i know nothing abut this so could you maybe explain to me how i might ?.

  • @КонстантинКан-г3ч
    @КонстантинКан-г3ч 2 ปีที่แล้ว

    The best explanation! Thanks a lot!

  • @ambitionhut
    @ambitionhut 2 ปีที่แล้ว +1

    Thanks for a really good tutorial. I appreciate it.

  • @meghana3005
    @meghana3005 2 ปีที่แล้ว

    Thanks for a really good tutorial.

  • @nunomiguel2203
    @nunomiguel2203 7 หลายเดือนก่อน

    thank you it helped me a lot ^^

  • @sameerahmedshaikh4479
    @sameerahmedshaikh4479 2 ปีที่แล้ว

    Thank you for this tutorial!! I am an intern. last week I created a new branch and commit the branch using the command "git commit -m "my message". but I was not knowing I should push also. As you said 06:33 will be stored in the local machine. How to find it and push it to git. Kindly help me with this.

    • @canhamzacode
      @canhamzacode 2 ปีที่แล้ว +1

      press git status on your terminal to see if they are ready to be pushed if not add them to your local git with the git add . after that commit your change then push. hope it was helpful

  • @devabdee
    @devabdee 2 ปีที่แล้ว

    Great one. Really helpful. hank you

  • @n.dclothing8529
    @n.dclothing8529 2 ปีที่แล้ว

    what a great F-ing video love it man keep them videos coming great job!

  • @daumienebi
    @daumienebi ปีที่แล้ว

    Thanks a lot for the video.

  • @pawejerzyna5674
    @pawejerzyna5674 10 หลายเดือนก่อน

    perfect, thanks

  • @wydm208
    @wydm208 2 ปีที่แล้ว

    so simple, well made video

  • @CoderDocsYT
    @CoderDocsYT 2 ปีที่แล้ว

    error: src refspec head does not match any

  • @maitreyeedey7731
    @maitreyeedey7731 2 ปีที่แล้ว

    Thanks for the video. Really helpful but the fonts are small and hard to see. If you make it a little more visible for your upcoming videos that will be really great.

    • @KahanDataSolutions
      @KahanDataSolutions  2 ปีที่แล้ว +1

      Thanks for watching! And yes I've started adding zoom-ins on newer videos to help with that. Hopefully that makes it easier to read

  • @sohelansari5403
    @sohelansari5403 2 ปีที่แล้ว

    very well explained

  • @amarantakruger8902
    @amarantakruger8902 2 ปีที่แล้ว

    Very clear thankyou!

  • @HankYang-CalgaryRealtor
    @HankYang-CalgaryRealtor 3 ปีที่แล้ว

    Kahan, I am confused about one concept and I want to ask you. I downloaded master repo from a link using VSC and i was trying to add some component in there (as a practice given from someone. I kinda write my own component instead of the given component). Then I want to add these my written component to the original master repo. However, I don't want to merge/push my work with master repo (i just want to show that i have done some work). Do I need to first create my own branch using git branch -c? Then what command to use after? Do i just commit it?

    • @KahanDataSolutions
      @KahanDataSolutions  2 ปีที่แล้ว +2

      Hi Han, yes you are on the right track.
      1) Create your own feature branch "git branch -b BranchName"
      2) Make your changes and save the files
      3) "Add" the files to your branch by running "git add ."
      4) "Commit" the changes to the branch by running "git commit -m "some message about the changes" "
      * Note that at this point the branch and the associated changes only exist on your local machine .
      5) "Push" the changes to the remote server so that it is visible to others on GitHub by running "git push origin head"

  • @samlaxton7510
    @samlaxton7510 2 ปีที่แล้ว

    Brilliant, thanks man!

  • @brahimlancas8960
    @brahimlancas8960 ปีที่แล้ว

    i hope this tuto will show as how without code, i writing this before watching video

    • @brahimlancas8960
      @brahimlancas8960 ปีที่แล้ว

      i was wrong, that just redicilisness wtever

  • @byetodd
    @byetodd 2 ปีที่แล้ว

    Wow, finally!

  • @entity5678
    @entity5678 2 ปีที่แล้ว

    very helpful video..thank you

  • @gamzenurerdem2028
    @gamzenurerdem2028 7 หลายเดือนก่อน

    thank you so much :D

  • @murwaneisa2287
    @murwaneisa2287 3 ปีที่แล้ว +1

    thanks a lot that was helpful for me : D

  • @muhammadnaufal5751
    @muhammadnaufal5751 2 ปีที่แล้ว

    finally after 4 hours 🥲, thank you so much

    • @KahanDataSolutions
      @KahanDataSolutions  2 ปีที่แล้ว

      You're welcome! Glad to have helped and thanks for watching

  • @sanaasherif9134
    @sanaasherif9134 2 ปีที่แล้ว

    can you only create two branches at a time in github?

    • @KahanDataSolutions
      @KahanDataSolutions  2 ปีที่แล้ว

      Nope you can actually have many different branches at the same time

  • @farizakberov5536
    @farizakberov5536 2 ปีที่แล้ว

    Thanks for it friend.

  • @muhamedfurqan
    @muhamedfurqan 2 ปีที่แล้ว

    To the point! Awesome 🤗

  • @Brosales1414
    @Brosales1414 ปีที่แล้ว

    Great video!

  • @sourabhkulkarni1731
    @sourabhkulkarni1731 ปีที่แล้ว

    Thanks man!

  • @androkublashvili2738
    @androkublashvili2738 4 หลายเดือนก่อน

    fatal: not a git repository (or any of the parent directories): .git
    I am getting this error, why not mention " if you are getting errors, then do this..." ?!!!!!!
    you should have thought about it !

  • @osamamughal2707
    @osamamughal2707 ปีที่แล้ว

    Thankyou soo much for it

  • @rufusopeyemi268
    @rufusopeyemi268 ปีที่แล้ว +1

    wow!😚😚😚 this really help

  • @akshatchaudhary9393
    @akshatchaudhary9393 ปีที่แล้ว

    great video

  • @stefkostov9745
    @stefkostov9745 2 ปีที่แล้ว

    very good video

  • @ol1175
    @ol1175 3 ปีที่แล้ว +1

    Thanks !!!

  • @theirregulars-u9q
    @theirregulars-u9q ปีที่แล้ว

    how do i get a README?

  • @unique8721
    @unique8721 3 ปีที่แล้ว

    lol I can't find the branch next to main at all??

    • @KahanDataSolutions
      @KahanDataSolutions  2 ปีที่แล้ว +1

      Did you create a new branch first? Also, where are you looking?

  • @jaileneveras8
    @jaileneveras8 2 ปีที่แล้ว

    thanks so much!

  • @stefanosstavropoulos8011
    @stefanosstavropoulos8011 2 ปีที่แล้ว

    Perfect!

  • @kairiannah
    @kairiannah 3 ปีที่แล้ว

    thank you

  • @markovukotic6686
    @markovukotic6686 3 ปีที่แล้ว +1

    Thank you!

  • @bornfree465
    @bornfree465 2 ปีที่แล้ว

    thnks a million!

  • @elbachiroutidrarine9680
    @elbachiroutidrarine9680 2 ปีที่แล้ว

    Thank u man

  • @kushagrasinghsisodia9380
    @kushagrasinghsisodia9380 ปีที่แล้ว

    thanks bro

  • @billiamreynolds
    @billiamreynolds 3 ปีที่แล้ว

    dude you sound exactly like Sam Harris

  • @muhammedfurkandogan1586
    @muhammedfurkandogan1586 2 ปีที่แล้ว

    Thank u

  • @AhmedKhan-rt6oz
    @AhmedKhan-rt6oz 3 ปีที่แล้ว

    great and nice .. need support

  • @thisisaegis
    @thisisaegis ปีที่แล้ว

    Thank you

  • @sarba85528
    @sarba85528 2 ปีที่แล้ว

    Thank you!!