Cheatography
https://cheatography.com
ZSH Aliases for GIT, Laravel and others
This is a draft cheat sheet. It is a work in progress and is not finished yet.
GIT
g |
git |
gst |
git status |
gd |
git diff |
gl |
git pull |
gco |
git checkout |
gcm |
git checkout master |
gcb |
git checkout -b |
ga |
git add |
gaa |
git add --all |
gc |
git commit -v |
gc! |
git commit -v --amend |
gcam |
git commit -a -m |
gp |
git push |
grbm |
git rebase master |
grba |
git rebase --abort |
grbc |
git rebase --continue |
grm |
git rm |
grs |
git restore |
gru |
git reset -- |
|
|
Laravel
art |
php artisan |
vapor |
php vendor/bin/vapor |
ins |
insights |
tink |
php artisan tinker |
ins |
php -d memory_limit=2000M ./vendor/bin/phpinsights --config-path=config/insights.php -v |
stan |
./vendor/bin/phpstan analyse --memory-limit=2G |
Composer
ci |
composer install |
cu |
composer update |
cr |
composer require |
NPM
ni |
npm install |
n |
npm run |
nd |
npm run dev |
nw |
npm run watch |
nin |
npm install --save |
nid |
npm install --save-dev |
|
|
Clokify
phkget |
cd ~/Projects/redicom/clockify-api && php artisan clock:fetch |
phkupdate |
cd ~/Projects/redicom/clockify-api && php artisan clock:update |
phkreport |
cd ~/Projects/redicom/clockify-api && php artisan clock:report |
SSH
d1 |
ssh redidocker1.redicom.fi |
d2 |
ssh redidocker2.redicom.fi |
p2 |
ssh rediplanet2.redicom.fi |
p3 |
ssh rediplanet3.redicom.fi |
p4 |
ssh rediplanet4.redicom.fi |
Projects
spw |
cd ~/Projects/safetypass/web |
spm |
cd ~/Projects/safetypass/mobile |
ep |
cd ~/Projects/eparcel/web |
epw |
cd ~/Projects/eparcel/worker |
ep2 |
cd ~/Projects/eparcel/eparcel |
|