git-stage (1) Linux Manual Page
git-stage – Add file contents to the staging area Synopsisgit stage args…DescriptionThis is a synonym for git-add(1). Please refer to the documentation of that command. GitPart of the git(1) suite
git-stage – Add file contents to the staging area Synopsisgit stage args…DescriptionThis is a synonym for git-add(1). Please refer to the documentation of that command. GitPart of the git(1) suite
git-squash – Import changes from a branch Synopsisgit-squash <source-branch|commit ref> [<commit-message>] DescriptionProduce the working tree and index state as if a real merge happened without the commit or merge marks. Options<source-branch> Branch to squash on the actual branch. <commit reference> A commit reference (has to be from the current branch) can also be used as…
git-sparse-checkout – Initialize and modify the sparse-checkout configuration, which reduces the checkout to a set of paths given by a list of patterns. Synopsisgit sparse-checkout <subcommand> [options]DescriptionInitialize and modify the sparse-checkout configuration, which reduces the checkout to a set of paths given by a list of patterns. THIS COMMAND IS EXPERIMENTAL. ITS BEHAVIOR, AND THE…
git-show – Show various types of objects Synopsisgit show [<options>] [<object>…]DescriptionShows one or more objects (blobs, trees, tags and commits). For commits it shows the log message and textual diff. It also presents the merge commit in a special format as produced by git diff-tree –cc. For tags, it shows the tag message and the…
git-show-unmerged-branches – Show unmerged branches Synopsisgit-show-unmerged-branches DescriptionShow all branches not merged in to current HEAD. Examples$ git show-unmerged-branchesAuthorWritten by Paul Schreiber <paulschreiber [at] gmail.com> Reporting Bugs<https://github.com/tj/git-extras/issues> See Also<https://github.com/tj/git-extras>
git-show-tree – show branch tree of commit history Synopsisgit-show-tree DescriptionShow the decorated graph view of one liner summarized commits from all branches. ExamplesOutput the commit history log for all branches as tree view: * 4b57684 (HEAD, develop) Merge branch upstream master. |\ | * 515e94a Merge pull request #128 from nickl-/git-extras-html-hyperlinks | |\ | |…
git-show-ref – List references in a local repository Synopsisgit show-ref [-q|–quiet] [–verify] [–head] [-d|–dereference] [-s|–hash[=<n>]] [–abbrev[=<n>]] [–tags] [–heads] [–] [<pattern>…] git show-ref –exclude-existing[=<pattern>]DescriptionDisplays references available in a local repository along with the associated commit IDs. Results can be filtered using a pattern and tags can be dereferenced into object IDs. Additionally, it can be used…
git-show-merged-branches – Show merged branches Synopsisgit-show-merged-branches DescriptionShow all branches merged in to current HEAD. Examples$ git show-merged-branchesAuthorWritten by Paul Schreiber <paulschreiber [at] gmail.com> Reporting Bugs<https://github.com/tj/git-extras/issues> See Also<https://github.com/tj/git-extras>
git-show-index – Show packed archive index Synopsisgit show-index [–object-format=<hash-algorithm>]DescriptionRead the .idx file for a Git packfile (created with git-pack-objects(1) or git-index-pack(1)) from the standard input, and dump its contents. The output consists of one object per line, with each line containing two or three space-separated columns: • the first column is the offset in bytes…
git-show-branch – Show branches and their commits Synopsisgit show-branch [-a|–all] [-r|–remotes] [–topo-order | –date-order] [–current] [–color[=<when>] | –no-color] [–sparse] [–more=<n> | –list | –independent | –merge-base] [–no-name | –sha1-name] [–topics] [(<rev> | <glob>)…] git show-branch (-g|–reflog)[=<n>[,<base>]] [–list] [<ref>]DescriptionShows the commit ancestry graph starting from the commits named with <rev>s or <glob>s (or all refs under…
git-shortlog – Summarize ‘git log’ output Synopsisgit shortlog [<options>] [<revision range>] [[–] <path>…] git log –pretty=short | git shortlog [<options>]DescriptionSummarizes git log output in a format suitable for inclusion in release announcements. Each commit will be grouped by author and title. Additionally, "[PATCH]" will be stripped from the commit description. If no revisions are passed…
git-shell – Restricted login shell for Git-only SSH access Synopsischsh -s $(command -v git-shell) <user> git clone <user>@localhost:/path/to/repo.git ssh <user>@localhostDescriptionThis is a login shell for SSH accounts to provide restricted Git access. It permits execution only of server-side Git commands implementing the pull/push functionality, plus custom commands present in a subdirectory named git-shell-commands in the…
git-sh-setup – Common Git shell script setup code Synopsis. "$(git –exec-path)/git-sh-setup"DescriptionThis 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-setup scriptlet is designed to be sourced (using .) by other shell scripts…
git-sh-i18n – Git’s i18n setup code for shell scripts Synopsis. "$(git –exec-path)/git-sh-i18n"DescriptionThis 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 scriptlet is designed to be sourced (using .) by Git’s porcelain…
git-sh-i18n–envsubst – Git’s own envsubst(1) for i18n fallbacks Synopsiseval_gettext () { printf "%s" "$1" | ( export PATH $(git sh-i18n–envsubst –variables "$1"); git sh-i18n–envsubst "$1" ) }DescriptionThis is not a command the end user would want to run. Ever. This documentation is meant for people who are studying the plumbing scripts and/or are writing new…
git-setup – Set up a git repository Synopsisgit-setup [<directory>] DescriptionSet up a git repository if one doesn’t exist, add all files and make an initial commit. Options<directory> The name of a new directory to setup. By default, the current working directory. Examples$ git setup path/to/repositoryAuthorWritten by Aggelos Orfanakos <agorf [at] agorf.gr> Reporting Bugs<https://github.com/tj/git-extras/issues> See Also<https://github.com/tj/git-extras>
git-send-pack – Push objects over Git protocol to another repository Synopsisgit send-pack [–dry-run] [–force] [–receive-pack=<git-receive-pack>] [–verbose] [–thin] [–atomic] [–[no-]signed|–signed=(true|false|if-asked)] [<host>:]<directory> (–all | <ref>…)DescriptionUsually you would want to use git push, which is a higher-level wrapper of this command, instead. See git-push(1). Invokes git-receive-pack on a possibly remote repository, and updates it from the current repository,…
git-send-email – Send a collection of patches as emails Synopsisgit send-email [options] <file|directory|rev-list options>…DescriptionTakes the patches given on the command line and emails them out. Patches can be specified as files, directories (which will send all files in the directory), or directly as a revision list. In the last case, any format accepted by git-format-patch(1)…
git-send-bugzilla – Attach patches to a bugzilla bug Synopsisgit-send-bugzilla [OPTIONS] (–dry-run | <bugid>) <since>[..<until>]DescriptionAttach each commit between <since> and <until> to the bug <bugid> on GNOMEcqs bugzilla. If ..<until> is not specified, the head of the current working tree is implied. If -n (or bugzilla.numbered in the repository configuration) is specified, instead of "[PATCH] Subject",…
git-sed – replace patterns in git-controlled files Synopsisgit-sed [ -c ] [ -f flags ] search replacement DescriptionRun git grep and then send results to sed for replacement with the given flags, if -f is provided. Also runs git commit if -c is provided. Options-c commit the resulting changes with a standard commit message detailing…