The wisdom of tools for conquering the glorious web!
git status Check status (eg. do you have any uncommited changes)
git log See history of commits
git branch See which branch you are currently on
git checkout XXXXX Change to other branch
git checkout -- . Remove unstaged changes
git branch feature/new-feauture Create new branch based on current branch
git merge XXXXX" Merge branch XXXXX with current branch
git commit -am "NAME COMMIT" Prepare commit
git push --all origin Send all to common code base
git branch -m NEWNAME Rename current branch
git push origin --delete <branch_name> Delet remote branch
git branch -d <branch_name> Delete local branch
failsafe windows lineending to unix Delete file, restore file, commit
commands
composer dump-autoload Whenever something is not working from commandline using laravel, try this first
php artisan migrate:refresh --seed Remake the whole database with current migrations and seed
commands
commands
echo mypassword | sudo -S command Pipe command to prompt
copy file from server to local scp your_username@remotehost.edu:foobar.txt /some/local/directory
commands
'click'.*
$&console.log('eventid',123456789);