id
stringlengths
4
63
text
stringlengths
153
8.81M
git-http-fetch(1)
NAME git-http-fetch - Download from a remote Git repository via HTTP SYNOPSIS git http-fetch [-c] [-t] [-a] [-d] [-v] [-w <filename>] [--recover] [--stdin | --packfile=<hash> | <commit>] <URL> DESCRIPTION Downloads a remote Git repository via HTTP. This command always gets all objects. Historically, there wer...
git-http-push(1)
NAME git-http-push - Push objects over HTTP/DAV to another repository SYNOPSIS git http-push [--all] [--dry-run] [--force] [--verbose] <URL> <ref> [<ref>...] DESCRIPTION Sends missing objects to the remote repository, and updates the remote branch. NOTE: This command is temporarily disabled if your libcurl is...
git-imap-send(1)
NAME git-imap-send - Send a collection of patches from stdin to an IMAP folder SYNOPSIS git imap-send [-v] [-q] [--[no-]curl] [(--folder|-f) <folder>] git imap-send --list DESCRIPTION This command uploads a mailbox generated with git format-patch into an IMAP drafts folder. This allows patches to be sent as other ema...
git-index-pack(1)
NAME git-index-pack - Build pack index file for an existing packed archive SYNOPSIS git index-pack [-v] [-o <index-file>] [--[no-]rev-index] <pack-file> git index-pack --stdin [--fix-thin] [--keep] [-v] [-o <index-file>] [--[no-]rev-index] [<pack-file>] DESCRIPTION Reads a packed archive (.pack) from the specified fi...
git-init(1)
NAME git-init - Create an empty Git repository or reinitialize an existing one SYNOPSIS git init [-q | --quiet] [--bare] [--template=<template-directory>] [--separate-git-dir <git-dir>] [--object-format=<format>] [--ref-format=<format>] [-b <branch-name> | --initial-branch=<branch-name>] [--shared[=<permissions>]] [<d...
git-init-db(1)
NAME git-init-db - Creates an empty Git repository SYNOPSIS git init-db [-q | --quiet] [--bare] [--template=<template-directory>] [--separate-git-dir <git-dir>] [--shared[=<permissions>]] DESCRIPTION This is a synonym for git-init(1). Please refer to the documentation of that command. GIT Part of the git(1) suite G...
git-instaweb(1)
NAME git-instaweb - Instantly browse your working repository in gitweb SYNOPSIS git instaweb [--local] [--httpd=<httpd>] [--port=<port>] [--browser=<browser>] git instaweb [--start] [--stop] [--restart] DESCRIPTION A simple script to set up gitweb and a web server for browsing the local repository. OPTIONS -l, --loc...
git-interpret-trailers(1)
NAME git-interpret-trailers - Add or parse structured information in commit messages SYNOPSIS git interpret-trailers [--in-place] [--trim-empty] [(--trailer (<key>|<key-alias>)[(=|:)<value>])...] [--parse] [<file>...] DESCRIPTION Add or parse trailer lines that look similar to RFC 822 e-mail headers, at the end of th...
git-latexdiff(1)
NAME git-latexdiff - Call latexdiff on two Git revisions of a file OPTIONS Usage: git latexdiff [options] OLD [NEW] git latexdiff [options] OLD -- git latexdiff [options] -- OLD Call latexdiff on two Git revisions of a file. OLD and NEW are Git revision identifiers. NEW defaults to HEAD. If "--"...
git-lfs(1)
NAME git-lfs - Work with large files in Git repositories SYNOPSIS git lfs <command> [<args>] DESCRIPTION Git LFS is a system for managing and versioning large files in association with a Git repository. Instead of storing the large files within the Git repository as blobs, Git LFS stores special "pointer files" in th...
git-lfs-checkout(1)
NAME git-lfs-checkout - Update working copy with file content if available SYNOPSIS git lfs checkout [<glob-pattern>...] git lfs checkout --to <file> {--base|--ours|--theirs} <conflict-obj-path> DESCRIPTION Try to ensure that the working copy contains file content for Git LFS objects for the current ref, if the objec...
git-lfs-clean(1)
NAME git-lfs-clean - Git clean filter that converts large files to pointers SYNOPSIS git lfs clean <path> DESCRIPTION Read the contents of a large file from standard input, and write a Git LFS pointer file for that file to standard output. Clean is typically run by Git’s clean filter, configured by the reposi...
git-lfs-clone(1)
NAME git-lfs-clone - Efficiently clone a LFS-enabled repository SYNOPSIS git lfs clone [git clone options] <repository> [<directory>] DESCRIPTION Clone an LFS enabled Git repository more efficiently by disabling LFS during the git clone, then performing a 'git lfs pull' directly afterwards. 'git lfs clone' al...
git-lfs-completion(1)
NAME git-lfs-completion - Shell tab-completion script generation for Git LFS SYNOPSIS git lfs completion bash git lfs completion fish git lfs completion zsh DESCRIPTION Outputs a script which, when executed in a session of the given shell, will implement command-line tab-completion of Git LFS commands. Each s...
git-lfs-config(5)
NAME git-lfs-config - Configuration options for git-lfs CONFIGURATION FILES git-lfs reads its configuration from any file supported by git config -l, including all per-repository, per-user, and per-system Git configuration files. Additionally, a small number of settings can be specified in a file called .lfsco...
git-lfs-dedup(1)
NAME git-lfs-dedup - Deduplicate Git LFS files SYNOPSIS git lfs dedup DESCRIPTION Deduplicates storage by re-creating working tree files as clones of the files in the Git LFS storage directory using the operating system’s copy-on-write file creation functionality. If the operating system or file system don’t ...
git-lfs-env(1)
NAME git-lfs-env - Display the Git LFS environment SYNOPSIS git lfs env DESCRIPTION Display the current Git LFS environment. SEE ALSO Part of the git-lfs(1) suite.
git-lfs-ext(1)
NAME git-lfs-ext - View extension details SYNOPSIS git lfs ext list [<name>...] DESCRIPTION Git LFS extensions enable the manipulation of files streams during smudge and clean. EXAMPLES • List details for all extensions $ git lfs ext $ git lfs ext list • List details for th...
git-lfs-faq(7)
NAME git-lfs-faq - FAQ for Git LFS ENTRIES File Size Does Git LFS provide a way to track files by size? No, it doesn’t. Unfortunately, Git itself doesn’t specify a way to make .gitattributes patterns apply to files of a certain size and we rely on the .gitattributes file to specify which files are tracked by Git LFS. ...
git-lfs-fetch(1)
NAME git-lfs-fetch - Download all Git LFS files for a given ref SYNOPSIS git lfs fetch [options] [<remote> [<ref>...]] DESCRIPTION Download Git LFS objects at the given refs from the specified remote. See DEFAULT REMOTE and DEFAULT REFS for what happens if you don’t specify. This does not update the working c...
git-lfs-filter-process(1)
NAME git-lfs-filter-process - Git filter process that converts between pointer and actual content SYNOPSIS git lfs filter-process git lfs filter-process --skip DESCRIPTION Implement the Git process filter API, exchanging handshake messages and then accepting and responding to requests to either clean or smudge a file...
git-lfs-fsck(1)
NAME git-lfs-fsck - Check GIT LFS files for consistency SYNOPSIS git lfs fsck [options] [revisions] DESCRIPTION Checks all Git LFS files in the current HEAD for consistency. Corrupted files are moved to ".git/lfs/bad". The revisions may be specified as either a single committish, in which case only th...
git-lfs-install(1)
NAME git-lfs-install - Install Git LFS configuration. SYNOPSIS git lfs install [options] DESCRIPTION Perform the following actions to ensure that Git LFS is setup properly: • Set up the clean and smudge filters under the name "lfs" in the global Git config. • Install a pre-push hook to run git-lfs...
git-lfs-lock(1)
NAME git-lfs-lock - Set a file as "locked" on the Git LFS server SYNOPSIS git lfs lock [options] <path> DESCRIPTION Sets the given file path as "locked" against the Git LFS server, with the intention of blocking attempts by other users to update the given path. Locking a file requires the file to exist in the working...
git-lfs-locks(1)
NAME git-lfs-locks - Lists currently locked files from the Git LFS server. SYNOPSIS git lfs locks [options] DESCRIPTION Lists current locks from the Git LFS server. OPTIONS -r <name>, --remote=<name> Specify the Git LFS server to use. Ignored if the lfs.url config key is set. -i <id>, --id=<id> Sp...
git-lfs-logs(1)
NAME git-lfs-logs - Show errors from the git-lfs command SYNOPSIS git lfs logs git lfs logs <file> git lfs logs clear git lfs logs boomtown DESCRIPTION Display errors from the git-lfs command. Any time it crashes, the details are saved to ".git/lfs/logs". COMMANDS clear Clears all of the existing logged errors. ...
git-lfs-ls-files(1)
NAME git-lfs-ls-files - Show information about Git LFS files in the index and working tree SYNOPSIS git lfs ls-files [<ref>] git lfs ls-files <ref> <ref> DESCRIPTION Display paths of Git LFS files that are found in the tree at the given reference. If no reference is given, scan the currently checked-out branch. If tw...
git-lfs-merge-driver(1)
NAME git-lfs-merge-driver - Merge text-based LFS files SYNOPSIS git lfs merge-driver [options] DESCRIPTION Merge text files stored in Git LFS using the default Git merge machinery, or a custom merge driver if specified. Note that this, in general, does not support partial renames or copies because Git does not suppor...
git-lfs-migrate(1)
NAME git-lfs-migrate - Migrate history to or from Git LFS SYNOPSIS git lfs migrate <mode> [options] [--] [branch ...] DESCRIPTION Convert files in a Git repository to or from Git LFS pointers, or summarize Git file sizes by file type. The import mode converts Git files (i.e., blobs) to Git LFS, while the export mode ...
git-lfs-pointer(1)
NAME git-lfs-pointer - Build, compare, and check pointers SYNOPSIS git lfs pointer --file=path/to/file git lfs pointer --file=path/to/file --pointer=path/to/pointer git lfs pointer --file=path/to/file --stdin git lfs pointer --check --file=path/to/file DESCRIPTION Builds and optionally compares generated pointer file...
git-lfs-post-checkout(1)
NAME git-lfs-post-checkout - Git post-checkout hook implementation SYNOPSIS git lfs post-checkout <rev_before> <ref_after> <is_branch_checkout> DESCRIPTION Responds to Git post-checkout events. It makes sure that any files which are marked as lockable by git lfs track are read-only in the working copy, if not current...
git-lfs-post-commit(1)
NAME git-lfs-post-commit - Git post-commit hook implementation SYNOPSIS git lfs post-commit DESCRIPTION Responds to Git post-commit events. It makes sure that any files which are marked as lockable by git lfs track are read-only in the working copy, if not currently locked by the local user. Where the git lfs...
git-lfs-post-merge(1)
NAME git-lfs-post-merge - Git post-merge hook implementation SYNOPSIS git lfs post-merge <is_squash> DESCRIPTION Responds to Git post-merge events. It makes sure that any files which are marked as lockable by git lfs track are read-only in the working copy, if not currently locked by the local user. SEE ALSO git-lfs...
git-lfs-pre-push(1)
NAME git-lfs-pre-push - Git pre-push hook implementation SYNOPSIS git lfs pre-push <remote> [remoteurl] DESCRIPTION Responds to Git pre-hook events. It reads the range of commits from STDIN, in the following format: <local-ref> SP <local-sha1> SP <remote-ref> SP <remote-sha1> \n It also takes the ...
git-lfs-prune(1)
NAME git-lfs-prune - Delete old LFS files from local storage SYNOPSIS git lfs prune [options] DESCRIPTION Deletes local copies of LFS files which are old, thus freeing up disk space. Prune operates by enumerating all the locally stored objects, and then deleting any which are not referenced by at least ONE of the fol...
git-lfs-pull(1)
NAME git-lfs-pull - Download all Git LFS files for current ref & checkout SYNOPSIS git lfs pull [options] [<remote>] DESCRIPTION Download Git LFS objects for the currently checked out ref, and update the working copy with the downloaded content if required. This is generally equivalent to running the followin...
git-lfs-push(1)
NAME git-lfs-push - Push queued large files to the Git LFS endpoint SYNOPSIS git lfs push [options] <remote> [<ref>...] git lfs push <remote> [<ref>...] git lfs push [options] <remote> --stdin git lfs push --object-id <remote> [<oid>...] git lfs push --object-id <remote> --stdin DESCRIPTION Upload Git LFS files to th...
git-lfs-smudge(1)
NAME git-lfs-smudge - Git smudge filter that converts pointer in blobs to the actual content SYNOPSIS git lfs smudge [<path>] git lfs smudge --skip [<path>] DESCRIPTION Read a Git LFS pointer file from standard input and write the contents of the corresponding large file to standard output. If needed, download the fi...
git-lfs-standalone-file(1)
NAME git-lfs-standalone-file - Standalone transfer adapter for file URLs SYNOPSIS git lfs standalone-file DESCRIPTION Provides a standalone transfer adapter for file URLs (local paths). By default, Git LFS requires the support of an HTTP server to implement the Git LFS protocol. However, this tool allows the ...
git-lfs-status(1)
NAME git-lfs-status - Show the status of Git LFS files in the working tree SYNOPSIS git lfs status [<options>] DESCRIPTION Display paths of Git LFS objects that • have not been pushed to the Git LFS server. These are large files that would be uploaded by git push. • have differences between the in...
git-lfs-track(1)
NAME git-lfs-track - View or add Git LFS paths to Git attributes SYNOPSIS git lfs track [options] [<pattern>...] DESCRIPTION Start tracking the given patterns(s) through Git LFS. The argument is written to .gitattributes. If no paths are provided, simply list the currently-tracked paths. The gitattributes doc...
git-lfs-uninstall(1)
NAME git-lfs-uninstall - Remove Git LFS configuration SYNOPSIS git lfs uninstall DESCRIPTION Perform the following actions to remove the Git LFS configuration: • Remove the "lfs" clean and smudge filters from the global Git config. • Uninstall the Git LFS pre-push hook if run from inside a Git rep...
git-lfs-unlock(1)
NAME git-lfs-unlock - Remove "locked" setting for a file on the Git LFS server SYNOPSIS git lfs unlock [<options>] <path> DESCRIPTION Removes the given file path as "locked" on the Git LFS server. Files must exist and have a clean git status before they can be unlocked. The --force flag will skip these checks. OPTIO...
git-lfs-untrack(1)
NAME git-lfs-untrack - Remove Git LFS paths from Git Attributes SYNOPSIS git lfs untrack <path>... DESCRIPTION Stop tracking the given path(s) through Git LFS. The argument can be a glob pattern or a file path. EXAMPLES • Configure Git LFS to stop tracking GIF files: git lfs untrack "*.gif" SEE ALSO g...
git-lfs-update(1)
NAME git-lfs-update - Update Git hooks SYNOPSIS git lfs update [--manual | --force] DESCRIPTION Updates the Git hooks used by Git LFS. Silently upgrades known hook contents. If you have your own custom hooks you may need to use one of the extended options below. OPTIONS --manual, -m Print instructions for manually u...
git-log(1)
NAME git-log - Show commit logs SYNOPSIS git log [<options>] [<revision-range>] [[--] <path>...] DESCRIPTION Shows the commit logs. List commits that are reachable by following the parent links from the given commit(s), but exclude commits that are reachable from the one(s) given with a ^ in front of them. Th...
git-ls-files(1)
NAME git-ls-files - Show information about files in the index and the working tree SYNOPSIS git ls-files [-z] [-t] [-v] [-f] [-c|--cached] [-d|--deleted] [-o|--others] [-i|--ignored] [-s|--stage] [-u|--unmerged] [-k|--killed] [-m|--modified] [--resolve-undo] [--directory [--no-empty-directory]] [--eol] [--deduplicate]...
git-ls-remote(1)
NAME git-ls-remote - List references in a remote repository SYNOPSIS git ls-remote [--branches] [--tags] [--refs] [--upload-pack=<exec>] [-q | --quiet] [--exit-code] [--get-url] [--sort=<key>] [--symref] [<repository> [<patterns>...]] DESCRIPTION Displays references available in a remote repository along with the ass...
git-ls-tree(1)
NAME git-ls-tree - List the contents of a tree object SYNOPSIS git ls-tree [-d] [-r] [-t] [-l] [-z] [--name-only] [--name-status] [--object-only] [--full-name] [--full-tree] [--abbrev[=<n>]] [--format=<format>] <tree-ish> [<path>...] DESCRIPTION Lists the contents of a given tree object, like what "/bin/ls -a" does i...
git-mailinfo(1)
NAME git-mailinfo - Extracts patch and authorship from a single e-mail message SYNOPSIS git mailinfo [-k|-b] [-u | --encoding=<encoding> | -n] [--[no-]scissors] [--quoted-cr=<action>] <msg> <patch> DESCRIPTION Reads a single e-mail message from the standard input, and writes the commit log message in <msg> file, and ...
git-mailsplit(1)
NAME git-mailsplit - Simple UNIX mbox splitter program SYNOPSIS git mailsplit [-b] [-f<nn>] [-d<prec>] [--keep-cr] [--mboxrd] -o<directory> [--] [(<mbox>|<Maildir>)...] DESCRIPTION Splits a mbox file or a Maildir into a list of files: "0001" "0002" .. in the specified directory so you can process them further from th...
git-maintenance(1)
NAME git-maintenance - Run tasks to optimize Git repository data SYNOPSIS git maintenance run [<options>] git maintenance start [--scheduler=<scheduler>] git maintenance (stop|register|unregister) [<options>] DESCRIPTION Run tasks to optimize Git repository data, speeding up other Git commands and reducing storage re...
git-merge(1)
NAME git-merge - Join two or more development histories together SYNOPSIS git merge [-n] [--stat] [--compact-summary] [--no-commit] [--squash] [--[no-]edit] [--no-verify] [-s <strategy>] [-X <strategy-option>] [-S[<keyid>]] [--[no-]allow-unrelated-histories] [--[no-]rerere-autoupdate] [-m <msg>] [-F <file>] [--into-na...
git-merge-base(1)
NAME git-merge-base - Find as good common ancestors as possible for a merge SYNOPSIS git merge-base [-a | --all] <commit> <commit>... git merge-base [-a | --all] --octopus <commit>... git merge-base --is-ancestor <commit> <commit> git merge-base --independent <commit>... git merge-base --fork-point <ref> [<commit>] D...
git-merge-file(1)
NAME git-merge-file - Run a three-way file merge SYNOPSIS git merge-file [-L <current-name> [-L <base-name> [-L <other-name>]]] [--ours|--theirs|--union] [-p|--stdout] [-q|--quiet] [--marker-size=<n>] [--[no-]diff3] [--object-id] <current> <base> <other> DESCRIPTION Given three files <current>, <base> and <other>, gi...
git-merge-index(1)
NAME git-merge-index - Run a merge for files needing merging SYNOPSIS git merge-index [-o] [-q] <merge-program> (-a | ( [--] <file>...) ) DESCRIPTION This looks up the <file>(s) in the index and, if there are any merge entries, passes the SHA-1 hash for those files as arguments 1, 2, 3 (empty argument if no file), an...
git-merge-one-file(1)
NAME git-merge-one-file - The standard helper program to use with git-merge-index SYNOPSIS git merge-one-file DESCRIPTION This is the standard helper program to use with git merge-index to resolve a merge after the trivial merge done with git read-tree -m. GIT Part of the git(1) suite Git 2.51.2 ...
git-merge-tree(1)
NAME git-merge-tree - Perform merge without touching index or working tree SYNOPSIS git merge-tree [--write-tree] [<options>] <branch1> <branch2> git merge-tree [--trivial-merge] <base-tree> <branch1> <branch2> (deprecated) DESCRIPTION This command has a modern --write-tree mode and a deprecated --trivial-merge mode....
git-mergetool(1)
NAME git-mergetool - Run merge conflict resolution tools to resolve merge conflicts SYNOPSIS git mergetool [--tool=<tool>] [-y | --[no-]prompt] [<file>...] DESCRIPTION Use git mergetool to run one of several merge utilities to resolve merge conflicts. It is typically run after git merge. If one or more <file>...
git-mergetool--lib(1)
NAME git-mergetool--lib - Common Git merge tool shell scriptlets SYNOPSIS TOOL_MODE=(diff|merge) . "$(git --exec-path)/git-mergetool--lib" DESCRIPTION This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish scripts and/or are writing new on...
git-mktag(1)
NAME git-mktag - Creates a tag object with extra validation SYNOPSIS git mktag DESCRIPTION Reads a tag’s contents on standard input and creates a tag object. The output is the new tag’s <object> identifier. This command is mostly equivalent to git-hash-object(1) invoked with -t tag -w --stdin. I.e. both of th...
git-mktree(1)
NAME git-mktree - Build a tree-object from ls-tree formatted text SYNOPSIS git mktree [-z] [--missing] [--batch] DESCRIPTION Reads standard input in non-recursive ls-tree output format, and creates a tree object. The order of the tree entries is normalized by mktree so pre-sorting the input is not required. The objec...
git-multi-pack-index(1)
NAME git-multi-pack-index - Write and verify multi-pack-indexes SYNOPSIS git multi-pack-index [--object-dir=<dir>] [--[no-]bitmap] <sub-command> DESCRIPTION Write or verify a multi-pack-index (MIDX) file. OPTIONS --object-dir=<dir> Use given directory for the location of Git objects. We check <dir>/packs/multi-pack-...
git-mv(1)
NAME git-mv - Move or rename a file, a directory, or a symlink SYNOPSIS git mv [-v] [-f] [-n] [-k] <source> <destination> git mv [-v] [-f] [-n] [-k] <source>... <destination-directory> DESCRIPTION Move or rename a file, directory, or symlink. In the first form, it renames <source>, which must exist and be eit...
git-name-rev(1)
NAME git-name-rev - Find symbolic names for given revs SYNOPSIS git name-rev [--tags] [--refs=<pattern>] ( --all | --annotate-stdin | <commit-ish>... ) DESCRIPTION Finds symbolic names suitable for human digestion for revisions given in any format parsable by git rev-parse. OPTIONS --tags Do not use branch names, bu...
git-notes(1)
NAME git-notes - Add or inspect object notes SYNOPSIS git notes [list [<object>]] git notes add [-f] [--allow-empty] [--[no-]separator | --separator=<paragraph-break>] [--[no-]stripspace] [-F <file> | -m <msg> | (-c | -C) <object>] [-e] [<object>] git notes copy [-f] ( --stdin | <from-object> [<to-object>] ) git notes...
git-p4(1)
NAME git-p4 - Import from and submit to Perforce repositories SYNOPSIS git p4 clone [<sync-options>] [<clone-options>] <p4-depot-path>... git p4 sync [<sync-options>] [<p4-depot-path>...] git p4 rebase git p4 submit [<submit-options>] [<master-branch-name>] DESCRIPTION This command provides a way to interact with p4 ...
git-pack-objects(1)
NAME git-pack-objects - Create a packed archive of objects SYNOPSIS git pack-objects [-q | --progress | --all-progress] [--all-progress-implied] [--no-reuse-delta] [--delta-base-offset] [--non-empty] [--local] [--incremental] [--window=<n>] [--depth=<n>] [--revs [--unpacked | --all]] [--keep-pack=<pack-name>] [--cruft...
git-pack-redundant(1)
NAME git-pack-redundant - Find redundant pack files SYNOPSIS git pack-redundant [--verbose] [--alt-odb] (--all | <pack-filename>...) WARNING git pack-redundant has been deprecated and is scheduled for removal in a future version of Git. Because it can only remove entire duplicate packs and not individual duplicate ob...
git-pack-refs(1)
NAME git-pack-refs - Pack heads and tags for efficient repository access SYNOPSIS git pack-refs [--all] [--no-prune] [--auto] [--include <pattern>] [--exclude <pattern>] DESCRIPTION Traditionally, tips of branches and tags (collectively known as refs) were stored one file per ref in a (sub)directory under $GIT_DIR/re...
git-patch-id(1)
NAME git-patch-id - Compute unique ID for a patch SYNOPSIS git patch-id [--stable | --unstable | --verbatim] DESCRIPTION Read a patch from the standard input and compute the patch ID for it. A "patch ID" is nothing but a sum of SHA-1 of the file diffs associated with a patch, with line numbers ignored. As suc...
git-prune(1)
NAME git-prune - Prune all unreachable objects from the object database SYNOPSIS git prune [-n] [-v] [--progress] [--expire <time>] [--] [<head>...] DESCRIPTION Note In most cases, users should run git gc, which calls git prune. See the section "NOTES", below. This runs git fsck --unreachable usin...
git-prune-packed(1)
NAME git-prune-packed - Remove extra objects that are already in pack files SYNOPSIS git prune-packed [-n | --dry-run] [-q | --quiet] DESCRIPTION This program searches the $GIT_OBJECT_DIRECTORY for all objects that currently exist in a pack file as well as in the independent object directories. All such extra...
git-pull(1)
NAME git-pull - Fetch from and integrate with another repository or a local branch SYNOPSIS git pull [<options>] [<repository> [<refspec>...]] DESCRIPTION Incorporates changes from a remote repository into the current branch. If the current branch is behind the remote, then by default it will fast-forward the current...
git-push(1)
NAME git-push - Update remote refs along with associated objects SYNOPSIS git push [--all | --branches | --mirror | --tags] [--follow-tags] [--atomic] [-n | --dry-run] [--receive-pack=<git-receive-pack>] [--repo=<repository>] [-f | --force] [-d | --delete] [--prune] [-q | --quiet] [-v | --verbose] [-u | --set-upstream...
git-quiltimport(1)
NAME git-quiltimport - Applies a quilt patchset onto the current branch SYNOPSIS git quiltimport [--dry-run | -n] [--author <author>] [--patches <dir>] [--series <file>] [--keep-non-patch] DESCRIPTION Applies a quilt patchset onto the current Git branch, preserving the patch boundaries, patch order, and patch descrip...
git-range-diff(1)
NAME git-range-diff - Compare two commit ranges (e.g. two versions of a branch) SYNOPSIS git range-diff [--color=[<when>]] [--no-color] [<diff-options>] [--no-dual-color] [--creation-factor=<factor>] [--left-only | --right-only] [--diff-merges=<format>] [--remerge-diff] ( <range1> <range2> | <rev1>...<rev2> | <base> <...
git-read-tree(1)
NAME git-read-tree - Reads tree information into the index SYNOPSIS git read-tree [(-m [--trivial] [--aggressive] | --reset | --prefix=<prefix>) [-u | -i]] [--index-output=<file>] [--no-sparse-checkout] (--empty | <tree-ish1> [<tree-ish2> [<tree-ish3>]]) DESCRIPTION Reads the tree information given by <tree-ish> into...
git-rebase(1)
NAME git-rebase - Reapply commits on top of another base tip SYNOPSIS git rebase [-i | --interactive] [<options>] [--exec <cmd>] [--onto <newbase> | --keep-base] [<upstream> [<branch>]] git rebase [-i | --interactive] [<options>] [--exec <cmd>] [--onto <newbase>] --root [<branch>] git rebase (--continue|--skip|--abort...
git-receive-pack(1)
NAME git-receive-pack - Receive what is pushed into the repository SYNOPSIS git receive-pack <git-dir> DESCRIPTION Invoked by git send-pack and updates the repository with the information fed from the remote end. This command is usually not invoked directly by the end user. The UI for the protocol is on the g...
git-reflog(1)
NAME git-reflog - Manage reflog information SYNOPSIS git reflog [show] [<log-options>] [<ref>] git reflog list git reflog exists <ref> git reflog write <ref> <old-oid> <new-oid> <message> git reflog delete [--rewrite] [--updateref] [--dry-run | -n] [--verbose] <ref>@{<specifier>}... git reflog drop [--all [--single-wo...
git-refs(1)
NAME git-refs - Low-level access to refs SYNOPSIS git refs migrate --ref-format=<format> [--no-reflog] [--dry-run] git refs verify [--strict] [--verbose] DESCRIPTION This command provides low-level access to refs. COMMANDS migrate Migrate ref store between different formats. verify Verify referenc...
git-remote(1)
NAME git-remote - Manage set of tracked repositories SYNOPSIS git remote [-v | --verbose] git remote add [-t <branch>] [-m <master>] [-f] [--[no-]tags] [--mirror=(fetch|push)] <name> <URL> git remote rename [--[no-]progress] <old> <new> git remote remove <name> git remote set-head <name> (-a | --auto | -d | --delete |...
git-remote-ext(1)
NAME git-remote-ext - Bridge smart transport to external command. SYNOPSIS git remote add <nick> "ext::<command>[ <arguments>...]" DESCRIPTION This remote helper uses the specified <command> to connect to a remote Git server. Data written to stdin of the specified <command> is assumed to be sent to a git:// s...
git-remote-fd(1)
NAME git-remote-fd - Reflect smart transport stream back to caller SYNOPSIS "fd::<infd>[,<outfd>][/<anything>]" (as URL) DESCRIPTION This helper uses specified file descriptors to connect to a remote Git server. This is not meant for end users but for programs and scripts calling git fetch, push, or archive. ...
git-repack(1)
NAME git-repack - Pack unpacked objects in a repository SYNOPSIS git repack [-a] [-A] [-d] [-f] [-F] [-l] [-n] [-q] [-b] [-m] [--window=<n>] [--depth=<n>] [--threads=<n>] [--keep-pack=<pack-name>] [--write-midx] [--name-hash-version=<n>] [--path-walk] DESCRIPTION This command is used to combine all objects that do no...
git-replace(1)
NAME git-replace - Create, list, delete refs to replace objects SYNOPSIS git replace [-f] <object> <replacement> git replace [-f] --edit <object> git replace [-f] --graft <commit> [<parent>...] git replace [-f] --convert-graft-file git replace -d <object>... git replace [--format=<format>] [-l [<pattern>]] DESCRIPTIO...
git-replay(1)
NAME git-replay - EXPERIMENTAL: Replay commits on a new base, works with bare repos too SYNOPSIS (EXPERIMENTAL!) git replay ([--contained] --onto <newbase> | --advance <branch>) <revision-range>... DESCRIPTION Takes ranges of commits and replays them onto a new location. Leaves the working tree and the index untouche...
git-request-pull(1)
NAME git-request-pull - Generates a summary of pending changes SYNOPSIS git request-pull [-p] <start> <URL> [<end>] DESCRIPTION Generate a request asking your upstream project to pull changes into their tree. The request, printed to the standard output, begins with the branch description, summarizes the changes, and ...
git-rerere(1)
NAME git-rerere - Reuse recorded resolution of conflicted merges SYNOPSIS git rerere [clear | forget <pathspec>... | diff | status | remaining | gc] DESCRIPTION In a workflow employing relatively long lived topic branches, the developer sometimes needs to resolve the same conflicts over and over again until the topic...
git-reset(1)
NAME git-reset - Reset current HEAD to the specified state SYNOPSIS git reset [-q] [<tree-ish>] [--] <pathspec>... git reset [-q] [--pathspec-from-file=<file> [--pathspec-file-nul]] [<tree-ish>] git reset (--patch | -p) [<tree-ish>] [--] [<pathspec>...] git reset [--soft | --mixed [-N] | --hard | --merge | --keep] [-q...
git-restore(1)
NAME git-restore - Restore working tree files SYNOPSIS git restore [<options>] [--source=<tree>] [--staged] [--worktree] [--] <pathspec>... git restore [<options>] [--source=<tree>] [--staged] [--worktree] --pathspec-from-file=<file> [--pathspec-file-nul] git restore (-p|--patch) [<options>] [--source=<tree>] [--stage...
git-rev-list(1)
NAME git-rev-list - Lists commit objects in reverse chronological order SYNOPSIS git rev-list [<options>] <commit>... [--] [<path>...] DESCRIPTION List commits that are reachable by following the parent links from the given commit(s), but exclude commits that are reachable from the one(s) given with a ^ in front of t...
git-rev-parse(1)
NAME git-rev-parse - Pick out and massage parameters SYNOPSIS git rev-parse [<options>] <arg>... DESCRIPTION Many Git porcelainish commands take a mixture of flags (i.e. parameters that begin with a dash -) and parameters meant for the underlying git rev-list command they use internally and flags and parameters for t...
git-revert(1)
NAME git-revert - Revert some existing commits SYNOPSIS git revert [--[no-]edit] [-n] [-m <parent-number>] [-s] [-S[<keyid>]] <commit>... git revert (--continue | --skip | --abort | --quit) DESCRIPTION Given one or more existing commits, revert the changes that the related patches introduce, and record some new commi...
git-rm(1)
NAME git-rm - Remove files from the working tree and from the index SYNOPSIS git rm [-f | --force] [-n] [-r] [--cached] [--ignore-unmatch] [--quiet] [--pathspec-from-file=<file> [--pathspec-file-nul]] [--] [<pathspec>...] DESCRIPTION Remove files matching pathspec from the index, or from the working tree and the inde...
git-send-email(1)
NAME git-send-email - Send a collection of patches as emails SYNOPSIS git send-email [<options>] (<file>|<directory>)... git send-email [<options>] <format-patch-options> git send-email --dump-aliases git send-email --translate-aliases DESCRIPTION Takes the patches given on the command line and emails them out. Patch...
git-send-pack(1)
NAME git-send-pack - Push objects over Git protocol to another repository SYNOPSIS git send-pack [--mirror] [--dry-run] [--force] [--receive-pack=<git-receive-pack>] [--verbose] [--thin] [--atomic] [--[no-]signed | --signed=(true|false|if-asked)] [<host>:]<directory> (--all | <ref>...) DESCRIPTION Usually you would w...
git-sh-i18n(1)
NAME git-sh-i18n - Git's i18n setup code for shell scripts SYNOPSIS . "$(git --exec-path)/git-sh-i18n" DESCRIPTION This is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the Porcelain-ish scripts and/or are writing new ones. The 'git sh-i18n scriptl...
git-sh-i18n--envsubst(1)
NAME git-sh-i18n--envsubst - Git's own envsubst(1) for i18n fallbacks SYNOPSIS eval_gettext () { printf "%s" "$1" | ( export PATH $(git sh-i18n--envsubst --variables "$1"); git sh-i18n--envsubst "$1" ) } DESCRIPTION This is not a command the end user would want to run. Ever. This documentation is meant for people who...