1
0

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.

空のディレクトリをgithubに上げる

Posted at

何がしたかったか

結果を保存するディレクトリを空の状態でgithubに上げたかった

gitは空のディレクトリを管理できない

解決法

空のディレクトリに.gitkeepを追加する

touch path_to_dir/.gitkeep
git add path_to_dir/.gitkeep
git commit
git push remote master
1
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?