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.
Prints a list of all local branches sorted by date.
Git, Repository · Apr 13, 2021
Learn how to view your "undo" history using git reflog and reset your repository to a previous state.
Git, Repository · May 21, 2023
Learn how to merge a branch in Git with or without creating a merge commit, depending on your team's workflow.
Git, Repository · May 26, 2023
Prints a summary of changes between two given commits.
Git, Repository · Apr 13, 2021
Prints a visual graph of all commits and branches in the repository.
Git, Repository · Apr 13, 2021
Prints all commits in the specified date range.
Git, Repository · Apr 13, 2021
Disables the default fast forwarding on merge commits.
Git, Configuration · Jul 3, 2021
Pushes the current branch's changes to the remote.
Git, Repository · Apr 13, 2021
Learn how to view a short summary of your Git commits using git log.
Git, Repository · May 23, 2023