Git Branches Tutorial

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 125

  • @eelbo
    @eelbo 2 роки тому +42

    (30:20) Comparing branches
    Just a short note: if you use _three_ dots instead of two you'll see _all_ the differences in commits between branches, so not only commits that are in the second branch compared to the first but vice versa as well.
    Excellent intro to branches, very concise.

  • @salwabachraoui1730
    @salwabachraoui1730 3 роки тому +32

    This channel is a life saver.

  • @aethelbread
    @aethelbread 3 роки тому +25

    I live for you Intro Guy. FCC you are my ROCK!

  • @carlosdm94
    @carlosdm94 3 роки тому +15

    Needed a git tutorial so bad! Thank you for all your effort and helping the comunity! Great job :)

  • @JLDRPT
    @JLDRPT 3 роки тому +4

    4:59 - Sorry if I lost something, but you can create as many branches you want on your remote repository, like Github, Bitbucket, Gitea, etc.

    • @MrTomro
      @MrTomro 3 роки тому

      yeah you are right.

  • @sebiporini
    @sebiporini 3 роки тому +3

    Yes! I was waiting for this! Thanks!
    I am slowly falling in love with GIT

  • @richardwaldron1684
    @richardwaldron1684 3 місяці тому

    As a newbie to GitHub this is without a doubt the best, clearest and most informative demo of branching I've seen. I've learnt a lot from this - thanks for sharing

    • @sustrackpointus8613
      @sustrackpointus8613 2 місяці тому

      I get it youre a newbie, but github is a hosting service and an actual version management tool he uses is git. Git doesn't rely on github whatsoever, but github relies on git

  • @ritheshverma2332
    @ritheshverma2332 3 роки тому +12

    Yours videos are really amazing and helpful. Huge respect

  • @ossahmadrezaazimikohnabi5108
    @ossahmadrezaazimikohnabi5108 3 роки тому +86

    I've learnt so much in this channel, I think I should tell my mother to bring you some goat milk :)) (we're nomads, it's costumery to give goats and goat products as gifts.)

    • @shauryakapoor2122
      @shauryakapoor2122 3 роки тому +3

      Nomads have phones/customer? Even access to internet. Could you please tell us more about your lifestyle, I'm curious.

    • @giorgioamato8176
      @giorgioamato8176 3 роки тому +3

      He is a modern nomad

    • @bengilman5188
      @bengilman5188 3 роки тому

      @@shauryakapoor2122 he’s gotta be trolling

    • @ossahmadrezaazimikohnabi5108
      @ossahmadrezaazimikohnabi5108 3 роки тому +15

      @@shauryakapoor2122 well I grew up in a city, so we do have net. But my parents where nomads for the first part of their life. Then my father went to school and became a health care worker, and was hired by the government, so technically we're not nomads any more, but my mother still does give people goat milk as a gift :))

    • @mosaed_b
      @mosaed_b 3 роки тому

      Because you are a descendent of a nomad family, you are a nomad (in culture) and this might not mean technically you are nomad. That is also me, although I lived my whole life in a city, and I had ps1, ps2, ps3, ps4, pc, I am a software development employee, and my parents have degrees, but my grand grandparents were nomad, because of the high poverty at that time, so they have traveled a lot, and suffered, and we took their culture and manners.

  • @林清昀
    @林清昀 2 роки тому +3

    It is really easy to understand with clear and straightforward examples.
    Thanks for your great effort! 😁

  • @burkhartwolff4429
    @burkhartwolff4429 2 роки тому +1

    Great Tutorial - just the level of abstraction I needed on the subject. Very pedagigical explanations...

  • @rafapioli75
    @rafapioli75 3 роки тому +2

    Great explanation! It refreshs my memory like a breeze!

  • @dmitriilobanov3980
    @dmitriilobanov3980 3 роки тому +1

    Very comprehensive guide. An excellent teacher

  • @johplaysmusic
    @johplaysmusic 2 роки тому +1

    This man is Tech Curry

  • @amyjackson1104
    @amyjackson1104 3 роки тому

    God bless u! I was having so much trouble figuring things out without your video! Thanks so so much!

  • @RohitPatnaik7
    @RohitPatnaik7 3 роки тому +6

    I must say you guys are amazing..... thank you ❤

  • @AlexBurov-wk8my
    @AlexBurov-wk8my Рік тому

    this s extremely awesome video about branching
    god bless you Mr with clear voice and explanation

  • @matt-g-recovers
    @matt-g-recovers 3 роки тому +1

    Extremely practical.
    Thank you for making this.

  • @paulaabad8329
    @paulaabad8329 3 роки тому

    Thank 🤓💜, the integration of the branches was clearer, I had confusion with the commands. Excellent 👾

  • @ManojKumar-jb4sc
    @ManojKumar-jb4sc 2 роки тому

    Thankyou. It is such a helpfull tutorial to undestand git branches. Now also want to watch your git tutorial as well.

  • @matovumatthew1242
    @matovumatthew1242 Рік тому

    Thanks very short and straight forward tutorial

  • @AleksandarIvanov69
    @AleksandarIvanov69 3 роки тому +1

    'git push --delete origin feature/branch' is easier to remember, because the delete flag is of the push operation and then the location and object are given :)

  • @AmberRathour366
    @AmberRathour366 2 роки тому +1

    Thank you!

  • @uc7602
    @uc7602 Рік тому

    Thank you for this very informative video and I will start using git switch to switch between branches too 👍!

  • @ppl_call_me_tima
    @ppl_call_me_tima 6 днів тому

    simply amazing!

  • @anarelle
    @anarelle 3 роки тому +6

    Great tutorial! Although I would've chosen different names for branches as it makes it confusing to follow up. If the command is called "branch" then I wouldn't name my branch "my-branch" as there are too many occurrences of "branch". Or "uploader" as the name of a branch to be uploaded causes you to say things like "I'll upload my uploader", which can be confusing for beginners.
    Other than that, great sound quality, great flow and great content.

    • @pjmclenon
      @pjmclenon Рік тому

      the 1st command--git branch new-- doesnt even work

  • @hadouken99
    @hadouken99 11 місяців тому

    Thank you for this good course

  • @sherlockva
    @sherlockva Рік тому

    Thanks! Very informative.

  • @JasonLayton
    @JasonLayton 2 роки тому

    This tutorial is very helpful!

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov9216 Рік тому

    Thank you, very good tutorial! 💛

  • @therealfreezzz
    @therealfreezzz 3 роки тому

    Just awesome. Thank you so much!

  • @chuck.dev007
    @chuck.dev007 Рік тому

    Simple and concise.

  • @MovvaTapaswipeace
    @MovvaTapaswipeace 3 роки тому

    ISTG, I was checking for it like yesterday!!!!!!

  • @pulok9909
    @pulok9909 3 роки тому +1

    Great tutorial.

  • @Balkac
    @Balkac 3 роки тому

    Very cool explanation!

  • @soheilnazari6731
    @soheilnazari6731 2 роки тому

    Great Video, explained nicely

  • @7s9n
    @7s9n 2 роки тому

    Great tutorial 💛💛

  • @Phas0ruk
    @Phas0ruk 3 роки тому

    Excellent tutorial

  • @Sa-jh5xc
    @Sa-jh5xc 3 роки тому +2

    Please add Polish subtitles in the future, I am learning English along with programming and I admit that sometimes I do not understand what is being said. I really don't know a more valuable channel. Congratulations for your work!

  • @threekingdoms99
    @threekingdoms99 3 роки тому

    very useful, thank you!

  • @VskiDevs
    @VskiDevs 2 роки тому +1

    amazing stuff... but now how do I push a whole folder to a specific branch?

  • @viniciusm.m.7822
    @viniciusm.m.7822 3 роки тому

    Thank you!!!
    God bless!

  • @lindanyang8899
    @lindanyang8899 2 місяці тому

    Beautiful

  • @louielee3583
    @louielee3583 3 роки тому +9

    Link to the cheatsheet mentioned at 32:40
    www.git-tower.com/learn/cheat-sheets/git-branches/

  • @StephenRayner
    @StephenRayner 3 роки тому

    Voting this one down for using tower

  • @teflonhav
    @teflonhav Рік тому

    thank you!

  • @webcodingoprogrammingtips2090
    @webcodingoprogrammingtips2090 3 роки тому +1

    Great video

  • @louismarieatolukoayariga6052
    @louismarieatolukoayariga6052 2 роки тому +1

    Can there be conflicts when merging branches and how do we deal with the conflicts if they may come up?

  • @gabrielguitiánestrella
    @gabrielguitiánestrella 2 роки тому

    Amazing.. thank you so much

  • @esiarbaantwi7271
    @esiarbaantwi7271 3 роки тому

    Thanks for the video.
    Please can you do tutorials on digital marketing.

  • @adeni4359
    @adeni4359 3 роки тому +1

    I love the way he teach. Does he have other tutorial videos on Git?

  • @credoboyofficial
    @credoboyofficial 3 роки тому +1

    Oh git is so fun

  • @lakshmimanne8796
    @lakshmimanne8796 3 роки тому +1

    Mass git tower mass

  • @okidokiyowyow356
    @okidokiyowyow356 3 роки тому

    Thanks.

  • @WorkHorse3002
    @WorkHorse3002 Рік тому

    Continue from 17:24
    Personal bookmark, please ignore

  • @ketchupparty9997
    @ketchupparty9997 3 роки тому

    A course on Three.js please

  • @PatrickIsherwood-k9n
    @PatrickIsherwood-k9n 8 місяців тому

    Use this command "because I'm more comfortable with it". Thanks for the explanation.

  • @thevagabond85yt
    @thevagabond85yt Рік тому

    never knew stephen curry so good at git

  • @jettthecoder1185
    @jettthecoder1185 3 роки тому

    Heck ya

  • @anissiddique9137
    @anissiddique9137 3 роки тому

    Sir plz make a video tutorial on Objective-C plz plz

  • @jimshtepa5423
    @jimshtepa5423 Рік тому

    at 15:04 is git branch --track an alternative to git clone?

  • @karma_yogi_42
    @karma_yogi_42 3 роки тому

    Bless you guys. How can I contribute? Im not a super knowledgeable dev but I can be handy

  • @trotin
    @trotin 3 роки тому

    Merci !

  • @sachinsudaraka6397
    @sachinsudaraka6397 3 роки тому +1

    ❤️🤟

  • @StellarStoic
    @StellarStoic 2 роки тому

    The course is great but never get to manage to get a cheatsheet. Too many clicks and always found myself in the loop. Never get the download link only email with Tower picture and confirm subscription. After confirmation it opens Tweet for the T-shirt and ....well the web is full of cheatsceats anyway so I stoped researching why is this happening.
    thanks tobias for explaining branches

  • @kayax01
    @kayax01 2 роки тому

    Hi, I did some changes on a file locally (It's the only existing file...) but I didn't add it to the git project. Instead I created a new branch and made it active. Then I added the new modifications and commited them. I didn't push it yet to the remote repo. How can I access the unchanged (.pdf) file locally, say with adobe pdf-reader?

  • @bluemodize7718
    @bluemodize7718 3 роки тому

    you are great i like you youtube channel

  • @kayax01
    @kayax01 2 роки тому

    In the pdf file "working with branches in git" it says under publishing branches, that you can't create a branch remotely but instead you have to push the local one. So I did. But in github I couldn't see the new branch until I entered a name (the same one as locally) in a window called: "Find or create a branch". After that I could see the new branch also remotely. What is now correct?

  • @md.iqbalmahamudmoon3012
    @md.iqbalmahamudmoon3012 11 місяців тому

    does anyone have the slides used for this session?

  • @devangprabhune3591
    @devangprabhune3591 3 роки тому +1

    The intro guy so much looks like older gilfoyle

  • @markosmuche4193
    @markosmuche4193 3 роки тому

    what annoyed me is that, you were focusing on introducing the GUI thing. I gave it a thumbs up tho. good quality.

  • @DonWhatever221
    @DonWhatever221 2 роки тому

    If i am in master branch and create a new branch the way it is described here, all the changes that i make on the new branch get automatically pushed to my master branch (and if i want to merge, git says my branch is already up to date). Can anybody explain?

  • @its_kumar
    @its_kumar 3 роки тому

    Any chance to use tower in linux ?

  • @dtisue85
    @dtisue85 2 роки тому

    For some reason I filled out the form 3 times over the last 3 months and can't seem to get the cheatsheet. Is there a way to just download it instead of having the download emailed?

  • @CodingAcct
    @CodingAcct 10 місяців тому

    How to update my git hub repository when i have downloaded a new npm package in my project.

  • @AhsankhanAmu
    @AhsankhanAmu 3 роки тому

    Thank you @freeCodeCamp for awesome tutorial.

  • @VskiDevs
    @VskiDevs 2 роки тому

    wow

  • @abdksentini
    @abdksentini Рік тому

    voila :p

  • @super7ace
    @super7ace Рік тому

    Hello, Im not able to download the cheat sheet.

  • @tarmon768
    @tarmon768 3 роки тому

    Maybe use Git locally so you stop training the Copilot

  • @techtravelspirituality3573
    @techtravelspirituality3573 3 роки тому

    👍

  • @pjmclenon
    @pjmclenon Рік тому

    i did git init and the your command doesn ot even work

  • @sivuyilesifuba
    @sivuyilesifuba Рік тому

  • @rabbanaabdilnakhairminqahr4648

    Ya rabb

  • @shivjyotigarai2141
    @shivjyotigarai2141 Рік тому

    8:50

  • @yoshimitsupunk
    @yoshimitsupunk 2 роки тому

    This video is a bit misleading. It only talks about the practical part of git branches. It didn't talk about what a git branch is and whether it's needed, when to use one, when not to use branches and the title didn't state whether it's for beginners or professionals. But I won't dislike it because it did at least explain how to create branches and work with them. You should change the video title to "How to work with git branches". I was looking for a more in-depth tutorial

  • @sanchalghosh2110
    @sanchalghosh2110 3 роки тому

    Tobias rieper

  • @pjmclenon
    @pjmclenon Рік тому

    hello why did you skip that we have to do git init 1st?

    • @pjmclenon
      @pjmclenon Рік тому

      sorry but from expernice its best to never skip or assume previous steps preamble etc but whaterver

  • @vpundir3024
    @vpundir3024 3 роки тому +3

    Only coders are first viewers

  • @Caldaron
    @Caldaron 2 роки тому +1

    would be nice if the presentator doesn't use a product you'd have to pay for after 30 days. how f-ing ridiculous can one be...

  • @programming7685
    @programming7685 2 роки тому +2

    Says you won't need tower for tutorial. Then immediately starts using tower.

    • @IfeSunmola
      @IfeSunmola 2 роки тому

      Right? I feel like half of the tutorial was in tower

  • @jyrj
    @jyrj 3 роки тому

    Cool😎 first comment

  • @Nimitz_oceo
    @Nimitz_oceo 3 роки тому +13

    While I appreciate your dedication, however you have contradicted yourself. You said you will be doing everything from the cli but you constantly referred to your git UI instead of using the cli, NOT COOL

    • @HighRollersLounge
      @HighRollersLounge 3 роки тому +1

      Because this whole video is actually an elaborate advertisement of tool called Git Tower

    • @liam_iam
      @liam_iam 3 роки тому +9

      ye it's an ad. but he's still performing all the actions from the cli and using the gui as a visual guide, which I think is useful

  • @nalo6310
    @nalo6310 3 роки тому

    QQQQQ

  • @jettthecoder1185
    @jettthecoder1185 3 роки тому

    also FIRST!

  • @artificialcode
    @artificialcode Рік тому

    His name's probably 47, Tobias reaper is just a stage name

  • @vajk7
    @vajk7 2 роки тому

    Presentation was nice, kudos for that, but the ugly marketing gimmick with the "cheat sheet" leaves you with a bad taste after all ...

  • @fredericcasadei7677
    @fredericcasadei7677 4 місяці тому

    Worst tutorial ever. Why ?
    It's a brilliant exhaustive documentation of how git does things. Period.
    But what, in my daily dev ops, shoud require to create a branch, to merge it or not, to push it or not, ...
    Nothing here to help you to link every day dev ops tasks to git commands listed here.
    Useless.

  • @pjmclenon
    @pjmclenon Рік тому

    C:\Users\Main\Desktop
    eact\test_repo2>git init
    Initialized empty Git repository in C:/Users/Main/Desktop/react/test_repo2/.git/
    C:\Users\Main\Desktop
    eact\test_repo2>git branch branch1
    fatal: not a valid object name: 'master'
    C:\Users\Main\Desktop
    eact\test_repo2>

  • @Poopooman690
    @Poopooman690 3 роки тому +1

    Freecodecamp is the best source of learning code fr fr