Komentáře •

  • @mistymu8154
    @mistymu8154 Před 9 měsíci +12

    Great video. Just a quick aside, by default, VS Code hides the .git folder so needed to add the following to my settings:
    "files.exclude": {
    "**/.git": false
    }

  • @bactran7799
    @bactran7799 Před 9 měsíci +1

    your video is really valuable to me. Thanks a lot

  • @MrUmban
    @MrUmban Před 4 měsíci

    Amazing explanation. Thank you!

  • @jaysharma3504
    @jaysharma3504 Před 10 měsíci +2

    Great video dude! Do post on pre-commit framework when you can. Looking forward to it!

    • @GitGuardian
      @GitGuardian Před 3 měsíci

      Working on the new video now!

  • @mirosawkodzinski9779
    @mirosawkodzinski9779 Před 9 měsíci +1

    Great tutorial., explains a lot.

  • @raypenha2572
    @raypenha2572 Před rokem

    Congratulations for the vídeo

  • @sanjayaelvitigala3086
    @sanjayaelvitigala3086 Před 6 měsíci +1

    nicely explained.

  • @kamyarghanbarpour764
    @kamyarghanbarpour764 Před měsícem +1

    Thanks a lot

  • @test-em3re
    @test-em3re Před měsícem

    will this work on GitHub desktop ?

  • @roboman3418
    @roboman3418 Před 3 měsíci

    thanks!

  • @clusterdriven
    @clusterdriven Před 7 měsíci +1

    Great video. Thank you for this. Me personally, I prefer the approach of creating a wrapper for git, so that i can say:
    commit "message here"
    and it automatically adds everything + does any other checks such as linting or tests before commits. This also provides the benefit of a syntax that fits your needs. But thank you for the content

    • @GitGuardian
      @GitGuardian Před 6 měsíci

      Another good option, perhaps a little more advanced than a git hook. Maybe worth a vedio on this method

    • @clusterdriven
      @clusterdriven Před 6 měsíci

      @@GitGuardian Right. It does not need to be super advanced. In my case, for example, I simply add this to my .bashrc:
      # Automatically stage all, commit, and push in one command
      function commit() {
      if [ -z "$1" ]; then
      echo "Please provide a commit message."
      return 1
      fi
      git add .
      git commit -m "$1"
      push
      }
      the above automatically adds all changes to staging, commits with a given message, and pushes. Of course you can customize it to your needs. But the above is a simple bash function.

    • @clusterdriven
      @clusterdriven Před 6 měsíci

      the "push" is because I also have the following alias:
      # Using push will resolve to git push origin $(current_branch)
      function push() {
      git push origin $(git symbolic-ref --short HEAD)
      }

  • @eswarm1234
    @eswarm1234 Před 3 měsíci

    Please do a video on pre-commit framework

  • @larsvagt1340
    @larsvagt1340 Před 3 měsíci

    Basically cool explanation. Unfortunately I cannot give to my dev team due to the joke. One of the devs is a dad who experience a similar thing at school and it would really hurt him. :(

  • @anshuldishoriya2992
    @anshuldishoriya2992 Před 3 měsíci +1

    nicely explained.