Skip to content
/ far Public

Far Manager plugin shows git branch at command prompt

Notifications You must be signed in to change notification settings

smithx/far

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitBranch Far Manager plugin

Plugin helps Far Manager to show git branch at command prompt. It setups %GITBRANCH% to branch name for repository on active panel. You should customize "Command line settings" to insert %GITBRANCH% in command line prompt format string. Branch name will be shown at command prompt:

Far Manager plugin show git branch

Features

  • Shows current git branch name in the command prompt
  • Adds ! suffix if there are uncommitted changes in the repository
  • Shows short commit hash for detached HEAD state (e.g., abc1234...)
  • Shows HEAD (no branch) for repositories without a branch

Git is not needed - plugin uses libgit2 library directly

build

About

Far Manager plugin shows git branch at command prompt

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •