This file contains hidden or 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
#For cygwin on Windows : | |
[user] | |
name = BabylonZeus | |
email = <email address> | |
[color] | |
diff = auto | |
status = auto | |
branch = auto |
This file contains hidden or 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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# Original by Mike Stewart - http://MediaDoneRight.com | |
# Adapted by BabylonZeus | |
# add this line to .bashrc : | |
# source ${HOME}/.configprompt | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset |
This file contains hidden or 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
# Customize BASH PS1 prompt to show current GIT repository and branch. | |
# Original by Mike Stewart - http://MediaDoneRight.com | |
# add this line to .bashrc : | |
# source ${HOME}/.configprompt | |
# Reset | |
Color_Off="\[\033[0m\]" # Text Reset | |
# Regular Colors |
This file contains hidden or 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
# Alias maven | |
alias rainbowmaven='/usr/bin/rainbow --config=mvn3 -- ' | |
alias mci='mvn clean install $@' | |
alias mdebug='mvn -Dmaven.surefire.debug $@' | |
alias mcit='mvn clean install -DskipTests $@' #Build les test jars, mais n'execute pas les tests | |
alias mcitt='mvn clean install -Dmaven.test.skip $@' #Ne build pas les test jars, n'execute pas les tests | |
alias mst='mvn -e -Dtest=$1#$2 test' | |
alias mit='mvn test -DfailIfNoTests=false -Dtest=**/*IT $@' | |
# Alias git |
This file contains hidden or 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
A tout moment, pour savoir où on en est en local | |
git status | |
Récupérer un projet dans un nouveau dossier local et se positionner dans la branche develop | |
git clone ssh://[adresse_ip]:[port]/[path] | |
git checkout develop | |
git pull origin develop | |
En récurrent, pousser une modification locale vers le repository distant | |
git add ./chemin_vers_mon_fichier {ligne à passer pour chaque fichier à commiter} |