Loading tutorials
git init, git add, git commit, and git status in a terminal. It also assumes you know that a repository's working tree is the set of files and directories you see on disk next to the .git directory.3 min read.gitignore file lives, how to create one, and how Git applies it. It assumes you can run git init, git add, git commit, and git status, and that you know what a working tree is. It uses only the pattern syntax shown here. The next chapters cover patterns in deta3 min read.gitignore pattern. It assumes you can run git init, git add, git commit, and git status, and that you know what a repository's working tree is. Anchoring, directory patterns, **, and negation are covered in later chapters.2 min readgit init, git add, git commit, git status) and can move around a terminal. It also assumes you have seen simple patterns such as *.log and .env. Here you will learn how the slash character changes what a pattern matches.3 min readgit init, git add, git commit, and git status, and that you know the basics of .gitignore patterns such as *, directory patterns ending in /, and anchoring with a leading /. Here you will learn how to make exceptions to an ignore rule, and why those e3 min readgit init, git add, git commit, git status) and that you have written a simple .gitignore file. Here you will learn why a new ignore rule sometimes does nothing, and how to fix it.3 min readgit init, git add, git commit, git status) and the pattern basics from earlier chapters: *, ?, trailing / for directories, and anchoring with a leading /. Here you will learn how the double asterisk ** lets one rule match across3 min readgit init, git add, git commit, and git status, and that you know how to write basic patterns, directory patterns, and ! negations. Here you will learn which rule wins when several rules match the same path.2 min readgit init, git add, git commit, git status) and the pattern syntax from earlier chapters: wildcards, directory markers, anchoring, **, and negation. You will learn to find which rule ignores a file, or why a rule you expected to work doe3 min read.gitignore patterns and know the difference between tracked and untracked files. It covers two other places to put ignore rules, so that personal clutter stays out of the shared .gitignore.3 min read.gitignore patterns and know the basic git add, git commit, and git status workflow. Here you will see which files Git is ignoring and how to track one of them anyway.2 min readgit add, git commit, git status) and how .gitignore negation with ! works. The previous chapters covered both.3 min readgit init, git add, git commit, git status) and the .gitignore pattern syntax from earlier chapters. It collects the conventions that experienced teams follow and the mistakes that cause the most trouble.3 min read