:PROPERTIES: :ID: edbe3f72-e5c9-4716-919f-e320be4d7d54 :END: #+title: alias-symfony-et-git-pour-linux #+post_ID: 257 #+post_slug: alias-symfony-et-git-pour-linux #+post_url: https://www.ciperbliss.com/2013/alias-symfony-et-git-pour-linux #+post_title: alias symfony et git pour linux #+post_tags: #+post_type: post #+post_mime_types: #+post_guid: undefined #+post_status: publish #+post_date_published: <2013-11-26T11:29:03> #+post_date_modified: <2015-06-23T09:36:38> #+post_index_page_roam_id: fa7f2a8c-2b94-4e42-bb4c-25c026ed7ff9 #+retrieved_from_db_at: <2024-11-18 16:25:08> * alias symfony et git pour linux :PROPERTIES: :CUSTOM_ID: alias-symfony-et-git-pour-linux :END: Les alias c'est fort pratique quand on bouffe de la ligne de commande quotidiennement.voici donc mon fichier .bash_aliases actuel (se trouvant dans mon répertoire d'utilisateur) sur mon ubuntu maison. Enjoyez les commandes raccourcies! #+begin_src brush:bash ################ git ################ alias ci='commit'; alias co='checkout'; alias st='status'; alias br='branch'; alias gci='git commit'; alias gco='git checkout'; alias gst='git status'; alias gbr='git branch'; alias gpull='git pull origin master'; alias gpush='git push origin master'; alias glg='git log --pretty=oneline'; alias myglg='git log --pretty=oneline --author=baptiste.lemoine'; alias gaci='git add . && git commit -m ';################ symfony2 ###################### alias sf='php app/console'; alias sfdsu='php app/console doctrine:schema:update --dump-sql'; alias sfdsuf='php app/console doctrine:schema:update --force'; alias sfcc='rm -rf app/cache/* && rm -rf app/logs/*'; alias sfdcc='sf doctrine:cache:clear-metadata && sf doctrine:cache:clear-query && sf doctrine:cache:clear-result '; alias sfdge='php app/console doctrine:generate:entities Tykayn'; alias sfdsv='php app/console doctrine:schema:validate'; alias sfdges='php app/console doctrine:generate:entities Tykayn'; alias c7='sudo chmod 777 -R'; alias ptest='phpunit -c app'; alias composer='/usr/local/bin/composer.phar'; alias sfad='sf assetic:dump'; alias sfai='sf assets:install';################ system - command line ################ alias bashare='source ~/.bash_aliases'; alias basha='nano ~/.bash_aliases'; alias ainstall='sudo apt-get install'; alias apacheconf='sudo nano /etc/apache2/apache2.conf'; alias tfa='tail -f /var/log/apache2/error.log'; alias aupg='sudo apt-get update && sudo apt-get upgrade'; alias toshop='wine "/media/tykayn/567A958C7A956A0F/Program Files (x86)/Adobe/Adobe Photoshop CS5/Photoshop.exe"'; alias phpini='sudo nano /etc/php5/apache2/php.ini'; #+end_src afin que les alias fonctionnent, n'oubliez pas de resourcer votre bash avec la commande suivante: #+begin_src brush:bash source ~/.bashrc #+end_src enjoyez!