Skip to content
Bahtiar `kalkin-` Gadimov edited this page Apr 12, 2020 · 16 revisions

pygit-viewer(1) Manual Page

Name

pygit-viewer - An alternative to tig(1) which supports folding the merges.

Synopsis

pygit_viewer [--workdir=DIR] [REVISION] [-d | --debug] \[[--] <path>…​]
pygit_viewer --version

Description

An alternative to man:tig[1]/man:lazygit[1] which supports folding the merges and is expandable via plugins. The application can resolve the default merge titles done by using GitHub or Bitbucket to the actual pull request names.

Use CTRL+C or q to exit the application.

Options

REVISION

A branch, tag or commit [default: HEAD]

--workdir=DIR

Directory where the git repository is

-d
--debug

Enable sending debugging output to man:journalctl[1] (journalctl --user -f)

Default Keybindingso

General Keys

Table 1. Movement

Key

Action

h

Show this help.

k, Up

Move cursor one line up.

j, Down

Move cursor one line down.

PgUp,

Move cursor one page up.

PgDown, Space

Move cursor one page down.

End

Jump to last line.

q

Close view, if multiple views are open it will jump back to the previous view in the view stack. If it is the last open view it will quit.

Home

Jump to first line.

Table 2. Searching

Key

Action

/

Search the view. Opens a prompt for entering search regexp to use.

?

Search backwards in the view. Also prompts for regexp.

n

Find next match for the current search regexp.

N

Find previous match for the current search regexp.

Log View

Key

Action

Enter

Open selected commit in diff view

l

Unfold merge or follow the merge if unfolded

h

Fold merge or go up the tree if folded

Diff View

Key

Action

Enter

Open selected commit in diff view

{

Jump to previous hunk

}

Jump to next hunk

Clone this wiki locally