Git Core Improvements and Contributions
15 Git tips to improve your workflow

15 Git tips to improve your workflow

4/7/2020 · Suri Patel

What this post added

This post details 15 tips to improve Git workflow, including using aliases for common commands, visualizing repository status in the terminal prompt, comparing commits with `git diff` and `git difftool`, stashing uncommitted changes with `git stash`, pulling frequently to avoid conflicts, using completion scripts for command autocompletion, setting up a global `.gitignore` file, enabling Git's autosquash feature by default, deleting local branches that have been removed from the remote on fetch/pull, using `git blame` more efficiently with flags, adding an alias to check out merge requests locally, using `@` as an alias for `HEAD`, resetting files with `git reset --hard HEAD` or `git checkout HEAD -- path/to/file`, utilizing the `git-open` plugin to visit the repository's website, and installing the `git-extras` plugin for additional commands.

Read the original post ↗