Git aliases
Increase your productivity by creating aliases for many common git operations.
The Git snippet collection contains a variety of short tips and tricks for all currently maintained versions of git. It includes most commonly-used commands and covers various use-cases in the form of simplified documentation, complete with multiple examples.
Increase your productivity by creating aliases for many common git operations.
Git defaults to fast-forward merging when possible. But, what if you want to disable it by default? Let's see how you can do that.
If you want your team to follow a common format for commit messages, you can set up a commit message template to make it easier.
Did you set up a lot of Git aliases and forgot what they are? List them all with this command.
Learn how to eliminate the annoyance of copying dollar signs ($) along with terminal commands from the web with a simple bash alias.
Effortlessly create upstream branches on push by enabling a simple git config setting.
Configure user information for Git to associate commits with a user.
Learn how to configure the text editor used by Git for commit messages and other text editing tasks.
Use the name of the current branch when pushing by default as the name of the remote branch.
Mistyping commands often? Enable Git's autocorrect feature to automatically fix them.
Learn how to open the Git configuration file in the Git text editor, for editing.
If you're working with a team using different operating systems, configuring line endings can help maintain consistency.