Automate Git upstream branch creation
Effortlessly create upstream branches on push by enabling a simple git config setting.
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.
Effortlessly create upstream branches on push by enabling a simple git config setting.
Displays a list of all stashes.
Moves local commits from the master
branch to a new branch.
Ever needed to create a git commit with a different date? Here's a quick and easy way to do it.
Deletes all detached branches.
Manually or automatically find which commit in history introduced a bug using.
Resets the local master
branch to match the one on the remote.
Clones missing submodules and checks out commits.
Deletes a remote branch.
Fetches the latest changes from the remote.
Performs an interactive rebase.
Saves the current state of the working directory and index into a new stash.
Learn how to effortlessly amend the last commit's message or contents using Git and fix any mistakes you might have made.
Prints the last commit.
Prints the current status of the working tree.
Clones an existing repository, creating a local copy of it.
Prints a list of all git aliases.
Applies the changes introduced by one or more commits.
Use the name of the current branch when pushing by default as the name of the remote branch.
Displays the URL of the remote repository.
Sets up a commit message template for the current repository.
Configures user information for git.
Prints the current branch name.
Learn how to add multiple authors to a git commit with this quick and easy tip.