6 Most Confusing GIT Commands 👇

Поділитися
Вставка
  • Опубліковано 8 вер 2024
  • 6 Most Confusing GIT Commands 👇
    Simplified and concise illustration of commands for better understanding
    𝟭. 𝗴𝗶𝘁 𝗺𝗲𝗿𝗴𝗲 𝘃𝘀 𝗴𝗶𝘁 𝗿𝗲𝗯𝗮𝘀𝗲:
    - 𝘨𝘪𝘵 𝘮𝘦𝘳𝘨𝘦 combines branch changes with new merge commits
    - 𝘨𝘪𝘵 𝘳𝘦𝘣𝘢𝘴𝘦 moves branch changes on top, creating a linear history
    𝟮. 𝗴𝗶𝘁 𝗿𝗲𝘀𝗲𝘁 𝘃𝘀 𝗴𝗶𝘁 𝗿𝗲𝘃𝗲𝗿𝘁:
    - 𝘨𝘪𝘵 𝘳𝘦𝘴𝘦𝘵 undoes changes and moves the branch pointer, discarding subsequent commits
    - 𝘨𝘪𝘵 𝘳𝘦𝘷𝘦𝘳𝘵 creates new undo commits, preserving history
    𝟯. 𝗴𝗶𝘁 𝗳𝗲𝘁𝗰𝗵 𝘃𝘀 𝗴𝗶𝘁 𝗽𝘂𝗹𝗹:
    - 𝘨𝘪𝘵 𝘧𝘦𝘵𝘤𝘩 downloads remote changes without auto-merging
    - 𝘨𝘪𝘵 𝘱𝘶𝘭𝘭 fetches and auto-merges remote changes
    In short,
    git pull = git fetch + git merge
    -
    DevOps is the most happening and integral part of almost all organizations.
    💻We've simplified complex learning into interactive courses for your success. Check out our DevOps courses: bit.ly/DevOpsL...
    🔁 Consider a Repost if this is useful
    #git #devops #gitcommands #shorts #kodekloud

КОМЕНТАРІ • 3

  • @KodeKloud
    @KodeKloud  7 місяців тому

    💻We've simplified complex learning into interactive courses for your success. Check out our DevOps courses: bit.ly/DevOpsLearningPath-YT

    • @NakulSharma010
      @NakulSharma010 7 місяців тому +2

      plz reply I think U didn't cover everything in ur devops course it's only show off because ur devops preface show 350hr course but in course only70-90 hr course video available.
      what it scam with students

    • @user-wb1cu7qu9r
      @user-wb1cu7qu9r 5 місяців тому

      @@NakulSharma010did you taken any course