How to Create Branches and Merge Changes | Git & Source Control #6

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

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

  • @Destructablecake
    @Destructablecake 4 месяца назад +1

    Clear and concise as always.
    Good overview 👍

  • @worldwidetraveler3730
    @worldwidetraveler3730 4 месяца назад

    Great stuff! I like the insights on how teams work with it !

  • @Aymen_Raeed
    @Aymen_Raeed 4 месяца назад

    Wow thanks nick this is so helpful

  • @saikrishnapatha4386
    @saikrishnapatha4386 4 месяца назад +1

    Let's say example A is the main branch, B branch is created from A C is created from B and D is created from C
    So how to know parent branches for which branch is the parent branch?
    Anyone, please let me know

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

      git log --pretty=format:"%H %P" -n 1
      This command will show the commit hash (%H) and its parent commit hashes (%P). If the branch has multiple parents there will be multiple parent hashes.
      then
      git branch --contains
      I hope it answers your questions.

  • @georgeikwegbu5284
    @georgeikwegbu5284 4 месяца назад +1

    First to commeeeent ❤❤❤❤🎉🎉🎉🎉

    • @georgeikwegbu5284
      @georgeikwegbu5284 4 месяца назад

      I love all your videos Nick, they've literally taken me by hand and walking me through my ios journey.