new repository without sensitive information

This commit is contained in:
Alexander Gehrke 2013-03-15 08:37:33 +01:00
commit 57fa0afede
51 changed files with 1883 additions and 0 deletions

29
aliases/git Normal file
View file

@ -0,0 +1,29 @@
#!/bin/zsh
ginit() {
git init;
git add ${*:-"."};
git commit -a -m "Initial Commit"
}
gst() {
if [[ "${vcs_info_msg_0_[2,3]}" == 'hg' ]]; then
hg status "$@"
else
git status "$@"
fi
}
gpl() {
if [[ "${vcs_info_msg_0_[2,3]}" == 'hg' ]]; then
hg pull "$@"
else
git pull "$@"
fi
}
alias gca="git commit -a"
alias gcm="git commit"
alias gco="git checkout"
alias ga="git add"
alias gap="git add --patch"
alias gpu="git push"