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

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

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

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

    Get my Modern Data Essentials training (for free) & start building more reliable data architectures
    www.ModernDataCommunity.com

    • @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 ปีที่แล้ว +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.

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

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

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

    Straight to the point and precise. Thank you!!

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

    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

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

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

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

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

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

    Thank you! Outstanding explanation.

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

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

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

    YOU ARE A LEGEND, MY FRIEND!

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

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

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

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

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

    Thanks clear and simple to understand.

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

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

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

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

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

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

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

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

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

    Thanks, this was what I really needed!

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

    Thank you for this tutorial, clear and concise!!

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

    thank you it helped me a lot ^^

  • @sipwhitemocha
    @sipwhitemocha 11 หลายเดือนก่อน

    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

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

    Thank you simple and clean.

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

    Best Explanation so far

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

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

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

    Thanks for a really good tutorial. I appreciate it.

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

    This was absolutely perfect. Thank you!

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

    Thank you, very helpful. straight to point

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

    Thank you sir you helped me a lot

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

    Thanks for a really good tutorial.

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

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

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

    Thank you simple and clean!!

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

    The best explanation! Thanks a lot!

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

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

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

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

    Great video! Thanks.

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

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

    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)

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

    Great one. Really helpful. hank you

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

    Thanks a lot for the video.

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

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

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

    thanks a lot that was helpful for me : D

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

    perfect, thanks

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

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

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

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

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

    so simple, well made video

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

    thank you so much :D

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

    Brilliant, thanks man!

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

    Very clear thankyou!

  • @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 ?.

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

    very well explained

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

    very helpful video..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: ..."

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

    wow!😚😚😚 this really help

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

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

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

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

    Great video!

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

    Wow, finally!

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

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

    To the point! Awesome 🤗

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

    Thanks for it friend.

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

    Thankyou soo much for it

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

    Thanks man!

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

    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 !

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

    error: src refspec head does not match any

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

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

    great video

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

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

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

    very good video

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

    thanks so much!

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

    Thank you!!

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

    Thank you

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

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

    Thanks !!!

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

    thnks a million!

  • @theirregulars-u9q
    @theirregulars-u9q 11 หลายเดือนก่อน

    how do i get a README?

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

    Thank u man

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

    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?

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

    Perfect!

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

    thanks bro

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

    Thank u

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

    dude you sound exactly like Sam Harris

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

    great and nice .. need support

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

    Thank you!

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

    thank you