orgmode-to-gemini-blog/gemini-capsules/non_trié/20131126112903_cipherbliss_69_alias-symfony-et-git-pour-linux.gmi
2024-11-08 17:40:06 +01:00

21 lines
2.7 KiB
Plaintext

# alias symfony et git pour linux
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!
``` 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';
```
afin que les alias fonctionnent, n'oubliez pas de resourcer votre bash avec la commande suivante:
``` brush:bash
source ~/.bashrc
```
enjoyez!
# Métadonnées
:PROPERTIES: :ID: fffa6c57-b9de-4e0b-86f8-e24dd4528cf3 :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_type: post #+post_mime_types: #+post_guid: #+post_status: publish #+post_date_published: <2013-11-26 11:29:03> #+post_date_modified: <2015-06-23 09:36:38> #+post_index_page_roam_id: [[id:1b454ab3-53f0-411f-94e6-d488718dee27][undefined]] #+retrieved_from_db_at: <2024-11-07 22:57:06>