Git Branches Tutorial

Поделиться
HTML-код
  • Опубликовано: 21 окт 2024

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

  • @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 года назад +24

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

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

    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 Месяц назад

      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

  • @carlosdm94
    @carlosdm94 3 года назад +15

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

  • @林清昀
    @林清昀 2 года назад +3

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

  • @AlexBurov-wk8my
    @AlexBurov-wk8my Год назад

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

  • @sebiporini
    @sebiporini 3 года назад +3

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

  • @ossahmadrezaazimikohnabi5108
    @ossahmadrezaazimikohnabi5108 3 года назад +87

    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 2 года назад

      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.

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

  • @amyjackson1104
    @amyjackson1104 2 года назад

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

  • @ritheshverma2332
    @ritheshverma2332 3 года назад +12

    Yours videos are really amazing and helpful. Huge respect

  • @burkhartwolff4429
    @burkhartwolff4429 2 года назад +1

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

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

  • @dmitriilobanov3980
    @dmitriilobanov3980 3 года назад +1

    Very comprehensive guide. An excellent teacher

  • @RohitPatnaik7
    @RohitPatnaik7 3 года назад +6

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

  • @rafapioli75
    @rafapioli75 3 года назад +2

    Great explanation! It refreshs my memory like a breeze!

  • @paulaabad8329
    @paulaabad8329 3 года назад

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

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

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

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

  • @matt-g-recovers
    @matt-g-recovers 3 года назад +1

    Extremely practical.
    Thank you for making this.

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

  • @hadouken99
    @hadouken99 9 месяцев назад

    Thank you for this good course

  • @JasonLayton
    @JasonLayton 2 года назад

    This tutorial is very helpful!

  • @johplaysmusic
    @johplaysmusic 2 года назад +1

    This man is Tech Curry

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

    Thank you, very good tutorial! 💛

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

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

    Thanks! Very informative.

  • @chuck.dev007
    @chuck.dev007 Год назад

    Simple and concise.

  • @Balkac
    @Balkac 3 года назад

    Very cool explanation!

  • @soheilnazari6731
    @soheilnazari6731 2 года назад

    Great Video, explained nicely

  • @therealfreezzz
    @therealfreezzz 3 года назад

    Just awesome. Thank you so much!

  • @MovvaTapaswipeace
    @MovvaTapaswipeace 3 года назад

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

  • @pulok9909
    @pulok9909 3 года назад +1

    Great tutorial.

  • @Phas0ruk
    @Phas0ruk 2 года назад

    Excellent tutorial

  • @AmberRathour366
    @AmberRathour366 2 года назад +1

    Thank you!

  • @VskiDevs
    @VskiDevs 2 года назад +1

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

  • @PatrickIsherwood-k9n
    @PatrickIsherwood-k9n 7 месяцев назад

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

  • @threekingdoms99
    @threekingdoms99 3 года назад

    very useful, thank you!

  • @7s9n
    @7s9n 2 года назад

    Great tutorial 💛💛

  • @StephenRayner
    @StephenRayner 3 года назад

    Voting this one down for using tower

  • @adeni4359
    @adeni4359 3 года назад +1

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

  • @esiarbaantwi7271
    @esiarbaantwi7271 3 года назад

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

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

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

  • @darkexior
    @darkexior 2 года назад

    Amazing.. thank you so much

  • @viniciusm.m.7822
    @viniciusm.m.7822 2 года назад

    Thank you!!!
    God bless!

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

  • @webcodingoprogrammingtips2090
    @webcodingoprogrammingtips2090 3 года назад +1

    Great video

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

    Beautiful

  • @ketchupparty9997
    @ketchupparty9997 3 года назад

    A course on Three.js please

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

    thank you!

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

    never knew stephen curry so good at git

  • @credoboyofficial
    @credoboyofficial 3 года назад +1

    Oh git is so fun

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

  • @anissiddique9137
    @anissiddique9137 3 года назад

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

  • @CodingAcct
    @CodingAcct 9 месяцев назад

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

  • @okidokiyowyow356
    @okidokiyowyow356 3 года назад

    Thanks.

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

  • @lakshmimanne8796
    @lakshmimanne8796 3 года назад +1

    Mass git tower mass

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

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

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

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

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

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

    Hello, Im not able to download the cheat sheet.

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

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

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

  • @md.iqbalmahamudmoon3012
    @md.iqbalmahamudmoon3012 9 месяцев назад

    does anyone have the slides used for this session?

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

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

    Continue from 17:24
    Personal bookmark, please ignore

  • @bluemodize7718
    @bluemodize7718 3 года назад

    you are great i like you youtube channel

  • @tarmon768
    @tarmon768 3 года назад

    Maybe use Git locally so you stop training the Copilot

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

  • @devangprabhune3591
    @devangprabhune3591 3 года назад +1

    The intro guy so much looks like older gilfoyle

  • @its_kumar
    @its_kumar 3 года назад

    Any chance to use tower in linux ?

  • @jettthecoder1185
    @jettthecoder1185 3 года назад

    Heck ya

  • @sachinsudaraka6397
    @sachinsudaraka6397 3 года назад +1

    ❤️🤟

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

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

    voila :p

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

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

  • @vpundir3024
    @vpundir3024 3 года назад +3

    Only coders are first viewers

  • @AhsankhanAmu
    @AhsankhanAmu 3 года назад

    Thank you @freeCodeCamp for awesome tutorial.

  • @techtravelspirituality3573
    @techtravelspirituality3573 3 года назад

    👍

  • @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 года назад +8

      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

  • @VskiDevs
    @VskiDevs 2 года назад

    wow

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

  • @rabbanaabdilnakhairminqahr4648

    Ya rabb

  • @jyrj
    @jyrj 3 года назад

    Cool😎 first comment

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

    8:50

  • @sanchalghosh2110
    @sanchalghosh2110 3 года назад

    Tobias rieper

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

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

  • @jettthecoder1185
    @jettthecoder1185 3 года назад

    also FIRST!

  • @trotin
    @trotin 3 года назад

    Merci !

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

    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.

  • @nalo6310
    @nalo6310 3 года назад

    QQQQQ

  • @louielee3583
    @louielee3583 3 года назад +9

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

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

  • @fabrice9848
    @fabrice9848 9 месяцев назад

    Thank you!