Skip to content

Instantly share code, notes, and snippets.

@dragonauta
Created May 15, 2015 16:55
Show Gist options
  • Save dragonauta/c4bdfd5df77c88ed24ad to your computer and use it in GitHub Desktop.
Save dragonauta/c4bdfd5df77c88ed24ad to your computer and use it in GitHub Desktop.
Aliases for managing my ZSH user profile
git.clone.profile='mkdir -p $HOME/git; git clone git@gitserver:/home/git/profile.git; chmod 600 $HOME/.ssh/id_rsa*'
git.fetch.profile='cd $HOME/git/profile; git fetch --all; git reset --hard origin/master; chmod 600 $HOME/.ssh/id_rsa*'
git.push.profile='cd $HOME/git/profile; git add .; git commit -m "$(date +%F)"; git push origin master'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment