Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Brickster/git-commands

Repository files navigation

git-commands

Build Status Requirements Status Codacy Grade Badge Codacy Coverage Badge

A collection of custom git commands

Install

make [install]

or

export PATH="$PATH:/path/to/git-commands/repository/bin"

See the dependencies section for other installation details.

Uninstall

make uninstall

or

# remove the previously added line

Commands

Used to see a more concise and comprehensive view of the working directory through custom extensions.

git state [(-s|--status)] [(-S|--no-status)]
          [--show-*] [--no-show-*]  # for each custom extension
          [(-e|--show-empty)] [(-E|--no-show-empty)]
          [(-c|--color) [WHEN]] [(-C|--no-color)]
          [(-p|--pretty)] [(-f|--format) FORMAT]
          [--clear] [--no-clear] [--no-page]
          [--ignore-extensions [EXTENSION ...]]
          [(-o|--order) SECTION [SECTION ...]]
          [(-O|--options) OPTION [OPTION ...]]
git state (-h|--help)
git state (-v|--version)

Used to record the current state of the working directory without reverting it.

git snapshot [MESSAGE] [(-q|--quiet)] [-- FILE [FILE ...]]
git snapshot (-h|--help)
git snapshot (-v|--version)

Used to list the commits between this branch and another.

git changes [view] [(-c|--count)] [(-s|--stat)] [(-d|--diff)]
                   [--color [WHEN]] [--no-color] [COMMIT-ISH]
git changes associate [(-q|--quiet)] [(-u|--upstream)] [COMMIT-ISH]
git changes unassociate [(-a|--all)] [(-p|--prune)] [(-q|--quiet)]
                        [(-d|--dry-run)]
git changes (-h|--help)
git changes (-v|--version)

Used as a compliment to git-config by adding missing features.

git settings get [FILE-OPTION] [(-d|--default) VALUE] KEY
git settings destroy [(-d|--dry-run)] SECTION
git settings list [FILE-OPTION] [(-p|--pretty)]
                  [(-f|--format) FORMAT] [(-c|--count)]
                  [(-k|--keys)] [SECTION]
git settings cleanup FILE
git settings (-h|--help)
git settings (-v|--version)

Used to get the current upstream branch.

git upstream [(-r|--include-remote)] [(-R|--no-include-remote)]
             [(-b|--branch)]
git upstream (-h|--help)
git upstream (-v|--version)

Used to drop a count or range of stashes.

git abandon [(-d|--dry-run)] [(-q|--quiet)] [START] END
git abandon (-h|--help)
git abandon (-v|--version)

Used to restash changes.

git restash [(-q|--quiet)] [STASH]
git restash (-h|--help)
git restash (-v|--version)

Used to stash specific files rather than the all-or-nothing style of git stash.

git tuck [MESSAGE] [(-i|--ignore-deleted)|(-I|--no-ignore-deleted)]
         [(-c|--color) [WHEN]|(-C|--no-color)]
         [(-x|--indexed)|(-X|--unindexed)]
         [(-d|--dry-run)|(-q|--quiet)] -- FILE [FILE ...]
git tuck (-h|--help)
git tuck (-v|--version)

Used to re-add already indexed files to the index.

git reindex (-h|--help)
git reindex (-v|--version)

Dependencies

About

A collection of custom git commands

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors