commit 1554b33497cad214f9d8f385f9007cba5f0285b6
from: Stefan Sperling
blob - 71ba496e8d2e8748fcf634e1ff588b00eebbaf37
blob + 152df8aef174da28e6c4e26ea6523217d2893311
--- got-worktree.5.html
+++ got-worktree.5.html
@@ -177,7 +177,7 @@
-
July 23, 2020
+ August 2, 2020
OpenBSD 6.7
blob - 39ba9dee00a41c6c57aba336efae0fda5d8d721b
blob + 24baf649ba8001d178764ad3b20cab3c5b2a7c2b
--- got.1.html
+++ got.1.html
@@ -92,8 +92,6 @@
empty repository before
-
July 23, 2020
+ August 2, 2020
OpenBSD 6.7
got checkout
can be
used.
in
init
.import
[-b
branch]
[-m
message]
@@ -472,6 +470,10 @@
If no path is specified, update the entire work tree. Otherwise, restrict the update operation to files at @@ -1107,7 +1109,7 @@
revert
.commit
[-m
message]
- [path ...]-S
] [path ...]
-m
option, got
commit
opens a temporary file in an editor where a log message
can be written.-S
got
+ commit
will reject such symbolic links due to safety concerns.
+ As a precaution, got
may decide to represent
+ such a symbolic link as a regular file which contains the link's
+ target path, rather than creating an actual symbolic link which points
+ outside of the work tree. Use of this option is discouraged because
+ external mechanisms such as “make obj” are better suited
+ for managing symbolic links to paths not under version control.got commit
will refuse to run if
certain preconditions are not met. If the work tree's current branch is
@@ -1208,6 +1220,10 @@
The merged changes will appear as local changes in the work
tree, which may be viewed with got diff
, amended
@@ -1261,6 +1277,10 @@
The reverse-merged changes will appear as local changes in the
work tree, which may be viewed with got diff
,
@@ -1333,6 +1353,10 @@
If merge conflicts occur the rebase operation is interrupted and may be continued once conflicts have been resolved. Alternatively, @@ -1464,6 +1488,10 @@
If merge conflicts occur the histedit operation is interrupted and may be continued once conflicts have been resolved. Alternatively, @@ -1571,7 +1599,7 @@
stage
[-l
] [-p
]
[-F
response-script]
- [path ...]-S
] [path ...]
-S
got
+ stage
will reject such symbolic links due to safety concerns.
+ As a precaution, got
may decide to represent
+ such a symbolic link as a regular file which contains the link's
+ target path, rather than creating an actual symbolic link which points
+ outside of the work tree. Use of this option is discouraged because
+ external mechanisms such as “make obj” are better suited
+ for managing symbolic links to paths not under version control.got stage
will refuse to run if
certain preconditions are not met. If a file contains merge conflicts,
@@ -1744,6 +1782,18 @@
resolve ambiguity in cases where paths look like tag names, reference
names, or object IDs.
+
+
info
+ [path ...]The work tree to use is resolved implicitly by walking upwards + from the current working directory.
+If one or more path arguments are + specified, show additional per-file information for tracked files + located at or within these paths. If a path + argument corresponds to the work tree's root directory, display + information for all tracked files.
$ cd sys/uvm && got log
- '.'
$ cd sys/uvm && got
+ log .
And this command has the same effect:
$ cd sys/dev/usb && got log
../../uvm
And this command displays work tree meta-data about all tracked + files:
+ +$ cd /usr/src
$ got info . |
+ less
Add new files and remove obsolete files in a work tree directory:
@@ -2055,7 +2111,7 @@July 23, 2020 | +August 2, 2020 | OpenBSD 6.7 |
July 23, 2020 | +August 2, 2020 | OpenBSD 6.7 |
July 23, 2020 | +August 2, 2020 | OpenBSD 6.7 |
July 23, 2020 | +August 2, 2020 | OpenBSD 6.7 |