Complete Git and GitHub Tutorial

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

ความคิดเห็น • 1.9K

  • @KunalKushwaha
    @KunalKushwaha  ปีที่แล้ว +70

    DSA + interview preparation playlist: th-cam.com/play/PL9gnSGHSqcnr_DxHsP7AW9ftq0AtAyYqJ.html

    • @inishkohli273
      @inishkohli273 10 หลายเดือนก่อน +2

      how did you transform your terminal?

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

      @@inishkohli273 Even I have the same question, Do you got any solution?
      If so please let me know too.
      Thanks in advance.

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

      @@akashreddyjammula you have to import iterm2...I tried hard but still couldn't manage to replicate...

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

      @@inishkohli273 It's the linux terminal, you can customise it the way you want

  • @avinashgupta2308
    @avinashgupta2308 3 ปีที่แล้ว +70

    The guests goes to the stage (staging area) , then the photographer took the photograph (commit) that saves in the history of the wedding 🔥🔥🔥, this was amazing

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

    Keep in mind that to make changes to your text file using vim , Press i to get into insert mode and then press esc + :x to exit ; Basic Vim commands, you might get stuck ;

  • @saikatbishal8429
    @saikatbishal8429 3 ปีที่แล้ว +1094

    Seen many git tutorials in the past. Had been using git for quite a long time now. But this is the best and most easy to understand tutorial I have seen so far. And I learned quite a few new things too, in the easiest way possible.

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +81

      Thank You!

    • @ksubramanyeshwara6169
      @ksubramanyeshwara6169 3 ปีที่แล้ว +10

      @@KunalKushwaha I think you have missed the configuration of the git

    • @rajashekark3106
      @rajashekark3106 3 ปีที่แล้ว +4

      @@ksubramanyeshwara6169 bro configuration is simple ...no need to worries

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +11

      @@ksubramanyeshwara6169 Mentioned in the description

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

      @@KunalKushwaha Thank you so much

  • @Iron.agrawal
    @Iron.agrawal 10 หลายเดือนก่อน +21

    Took me around 4-5 hours to complete the video but truly they were worth it. I understood each and every one of the concept . Totally blown away by the content.

    • @jaishreeram8428
      @jaishreeram8428 5 หลายเดือนก่อน +2

      Bro how to get that desktop command how to do it. I installed git and what's the next thing to do?

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

      @@jaishreeram8428 open any command line tool and a text editor like vscode. Create a folder on device and git init. Then run git commands.

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

      ​@@jaishreeram8428first learn a bit from code with harry he told the steps in a very beginner friendly way

  • @utkarsha6943
    @utkarsha6943 3 ปีที่แล้ว +112

    Honestly blown away by the content. Having already seen quite a few git/github tutorials in the past, I started watching the video with the intention of skimming through the content quickly but it was so engaging I ended up watching the whole video. None of the previous videos I've seen were this good, thanks for putting so much effort into the videos!

  • @asura-2467
    @asura-2467 2 ปีที่แล้ว +50

    Sry i should be commenting after watching full video. But i can't control myself. After watching for just 11 min i am really happy that I could understand what u r teaching. This thing called github and its repository concept used to go a way abv my head bf. Now i am atleast able to understand. Thank you !

  • @karamjotsingh7479
    @karamjotsingh7479 3 ปีที่แล้ว +115

    If you know about something and can explain it in terms that even a 3rd grade student can get it, shows that you truly understood it. Begin a professional, going through your content is fun and just love the way you break things into simpler ways. You are going big, brother.
    Hope to help you in some way and help the community.

  • @rajK011
    @rajK011 11 หลายเดือนก่อน +10

    The example of photo clicking in a wedding is amazing. Awesome content

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

    You are the only one who made me understand the entire git and GitHub only in an hour. I was stuck in an endless loop but one of my friends told me about this video and I am really thankful to him and you as well.

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

    That expression at 24:00 says “that’s how I roll”❤️. Epic man. Hats off to your efforts. I’m halfway through but I’m thoroughly enjoying this.

  • @sarthakkathpalia
    @sarthakkathpalia 3 ปีที่แล้ว +10

    Only video on YT which tells about Git & Github completely and in the most easy language 🔥🔥🔥

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

    The picture clicking example was perfect for beginners like me. Really enjoyed the tutorial and understood the commands used. Kudos to Kunal for creating this tutorial.

  • @priyankamishraa_
    @priyankamishraa_ 3 ปีที่แล้ว +294

    I tried 5-6 or even more times to learn git and github but this day is remarkable for me because i finally learned all the concepts in a very clear manner just i have no more fear of all the git commands thanks kunal bhaiya 😁

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

      he is using git for linux or git for windows

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

      @@nishantarora6219 git for mac

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

      Can u plz help me I'm stuck at commit for more than 2 days now it would be grt help if u can help me.

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

      @@arpitanjana4994 sure

    • @NishantChandra-qu2et
      @NishantChandra-qu2et ปีที่แล้ว +1

      If i have forked a git project in local, after that I create a new branch to add new feature, but in b/w owner of the project make some changes, then where do i pull changes, in main or in new branch and if i pull changes in new branch does my changes got lost, pls explain ?

  • @harshgupta7341
    @harshgupta7341 ปีที่แล้ว +32

    A simple note : at 16:28 kunal used vim text editor and opened names.txt file to write some text names and saved the file using (first press esc key then) ":x" hope it is more clear now :))

    • @rutvik6722
      @rutvik6722 3 หลายเดือนก่อน +1

      Thanks bro

    • @arsiddiquii
      @arsiddiquii 3 หลายเดือนก่อน +1

      Open source contributior 👏

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

      Thanks bahi❤

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

      Thanks bro

    • @nikita7813
      @nikita7813 27 วันที่ผ่านมา

      IT ASKS FOR AN ENCRYPTION KEY

  • @nikhilsoni272
    @nikhilsoni272 3 ปีที่แล้ว +22

    I've searched alot about git watched tons of videos on youtube googled alot whenever i want to do something with my projects on git. I never understood concepts of stash, rebase and all. I would like to say "BEST VIDEO ON GIT EVER". Appreciate it! By the way excited to see more videos like this. Great initiative man!🙌👏

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

    this is literally the best git and github tutorial ever, i was able to understand the complicated parts that other tutorials couldn't explain well. thanks a lot

  • @khemchand6431
    @khemchand6431 3 ปีที่แล้ว +12

    just completed the video i had watched plenty of tutorials but finally understand with the help of your video thank you so much for your tremendous effort also you have explained it in very easy language exapmle that you have took of wedding was just amazing i am very lucky to be member of this community lot to learn from you, thank you

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

    Kunal bhai you have ignite a flame in me to become a devops engineer. Thank you so much. I will work hard come what may as per your videos directions. Lots of appreciations and love.

  • @AjayPrajapati-bj4tr
    @AjayPrajapati-bj4tr 3 ปีที่แล้ว +13

    watched mostly every popular git tutorial (Hindi and English both) but no one explained like you brother. Really appreciate your work and thank you for providing such great content,

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

    Thanks Kunal .... for all the efforts ...that you have taken to provide world class content at zero cost.... for the same content many edtechs are charging lakhs of Rs. Gratitude, blessings and more power to you ... that you keep doing what you do best and making us all Indians proud....

  • @yamini436
    @yamini436 3 ปีที่แล้ว +15

    The Smile on Kunal's face after completing every part of teaching is amazinggggg!

  • @ArpitKumar-yo6up
    @ArpitKumar-yo6up 3 ปีที่แล้ว +4

    This man is the best had watched many tutorials in the past and no one explained me like this,starting my open source journey

  • @avinashgupta2308
    @avinashgupta2308 3 ปีที่แล้ว +282

    This is actually the best git / github tutorial

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +36

      Thank You!

    • @vedanthbaliga7686
      @vedanthbaliga7686 3 ปีที่แล้ว +5

      Second that ✌️

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

      Yes it also increases the SEO part too with this 🔥

    • @amitgupta2890
      @amitgupta2890 3 ปีที่แล้ว +6

      @@KunalKushwaha I am a window guy. And I face a lot of problem due to any tutorial taught on Linux or Mac. Can u suggest me some things to cope up with this.

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +9

      @@amitgupta2890 I mentioned it already. When you download git, you can use git bash and all commands will work. Please read the description.

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

    Straight from the heart -> One of the Best tutorial I've ever seen in my life...

  • @amisha4691
    @amisha4691 3 ปีที่แล้ว +16

    Kunal you are seriously unbelievable
    Finally the series has started🥳🥳

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

    Sir you are the only one who made me understand the entire git and GitHub only in hour ...I was stuck in an endless loop but one of my friend told me about this video and I am really thankful to him and you as well ...thanku very much sir

  • @kunalakhade5660
    @kunalakhade5660 3 ปีที่แล้ว +6

    Firstly I find this video too fast to grab. But I know kunal is giving a quality content so I start giving some efforts from my side too and continue watching it a couple of time and finally I understood everything and I find putting efforts from my side worthy.
    So If you are finding the video too fast then be focused while watching and put some efforts from your side too because the content and explanation is outstanding.

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

      Thank You! Hope you liked it

  • @ChhaviGajnani-o3e
    @ChhaviGajnani-o3e 4 หลายเดือนก่อน

    in my 2 years of exploring all the cse teachers on youtube i have never seen a teacher teaching git branching using visuals thanks kunal for doing so it made my way of thinking just broader!

  • @CodeWithArjun
    @CodeWithArjun 3 ปีที่แล้ว +13

    Watching from Nepal, who has a dream to work on FAANG companies. Really excited for this course.

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

      Can you help me? Maile ta kei ni bujhina. Git ma first time vayera hola

  • @upskilllearn7596
    @upskilllearn7596 3 ปีที่แล้ว +21

    Very nice explanation by Kunal.
    Whatever he has explained here is more than sufficient to also work in real world projects.
    I am working in an IT MNC and I started using git 3months back and trust this video covers all the commands I have used so far.
    We have multiple people working on same branch and stash comes handy that time.
    Good work Kunal!

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

      Thank You!

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

      hi, can anyone help me with this - what did he press at 16:24 after adding names.

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

      @@bhanumalhotra7553 :wq --to save and quit

    • @rajarshi25.7
      @rajarshi25.7 9 หลายเดือนก่อน

      press esc to enter the command mode first then, :wq and press enter

  • @mondal_raj
    @mondal_raj 3 ปีที่แล้ว +13

    Hey Kunal, I am watching your video for the first time. And you won't believe that I am literally praying to god after watching this video that I was struggling in git and GitHub for the past 6 months.
    I was facing many difficulties like merge conflict, fetching the upstream code and pull the code,and even working with the branches.
    And after watching this video, I have tried every command, and literally, now I am crystal clear with Github, even with the branching best practices.
    I really thank you a lot for creating this video and waiting for the entire course of DSA.

  • @sameermd5779
    @sameermd5779 ปีที่แล้ว +4

    I learnt lot from you regarding java which killed my life of unemployment
    Finally landed in a job and now in project.
    You are really a best teacher of mine.
    Thank You Kunal ❤️

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

      Hey Congrats🎉 I am not good at maths can I still learn it?

  • @WincentSimon
    @WincentSimon 3 ปีที่แล้ว +14

    The quality of the content, excellent presentation, and positive attitude make it really interesting and fun to watch.
    The fact that the views are more than the channel subscribers is a testament to this :)

  • @Victor-bb6sl
    @Victor-bb6sl ปีที่แล้ว +1

    the simplicity of explaining the concepts. hatsoff dude

  • @avanishdubey6556
    @avanishdubey6556 3 ปีที่แล้ว +6

    Amazing what an explanation I never find such an explanation ever. he took the real-life example of wedding and explain the git very easily.

  • @sudattabasu132
    @sudattabasu132 6 หลายเดือนก่อน +1

    Worth watching even after using git for 4 years.. We need this quality of teaching in industry also

  • @anuragsuryawanshi4177
    @anuragsuryawanshi4177 3 ปีที่แล้ว +11

    Hey kunal, I just noticed there's no ad on this video....we really don't mind if there are any ad and you are earning from it.... we'll never skip ad on your channel since you are providing quality courses for absolutely free

  • @DineshR-w4d
    @DineshR-w4d 6 หลายเดือนก่อน

    you can invest your time on this video if you want to learn about Git and GitHub from scratch. wonderful way of explaining the concepts.

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

    Your passion for teaching shows Kunal, hats off for this. Thank you.

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

    I was looking for tutorials to learn git and git hub and i found your channel and i was just blown away by the content brother. As i have just entered in tech industry i got to know about lot of new career opportunities today for that thank you and looking forward to learn and help and grow in the community ..hope we will meet one day .

  • @tejassingh9127
    @tejassingh9127 3 ปีที่แล้ว +25

    I liked how well you arranged java with data structures. I saw your dsa roadmap videos and that is by far the best roadmap and now you are teaching that by yourself. Thank you so much for this hard work that you are doing for students like us.

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

    I had never seen a educational content this long in one sitting, you have got it bro! keep it up!

  • @AnuragSingh-jz9kz
    @AnuragSingh-jz9kz 3 ปีที่แล้ว +12

    I'm very grateful and blessed to have a mentor like you, really appreciate your work.

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

    same here, I too have watched plenty of git and GitHub tutorials but this one is exactly how a tutorial or explanatory video should be. Very well constructed wherein Kunal is not only teaching you how to perform various command but also clarifying you why would you need them at the first place. #respect brother

  • @rishtisumandey2992
    @rishtisumandey2992 3 ปีที่แล้ว +26

    Thank you for this amazing tutorial! Nobody in youtube have been able to teach git and github the way you did.

    • @KunalKushwaha
      @KunalKushwaha  3 ปีที่แล้ว +6

      Glad you enjoyed it!

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

      di can you help me with one of my doubt ?

  • @EagleEye.2006
    @EagleEye.2006 2 หลายเดือนก่อน

    Those who are thinking that I not understanding anything from this video or you are been like he is using mac and I am on windows I want spoon feeding everything he write I just to to copy paste it.....
    If this is your approach then you will learn very limited. I will just suggest you to stick to this video if not understanding see it again and again or you can google it also. Their are some commands on mac that is not for windows, that you can google it. By searching some thing on your own you will also end up with exploring very new things.
    BTW great video kunal Learn a lot Thankyou so much 🙏

  • @harshdeepsinghtomar1925
    @harshdeepsinghtomar1925 3 ปีที่แล้ว +4

    I've been using git for a while now, I still learned a lot from this git tutorial. Hands down one of the best git tutorial I've seen.

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

    Man. you are really a good teacher. I feel very bad not knowing your channel till now. Thank you very much.

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

    Aww....thanks man...
    Your way of taking perfect examples to explain the concept is tremendous....
    The wedding photographer example made it crystall clear for me to understand it so well that i would never even have to remember anymore..😁
    Thanks Kunal bhaiya.....
    for providing such amazing content that too for zero cost 🥺🤗...

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

    # GOD Of DSA
    Hi I am a 11yr exp java guy was searching for some free course on youtube for DSA came accross your course and i just feel love in it...all in one place that too with java...i must say you have done very awsome work...your name will be there on this earth as long as DSA will be asked in interviews...May Supream Lord Vishnu Bless You ✌🙏

  • @shubhsharma19
    @shubhsharma19 ปีที่แล้ว +5

    Helped a lot! Was always scared of git and used to just contribute using GitHub but now I am confident about Git as well. 🔥 You and Eddie are so good at this!

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

      are we supposed to practice along with the video? i watched and understood it but feels impossible to actually do. i'm new to this.

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

    The best Git and Github tutorial ever. your turn this confusing terminologies into a simplier terms. thanks a millions

  • @vinothkumars7421
    @vinothkumars7421 3 ปีที่แล้ว +5

    I was waiting for a proper guidance..🙏🙏 Now I got one.. 🤝🤝Best wishes.. My journey begins 👍👍

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

    The bestest tutorial on Git and GitHub! Kunal you have a gift of making things so easy that any person from any profession can understand it! Can't wait for your next video on DevOps! Thank you.

  • @joshua_dlima
    @joshua_dlima 3 ปีที่แล้ว +4

    i had checked out a few other git tutorials.. honestly speaking this one is the best, he literally makes concepts crystal clear. No bogus talk.. nothing unnecessary straight up to the point. thanks kunal

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

    Never seen such an eady explaination of Git. Thanks Kunal for making me understand this very easy!

  • @vinaykarakavalasa2479
    @vinaykarakavalasa2479 3 ปีที่แล้ว +9

    Finalllyyy the day is here! Aug 1st All the best kunal kushwaha we hope that we will be learning a lot from your videos and your experiance

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

    I never comment in general but I thought I should share this.. I've watched infinitely many videos in TH-cam, paid for courses on this topic but this is the best one... No words..
    Thanks Kunal

  • @ankitapaul6426
    @ankitapaul6426 3 ปีที่แล้ว +6

    I am watching your lectures at 1.5x speed and your "taa-daa"s sound so funny and enthusiastic.

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

    Best Tutorial on Git I've ever come across. Thanks for this Kunal

  • @harshverma1221
    @harshverma1221 3 ปีที่แล้ว +19

    Kunal bro you nailed it , literally you where on fire 🔥🔥🔥 this was just.....hats off!! This was definitely far better than some paid courses

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

    My senior told me that Git and GitHub is very Important in Industries. I wanted to learn but was afraid by the Terms pull,fetch, rebase.
    But saw this video and was not knowing when it got completed!!
    Thanks for making this video!!

  • @ankitsingh7802
    @ankitsingh7802 3 ปีที่แล้ว +5

    Finally the wait is over....here we go... thank you so much for your efforts...🙏🙏

  • @vaibhavsachdeva.2001
    @vaibhavsachdeva.2001 3 ปีที่แล้ว +2

    This is the best tutorial on Git and GitHub so far. Thank You Kunal!

  • @shubhamthakur3415
    @shubhamthakur3415 3 ปีที่แล้ว +13

    Hey Kunal, I always struggled with Git in interviews. Saw this video before my last interview and practiced along. Was able to do good this time. Thanks mate!
    Edit: Got offer as well

  • @Anirudh-cf3oc
    @Anirudh-cf3oc 3 ปีที่แล้ว +2

    Your explaination for branching and pull request concepts is Amazzing!! This is the best git / github tutorial ... Thanks a lot!!

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

    This is the best tutorial for Git and Github I've seen so far !! Your concise, on point teaching method is really wonderful.. I understood most of the concepts clearly.. Thank you so much.. You have a really nice way of teaching things...

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

    amazing way of explaining by comparing it to wedding photography, i had my git open and was following along each step, and in just first 15 minutes of the video i got a good grasp of the general environment of git and github, and how it is used to maintain changes in the repositories, thanks alot for the video, it is really really helpful.

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

    most comprehensive and to the point. Awesome buddy. Keep it up!

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

    Your analogy of the wedding picture makes it so easy to understand. God bless you man

  • @adityatrivedi8956
    @adityatrivedi8956 3 ปีที่แล้ว +33

    Bro literally loving the way you are explaining the things...your efforts are clearly visible man❤️🙌 really got goosebumps while studying due to excitement that what's going to be in next videos. It is going to be a long and wonderful journey⚡

  • @nehakumari-er1pg
    @nehakumari-er1pg ปีที่แล้ว +2

    Kunal you've made life of a beginners quite easy who aspire to be a Java Developer . Much Thanks !! and may you continue this

  • @rakeshbabu4790
    @rakeshbabu4790 3 ปีที่แล้ว +23

    And finally the much excited series has started🤩🤩🤩🤩

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

      Rakesh ... Java related stuff kab ayega ?

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

      @@John12685 syllabus m likha hai

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

      @@shashanksingh4708 Where is the Syllabus, Can you please share it, I could not find it on Discord or Channel Description.

  • @vedanshsrivastava9111
    @vedanshsrivastava9111 5 หลายเดือนก่อน +1

    09:05 Git is a version control system that allows us to save the history of our project and collaborate with others
    18:10 Git status command helps to track changes that are not saved in the history of the project
    27:15 Learn how to modify files, view project history, remove commits, and use git stash and git stash pop commands.
    36:20 Branching allows you to work on new features or bug fixes without affecting the main branch.
    45:25 Forking a project allows you to make changes without directly modifying the original project.
    54:30 Always create new branches and pull requests for new features or bugs to avoid code mixing and make code review easier.
    1:03:35 Keeping your branch in sync with the main branch of upstream
    1:12:40 Merging Codes and Resolving Merge Conflicts

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

    Thank you for this in-detail explanation, it is put across in a simple and best way possible. Have been struggling with understanding this and getting started with git and GitHub. Thanks for making my life easier.

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

    if anyone else following this tutorial and doing this at the same time as me than you may encounter an error called "git: fatal unable to auto-detect email address", Kunal already mentioned it in the description, that you have to write these two commands first
    $ git config --global user.name "your_name"
    $ git config --global user.email your_email
    after this, that error will get fixed, btw Kunal nice video.

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

    Tip for windows user:
    mac --> ls, windows -->dir,
    mac--> ls -a, windows -->dir /ah

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

      I am getting a could not resolve Head can u help me out ?

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

      Using gitbash can also run Linux commands.!

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

      @@kushaltanna5569 yes

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

    Git has never been so easy for me. Thank you so much for explaining this well. I have tried to learn git many times but often need to memorize the commands even the basic ones. But your wedding photograph analogy did the work. Now I understand everything nicely. Thank you so much.

  • @michkelanglo545
    @michkelanglo545 3 ปีที่แล้ว +22

    Applause to your effort 🥳keep going😁this good actions provide u all

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

    The best yet. Scrolled almost whole youtube, but man everything was repetitive with same definitions, you brought new things to learn. Thank you for that!

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

      but I felt like it went a bit confusing with "making forked project even with main project". Maybe it's just me, anyways great video nonetheless. Thank you!. I will try to review it again.

  • @manavshah7033
    @manavshah7033 3 ปีที่แล้ว +8

    So much to say..
    You nailed it! 🔥❤️
    You recorded the video at 1st Aug and uploaded on the same day.
    That wedding example was so good..
    Even a person from other stream/field can also understand this

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

    Thank you so much, the way you say don't worry we'll cover that later, takes all worries away. Thank you so much for sharing your knowledge with us. The best DSA course so far!!!!!

  • @bookalicious9849
    @bookalicious9849 3 ปีที่แล้ว +8

    Best content 👏this is the only one needed for any tech enthusiast student !! Thank you for bringing this

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

    Hands down the best git/github tutorial. Thanks Kunal.

  • @donkeshwarkavyasree8632
    @donkeshwarkavyasree8632 3 ปีที่แล้ว +13

    It's indeed amazing explanation. Everything is clear and crisp. Can't thank you enough 👏

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

    This is best GIT and GIT HUB course ever seen.. Kudos

  • @anujsrivastava1155
    @anujsrivastava1155 3 ปีที่แล้ว +40

    Now the journey starts 🔥🔥🔥🔥

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

      Bro how is your journey going so far?

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

      bro journey?

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

      @@sanketneema286 procrastination ,

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

    Wow Kunal, this is the best Git tutorial on youtube. The added chapter makes it useful for everyone regardless of their experience with git. Kudos!!!!!

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

      Bro i have the same profile in my other account

  • @avanishdubey6556
    @avanishdubey6556 3 ปีที่แล้ว +13

    Amazing now we have started the journey of DSA

  • @henriquecosta4019
    @henriquecosta4019 11 หลายเดือนก่อน +1

    Your preparation playlist is awesome! Thank you for providing quality lessons and tutorials for youtube.

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

    video summary
    maintaining the history of the project and storing our code
    list command(ls)
    it lists everything in the folder/file
    make directory(mkdir)
    make file/folder,etc.
    change directory(cd)
    changes the folder/file you are working on
    [basically like opening a folder/file]
    initializing an empty git repository (git init)
    the repository is like a project folder
    (-a) tag
    this basically shows all the hidden files
    {any file that starts with a .[ex:- .root] is hidden in mac and linux OS}
    to create a new file another Linux command is called touch
    [ex:- touch names.txt]
    you can enter text in the .txt file by using cat command {kunal uses vim but I am doing the whole hands-on practise on Linux terminal so i send the same command for you guys to look for}
    [ex:- cat > names.txt]
    (git status) it basically tells us everything that has happened with our folder every change, modification, or deleted files {it has the history stored remember? }
    now not everything is saved, the files are mostly untracked but we can do it by using the command [git add .] this command will basically save (dot means evrything in the current project directory that is currently not having its history or that is untracked are put together on the stage so that they can be saved or we can say tracked now)
    you can individually add the names of files if you don't want everything in folder to get updated for example (git add names.txt)
    and then check status by using (git status) command and this will allow us to maintain the changes, modification, etc... and save them
    now when we change,modify,add,remove something we basically comment it using (git commit -m"names.txt file added")this adds a comment to the specific action
    {doing this will clarify how we did the change}
    (cat names.txt) command displays all the contents of the file
    if you don't want any commits to be saved you can remove them by doing(git restore --stagged names.txt) this will remove the file from saved version and put it back on the unsaved part
    now to see all the history you need (git logs) command here you can see all the history
    you can not remove one commit from between,
    commits are built on each other like a tree so if you want to remove one commit you check the logs and see the commit you need to remove and select the commit below it and copy its hash -ID(whatever commit I copy the commits above it will get removed) use this command (git reset commit hash-ID) and then check the logs/status you can see now the other commits you wished to remove are in the untracked or unsaved area
    now if you have changes which you don't want to commit but neither can discard them so you keep them in a backstage area by using (git stash) command
    now if you want the files in the backstage to come at the staging area you wil use (git stash pop) command
    now{"now if you have changes which you don't want to commit but neither can discard them so you keep them in a backstage area by using (git stash) command"} these changes were on thebackstage but now you dont want them so in order to clean your backstage you do (git stash clear) command
    after doing this those changes will be gone now they can't come back
    starting with GitHub
    you can create a new repository and then link it to your project folder by using this command(git remote add origin link-of-your-repository)
    now if we do(git remote -v) it will show us all the repositories that are attached to our folder
    now to save your folders work on your repository you can do (git push origin master) command and you will be able to see all the files in the repository
    now to understand branches go on 28:57 in the video
    working with existing projects
    you cant directly make changes to anyone's projects you need to fork it
    doing this will not reflect in the main project until & unless the creator of the project gives approval for the project via the pul request which is explained later
    we need to fork the project of the organisation into our personal acc and then copy the link from "download code button"
    now in your desktop you can clone this repository by (git clone link)command
    this will basically download that folder/repository
    now you know that the origin you are in is your own acc
    and from where you have forked this (the community repository) is known as upstream url
    and you can add another url in the terminal by doing(git remote add upstream link)
    "origin" is your own/personal and "upstream" is the communities
    creting a new branch(git branch branch-name)
    checkout means shifting the focus from main to new branch
    if you have some code in your new branch of the clone repository and you want to transfer or we may say publish to the original communities main branch then you pull request you can see this easily explained on 41:00 - 45:30
    command:-
    git push origin your-branch-name
    (you can't do "git push upstream your-own-branch-name" you will not be able to push it coz you don't have access to it)
    ONE BRANCH = ONE PULL REQUEST
    follow this its easier to merge and don't commit directly on main branch
    make a seperate branch every single time!
    MAKE SURE YOUR WORK IS DISTRIBUTED PROPERLY

    • @RAJUBHAI-ww7em
      @RAJUBHAI-ww7em 2 ปีที่แล้ว +2

      lemme finish the remaining part
      Now the owner of the original file might have updated some of his work or by merging more of like adding some ones pull request , Now the main file or better say the UPSTREAM URL file has been updated but your main file is not up to date with that main file , Hence in order to be in update or in order to check what was updated into your branch name like the one you created
      first check out to the main branch " git checkout main '
      now type " git fetch --all --prune "
      followed by " git reset --hard upstream/main "
      All of the recent updates which are present in the upstream will be updated to your origin , or better say the fork you had done got updated with new information added in the upstream
      and you can type command " git pull upstream main " it does the work tooo
      Now coming to another typical mistake where you had forgot to create a new branch for a new bug or something you are working upon and you saved it or pushed to your same branch name (for every new thing you work on you must create new branch but you saved it in your old branch but now you want to delete in such cases
      git log
      followed by git reset " code present in the log i mean you know right "
      now use the command " git push origin branch name -f "
      your previous commit that you have done would be deleted on the git hub
      and for merging the commits you want to
      git rebase -i code

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

    I read all the comments. And i think that comments itself tells your coding and teaching skills. Great job, brother!

  • @shambashibmajumdar1268
    @shambashibmajumdar1268 3 ปีที่แล้ว +4

    Clean tutorial. I have seen many videos, but Kunal is doing it the fresher's way.
    Thanks a lot to be a good tutor!

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

    This is 24k gold...The great way of teaching ❤️ #respect🙏

  • @rajitpaul4676
    @rajitpaul4676 3 ปีที่แล้ว +9

    Strictly 24 K Content, Thanks Kunal for making the concepts so simple. Always a fun session to learn from you, Cheers buddy!

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

    I WISH I CLOULD HAVE SEEN YOUR CHANNEL IN MY 10TH GRADE!😇 NEXT LEVEL LEARNING.❤‍🔥

  • @kavyabisht2914
    @kavyabisht2914 3 ปีที่แล้ว +8

    This video is genuinely amazing 👏. Everything covered in the proper order and in the nice way 👍

  • @Gopinath_V19
    @Gopinath_V19 8 หลายเดือนก่อน +1

    what Iam suggest for those who are reading the comments in this video , please watch the basic linux commands in the same playlist after that come and watch this video. initially i did watched this video iam so new to cli and i skipped to linux commands lecture now iam again here now i can understand each and every commands .. follow this and thank me latter.

    • @Human_Lensz
      @Human_Lensz 10 วันที่ผ่านมา

      thanks bro for sharing, kunal rocked it

  • @pradeepkumar00077
    @pradeepkumar00077 3 ปีที่แล้ว +15

    23:57 kunal gives a killer loook

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

      yeappp, that was sharp!