├── lit-git.sh └── README.md /lit-git.sh: -------------------------------------------------------------------------------- 1 | # Add dank git aliases 2 | while read yeah nah ; do 3 | echo git config --global alias.$yeah $nah 4 | done <> ~/.bashrc` 20 | 21 | 22 | ### Assuming you a swish MF and u aliased to lit: 23 | 24 | ``` 25 | # Clone a repo. We fork repos so why not spoon one too? 26 | $ lit spoon git@github.com:nathanKramer/lit-git.git 27 | ``` 28 | 29 | ``` 30 | # Make a baby repo 31 | $ lit baby 32 | ``` 33 | 34 | ``` 35 | # Stash some work, checkout a new branch, pop it 36 | $ lit booty 37 | $ lit wibble-wobble branchy 38 | $ lit booty pop 39 | ``` 40 | 41 | ``` 42 | # Reset your files back to HEAD 43 | $ lit heck HEAD --hard 44 | ``` 45 | 46 | ``` 47 | # Make your commits fight to the death 48 | $ lit who-would-win 49 | ``` 50 | 51 | ``` 52 | # Show your most recent commit 53 | $ lit cheeky-peek 54 | ``` 55 | 56 | ``` 57 | # Show your commit log 58 | $ lit time-cube 59 | ``` 60 | 61 | ``` 62 | # Push your work with no respect for ur surroundings: 63 | $ lit yolo-plop 64 | ``` 65 | 66 | ``` 67 | # Check ur status m8 68 | $ lit fam 69 | ``` 70 | 71 | ``` 72 | # Fix up a commit and keep the old commit message 73 | $ lit uwot -a 74 | ``` 75 | --------------------------------------------------------------------------------