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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  • @dongiovanni1993
    @dongiovanni1993 9 месяцев назад +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.

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

    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 ❤❤

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Your freecodecamp video is really great. Thank you!

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

    Subscribed, liked, bookmarked too. Very informative video.

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

    You made it simple and precise..kudos

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

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

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

    I saw you in freecode, your tutorials are really helpful

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

    Thank you Gwen! Brilliant as always :)

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

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

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

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

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

    Perfect explanation! Thank you!

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

    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?

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

    Thanks Ma'am for clearing my concepts

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

    Thank you. Really useful and beautifully demonstrated

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

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

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

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

    Thank you so much. This video really helped me

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

    Thank you, very helpful and kept things simple

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

    Thank you - these videos are GREAT

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

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

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

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

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

    Thank you.. helped a lot... 👍

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

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

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

    great. On-the-point content.

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

    Thank you for this video!!

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

    Very good explanation, thanks!

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

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

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

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

    Thanks a lot, much needed!!

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

    I really needed this, thanks

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

    Great video! More clear now!

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

    That was very helpful, Thanks

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

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

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

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

    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.

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

    As always amazing video

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

    Awesome! Thank you!

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

    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

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

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

  •  Год назад

    Nice explanation

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

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

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

    Thanks a lot. well explained.

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

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

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

    Excellent, thanks.

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

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

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

    Great video!!🤩

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

    What about rebase instead of merge?

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

    you r honest.

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

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

    Thank you!

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

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

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

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

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

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

    Thanks

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

    Thank you very much...

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

    good video about git

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

    What about merge errors?

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

    Thank you !!!!!!!

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

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

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

    Amazing..

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

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

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

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

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

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

    We want your hairs back.

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

    Must have never seen a real spoon ha

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

    what the fuk is dev

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

    Thank you!

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

    Thank you!!!!

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

    Thank you!

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

    Thank you!