From the course: Dreamweaver: Working with Git Version Control
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Ignoring files and folders - Dreamweaver Tutorial
From the course: Dreamweaver: Working with Git Version Control
Ignoring files and folders
- [Instructor] Git's role is to track changes to text-based files. It won't actually stop you adding binary files, such as images, Word documents, or PDFs to your repository, but there's no real point doing so because Git is incapable of tracking changes in binary files. To avoid Git constantly reminding you about files and folders that aren't being tracked, you can tell it to ignore them by adding them to .gitignore. Let's start by taking a look at the version of .gitignore that Dreamweaver created for us when we initialized the Git repository. So in the files panel, double-click .gitignore to open it in the document window. It's a text file. The first three lines begin with a hash or pound sign, indicating that they're comments. The first two are the URLs for the official .gitignore documentation, and line three is the URL for some example .gitignore files. You don't need to visit these URLs until you're more experienced with Git, but it's useful to know where to find the…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.