LoginSignup
2
1

More than 5 years have passed since last update.

Git Bashのtmpディレクトリってどこにあるん?

Last updated at Posted at 2016-04-15

Windowユーザの皆さんこんにちわ。

WindowのGit環境で、Git Bashを使っています。

で、Git Bashのtmpってのが、Windowsのどこにあるのか全然分からなかったので、手当たり次第探してみました。

環境

  • Windows7 Professional SP1
  • Administratorのユーザでログイン
  • 同ユーザでGit Bashを導入済み、かつ同ユーザでの利用を想定
  • git version 1.9.5.msysgit.1という構成

結論

C:\Users\<Your Username>\AppData\Local\Temp

ここでした。

Tempって?

# Git Bashのコマンドプロンプトを起動
# 環境変数でtmpの設定を確認
$ set |grep tmp
TEMP=/tmp
TMP=/tmp
$ cd /tmp
$ pwd
/tmp

以上でした。

2
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
2
1