Created
October 30, 2010 09:41
-
-
Save CedricGatay/655145 to your computer and use it in GitHub Desktop.
git config with autosql alter
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
[color] | |
ui = auto | |
[alias] | |
amend = commit --amend | |
st = status | |
who = shortlog -sne | |
oneline = log --pretty=oneline --abbrev-commit --graph | |
changes = diff --name-status | |
dic = diff --cached | |
diffstat = diff --stat | |
svnpull = !echo ORIG_HEAD=`git rev-list ORIG_HEAD | head -1` && git svn rebase && echo `git diff $(git rev-list ORIG_HEAD | head -1) HEAD SQLdumps/itg/alter.sql | grep -v "^/\\*\\*" | grep "^+[^+]" | cut -b2- | sed -e "s/\\\\\\`//g" ` | mysql5 -v -f -uroot srm && echo ORIG_HEAD=`git rev-list ORIG_HEAD | head -1` | |
svnpush = svn dcommit | |
undo = git reset --soft HEAD^ | |
addm = !git-ls-files -m -z | xargs -0 git-add && git status # ajouter les fichiers modifiés. | |
addu = !git-ls-files -o --exclude-standard -z | xargs -0 git-add && git status # ajouter les fichiers inconnus. | |
rmm = !git ls-files -d -z | xargs -0 git-rm && git status # supprimer les fichiers marqués | |
# comme effacés. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment