Skip to content

Instantly share code, notes, and snippets.

View titanwalking's full-sized avatar

Alican Korkmaz titanwalking

View GitHub Profile
android.applicationVariants.all { variant ->
variant.outputs.all {
outputFileName = "app-${variant.productFlavors[0].name}-${variant.buildType.name}-${variant.versionName}.apk"
}
}
# How to create one
git config --global alias.x y
# pretty & informative log
* lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
# update all branches before doing new work
* updateAll = !git pull --rebase --prune $@ && git submodule update --init --recursive
# usual commit