commit - 1a1242a9a15f34878343aebfb28a71e0c5d9b904
commit + 1795b260b54186116911b1d32d6767ea9b221b04
blob - 6b06d43ab24d2750a66f3657513869ecb77d13f8
blob + 36ce30f6ccea3dbb0c641969eee0075e907d4300
--- got/got.1
+++ got/got.1
.Bl -tag -width tenletters
.It Fl h
Display usage information and exit immediately.
-.It Fl V, -version
+.It Fl V , -version
Display program version and exit immediately.
.El
.Pp
The reference with the specified
.Ar name
will point at the specified
-.Ar object.
+.Ar object .
The expected
.Ar object
argument is a ID SHA1 hash or an existing reference or tag name which will
.Ar branch
and the work tree is automatically switched to it.
.Pp
-Old commits in their pre-rebase state are automatically backed up in the
+Old commits in their pre-rebase state are automatically backed up in the
.Dq refs/got/backup/rebase
reference namespace.
As long as these references are not removed older versions of rebased
the new version of the work tree's branch and the work tree is automatically
switched to it.
.Pp
-Old commits in their pre-histedit state are automatically backed up in the
+Old commits in their pre-histedit state are automatically backed up in the
.Dq refs/got/backup/histedit
reference namespace.
As long as these references are not removed older versions of edited
Worktree-specific configuration settings for
.Nm .
If present, a
-.Xr got.conf
+.Xr got.conf 5
configuration file in the
.Pa .got
meta-data directory of a work tree supersedes any relevant settings in
.Pp
Alternatively, create a new commit from local changes in a work tree
directory with a log message that has been prepared in the file
-.Pa /tmp/msg:
+.Pa /tmp/msg :
.Pp
.Dl $ got commit -F /tmp/msg
.Pp
into the
.Dq refs/remotes
namespace of the local repository.
-This can achieved by setting Git's
+This can be achieved by setting Git's
.Pa remote.origin.fetch
configuration variable to the value
.Dq +refs/heads/*:refs/remotes/origin/*
.Sh CAVEATS
.Nm
is a work-in-progress and some features remain to be implemented.
-
+.Pp
At present, the user has to fall back on
.Xr git 1
to perform some tasks.
blob - 846205a43f056559a960ab6d0c0ebb5076e6ba20
blob + 58e0d602e43b9e45856efd11c355b7c86cccedbc
--- got/got.conf.5
+++ got/got.conf.5
namespace will be updated directly to match the corresponding branches in
the remote repository.
.El
+.El
.Sh EXAMPLES
Configure author information:
.Bd -literal -offset indent
}
.Ed
.Pp
-Mirror the OpenBSD src repository from Github:
+Mirror the
+.Ox
+src repository from Github:
.Bd -literal -offset indent
remote "origin" {
repository "openbsd/src"
or
.Ev EDITOR
environment variables instead.
-
blob - 54df54bea34fe6259844cce36d802c08a97569e6
blob + 4296b08451ec4307d6eff21aa6b9f6d92e753565
--- tog/tog.1
+++ tog/tog.1
.Pp
.Nm
.Ar path
-.El
.Sh DESCRIPTION
.Nm
is an interactive read-only browser for Git repositories.
.Bl -tag -width tenletters
.It Fl h
Display usage information.
-.It Fl V, -version
+.It Fl V , -version
Display program version and exit immediately.
.El
.Pp