From 39bc2c31f02ef573d3fb90668578372f1e44ac43 Mon Sep 17 00:00:00 2001 From: Will Hilton Date: Thu, 16 Jul 2015 18:57:30 -0400 Subject: [PATCH] Create README.md --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..a566490 --- /dev/null +++ b/README.md @@ -0,0 +1,41 @@ +# gitredux +###This project is nascent and in a state of flux! + +I started this project because `git log --no-pager` gives an error. Apparently I wanted `git --no-pager log`. This was the last straw. +*So I decided to "fix" the git CLI.* + +This project takes inspiration from [gitless](http://gitless.com/) and [legit](https://github.com/kennethreitz/legit), and is +influenced by this [blog post](http://www.saintsjd.com/2012/01/a-better-ui-for-git/) and this [fantastic diatribe](http://stevebennett.me/2012/02/24/10-things-i-hate-about-git). +However, I feel all of these tools are either underdeveloped or too opinionated. I want a tool that gives me all the +same control as git but without the headache of its impossible to remember commands. + +### Goals +* CONSISTANCY +* Fewer, more orthogonal commands +* More useful built-in behaviors + +### Commands +(bound to get out of date quickly) + +get | git +------------- | ------------- +get stage | git add -u :/ +get stage %FILES% | git add %FILES% +get unstage | git reset HEAD +get unstage %FILES% | git reset HEAD %FILES% +get reset | git checkout -f HEAD +get reset %FILES% | git checkout %FILES% +get commit %MESSAGE% | git commit -m %MESSAGE% +get branch %BRANCH% | stashes working tree, creates or switches branch, and checks out branch +get rmbranch %BRANCH% | git branch -d %BRANCH% *TODO: rename?* +get update | Fetches all remote branches and fast-forwards all local branches +get status | git status +get review | git diff --cached +get diff | compare working tree with HEAD (git diff HEAD) +get diff STAGE | compare working tree with stage (git diff) +get diff %REF% | compare working tree with %REF% (git diff %REF%) +get diff STAGE %REF% | compare stage with %REF% (git diff --cached %REF%) +get diff %REFA% %REFB% | compare %REFA% with %REFB% (git diff %REFA% %REFB%) + + +