search
LoginSignup
1
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

posted at

updated at

CORESERVERエイリアスメモ

エイリアスとは

コマンドの省略形

エイリアスまとめ

phpのバージョンは適宜変更のこと(サーバー仕様はこちら)

composer

導入


curl -sS https://getcomposer.org/installer | php
/usr/local/bin/php71cli composer.phar

エイリアス

これで普通のcomposerコマンド打てる


alias composer='/usr/local/bin/php71cli ~/public_html/composer.phar'

Laravel

導入

composer create-project --prefer-dist laravel/laravel project-name "5.5.*"

エイリアス

ほかのコマンドだと上手くいかない?

alias laravel='composer create-project --prefer-dist laravel/laravel'

git

導入

(元から入ってる)

エイリアス

個人的な好みが含まれる


# git clone
alias gc='git clone'
# git add
alias ga='git add'
# git init
alias gi='git init'
# git commit
alias gc='git commit'
# git push
alias gp='git push'

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
What you can do with signing up
1
Help us understand the problem. What are the problem?