Giter Club home page Giter Club logo

git-cheat's Introduction

git-cheat

Because I like git, but it has too many commands.

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 [email protected]:0xAX/git-cheat.git
  1. Install it to any place 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           --> cration 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 <file1> <file2> ... [-m <msg>]
    commit <file1>, <file2>, etc..., optionally using commit message <msg>.
    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

git-cheat's People

Contributors

infoslack avatar lpil avatar archydragon avatar spaceotterinspace avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.