commit ba0a4168983152937b4a6cf221c11285bab44a95 from: Stefan Sperling date: Mon Aug 26 14:15:06 2019 UTC sync man pages commit - 05d9bcf99aaa55fbe978457376e48492e05966a3 commit + ba0a4168983152937b4a6cf221c11285bab44a95 blob - 384a5c187c0056e9bf21c3eb9e7a9ab948a62519 blob + 82e8fe0bd5e92e5cc4c3d8ca79076684e2ac5585 --- git-repository.5.html +++ git-repository.5.html @@ -208,7 +208,7 @@ The particular set of disallowed characters in referen - +
August 23, 2019August 26, 2019 OpenBSD 6.5
blob - 8060f9dcb94dab5cbf3d37b435b1395d18ec9304 blob + bbcbf3ff39dddd0dd81e3b8e07826d3bf36225c8 --- got-worktree.5.html +++ got-worktree.5.html @@ -174,7 +174,7 @@ A Got work tree stores a file hierar - +
August 23, 2019August 26, 2019 OpenBSD 6.5
blob - ece46d6f825c02b54fc5b035551436de48af8587 blob + ea8c46216f0009ff1988ea4f03d69c068c8cf902 --- got.1.html +++ got.1.html @@ -277,6 +277,11 @@ ? unversioned item not tracked by got + + + N + non-existent path specified on the command + line

If no path is specified, show @@ -361,7 +366,9 @@ GOT_LOG_DEFAULT_LIMIT environment variable may be set to change this default value.

-
Display the patch of modifications made in each commit.
+
Display the patch of modifications made in each commit. If a + path is specified, only show the patch of + modifications at or within this path.
repository-path
Use the repository at the specified path. If not specified, assume the @@ -452,6 +459,10 @@ * entry is an executable file + + $ + entry is a Git submodule +

If no path is specified, list the repository path corresponding to the current directory of the work tree, @@ -520,18 +531,21 @@ [-r repository-path] [-l] [-d name] [name - [base-branch]] + [commit]]

Manage branches in a repository.

Branches are managed via references which live in the “refs/heads/” reference namespace. The got branch command operates on references in this namespace only.

If no options are passed, expect one or two arguments and - attempt to create a branch with the given name, - and make it point at the given base-branch. If no - base-branch is specified, default to the work - tree's current branch if invoked in a work tree, or to the repository's - HEAD reference.

+ attempt to create a branch reference with the given + name, and make it point at the given + commit. The expected commit + argument is a commit ID SHA1 hash or an existing reference or tag name + which will be resolved to a commit ID. If no + commit is specified, default to the latest commit + on the work tree's current branch if invoked in a work tree, or to a + commit resolved via the repository's HEAD reference.

The options for got branch are as follows:

@@ -1172,23 +1186,43 @@
Short alias for unstage.
+ [-c commit] [-r repository-path] - object ...
-
Parse and print contents of specified objects to standard output in a - line-based text format. Treat each argument as a reference, a tag name, or - an object ID SHA1 hash. References will be resolved to an object ID. Tag - names will resolved to a tag object. An abbreviated hash argument will be - expanded to a full SHA1 hash automatically, provided the abbreviation is - unique. + arg ... +
Parse and print contents of objects to standard output in a line-based + text format. Content of commit, tree, and tag objects is printed in a way + similar to the actual content stored in such objects. Blob object contents + are printed as they would appear in files on disk. +

Attempt to interpret each argument as a reference, a tag name, + or an object ID SHA1 hash. References will be resolved to an object ID. + Tag names will resolved to a tag object. An abbreviated hash argument + will be expanded to a full SHA1 hash automatically, provided the + abbreviation is unique.

+

If none of the above interpretations produce a valid result, + or if the -P option is used, attempt to + interpret the argument as a path which will be resolved to the ID of an + object found at this path in the repository.

The options for got cat are as follows:

+
+ commit
+
Look up paths in the specified commit. If this + option is not used, paths are looked up in the commit resolved via the + repository's HEAD reference. The expected argument is a commit ID SHA1 + hash or an existing reference or tag name which will be resolved to a + commit ID. An abbreviated hash argument will be expanded to a full + SHA1 hash automatically, provided the abbreviation is unique.
repository-path
Use the repository at the specified path. If not specified, assume the repository is located at or above the current working directory. If this directory is a got work tree, use the repository path associated with this work tree.
+
+
Interpret all arguments as paths only. This option can be used to + resolve ambiguity in cases where paths look like tag names, reference + names, or object IDs.
@@ -1405,7 +1439,7 @@ Clone an existing Git repository for use with - +
August 23, 2019August 26, 2019 OpenBSD 6.5
blob - 6216afa959214f368c86ab7952aa3737ba1d6250 blob + 771e552de978a8a195a7d61360e2e134506d1a30 --- tog.1.html +++ tog.1.html @@ -277,6 +277,10 @@ * entry is an executable file + + + $ + entry is a Git submodule

The key bindings for tog tree are as @@ -349,7 +353,7 @@ The tog utility exits 0 - +
August 23, 2019August 26, 2019 OpenBSD 6.5