Skip to content

jeremyhofer/dotfiles

Repository files navigation

My lovely dotfiles

Setup

mkdir -p ~/Devel/config
cd ~/Devel/config
git clone <url>

Move commits to master:

# first HEAD~ arg should be last commit to keep in place, to -1 of commits to move
git rebase --onto master HEAD~ HEAD
git checkout -b to_merge
git checkout master
git merge to_merge
git branch -d to_merge
git checkout home
git rebase master

Push master:

# sanity check I didn't move over anything sensitive
git diff origin/master master
git push origin master && git push github master

Sync branch with origin:

git fetch origin master:master

Add new dot directory

dirName=<name>
mkdir "dot-$dirName"
ln -s "dot-$dirName" ".$dirName"
echo "dot-$dirName" >> .stow-local-ignore

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published