git
Distributed version control system. Some subcommands such ascommit
,add
,branch
,checkout
,push
, etc. have their own usage documentation, accessible viatldr git subcommand
. More information: https://git-scm.com/.
- Check the Git version:
git --version
- Show general help:
git --help
- Show help on a Git subcommand (like
clone
,add
,push
,log
, etc.):git help {{subcommand}}
- Execute a Git subcommand:
git {{subcommand}}
- Execute a Git subcommand on a custom repository root path:
git -C {{path/to/repo}} {{subcommand}}
- Execute a Git subcommand with a given configuration set:
git -c '{{config.key}}={{value}}' {{subcommand}}
This is a tldr pages (source, CC BY 4.0) web wrapper for cheat-sheets.org. All commands, popular commands, most used linux commands. Referrals. Progressive Web Application (PWA) version to install on your device.