© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2024
M. TsitoaraBeginning Git and GitHubhttps://doi.org/10.1007/979-8-8688-0215-7_4

4. Diving into Git

Mariot Tsitoara1  
(1)
Antananarivo, Madagascar
 

Now that you are familiar with the basic commands of Git, it’s time to dive deeper into its other features.

Ignoring Files

Not everything in the working directory should be tracked by Git. Certain files (configs, passwords, bad code) are generally left untracked by authors or developers. The files (or directories) to be ignored should be listed in a simple file named .gitignore. Note that the proceeding period in the name is important.

Let’s return to the previous chapter’s repository, the to-do list. Let’s imagine that ...

Get Beginning Git and GitHub: Version Control, Project Management and Teamwork for the New Developer now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.