infoMore than 5 years have passed since last update.
よく使うコマンドのメモ
Last updated at Posted at 2014-05-20
よく使うコマンドの備忘録
UNIX
コマンド |
メモ |
mkdir directory |
ディレクトリを作成 |
cp -i file copy_file |
ファイルを別名でコピー(同名の上書き確認をする) |
mv file rename_file |
ファイル名を変更 |
rm -f file |
ファイルを警告無しで削除 |
rm -rf directory |
ディレクトリごと警告無しで削除 |
grep -r 'XYZ' ~/ |
ホームディレクトリ以下の文字列「XYZ」の検索 |
git
コマンド |
メモ |
git log --grep #12345 |
チケット#12345に関するコミットログを抽出 |
git log origin/feature_12345..feature_12345 |
feature_12345ブランチでpushしていないcommitを確認 |
Register as a new user and use Qiita more conveniently
- You get articles that match your needs
- You can efficiently read back useful information
- You can use dark theme
What you can do with signing up