Our first reader submitted tip comes from Dav Glass, and it elaborates on a command used to keep your repository nice and tidy.
Cleaning up untracked files
Stashing your changes
Stashing is a fantastic way to temporarily set aside your current work and return to it later. Imagine you’re developing a new feature and suddenly need to fix a critical bug.
Ignoring doesn’t remove a file
One common source of confusion among Git beginners is the misconception that adding a file to the .gitignore file will erase it from the repository’s history.
Push and delete remote branches
Pushing and deleting remote branches are common actions that many Git users need to perform regularly. However, some users may forget how to do so or simply not know the process.
Ignoring files
We don’t always want Git to track everything in our projects, whether it’s compiled source code, files containing passwords, or temporary files created by editors.