Learning Git - How to use the gitignore file

Поделиться
HTML-код
  • Опубликовано: 8 июл 2024
  • In this video I explain what the gitignore file is and the basics on how to create and use the gitignore file.
    Join our Discord Community of DevOps Engineers:
    👨‍💻 / discord
    We discuss DevOps, Linux, Homelabs, Industry Tests and how to get a Job in DevOps.
    0:00 What is gitignore
    0:35 Checking your tracked files
    1:40 Creating the gitignore file
    2:15 Adding Directories to gitignore
    3:40 Testing our gitignore file by pushing the latest commit
    3:52 Forcing a file to be tracked
    4:58 Removing a file from being tracked
  • НаукаНаука

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

  • @sowjanyagam3099
    @sowjanyagam3099 11 месяцев назад

    I've been following your Docker, Kubernetes, Git, Jenkins etc. videos and in just few weeks I've gained so much clarity and expertise that I couldn't since last 1 year of my learning from other channels and documentations. Thank you so much! But my suggestion is to see why your videos are not ranking on the top of the search in RUclips while other youtubers, whose content is not that clear, does come up.
    For example, I searched for 'git devops journey' to come back to one of your videos but even though the words typed are a perfect match, and I was expecting to it to be listed on the top, I had to scroll down a lot to find your video.

  • @marimuthur9456
    @marimuthur9456 2 года назад +1

    Marvelous explanation thank you so much 😊👌🏼👌🏼👌🏼👌🏼

  • @johnmichaelcanero2210
    @johnmichaelcanero2210 2 года назад +2

    Thank you for this! From the Philippines!

  • @Gamerssassin
    @Gamerssassin 2 года назад +1

    Great video. Thanks!

  • @DevOpsJourney
    @DevOpsJourney  3 года назад +1

    Thank you everyone for subscribing!

  • @Chni-3andk
    @Chni-3andk 2 года назад

    Thank you bro!

  • @danielezekiel2410
    @danielezekiel2410 2 месяца назад

    Thank you 🙏🏿

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

    I am like 3 days worth of 15 minute knowledge new to this. I hastily looked for this after trying to get my desktop app to stop reading shortcut files and copying Program Files level folders to the repo. They kept sitting in the queue and while I was looking for a way to deselect all the files, I hit "disgard changes" somewhere and it started moving all my game project files to recycling! Using Git is like the programmer's equivalent of handling a loaded gun and it's worse because it's not apparent to novice programmers.

  • @super20187
    @super20187 Год назад +1

    what is the use of .gitignore file if you push itself to github !?

    • @DevOpsJourney
      @DevOpsJourney  Год назад

      Hey there. It's so you dont push any artifacts/garbage that gets generated by your code. Common for a team to share a gitignore file that helps keep the repository clean