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 --" | |
ap = "add -p" | |
find = "log --pretty=\"format:%Cblue%H %Cgreen%s%Creset\" --abbrev-commit --grep" | |
nah = !git reset --hard && git clean -df | |
publish = "!git push origin $(git symbolic-ref --short HEAD) -u" | |
track = !git branch --set-upstream-to origin/$1 | |
[pretty] | |
default = format:%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cd) %C(bold blue)<%an>%Creset | |
[core] | |
whitespace = "-trailing-space,tabwidth=4" | |
excludesFile = ~/.gitignore | |
[push] | |
followTags = true | |
[tag] | |
forceSignAnnotated = true | |
[grep] | |
lineNumber = true | |
[commit] | |
gpgsign = true | |
[gpg] | |
program = <path to gpg executable> | |
[init] | |
defaultBranch = main | |
[pull] | |
rebase = true | |
[status] | |
showUntrackedFiles = all | |
short = true | |
branch = true |
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
# JetBrains IDE | |
.idea/ | |
# PhpUnit | |
.phpunit.result.cache | |
# macOS | |
*.DS_Store | |
.DocumentRevisions-V100 | |
.fseventsd | |
.Spotlight-V100 | |
.TemporaryItems | |
.Trashes | |
.VolumeIcon.icns | |
.com.apple.timemachine.donotpresent |
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
# | |
# Add the following SSH keys to the session | |
# | |
IdentityFile ~/.ssh/id_ed25519 | |
# | |
# Personal Connections | |
# | |
Host github | |
User git | |
HostName github.com | |
Host gitlab | |
User git | |
HostName gitlab.com | |
Host * | |
IdentityFile ~/.ssh/id_ed25519 | |
AddKeysToAgent yes | |
UseKeychain yes | |
PubkeyAuthentication yes | |
IdentitiesOnly yes | |
UseRoaming no | |
Port 22 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment