rename git to Git
This commit is contained in:

committed by
Starbeamrainbowlabs

parent
2ec5fb9d50
commit
eef3712fc3
@@ -24,6 +24,6 @@
|
||||
|
||||
`atom --foreground`
|
||||
|
||||
- Wait for Atom window to close before returning (useful for git commit editor):
|
||||
- Wait for Atom window to close before returning (useful for Git commit editor):
|
||||
|
||||
`atom --wait`
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# bup
|
||||
|
||||
> Backup system based on the git packfile format, providing incremental saves and global deduplication.
|
||||
> Backup system based on the Git packfile format, providing incremental saves and global deduplication.
|
||||
> More information: <https://github.com/bup/bup>.
|
||||
|
||||
- Initialize a backup repository in the specified local directory:
|
||||
|
@@ -23,7 +23,7 @@
|
||||
|
||||
`chezmoi -v apply`
|
||||
|
||||
- Set chezmoi up on another machine by downloading existing dotfiles from a git repo:
|
||||
- Set chezmoi up on another machine by downloading existing dotfiles from a Git repo:
|
||||
|
||||
`chezmoi init {{https://example.com/path/to/repository.git}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# delta
|
||||
|
||||
> A viewer for git and diff output.
|
||||
> A viewer for Git and diff output.
|
||||
> More information: <https://github.com/dandavison/delta>.
|
||||
|
||||
- Compare files or directories:
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`delta --side-by-side {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
- Compare files or directories, ignoring any git configuration settings:
|
||||
- Compare files or directories, ignoring any Git configuration settings:
|
||||
|
||||
`delta --no-gitconfig {{path/to/old_file_or_directory}} {{path/to/new_file_or_directory}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git annex
|
||||
|
||||
> Manage files with git, without checking their contents in.
|
||||
> Manage files with Git, without checking their contents in.
|
||||
> When a file is annexed, its content is moved into a key-value store, and a symlink is made that points to the content.
|
||||
> More information: <https://git-annex.branchable.com>.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
`git annex help`
|
||||
|
||||
- Initialize a repo with git annex:
|
||||
- Initialize a repo with Git annex:
|
||||
|
||||
`git annex init`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git branch
|
||||
|
||||
> Main git command for working with branches.
|
||||
> Main Git command for working with branches.
|
||||
> More information: <https://git-scm.com/docs/git-branch>.
|
||||
|
||||
- List local branches. The current branch is highlighted by `*`:
|
||||
|
@@ -1,16 +1,16 @@
|
||||
# git cat-file
|
||||
|
||||
> Provide content or type and size information for git repository objects.
|
||||
> Provide content or type and size information for Git repository objects.
|
||||
> More information: <https://git-scm.com/docs/git-cat-file>.
|
||||
|
||||
- Get the [s]ize of the HEAD commit in bytes:
|
||||
|
||||
`git cat-file -s HEAD`
|
||||
|
||||
- Get the [t]ype (blob, tree, commit, tag) of a given git object:
|
||||
- Get the [t]ype (blob, tree, commit, tag) of a given Git object:
|
||||
|
||||
`git cat-file -t {{8c442dc3}}`
|
||||
|
||||
- Pretty-[p]rint the contents of a given git object based on its type:
|
||||
- Pretty-[p]rint the contents of a given Git object based on its type:
|
||||
|
||||
`git cat-file -p {{HEAD~2}}`
|
||||
|
@@ -3,11 +3,11 @@
|
||||
> Remove untracked files from the working tree.
|
||||
> More information: <https://git-scm.com/docs/git-clean>.
|
||||
|
||||
- Delete files that are not tracked by git:
|
||||
- Delete files that are not tracked by Git:
|
||||
|
||||
`git clean`
|
||||
|
||||
- Interactively delete files that are not tracked by git:
|
||||
- Interactively delete files that are not tracked by Git:
|
||||
|
||||
`git clean -i`
|
||||
|
||||
@@ -15,11 +15,11 @@
|
||||
|
||||
`git clean --dry-run`
|
||||
|
||||
- Forcefully delete files that are not tracked by git:
|
||||
- Forcefully delete files that are not tracked by Git:
|
||||
|
||||
`git clean -f`
|
||||
|
||||
- Forcefully delete directories that are not tracked by git:
|
||||
- Forcefully delete directories that are not tracked by Git:
|
||||
|
||||
`git clean -fd`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git config
|
||||
|
||||
> Manage custom configuration options for git repositories.
|
||||
> Manage custom configuration options for Git repositories.
|
||||
> These configurations can be local (for the current repository) or global (for the current user).
|
||||
> More information: <https://git-scm.com/docs/git-config>.
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
|
||||
`git config --global --unset alias.unstage`
|
||||
|
||||
- Edit the git configuration for the current repository in the default editor:
|
||||
- Edit the Git configuration for the current repository in the default editor:
|
||||
|
||||
`git config --edit`
|
||||
|
||||
- Edit the global git configuration in the default editor:
|
||||
- Edit the global Git configuration in the default editor:
|
||||
|
||||
`git config --global --edit`
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
`git describe --all`
|
||||
|
||||
- Describe a git tag:
|
||||
- Describe a Git tag:
|
||||
|
||||
`git describe {{v1.0.0}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> A collection of Git extensions to provide high-level repository operations.
|
||||
> More information: <https://github.com/nvie/gitflow>.
|
||||
|
||||
- Initialize it inside an existing git repository:
|
||||
- Initialize it inside an existing Git repository:
|
||||
|
||||
`git flow init`
|
||||
|
||||
|
@@ -1,17 +1,17 @@
|
||||
# git help
|
||||
|
||||
> Display help information about git.
|
||||
> Display help information about Git.
|
||||
> More information: <https://git-scm.com/docs/git-help>.
|
||||
|
||||
- Display help about a specific git subcommand:
|
||||
- Display help about a specific Git subcommand:
|
||||
|
||||
`git help {{subcommand}}`
|
||||
|
||||
- Display help about a specific git subcommand in a web browser:
|
||||
- Display help about a specific Git subcommand in a web browser:
|
||||
|
||||
`git help --web {{subcommand}}`
|
||||
|
||||
- Display a list of all available git subcommands:
|
||||
- Display a list of all available Git subcommands:
|
||||
|
||||
`git help --all`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git-imerge
|
||||
|
||||
> Perform a merge or rebase between two git branches incrementally.
|
||||
> Perform a merge or rebase between two Git branches incrementally.
|
||||
> Conflicts between branches are tracked down to pairs of individual commits, to simplify conflict resolution.
|
||||
> More information: <https://github.com/mhagger/git-imerge>.
|
||||
|
||||
|
@@ -7,7 +7,7 @@
|
||||
|
||||
`git init`
|
||||
|
||||
- Initialize a repository using SHA256 for object hashes (requires git version 2.29+):
|
||||
- Initialize a repository using SHA256 for object hashes (requires Git version 2.29+):
|
||||
|
||||
`git init --object-format={{sha256}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Show a history of commits.
|
||||
> More information: <https://git-scm.com/docs/git-log>.
|
||||
|
||||
- Show the sequence of commits starting from the current one, in reverse chronological order of the git repository in the current working directory:
|
||||
- Show the sequence of commits starting from the current one, in reverse chronological order of the Git repository in the current working directory:
|
||||
|
||||
`git log`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git mv
|
||||
|
||||
> Move or rename files and update the git index.
|
||||
> Move or rename files and update the Git index.
|
||||
> More information: <https://git-scm.com/docs/git-mv>.
|
||||
|
||||
- Move file inside the repo and add the movement to the next commit:
|
||||
|
@@ -1,10 +1,10 @@
|
||||
# git prune
|
||||
|
||||
> Git command for pruning all unreachable objects from the object database.
|
||||
> This command is often not used directly but as an internal command that is used by git gc.
|
||||
> This command is often not used directly but as an internal command that is used by Git gc.
|
||||
> More information: <https://git-scm.com/docs/git-prune>.
|
||||
|
||||
- Report what would be removed by git prune without removing it:
|
||||
- Report what would be removed by Git prune without removing it:
|
||||
|
||||
`git prune --dry-run`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git repack
|
||||
|
||||
> Pack unpacked objects in a git repository.
|
||||
> Pack unpacked objects in a Git repository.
|
||||
> More information: <https://git-scm.com/docs/git-repack>.
|
||||
|
||||
- Pack unpacked objects in the current directory:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git reset
|
||||
|
||||
> Undo commits or unstage changes, by resetting the current git HEAD to the specified state.
|
||||
> Undo commits or unstage changes, by resetting the current Git HEAD to the specified state.
|
||||
> If a path is passed, it works as "unstage"; if a commit hash or branch is passed, it works as "uncommit".
|
||||
> More information: <https://git-scm.com/docs/git-reset>.
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git restore
|
||||
|
||||
> Restore working tree files. Requires git version 2.23+.
|
||||
> Restore working tree files. Requires Git version 2.23+.
|
||||
> See also `git checkout` and `git reset`.
|
||||
> More information: <https://git-scm.com/docs/git-restore/>.
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git show
|
||||
|
||||
> Show various types of git objects (commits, tags, etc.).
|
||||
> Show various types of Git objects (commits, tags, etc.).
|
||||
> More information: <https://git-scm.com/docs/git-show>.
|
||||
|
||||
- Show information about the latest commit (hash, message, changes, and other metadata):
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git status
|
||||
|
||||
> Show the changes to files in a git repository.
|
||||
> Show the changes to files in a Git repository.
|
||||
> Lists changed, added and deleted files compared to the currently checked-out commit.
|
||||
> More information: <https://git-scm.com/docs/git-status>.
|
||||
|
||||
|
@@ -7,11 +7,11 @@
|
||||
|
||||
`git submodule update --init --recursive`
|
||||
|
||||
- Add a git repository as a submodule:
|
||||
- Add a Git repository as a submodule:
|
||||
|
||||
`git submodule add {{repository_url}}`
|
||||
|
||||
- Add a git repository as a submodule at the specified directory:
|
||||
- Add a Git repository as a submodule at the specified directory:
|
||||
|
||||
`git submodule add {{repository_url}} {{path/to/directory}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Tool to manage project dependencies as subprojects.
|
||||
> More information: <https://manpages.debian.org/testing/git-man/git-subtree.1.en.html>.
|
||||
|
||||
- Add a git repository as a subtree:
|
||||
- Add a Git repository as a subtree:
|
||||
|
||||
`git subtree add --prefix={{path/to/directory/}} --squash {{repository_url}} {{branch_name}}`
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
`git svn rebase`
|
||||
|
||||
- Fetch updates from the remote SVN repository without changing the git HEAD:
|
||||
- Fetch updates from the remote SVN repository without changing the Git HEAD:
|
||||
|
||||
`git svn fetch`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git switch
|
||||
|
||||
> Switch between git branches. Requires git version 2.23+.
|
||||
> Switch between Git branches. Requires Git version 2.23+.
|
||||
> See also `git checkout`.
|
||||
> More information: <https://git-scm.com/docs/git-switch/>.
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# git update-ref
|
||||
|
||||
> Git command for creating, updating, and deleting git refs.
|
||||
> Git command for creating, updating, and deleting Git refs.
|
||||
> More information: <https://git-scm.com/docs/git-update-ref>.
|
||||
|
||||
- Delete a ref, useful for soft resetting the first commit:
|
||||
|
@@ -1,9 +1,9 @@
|
||||
# gitk
|
||||
|
||||
> A graphical git repository browser.
|
||||
> A graphical Git repository browser.
|
||||
> More information: <https://git-scm.com/docs/gitk>.
|
||||
|
||||
- Show the repository browser for the current git repository:
|
||||
- Show the repository browser for the current Git repository:
|
||||
|
||||
`gitk`
|
||||
|
||||
|
@@ -4,7 +4,7 @@
|
||||
> It also provides menu-style autocomplete suggestions for `git` commands.
|
||||
> More information: <https://github.com/donnemartin/gitsome>.
|
||||
|
||||
- Enter the gitsome shell (optional), to enable autocompletion and interactive help for git (and gh) commands:
|
||||
- Enter the gitsome shell (optional), to enable autocompletion and interactive help for Git (and gh) commands:
|
||||
|
||||
`gitsome`
|
||||
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
`gopass mounts`
|
||||
|
||||
- Mount a shared git store:
|
||||
- Mount a shared Git store:
|
||||
|
||||
`gopass mounts add {{store_name}} {{git_repo_url}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# hub
|
||||
|
||||
> A wrapper for git that adds commands for working with GitHub-based projects.
|
||||
> A wrapper for Git that adds commands for working with GitHub-based projects.
|
||||
> If set up as instructed by `hub alias`, one can use `git` to run `hub` commands.
|
||||
> More information: <https://hub.github.com>.
|
||||
|
||||
|
@@ -1,7 +1,7 @@
|
||||
# pass
|
||||
|
||||
> Tool for storing and reading passwords or other sensitive data.
|
||||
> All data is GPG-encrypted, and managed with a git repository.
|
||||
> All data is GPG-encrypted, and managed with a Git repository.
|
||||
> More information: <https://www.passwordstore.org>.
|
||||
|
||||
- Initialize (or re-encrypt) the storage using one or more GPG IDs:
|
||||
|
@@ -11,7 +11,7 @@
|
||||
|
||||
`tldr -p {{linux}} {{tar}}`
|
||||
|
||||
- Get help for a git subcommand:
|
||||
- Get help for a Git subcommand:
|
||||
|
||||
`tldr {{git-checkout}}`
|
||||
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# transcrypt
|
||||
|
||||
> Transparently encrypt files within a git repository.
|
||||
> Transparently encrypt files within a Git repository.
|
||||
> More information: <https://github.com/elasticdog/transcrypt>.
|
||||
|
||||
- Initialize an unconfigured repository:
|
||||
|
@@ -1,6 +1,6 @@
|
||||
# vcsh
|
||||
|
||||
> Version Control System for the home directory using git repositories.
|
||||
> Version Control System for the home directory using Git repositories.
|
||||
> More information: <https://github.com/RichiH/vcsh>.
|
||||
|
||||
- Initialize an (empty) repository:
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
`vcsh list`
|
||||
|
||||
- Execute a git command on a managed repository:
|
||||
- Execute a Git command on a managed repository:
|
||||
|
||||
`vcsh {{repository_name}} {{git_command}}`
|
||||
|
||||
|
@@ -3,7 +3,7 @@
|
||||
> Command line tools for the Vela pipeline.
|
||||
> More information: <https://go-vela.github.io/docs/cli/>.
|
||||
|
||||
- Trigger a pipeline to run from a git branch, commit or tag:
|
||||
- Trigger a pipeline to run from a Git branch, commit or tag:
|
||||
|
||||
`vela add deployment --org {{organization}} --repo {{repository_name}} --target {{environment}} --ref {{branch|commit|refs/tags/git_tag}} --description "{{deploy_description}}"`
|
||||
|
||||
|
Reference in New Issue
Block a user