Ignore files that have already been committed to a Git repository
121289
How to make Git "forget" about a file that was tracked but is now in .gitignore?
122314
How to undo "git commit --amend" done instead of "git commit"
109036
Force "git push" to overwrite remote files
92403
How to ignore certain files in Git
97248
Make .gitignore ignore everything except a few files
94501
How do I reduce the size of a bloated Git repo by non-interactively squashing all commits except for the most recent ones?
43454
cp command to exclude certain files from being copied
91394
Checking for a dirty index or untracked files with Git
15543
git merge: Removing files I want to keep!
90593
How do I compare two git repositories?
153352
What's the simplest way to list conflicted files in Git?
125970
How to revert multiple git commits?
130317
Mercurial (hg) commit only certain files
54144
How to clone a specific version of a git repository?
127381
Ignoring directories in Git repositories on Windows
21405
How to remove local (untracked) files from the current Git working tree
68159
Is there a way to make Git mark a file as conflicted?