git-cheat

by 0xAX

git cheat sheets in your command line

203 Stars 38 Forks Last release: Not found Other 43 Commits 0 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

git-cheat

git-cheat
is a dependency free git helper in your command-line. Of course here is not full list of git commands and their keys, here is the set of commands which I'm using almost every day. If I'm missing something, please, feel free to contribute.

usage

  1. Clone
    git-cheat
    with:
git clone https://github.com/0xAX/git-cheat.git
  1. Move the

    git-cheat
    file into a directory which is in your
    $PATH
  2. Try to use:

git-cheat
Usage: git-cheat [option]

Mandatory arguments:

--setup -s --> git setup and configuration --init -i --> creation of new project --add -a --> adding files to git --delete -d --> deleting files from git --commit -c --> git commit helper --branch -b --> git branching info --merge -m --> git merging info --rebase -rb --> git rebase info --update -u --> updating current repo --stash -st --> stashing in current repo --inspect -in --> git inspection, log,show... --remote -r --> git remote helper --patch -p --> git patching helper --debug -dg --> git debugging --email -e --> git email helper --tags -t --> git tags helper --reset -rs --> git reset helper --conflict -cn --> git conflict resolving helper --revert -rv --> git reverting helper --fix-mistakes -f --> fix mistakes in git --submodules -sm --> git submodules helper --archive -ar --> archive your repo

--help -h ? --> prints usage of git-cheat --version -v --> prints version of git-cheat

Report bugs and contribution at: https://github.com/0xAX/git-cheat

./git-cheat --commit

git commiting

git commit ... [-m ] commit , , etc..., optionally using commit message . otherwise opening your editor to let you type a commit message

git commit -a commit all files changed since your last commit

git commit -v commit verbosely, i.e. includes the diff of the contents being committed in the commit message screen

todo

  • add github cheats
  • add missed git cheats
  • more plumbing git cheats
  • add bash completion

contribution

If I missed something you can easily to contribute to

git-cheat
:
  • Fork repo
  • Make you changes
  • Send pull request
  • Thank you :)

author

@0xAX

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.