Install XCode Command-Line Tools.
xcode-select --installGenerate SSH Key and add it to GitHub.
Ensure build tools and curl/git are available.
sudo apt-get update -y
sudo apt-get install -y build-essential ca-certificates curl gitClone this repository into ~/dotfiles
git clone https://github.com/yoskeoka/dotfiles.git ~/dotfiles# Do not override existing dotfiles
bash ~/dotfiles/setup.sh deploy
# Force override existing dotfiles
bash ~/dotfiles/setup.sh -f deploybash ~/dotfiles/setup.sh initializeThis dotfiles setup expects the following include files referenced from ~/.gitconfig.
~/.gitconfig.user(private GitHub account)~/.gitconfig.mf-user(work account forgithub.com/moneyforward)
Create them like this:
cat > ~/.gitconfig.user <<'EOF'
[user]
name = your.name
email = your.private@example.com
EOF
cat > ~/.gitconfig.mf-user <<'EOF'
[user]
name = your.name
email = your.work@moneyforward
EOFbrew bundle dump -f