Git Forking & Fetch: How to Keep your Fork in Sync with an Upstream Repository

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

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

  • @MrUmang40
    @MrUmang40 3 дня назад

    This is so helpful that you made my day. I wish I could have someone like you near me all the time ...
    Please always keep us in touch with us via this channel ❤❤

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

    Excellent explanation. I got all I needed and more. Ready for FORK now 🙂

  • @anthonyudeagbala8558
    @anthonyudeagbala8558 2 года назад +5

    I keep coming back to this video. This is a wonderful resource.

  • @pr1ncefluffymusic
    @pr1ncefluffymusic 4 года назад +1

    Thank you so much for this video. I'm new to using all this desktop git stuff and this was a major hurdle.

  • @ahmedabdelmeguid1131
    @ahmedabdelmeguid1131 5 месяцев назад +4

    Your explanation is deeply in details... You are perfect

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

    Thank you so much. This video really helped me

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

    Thanks a lot. I was searching for this from a very long time. Thank you.

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

    Thanks a lot for this Gwen...Was looking for exactly this..Great video :)

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

    Thank you - these videos are GREAT

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

    very nicely explained ..please keep posted on some more videos on git or some other topics as well

  • @girijanandankar9741
    @girijanandankar9741 4 года назад

    Thanks Ma'am for clearing my concepts

  •  Год назад

    Nice explanation

  • @dongiovanni1993
    @dongiovanni1993 8 месяцев назад +2

    Very comprehensive and solid. Subscribed. Thank you.

  • @OtRatsaphong
    @OtRatsaphong 4 года назад +4

    Thanks for this video, Gwen. This is really helping me come up to speed with Git and GitHub usage.

  • @JavierPortillo1
    @JavierPortillo1 8 месяцев назад +1

    Thank you!

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

    Very good explanation, thanks!

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

    Excellent, thanks.

  • @Uthmannie
    @Uthmannie 3 года назад +4

    Thank you. Was looking for this exact issue for the longest time, and you demonstrated it so well.

  • @dhruvsharma897
    @dhruvsharma897 4 года назад +3

    Thanks a lot. This video was really helpful!
    i just had one branch -> master. So i ran the command:
    git merge upstream/master origin/master

  • @iamafasha
    @iamafasha 4 года назад +3

    I was wondering why it was so long until I figured out. I knew nothing. Great Video

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

    Thank you!

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

    Thanks a lot. well explained.

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

    Exactly what I was looking for. Thank you so much, Gwen!

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

    Thank you, mam...this is very helpful....

  • @sloshy1840
    @sloshy1840 4 года назад

    Great video!!🤩

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

    This video was really helpful to me. It makes me want to take your git course but can't find it on your website. Do you have a link?

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

    Thanks. Would love to see a version for how to do this in VS Code, with the visual interface.

  • @infodiff
    @infodiff 3 месяца назад

    Subscribed, liked, bookmarked too. Very informative video.

  • @Patorik1899
    @Patorik1899 11 месяцев назад +1

    Straightforward and well explained content. Thank you for the tutorial!

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

    How could you have two master. You did not show checking out upstream/master in the video. Did I miss something?

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

    Thank you!

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

    Excellent! Very common case scenario for someone entering an external project for the first time

  • @eternaldoorman5228
    @eternaldoorman5228 8 месяцев назад

    Your freecodecamp video is really great. Thank you!

  • @lordswaggity1213
    @lordswaggity1213 4 года назад +1

    How to make sure your code doesn't get forked by staying behind master for too long 😛

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

    What about rebase instead of merge?

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

    Thanks

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

    Does this command "git checkout -b newbranch remotebranch" i.e creating a local copy of an existing branch is that same as forking?

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

    you r honest.

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

    What about merge errors?

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

    Advice: stick with the title of the video and avoid diversions ! End of the video got confusing !

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

    Thank you very much...

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

    Thank you.. helped a lot... 👍

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

    Perfect explanation! Thank you!

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

    Great video, if i have to pull tags from upstream how can i do it?

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

    exactly what I was looking for amidst plenty articles showing examples only using 'main' or 'master'.

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

    What is dev? I dont see anything in my machine, what is it stands for?

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

    Is it better to rebase or merge the changes from the upstream?

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

    Amazing..

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

    That was very helpful, Thanks

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

    Thank you for this video!!

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

    Thank you for for th video! I also loved your freecodecamp video!
    Quick question: Once I fork a project to work on it, should I create a branch for it or work in the main/master branch of the fork?

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

      In ideal case, you create a branch, make changes then merge and commit to main branch.

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

    error: Merging is not possible because you have unmerged files.
    hint: Fix them up in the work tree, and then use 'git add/rm '
    hint: as appropriate to mark resolution and make a commit.
    fatal: Exiting because of an unresolved conflict.
    I get this error after git merge upstream/master

  • @511cvxzlugynskii3
    @511cvxzlugynskii3 3 года назад

    We want your hairs back.

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

    Awesome! Thank you!

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

    Must have never seen a real spoon ha

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

    What if I want to fork a project for the sake of making edits to have a variant of the project. I want to remain synced with the main project but maintain my edits.

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

    In this we have to merge each branch seperately.....Is there a way to merege all branch of upstream to respective brances of origin

  • @davidgwyer5169
    @davidgwyer5169 4 года назад

    Is there a way to merge commits from the upstream repo which doesn't result in pushing the forked repos commits ahead of the original? i.e. After merging can we have the forked repo 'even' with the original? Or does it really not matter?

  • @eric.m5790
    @eric.m5790 3 года назад

    good video about git

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

    can you please put the commands whatever executed in this video in the description

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

    Thank you!!!!

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

    Thank you!

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

    Thank you for this video! Exactly what I am looking for!

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

    This video does not have enough likes!! Perfectly explained. Thank you for the content😁

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

    Thank you so much..exactly what i was looking for..

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

    can we use git pull instead of git merge to get the change from master to feature branch?

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

    well, I tried many times until I could, it's a little bit hard

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

    Thank you, very helpful and kept things simple

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

    Perfect ,very good . Thank You so much !!!

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

    Great teacher ! and great video....I went over a lot of git videos this is one of the best !

  • @puranjanprithu6337
    @puranjanprithu6337 4 года назад

    Hey it says upstream/dev -not something we can merge

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

    You made it simple and precise..kudos

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

    Thank you Gwen! Brilliant as always :)

  • @iamafasha
    @iamafasha 4 года назад

    How do you contribute to another project without necessarily having access to the repo?

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

      You set up your fork (and sync your fork as in this video), then create a branch with changes (commits). After pushing to origin (your fork), view it in github (your fork) and you'll see the option to create a "pull request". The changes remain in your fork, but the pull request is a thing which shows up on the github displays of the upstream repo, where project maintainers can discuss it with you and decide whether to merge it, or they might ask you to change it. The code commits are still in your fork, so you're in control of the process of tweaking it and getting it in shape ready to merge.

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

    Thank you. Really useful and beautifully demonstrated

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

    I saw you in freecode, your tutorials are really helpful

  • @gustavodanielpalmaestrada6614
    @gustavodanielpalmaestrada6614 4 года назад

    Hi, could you made a video about creating ssh keygen and add it to git hub? Thank you!

    • @FaradayAcademy
      @FaradayAcademy  4 года назад

      I include that in my Git video on freeCodeCamp. Did you see it there?

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

    Thanks a lot, much needed!!

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

    thank you so much i was struggling just now lol until I found u

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

    Great video! More clear now!

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

    great. On-the-point content.

  • @vipinfarswan6555
    @vipinfarswan6555 4 года назад

    As always amazing video

  • @erinclaudio9211
    @erinclaudio9211 4 года назад

    Thank you !!!!!!!

  • @vibekdutta6539
    @vibekdutta6539 4 года назад

    I really needed this, thanks

  • @michael2045
    @michael2045 4 года назад

    After git fetch upstream master, why don't you just do " git pull upstream master" instead?

    • @FaradayAcademy
      @FaradayAcademy  4 года назад +1

      Pull just fetches and merges. I usually pull when I'm working with one repo and fetch when I need to update a forked repo. That way I can fetch changes and see the diff before I merge.

    • @michael2045
      @michael2045 4 года назад

      @@FaradayAcademy makes sense. Thx

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

    what the fuk is dev