Need help with git-cheat?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

0xAX
204 Stars 39 Forks Other 43 Commits 0 Opened issues

Description

git cheat sheets in your command line

Services available

!
?

Need anything else?

Contributors list

# 54,346
Elixir
elm-lan...
elm
slim-fr...
5 commits
# 44,810
Google
python-...
python-...
spotify
4 commits
# 2,139
Shell
Erlang
Python
Linux
4 commits
# 19,195
Lua
metaspl...
Common ...
apache-...
3 commits
# 158,222
playboo...
Ubuntu
Ansible
Perl
2 commits
# 263,694
C++
Electro...
keepass
kitsu
1 commit
# 184,160
Shell
Objecti...
asio
Linux
1 commit
# 233,196
Erlang
Scala
unoffic...
messeng...
1 commit
# 607,470
Shell
1 commit
# 273,786
Shell
HTML
Less
jquery-...
1 commit

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.