see: https://github.com/benpye/wsl-ssh-pageant
mkdir workspace
cd workspace
git clone [email protected]:benpye/wsl-ssh-pageant.git
cd wsl-ssh-pageant
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:wsl-ssh-pageant.exe Program.cs
see: https://github.com/benpye/wsl-ssh-pageant
mkdir workspace
cd workspace
git clone [email protected]:benpye/wsl-ssh-pageant.git
cd wsl-ssh-pageant
C:\Windows\Microsoft.NET\Framework\v4.0.30319\csc.exe /out:wsl-ssh-pageant.exe Program.cs
-----BEGIN PGP PUBLIC KEY BLOCK----- | |
mDMEYFys1RYJKwYBBAHaRw8BAQdALIuG36zlECOnC6sFNEvKLz3do6gNZ3tlENM7 | |
Y3dK5+e0JlJvbWFuIE92Y2hpbm5pa292IDxyb21hLm92Y0BnbWFpbC5jb20+iI4E | |
ExYKADYWIQQzAAJeJXxfqlcSHwPSLnGT9h9BewUCYFys1QIbAQQLCQgHBBUKCQgF | |
FgIDAQACHgECF4AACgkQ0i5xk/YfQXsPgQD7BMb7VHLFqY6a7fpRF+dPcySjf/zK | |
C08bQ1pw2OevNdUBAI7v+Vp1peED6Njo75coX9qP05tI5uQBNg4SWE9s/gILuDME | |
YFytXBYJKwYBBAHaRw8BAQdAxctM6fDBhXG/+peXDfEy/VaCiycX+jw5Y7j8sJs7 | |
FuuI9QQYFgoAJhYhBDMAAl4lfF+qVxIfA9IucZP2H0F7BQJgXK1cAhsCBQkB4TOA | |
AIEJENIucZP2H0F7diAEGRYKAB0WIQSRjqVlNYkRWx9CPjTztV2Yg+s6cAUCYFyt |
git log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
git config --global alias.lol "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
# git aliases - taken from oh-my-zsh's git plugin and translated to bash | |
# https://github.com/robbyrussell/oh-my-zsh/wiki/Cheatsheet#helpful-aliases-for-common-git-tasks | |
# https://github.com/robbyrussell/oh-my-zsh/blob/master/plugins/git/git.plugin.zsh | |
function git_current_branch() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || \ | |
ref=$(git rev-parse --short HEAD 2> /dev/null) || return | |
echo ${ref#refs/heads/} | |
} | |
function git_current_repository() { | |
ref=$(git symbolic-ref HEAD 2> /dev/null) || \ |