FarNet.GitKit
0.3.2
Prefix Reserved
See the version list below for details.
dotnet add package FarNet.GitKit --version 0.3.2
NuGet\Install-Package FarNet.GitKit -Version 0.3.2
<PackageReference Include="FarNet.GitKit" Version="0.3.2" />
<PackageVersion Include="FarNet.GitKit" Version="0.3.2" />
<PackageReference Include="FarNet.GitKit" />
paket add FarNet.GitKit --version 0.3.2
#r "nuget: FarNet.GitKit, 0.3.2"
#:package FarNet.GitKit@0.3.2
#addin nuget:?package=FarNet.GitKit&version=0.3.2
#tool nuget:?package=FarNet.GitKit&version=0.3.2
FarNet.GitKit
Far Manager git helpers based on LibGit2Sharp
About
GitKit is the FarNet module for git operations in Far Manager. GitKit uses LibGit2Sharp. Git is not needed for local tasks.
Project FarNet
- Wiki: https://github.com/nightroman/FarNet/wiki
- Site: https://github.com/nightroman/FarNet
- Author: Roman Kuzmin
Install
- Far Manager
- Package FarNet
- Package FarNet.GitKit
- Optional package FarNet.PowerShellFar
How to install and update FarNet and modules
https://github.com/nightroman/FarNet#readme
Commands
GitKit commands use the prefix gk. Commands may be typed and invoked in the
Far Manager command line or using F11 / FarNet / Invoke. Commands may be also
defined in the Far Manager user menu and file associations.
The command gk: without parameters prints the repository status. Other
commands require parameters, one or more key=value pairs separated by
semicolons, using the connection string format.
gk: [key=value] [; key=value] ...
Common parameters
Repo=<path>Specifies the existing repository path. Default: the current panel directory.
Panel commands
gk: panel=branchesOpens the Branches panel.
gk: panel=commitsOpens the Commits panel.
gk: panel=changesOpens the Changes panel.
Operation commands
gk: init=<path>Creates repository, see Init command.
gk: clone=<url>Clones repository, see Clone command.
gk: commit=<message>Commits changes, see Commit command.
gk:Prints the repository status: summary of changes if any, the commit hash, local and remote branches with the same tip commit, the commit message.
Init command
Use this command in order to create a repository
gk: init=<path>
Parameters
IsBare={true|false}Tells to create a bare repository.
Clone command
Use this command in order to clone a repository
gk: clone=<url>
Parameters
Path=<path>Specifies the local path to clone into. Default: the current panel directory.
IsBare={true|false}Tells to clone a bare repository.
NoCheckout={true|false}Tells not to checkout after cloning.
RecurseSubmodules={true|false}Tells to recursively clone submodules.
Commit command
Use this command in order to commit changes
gk: commit=<message>
Set the message to "#" in order to compose it in the editor. If you also set
CommentaryChar then the message will contain the commented out info about
changes to be committed.
Parameters
All={true|false}Tells to stage all changes before committing.
AllowEmptyCommit={true|false}Tells to allow creation of an empty commit.
AmendPreviousCommit={true|false}Tells to amend the previous commit.
PrettifyMessage={true|false}Tells to prettify the message by stripping leading and trailing empty lines, trailing spaces, and collapsing consecutive empty lines.
PrettifyMessageis ignored ifCommentaryCharis set.CommentaryChar=<char>The starting line char used to identify commentaries in the commit message. If set (usually to "#"), all lines starting with this char will be removed.
CommentaryCharimpliesPrettifyMessage=true.
Examples
# commit all changes, compose a new message in the editor
gk: commit=#; All=true; CommentaryChar=#
# amend with all changes, modify the old message in the editor
gk: commit=#; All=true; CommentaryChar=#; AmendPreviousCommit=true
Panels
GitKit provides several panels for browsing and operating
Common panel keys and actions
CtrlAOpens the cursor item property panel. This operation requires
FarNet.PowerShellFar.
Branches panel
This panel shows the repository branches, local and remote.
The head branch is marked by *.
Remote branches are marked by r.
The panel is opened by
gk: panel=branches
Keys and actions
EnterOpens the cursor branch Commits panel.
ShiftEnterCheckouts the cursor branch. For the local branch, makes it the head branch. For the remote branch, creates a new branch from it and makes it the head branch.
ShiftF5Creates a new branch from the cursor branch.
ShiftF6Renames the cursor branch.
F7Creates and checkouts a new branch from the head branch. Note that the head branch is with
*, not the cursor. To copy the cursor branch, useShiftF5.F8,DelSafely deletes the selected local branches.
Branches with unique local commits and remote branches are not deleted. Use
ShiftF8,ShiftDelin order to force delete them.ShiftF8,ShiftDelForcedly deletes the selected local and remote branches.
git.exe is used to delete remote branches.
Other keys
See Panels for common keys and actions.
Other actions
See Menu.
Commits panel
This panel shows branch commits. Commits are shown by pages of 100.
The panel is opened from the branches panel or for the head branch by
gk: panel=commits
Keys and actions
EnterOpens the cursor commit Changes panel.
PgDnAt the last shown commit, loads the next page commits.
PgUpAt the first shown commit, loads the previous page commits.
Other keys
See Panels for common keys and actions.
Other actions
See Menu.
Changes panel
This panel shows changed files.
The panel is opened from the commits panel or by the menu commands "Compare branches" and "Compare commits" or for the current changes by
gk: panel=changes
Keys and actions
EnterOpens the diff tool specified by the environment variable
MERGE.F3,F4Opens the diff patch in the viewer or editor.
Other keys
See Panels for common keys and actions.
Menu
Compare branches
Compares the cursor branch with the selected branch and opens the changes panel. If nothing is selected then the head branch is used.
Merge branch
Merges the cursor branch into the head branch, with a confirmation dialog.
Compare commits
Compares the cursor commit with the selected commit and opens the changes panel. If nothing is selected then the tip commit is used.
Create branch
Creates a new branch from the cursor commit.
Help
Shows GitKit help.
Learn more about Target Frameworks and .NET Standard.
This package has no dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.4.9 | 180 | 10/29/2025 |
| 1.4.8 | 164 | 10/21/2025 |
| 1.4.7 | 158 | 10/21/2025 |
| 1.4.6 | 165 | 10/20/2025 |
| 1.4.5 | 160 | 10/20/2025 |
| 1.4.4 | 102 | 10/19/2025 |
| 1.4.3 | 144 | 10/17/2025 |
| 1.4.2 | 150 | 10/17/2025 |
| 1.4.1 | 155 | 10/16/2025 |
| 1.4.0 | 162 | 10/16/2025 |
| 1.3.20 | 165 | 10/14/2025 |
| 1.3.19 | 86 | 10/11/2025 |
| 1.3.18 | 167 | 10/8/2025 |
| 1.3.17 | 162 | 10/7/2025 |
| 1.3.16 | 167 | 9/21/2025 |
| 1.3.15 | 205 | 6/3/2025 |
| 1.3.14 | 185 | 5/29/2025 |
| 1.3.13 | 180 | 5/29/2025 |
| 1.3.12 | 191 | 5/27/2025 |
| 1.3.11 | 174 | 5/26/2025 |
| 1.3.10 | 258 | 4/17/2025 |
| 1.3.9 | 301 | 3/4/2025 |
| 1.3.8 | 165 | 3/2/2025 |
| 1.3.7 | 175 | 2/20/2025 |
| 1.3.6 | 167 | 2/17/2025 |
| 1.3.5 | 177 | 2/5/2025 |
| 1.3.4 | 148 | 1/8/2025 |
| 1.3.3 | 172 | 1/1/2025 |
| 1.3.2 | 190 | 12/29/2024 |
| 1.3.1 | 178 | 12/26/2024 |
| 1.3.0 | 155 | 12/24/2024 |
| 1.2.1 | 165 | 12/23/2024 |
| 1.2.0 | 167 | 12/21/2024 |
| 1.1.2 | 195 | 12/14/2024 |
| 1.1.1 | 185 | 12/8/2024 |
| 1.1.0 | 167 | 12/4/2024 |
| 1.0.3 | 182 | 10/26/2024 |
| 1.0.2 | 293 | 4/20/2024 |
| 1.0.1 | 317 | 1/13/2024 |
| 1.0.0 | 295 | 11/19/2023 |
| 0.9.7 | 346 | 11/1/2023 |
| 0.9.6 | 268 | 10/27/2023 |
| 0.9.5 | 281 | 10/26/2023 |
| 0.9.4 | 291 | 10/25/2023 |
| 0.9.3 | 369 | 5/16/2023 |
| 0.9.2 | 260 | 5/3/2023 |
| 0.9.1 | 246 | 5/2/2023 |
| 0.9.0 | 273 | 5/1/2023 |
| 0.8.6 | 267 | 4/30/2023 |
| 0.8.5 | 260 | 4/29/2023 |
| 0.8.4 | 247 | 4/28/2023 |
| 0.8.3 | 270 | 4/27/2023 |
| 0.8.2 | 259 | 4/27/2023 |
| 0.8.1 | 264 | 4/26/2023 |
| 0.8.0 | 264 | 4/26/2023 |
| 0.7.8 | 274 | 4/24/2023 |
| 0.7.7 | 274 | 4/23/2023 |
| 0.7.6 | 270 | 4/23/2023 |
| 0.7.5 | 277 | 4/23/2023 |
| 0.7.4 | 263 | 4/21/2023 |
| 0.7.3 | 277 | 4/21/2023 |
| 0.7.2 | 279 | 4/21/2023 |
| 0.7.1 | 287 | 4/19/2023 |
| 0.7.0 | 287 | 4/19/2023 |
| 0.6.5 | 311 | 4/18/2023 |
| 0.6.4 | 273 | 4/18/2023 |
| 0.6.3 | 256 | 4/18/2023 |
| 0.6.2 | 280 | 4/17/2023 |
| 0.6.1 | 281 | 4/16/2023 |
| 0.6.0 | 296 | 4/16/2023 |
| 0.5.3 | 291 | 4/15/2023 |
| 0.5.2 | 287 | 4/15/2023 |
| 0.5.1 | 262 | 4/15/2023 |
| 0.5.0 | 280 | 4/14/2023 |
| 0.4.0 | 300 | 4/13/2023 |
| 0.3.2 | 290 | 4/12/2023 |
| 0.3.1 | 294 | 4/12/2023 |
| 0.3.0 | 286 | 4/12/2023 |
| 0.2.4 | 277 | 4/11/2023 |
| 0.2.3 | 296 | 4/11/2023 |
| 0.2.2 | 288 | 4/11/2023 |
| 0.2.1 | 286 | 4/11/2023 |
| 0.2.0 | 290 | 4/11/2023 |
| 0.1.0 | 296 | 4/10/2023 |
| 0.0.3 | 303 | 4/9/2023 |
| 0.0.2 | 291 | 4/9/2023 |
| 0.0.1 | 288 | 4/8/2023 |