This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default_server; # Listen for regular HTTP requests | |
listen [::]:80 default_server; # Handle requests over IPv6 | |
server_name _; # Respond to any and all server_names | |
return 301 https://$host$request_uri; # Redirect to https | |
} | |
server { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Available at https://git.io/sven-git-aliases | |
# | |
# run "curl -fsSL https://git.io/sven-git-aliases | sh" to apply these automagically. | |
# | |
git config alias.st "status -sb" | |
git config alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative" | |
git config alias.df "diff --" | |
git config alias.branch-name "rev-parse --abbrev-ref HEAD" | |
git config alias.find = "log --pretty=\"format:%Cblue%H %Cgreen%s%Creset\" --abbrev-commit --grep" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
useConfigOnly = true | |
# name = Robin Hood | |
# email = your-email@example.com | |
signingkey = <gpg signing key> | |
[alias] | |
st = "status" | |
lg = log --graph --date=human --pretty=default | |
df = "diff --" |
OlderNewer