Skip to content

Instantly share code, notes, and snippets.

View pierrejean-coudert's full-sized avatar

Pierre-Jean Coudert pierrejean-coudert

View GitHub Profile
#cloud-config
package_update: true
packages:
- apt-transport-https
- ca-certificates
- curl
- gnupg-agent
- software-properties-common
@pierrejean-coudert
pierrejean-coudert / .gitconfig
Last active November 7, 2018 21:30
Git Alias in GitConfig
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%C(bold blue)<%an>%Creset' --abbrev-commit
s = status -s
c = commit
co = checkout
b = "!git for-each-ref --sort='-authordate' --format='%(authordate)%09%(objectname:short)%09%(refname)' refs/heads | sed -e 's-refs/heads/--'"