Skip to content

Instantly share code, notes, and snippets.

View leandroribeiro's full-sized avatar
🎯
Focusing

Leandro Ribeiro leandroribeiro

🎯
Focusing
View GitHub Profile
@leandroribeiro
leandroribeiro / wp_install.bat
Created October 14, 2016 15:45
Automatic WordPress installation powered by wp-cli
@echo off
:: Source: https://indigotree.co.uk/automated-wordpress-installation-cmd/
:: STEPS:
:: 1. Install wp-cli
:: 2. Install composer
:: 3. Install MySQL
:: 4. Configure wp-cli at System PATH
:: 5. Configure composer at System PATH
[alias]
# ---------------------------------
# Log commands to inspect history
#----------------------------------
# one-line log
l = log --pretty=format:"%C(yellow)%h\\ %ad%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --date=short
# List commits showing changed files is invoked with git ll and looks like this:
ll = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat