git fetch (--prune) (beginner - intermediate) anthony explains

แชร์
ฝัง
  • เผยแพร่เมื่อ 4 ก.พ. 2025

ความคิดเห็น • 14

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

    I couldn't understand this for an entire day until I watched it and it was clear as day. Thank you!

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

    man, your content is massively underrated ! i cannot believe your "antony explains" videos have sub 1k views. Please carry on !

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

    Thank you, clear explanation. You helped me :)

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

    branch avenue - is by Andrews

  • @rap-code9484
    @rap-code9484 3 ปีที่แล้ว +1

    nice content really helped me

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

    Thanks for this one!

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

    So feature1, still exists locally and it is impossible to delete the local file with prune command.

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

      I use `git branch --merged origin/HEAD` and then prune local branches using that -- github.com/asottile/scratch/blob/master/python/prune-remote-branches

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

    good explanation , could you also pls explain --prune-tags, does it work similary?

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

      --prune-tags is more risky, as tags only have one namespace (unlike branches) - it will delete local tags:
      -P, --prune-tags
      Before fetching, remove any local tags that no longer exist on the
      remote if --prune is enabled. This option should be used more
      carefully, unlike --prune it will remove any local references
      (local tags) that have been created. This option is a shorthand for
      providing the explicit tag refspec along with --prune, see the
      discussion about that in its documentation.

  • @rap-code9484
    @rap-code9484 3 ปีที่แล้ว +1

    what is that CLI you can draw stuff on?

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

      oh, that's my text editor babi! github.com/asottile/babi

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

    Have you ever made any online courses? I'd happily pay good money for them!

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

      I haven't yet! mostly just building youtube and twitch content at the moment but I'll consider it!