Created
May 15, 2015 16:55
-
-
Save dragonauta/c4bdfd5df77c88ed24ad to your computer and use it in GitHub Desktop.
Aliases for managing my ZSH user profile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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