git feature branch example

แชร์
ฝัง

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

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

    Great vid and well explained, thanks. Here's a small tip I found the other day: At 7:12 where you push to the branch you're on, an easier method is "git push -u origin HEAD". This always pushes to the current branch, which is really useful for feature branches that have long names (they often include some kind of tag such as FEATURE, a ticket ID, and a description).

  • @darodism
    @darodism 4 ปีที่แล้ว +1

    I dont code for crap.
    Doing solo development for UE4 and well blueprints is a godsend.
    This is helping a lot and I thank you for it. I been browsing, watching a ton of videos and your seem to really help me understand. I am kinda slow at learning/understanding but still worth the wait.
    Thank you.

  • @satyamrai2577
    @satyamrai2577 ปีที่แล้ว

    Thanks for this tutorial CJ. Improved my understanding of the git workflow

  • @SGNxBall3r
    @SGNxBall3r 9 หลายเดือนก่อน

    These videos are very helpful. thank you

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

    Thanks man, amazing in depth explaining..........!

  • @this_minizilla
    @this_minizilla 5 ปีที่แล้ว

    Hey CJ, I have a question in 9:56, you mention that you do squashing commit, how do you do that? Is that responsibility for the maintainer to squash commits if any pull request contains multiple commits? or is it contributor responsibility to make sure squash the commit before create a pull request?

    • @this_minizilla
      @this_minizilla 5 ปีที่แล้ว

      NVM, I just found there is another option to merge a pull request by squashing the commit.

    • @CodingGarden
      @CodingGarden  5 ปีที่แล้ว

      Yeah GitHub has the option to squash commits before merging. I have been on some teams that require the contributor to squash commits before making a pull request though. It is usually not the maintainers responsibility.

  • @海獺雞毛蒜頭
    @海獺雞毛蒜頭 2 ปีที่แล้ว +1

    What is gss and gcs command?

  • @AlexHdz-Alxstein
    @AlexHdz-Alxstein 4 ปีที่แล้ว

    This was a great example, it really helps me to understand the flow. Thanks 🤘🏼

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

    Another great video man. I have a question: What is the tool you use for showing branches? That minima thing?

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

      In this video I'm using bash with a custom prompt that uses the command vcprompt to show the current branch.
      The easiest way to get this yourself is to use ohmyzsh, ohmybash or ohmyposh to get shell customization (including git info) out of the box.

  • @arifluthfi1174
    @arifluthfi1174 3 ปีที่แล้ว

    Crazy helpful! thankyou so much

  • @AshutoshMohanty07
    @AshutoshMohanty07 4 ปีที่แล้ว

    this was so helpful.. thanks a lot man!

  • @p_o_z_e
    @p_o_z_e 5 ปีที่แล้ว

    how can i add so i see the current branch on my own terminal?

    • @lsagar
      @lsagar 4 ปีที่แล้ว

      Poze i use zsh and oh-my-zsh to accomplish that. most themes have that feature

  • @hiccupmaster3572
    @hiccupmaster3572 5 ปีที่แล้ว

    How do you get card numbers on trello?

    • @CodingGarden
      @CodingGarden  5 ปีที่แล้ว

      We are using a power up: trello.com/power-ups/59c3d177178a761767b49278/card-numbers-by-reenhanced

    • @JivanPal
      @JivanPal 5 ปีที่แล้ว

      Alternatively, as a workaround that's free, the Trello card ID suffices, e.g. for a card with URL `trello.com/c/abcDEF12/my-new-feature`, you might call your branch `feature-abcDEF12`.