Skip to content

Latest commit

 

History

History
51 lines (39 loc) · 1.07 KB

File metadata and controls

51 lines (39 loc) · 1.07 KB

dotfiles

install

curl https://raw.githubusercontent.com/RyosukeCla/dotfiles/master/install.sh | bash

update

curl https://raw.githubusercontent.com/RyosukeCla/dotfiles/master/update.sh | bash

install brew and fomulas

curl https://raw.githubusercontent.com/RyosukeCla/dotfiles/master/install_brew.sh | bash

go installation

curl https://raw.githubusercontent.com/RyosukeCla/dotfiles/master/install_go_mac.sh | bash

setup ssh key for github

$ ssh-keygen -t rsa -b 4096 -C "mail@address"
# enter passphrase
# and gen key to ~/.ssh/github_rsa
$ pbcopy < ~/.ssh/github_rsa.pub
# set up ssh for auth and signing public key on github.
$ touch ~/.ssh/config
$ cat <<EOT >> ~/.ssh/config
Host github github.com
  HostName github.com
  IdentityFile ~/.ssh/github_rsa
  User git
  AddKeysToAgent yes
EOT
$ ssh -T git@github.com
# enter passphrase

$ git config --global gpg.format ssh
$ git config --global user.signingkey ~/.ssh/github_rsa.pub
$ git config --global commit.gpgsign true
$ git config --global user.email "mail@address"