Use stow for managing dotfiles

This commit is contained in:
Oliver Davies 2021-07-10 22:20:50 +01:00
parent 7b29ee2104
commit 7fed1cf922
83 changed files with 61 additions and 40 deletions

View file

@ -1,15 +0,0 @@
#!/bin/sh
set -e
if [ "$#" -lt 1 ]; then
echo "Error: Not enough arguments."
exit l
fi
# Create a new branch including any additional arguments.
git checkout -b "$@"
# Push the branch to origin, bypassing any Git hooks.
new_branch_name=$1
git push --no-verify -u origin "${new_branch_name}:opd-${new_branch_name}"