環境
macOS Sierra
Python 3.6.0 :: Anaconda 4.3.0 (x86_64)
Flask
やりたいこと
作成したアプリをHerokuにデプロイしたい
困っていること
https://devcenter.heroku.com/articles/git#tracking-your-app-in-git
ここに書いてあるように、
$ cd myapp $ git init Initialized empty Git repository in .git/ $ git add . $ git commit -m "my first commit"
の部分で、
git commit -m "my first commit"
がうまくいきません。
エラー内容
On branch master nothing to commit, working tree clean
質問内容
そもそもgitの仕組みを理解していないようです。
上のサイトで、
Before you can push an app to Heroku, you’ll need to initialize a local Git repository and commit your files to it.
とあります。意味はわかりますが、どのようにcommitしたらよいやら・・・禿げそうです。
・gitとは何か(プロジェクトのクラウド管理サービスという認識でよろしいでしょうか)
・エラー内容を解決するにはどうしたらよいか
以上の2点について、ご教授いただけると助かります。
お願いします。
追記
丁寧にご回答いただきありがとうございます
仕事が終わり次第、ゆっくり追って見ます。
回答2件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/03/09 08:27