Quantcast
Channel: Bashタグが付けられた新着記事 - Qiita
Viewing all articles
Browse latest Browse all 2891

Gitコマンドの省略

$
0
0
私は,gitのコマンドでよく使うものを省略して使用しています. 今回は,以下3行を省略して使用する方法を記載します. git add . git commit -m "aaaaを修正" git push origin master ~.bashrc内に以下を追加し,source ~/.bashrcで設定を適用させます. ~/.bashrc function gp () { git add . git commit -m "$@" git push origin master } すると,最初の3行のコマンドは以下のように省略できます. gp aaaaを修正 以上,ご参考になれば幸いです.

Viewing all articles
Browse latest Browse all 2891

Trending Articles