|
|
|
|
|
by sold
3887 days ago
|
|
Alias often used commands, I have g = git, sl = ls (common typo). Git: set up aliases. I can type "g co = git checkout", "g st = git status".
Git configuration: pull.ff only (then "git pull" does not cause an accidental merge), fetch.prune (then "git pull" = "git pull -p"). Chrome: Ctrl+L for URL bar, Ctrl+T new tab, Ctrl+Shift+T to reopen closed window, Ctrl+W to close tab Bash: use Alt+. for last argument (e.g. type "vim x.py"; then "python " and press Alt+. to get "x.py"), Ctrl+R to search last commands. "cd -" = undo last "cd" Gmail: use keyboard shortcuts (enable in settings). ? to see help, most important: "c" compose, "r" reply, "a" reply all, "f" forward Use a password manager such as keepass, remember only a few passwords. |
|