Skip to content

andlrc/git-open

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GIT-OPEN(1)                     Extension to git                     GIT-OPEN(1)



NAME
       git-open - Open relevant git files in your favorite editor

SYNOPSIS
       git open [OPTIONS]...

DESCRIPTION
       Open staged, changed or committed files in your git editor.

       Options can be combined as to open both staged, changed and committed
       files.

OPTIONS
       -s, --staged
              open staged files

       -c, --changed
              open changed files

       -C, --committed
              open files from the latest commit

       -n, --dry-run
              do not actually open any files; just show what would have been
              opened

       -h, --help
              show help

VARIABLES
       GIT_OPEN_EDITOR
           Text editor for opening the files. The value is meant to be
           interpreted by the shell when it is used.
           The order of preference is the $GIT_OPEN_EDITOR environment variable,
           then open.editor configuration, then the rules from git-var(1)
           applies

AUTHOR
       Written by Andreas Louv <[email protected]>

REPORTING BUGS
       Use the GitHub bug tracker <https://github.com/andlrc/git-open/issues/>

SEE ALSO
       git(1), git-var(1)



                                   03/22/2022                        GIT-OPEN(1)

About

Open relevant git files in your favorite editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages