Tips for using less on the command line.
To navigate:
- f = for next page
- b = for previous page
To search:
- /<query>
Tips for using less on the command line.
To navigate:
To search:
Not for everyone. Each programmer has their own appreciation of what is good coding music.
(From most influential to least)
| [alias] | |
| l = !git --no-pager log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -30 | |
| ll = !git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit | |
| la = !git log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --all | |
| tree = log --oneline --decorate --graph # display git log as a tree | |
| st = status | |
| ss = !"ss() { git status -s | awk '{print NR,$0}' | awk -F: '{ print \"\\033[1;30m\" $1 \"\\033[0m\" }'; }; ss" | |
| # view status of files changed |
| [user] | |
| name = FirstName LastName | |
| email = [email protected] | |
| [alias] | |
| A = add -A | |
| a = add | |
| aa = add --all | |
| ae = add --edit | |
| ai = add --interactive | |
| amend = commit --amend -C HEAD |
| function Event(name){ | |
| this.name = name; | |
| this.callbacks = []; | |
| } | |
| Event.prototype.registerCallback = function(callback){ | |
| this.callbacks.push(callback); | |
| } | |
| function Reactor(){ | |
| this.events = {}; |
| # -*- Conf -*- | |
| [color] | |
| branch = auto | |
| diff = auto | |
| status = auto | |
| showbranch = auto | |
| ui = true | |
| # color.branch | |
| # A boolean to enable/disable color in the output of git-branch(1). May be set to always, false (or |