git-identity-manager
Git identity manager. It allows you to switch between git identities for user, name, and SSH private key used for authoring and publishing git commits.
File Explorer
- .travis.yml
- CHANGELOG.md
- git-idm
- LICENSE.txt
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
brew install
View Details ▼
brew install
Install a Homebrew formula or cask.
brew install {{formula|cask}}
Install a formula/cask:
brew install {{[-s|--build-from-source]}} {{formula}}
Build and install a formula from source (dependencies will still be installed from bottles):
brew install {{[-n|--dry-run]}} {{formula|cask}}
Download the manifest, print what would be installed but don't actually install anything:
brew uninstall
View Details ▼
brew uninstall
Uninstall a Homebrew formula/cask.
Use `brew autoremove` to remove unused dependencies afterwards.
brew {{[rm|uninstall]}} {{formula|cask}}
Uninstall a formula/cask:
brew {{[rm|uninstall]}} --zap {{cask}}
Uninstall a cask and remove all associated files:
brew
View Details ▼
brew
Homebrew - a package manager for macOS and Linux.
Some subcommands such as `install` have their own usage documentation.
brew install {{formula|cask}}
Install the latest stable version of a formula or cask:
brew list
List all installed formulae and casks:
brew upgrade {{formula|cask}}
Upgrade an installed formula or cask (if none is given, all installed formulae/casks are upgraded):
git config
View Details ▼
git config
Manage custom configuration options for Git repositories.
These configurations can be local (for the current repository) or global (for the current user).
git config --global {{user.name|user.email}} "{{Your Name|[email protected]}}"
Globally set your name or email (this information is required to commit to a repository and will be included in all commits):
git config --{{local|global|system}} {{[-l|--list]}} --show-origin
List local, global, or system configuration entries and show their file location:
git config --global {{alias.unstage}} "reset HEAD --"
Set the global value of a given configuration entry (in this case an alias):
git init
View Details ▼
git init
Initialize a new local Git repository.
git init
Initialize a new local repository:
git init {{[-b|--initial-branch]}} {{branch_name}}
Initialize a repository with the specified name for the initial branch:
git init --object-format sha256
Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):
git
View Details ▼
git
Distributed version control system.
Some subcommands such as `commit`, `add`, `branch`, `switch`, `push`, etc. have their own usage documentation.
git init
Create an empty Git repository:
git clone {{https://example.com/repo.git}}
Clone a remote Git repository from the internet:
git status
View the status of the local repository:
