Skip to content

Commit 14a6d76

Browse files
committed
doc: enable the furo theme
1 parent dc89050 commit 14a6d76

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4187
-5448
lines changed

share/doc/git-cola/git-cola.rst

Lines changed: 51 additions & 48 deletions
Original file line numberDiff line numberDiff line change
@@ -133,15 +133,15 @@ If defined, the first of these variables is used:
133133
The `*VISUAL` variables are consulted before the `*EDITOR` variables so that you can
134134
configure a graphical editor independently of the editor used by the Git CLI.
135135

136-
*ProTip*: Configuring your editor to `gvim -f -p` will open multiple tabs
136+
*Pro Tip*: Configuring your editor to `gvim -f -p` will open multiple tabs
137137
when editing files. `gvim -f -o` uses splits.
138138

139139
`git cola` is {vim, emacs, textpad, notepad++}-aware.
140140
When you select a line in the diff or grep screens and press any of
141141
`Enter`, `Ctrl-e`, or the `Edit` button, you are taken to that exact line.
142142

143143
The editor preference is saved in the `gui.editor` variable using
144-
`git config <http://git-scm.com/docs/git-config>`_.
144+
`git config <https://git-scm.com/docs/git-config>`_.
145145

146146
The following are some recommend editor configurations.
147147

@@ -170,7 +170,7 @@ KEYBOARD SHORTCUTS
170170
==================
171171
`git cola` has many useful keyboard shortcuts.
172172

173-
Many of `git cola`'s editors understand vim-style hotkeys, eg. `{h,j,k,l}`
173+
Many of `git cola`'s editors understand vim-style hotkeys, e.g. `{h,j,k,l}`
174174
for navigating in the diff, status, grep, and file browser widgets.
175175

176176
`{d,u}` move down/up one half page at a time (similar to vim's `ctrl-{d,u}`).
@@ -211,42 +211,41 @@ A hidden tool can be re-opened using the `Tools` menu or
211211
the `Shift+Control-{1, 2, 3, ...}` shortcut keys.
212212

213213
The Diff editor can be focused with `Ctrl-j`.
214-
the Status tool can be focused with `Ctrl-k`.
215-
the Commit tool can be focused with `Ctrl-l`.
214+
The Status tool can be focused with `Ctrl-k`.
215+
The Commit tool can be focused with `Ctrl-l`.
216216

217217

218218
.. _status:
219219

220220
STATUS
221221
======
222222
The `Status` tool provides a visual analog to the
223-
`git status <http://git-scm.com/docs/git-status>`_ command.
223+
`git status <https://git-scm.com/docs/git-status>`_ command.
224224

225225
`Status` displays files that are `modified` relative to the staging area,
226226
`staged` for the next commit, `unmerged` files from an in-progress merge,
227227
and files that are `untracked` to git.
228228

229229
These are the same categories one sees when running
230-
`git status <http://git-scm.com/docs/git-status>`_
230+
`git status <https://git-scm.com/docs/git-status>`_
231231
on the command line.
232232

233233
You can navigate through the list of files using keyboard arrows as well
234-
as the ergonomical and vim-like `j` and `k` shortcut keys.
234+
as the ergonomic and vim-like `j` and `k` shortcut keys.
235235

236236
There are several convenient ways to interact with files in the `Status` tool.
237237

238238
Selecting a file displays its diff in the `Diff` viewer.
239-
Double-clicking a file stages its contents, as does the
240-
the `Ctrl-s` shortcut key.
239+
Double-clicking a file stages its contents, as does the `Ctrl-s` shortcut key.
241240

242241
`Ctrl-e` opens selected files in the configured editor, and
243-
`Ctrl-d` opens selected files using `git difftool <http://git-scm.com/docs/git-difftool>`_
242+
`Ctrl-d` opens selected files using `git difftool <https://git-scm.com/docs/git-difftool>`_
244243

245244
Additional actions can be performed using the right-click context menu.
246245

247246
Drag and Drop
248247
-------------
249-
Files can be dragged from the the `Status` tool onto other applications.
248+
Files can be dragged from the `Status` tool onto other applications.
250249

251250
Some terminals will treat a drag with multiple files by separating them with newlines,
252251
which is less amenable for pasting command-line arguments.
@@ -273,7 +272,7 @@ Different actions are available depending a file's status.
273272

274273
Stage Selected
275274
~~~~~~~~~~~~~~
276-
Add to the staging area using `git add <http://git-scm.com/docs/git-add>`_
275+
Add to the staging area using `git add <https://git-scm.com/docs/git-add>`_
277276
Marks unmerged files as resolved.
278277

279278
Launch Editor
@@ -296,11 +295,11 @@ Throws away uncommitted edits
296295
Unstage Selected
297296
~~~~~~~~~~~~~~~~
298297
Remove from the index/staging area with
299-
`git reset <http://git-scm.com/docs/git-reset>`_
298+
`git reset <https://git-scm.com/docs/git-reset>`_
300299

301300
Launch Merge Tool
302301
~~~~~~~~~~~~~~~~~
303-
Resolve conflicts using `git mergetool <http://git-scm.com/docs/git-mergetool>`_.
302+
Resolve conflicts using `git mergetool <https://git-scm.com/docs/git-mergetool>`_.
304303

305304
Delete File(s)
306305
~~~~~~~~~~~~~~
@@ -370,19 +369,21 @@ staged content.
370369

371370
Sign Off
372371
--------
373-
The `Sign Off` button adds a standard::
372+
The `Sign Off` button adds a sign-off to the bottom of the commit message::
374373

375374
Signed-off-by: A. U. Thor <a.u.thor@example.com>
376375

377-
line to the bottom of the commit message.
378-
379376
Invoking this action is equivalent to passing the ``-s`` option
380-
to `git commit <http://git-scm.com/docs/git-commit>`_.
377+
to `git commit <https://git-scm.com/docs/git-commit>`_.
378+
379+
Signing-off on commits is a common practice in projects that use
380+
`Developer Certificate of Origin <https://developercertificate.org/>`_
381+
attestations in their contribution process.
381382

382383
Commit
383384
------
384385
The commit button runs
385-
`git commit <http://git-scm.com/docs/git-commit>`_.
386+
`git commit <https://git-scm.com/docs/git-commit>`_.
386387
The contents of the commit message editor is provided as the commit message.
387388

388389
Only staged files are included in the commit -- this is the same behavior
@@ -405,7 +406,7 @@ Red indicates that the line is running up against the standard
405406
80-column limit for commit messages.
406407

407408
Keeping commit messages less than 76-characters wide is encouraged.
408-
`git log <http://git-scm.com/docs/git-log>`_
409+
`git log <https://git-scm.com/docs/git-log>`_
409410
is a great tool but long lines mess up its formatting for everyone else,
410411
so please be mindful when writing commit messages.
411412

@@ -422,8 +423,8 @@ Create Signed Commit
422423
Tell `git commit` and `git merge` to sign commits using GPG.
423424

424425
Using this option is equivalent to passing the ``--gpg-sign`` option to
425-
`git commit <http://git-scm.com/docs/git-commit>`_ and
426-
`git merge <http://git-scm.com/docs/git-merge>`_.
426+
`git commit <https://git-scm.com/docs/git-commit>`_ and
427+
`git merge <https://git-scm.com/docs/git-merge>`_.
427428

428429
This option's default value can be configured using the `cola.signcommits`
429430
configuration variable.
@@ -447,37 +448,39 @@ across all repositories.
447448

448449
BRANCHES
449450
========
450-
The `Branches` tool provides a visual tree to navigate through the branches.
451-
The tree has three main nodes `Local Branch`, `Remote Branch` and `Tags`.
452-
Branches are grouped by their name divided by the character '/'.Ex::
451+
The `Branches` tool provides a visual tree to navigate branches.
452+
The tree has three main sections: `Local Branches`, `Remote Branches` and `Tags`.
453+
Branches are grouped by their name divided by the character ``/``.
454+
For example, in a repo with the following list of branches::
453455

454456
branch/feature/foo
455457
branch/feature/bar
456458
branch/doe
457459

458-
Will produce::
460+
The branches widget will display the following hierarchy::
459461

460462
branch
461463
- doe
462464
+ feature
463465
- bar
464466
- foo
465467

466-
Current branch will display a star icon. If current branch has commits
467-
ahead/behind it will display an up/down arrow with its number.
468+
The current branch is decorated with a star icon.
469+
If the current branch has commits ahead or behind the remote then an up or down
470+
arrow will be displayed alongside a number showing the number of commits.
468471

469472
Actions
470473
-------
471474
Various actions are available through the right-click context menu.
472-
Different actions are available depending of selected branch status.
475+
Different actions are available depending on the selected branch's status.
473476

474477
Checkout
475478
~~~~~~~~
476479
The checkout action runs
477480
`git checkout [<branchname>] <https://git-scm.com/docs/git-checkout>`_.
478481

479-
Merge in current branch
480-
~~~~~~~~~~~~~~~~~~~~~~~
482+
Merge into current branch
483+
~~~~~~~~~~~~~~~~~~~~~~~~~
481484
The merge action runs
482485
`git merge --no-commit [<branchname>] <https://git-scm.com/docs/git-merge>`_.
483486

@@ -513,7 +516,7 @@ Use the ``File -> Apply Patches`` menu item to begin applying patches.
513516

514517
Dragging and dropping patches onto the `git cola` interface
515518
adds the patches to the list of patches to apply using
516-
`git am <http://git-scm.com/docs/git-am>`_.
519+
`git am <https://git-scm.com/docs/git-am>`_.
517520

518521
You can drag either a set of patches or a directory containing patches.
519522
Patches can be sorted using in the interface and are applied in the
@@ -523,7 +526,7 @@ When a directory is dropped `git cola` walks the directory
523526
tree in search of patches. `git cola` sorts the list of
524527
patches after they have all been found. This allows you
525528
to control the order in which patches are applied by placing
526-
patchsets into alphanumerically-sorted directories.
529+
patch sets into alphanumerically-sorted directories.
527530

528531

529532
CUSTOM WINDOW SETTINGS
@@ -532,7 +535,7 @@ CUSTOM WINDOW SETTINGS
532535
of tools within the `git cola` interface. Changes are saved
533536
and restored at application shutdown/startup.
534537

535-
`git cola` can be configured to not save custom layouts by unsetting
538+
`git cola` can be configured to not save custom layouts by disabling
536539
the `Save Window Settings` option in the `git cola` preferences.
537540

538541

@@ -639,7 +642,7 @@ cola.blockcursor
639642
----------------
640643
Whether to use a "block" cursor in diff editors. The block cursor is easier to
641644
see compared to a line cursor. Set to `false` to use a thin "line" cursor.
642-
Defauls to `true`.
645+
Defaults to `true`.
643646

644647
cola.browserdockable
645648
--------------------
@@ -695,7 +698,7 @@ and applying diffs.
695698

696699
A `.gitattributes` file can set the ``binary`` attribute in order to force
697700
specific untracked paths to be treated as binary files when diffing.
698-
Binary files are displayed using a hexdump display.
701+
Binary files are displayed using a hex-dump display.
699702

700703
.. sourcecode:: sh
701704

@@ -781,8 +784,8 @@ remember is controlled by `cola.maxrecent` and defaults to `8`.
781784
cola.mousezoom
782785
--------------
783786
Controls whether zooming text using Ctrl + MouseWheel scroll is enabled.
784-
Set to `false to disable scrolling with the mouse wheel.
785-
Defauls to `true`.
787+
Set to ``false`` to disable scrolling with the mouse wheel.
788+
Defaults to ``true``.
786789

787790
cola.dragencoding
788791
-----------------
@@ -879,7 +882,7 @@ whereas ``gnome-terminal -- git difftool`` does not.
879882

880883
You should not need to set this variable for the built-in terminals
881884
cola knows about -- it will behave correctly without configuration.
882-
For example, when unconfigured, cola already knows that xfce4-terminal
885+
For example, when not configured, cola already knows that xfce4-terminal
883886
requires shell quoting.
884887

885888
This configuration variable is for custom terminals outside of the builtin set.
@@ -1033,7 +1036,7 @@ gui.editor
10331036
----------
10341037
The default text editor to use is defined in `gui.editor`.
10351038
The config variable overrides the VISUAL environment variable.
1036-
e.g. `gvim -f -p`.
1039+
Defaults to `gvim -f -p`.
10371040

10381041
gui.historybrowser
10391042
------------------
@@ -1082,7 +1085,7 @@ GIT_COLA_SCALE
10821085
for more details.
10831086

10841087
`git cola` can be made to scale its interface for HiDPI displays.
1085-
When defined, `git cola` will scale icons, radioboxes, and checkboxes
1088+
When defined, `git cola` will scale icons, radio buttons, and checkboxes
10861089
according to the scale factor. The default value is `1`.
10871090
A good value is `2` for high-resolution displays.
10881091

@@ -1139,13 +1142,13 @@ selected file as FILENAME, and the name of the current branch as CUR_BRANCH
11391142
(if the head is detached, CUR_BRANCH is empty).
11401143

11411144
If ``<name>`` contains slashes (``/``) then the leading part of the name,
1142-
up until the final slash, is treated like a path of submenus under which the
1145+
up until the final slash, is treated like a path of sub-menus under which the
11431146
actions will be created.
11441147

11451148
For example, configuring ``guitool.Commands/Util/echo.cmd`` creates a
11461149
``Commands`` menu inside the top-level ``Actions`` menu, a ``Util`` menu
11471150
inside the ``Commands`` menu and an ``echo`` action inside the ``Commands``
1148-
submenu.
1151+
sub-menu.
11491152

11501153
guitool.<name>.background
11511154
-------------------------
@@ -1187,7 +1190,7 @@ and can be used together with it.
11871190

11881191
guitool.<name>.revunmerged
11891192
--------------------------
1190-
Show only unmerged branches in the revprompt subdialog. This is useful for
1193+
Show only unmerged branches in the revprompt sub-dialog. This is useful for
11911194
tools similar to merge or rebase, but not for things like checkout or reset.
11921195

11931196
guitool.<name>.title
@@ -1206,7 +1209,7 @@ guitool.<name>.shortcut
12061209
Specifies a keyboard shortcut for the custom tool.
12071210

12081211
The value must be a valid string understood by the `QAction::setShortcut()` API.
1209-
See http://qt-project.org/doc/qt-4.8/qkeysequence.html#QKeySequence-2
1212+
See https://doc.qt.io/qt-6/qkeysequence.html#toString
12101213
for more details about the supported values.
12111214

12121215
Avoid creating shortcuts that conflict with existing built-in `git cola`
@@ -1313,7 +1316,7 @@ Git Installation
13131316
If Git is installed in a custom location, e.g. not installed in `C:/Git` or
13141317
Program Files, then the path to Git must be configured by creating a file in
13151318
your home directory `~/.config/git-cola/git-bindir` that points to your git
1316-
installation. e.g.::
1319+
installation, e.g.::
13171320

13181321
C:/Tools/Git/bin
13191322

@@ -1332,7 +1335,7 @@ https://stackoverflow.com/questions/18683092/how-to-run-ssh-add-on-windows
13321335
FIPS SECURITY MODE
13331336
==================
13341337

1335-
`FIPS Security Mode <https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS/FIPS_Mode_-_an_explanation>`_
1338+
`FIPS Security Mode <https://github.com/python/cpython/issues/53462>`_
13361339
is available in newer versions of Python. These include Python 3.9+ and the
13371340
patched Python 3.6 used by CentOS8/RHEL8 (and possibly others).
13381341

0 commit comments

Comments
 (0)