aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/backup_gitconfig.sh
blob: d0224a50e870485760e06afce131eee0d445c14e (plain) (blame)
1
2
3
4
5
6
#!/usr/bin/env bash

set -o errexit -o nounset -o pipefail

script_dir="$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" && pwd )"
cp --remove-destination -- "$script_dir/%HOME%/.gitconfig" ~