Skip to content

isacikgoz/gia

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

gia

gia is a tool for interactive hunk staging.

Preview

screencast

Install

go get github.com/isacikgoz/gia

Program Arguments

usage: gia [<file>] [<args>]

Flags:
	-h, --help     Show help.
	-v, --version  Show application version.

Args:
  --
    Default mode, used on unstaged files.

  --no-index
    Used on untracked files.

  --cached
    Used on staged files.

Controls

  • ↓, j: Cursor down
  • ↑, k: Cursor up
  • n: Next hunk
  • N: Previous hunk
  • g: Go to top
  • G: Go to bottom
  • space: Stage/Unstage
  • q: Quit
  • c: Open controls

Adding To Your Own App

See main.go for usage. Also, feel free to open PR's.

License

BSD-3-Clause