1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

CORESERVERエイリアスメモ

Last updated at Posted at 2018-09-28

エイリアスとは

コマンドの省略形

エイリアスまとめ

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'
1
1
0

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
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?