を押した後、ローカルファイルを見つけることができません:は、ディレクトリとマスターブランチの上から新しいGitのブランチ
- はgitのにディレクトリ内のファイルの選択を追加しました: `Gitはfile1.py FILE2を追加します。 PY file3.py file4.py file5.py
git status
すべてが正常にgitのは、3つのファイルが2が変更されたため、理にかなって作成し、3は
> git commit -m 'viewervalidation' [master f73f0bc] viewervalidation 5 files changed, 289 insertions(+), 6 deletions(-) create mode 100644 viewervalidation/file1.py create mode 100644 viewervalidation/file2.py create mode 100644 viewervalidation/file3.py
01新しいあったことを示してコミット追加されていることを示しています
は私がマスターにプッシュし、だから私はと呼ばれるvv_exp1新しいブランチを作成し、それにプッシュすることにした作品で、私はローカル
> git push origin master To github.com:groupflix/data-science.git ! [rejected] master -> master (fetch first) error: failed to push some refs to '[email protected]:xxx.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
を持っていないので、拒否されています:
> git checkout -b 'vv_exp1' M general_scripts/data_munging/neo4j_query.py D general_scripts/data_munging/remove_bad_users.py M nlp_api/summarizer/classes/review.py M nlp_api/summarizer/modeling/pull_openend_sentiment_dataset.py Switched to a new branch 'vv_exp1' > git push origin 'vv_exp1' Counting objects: 749, done. Delta compression using up to 8 threads. Compressing objects: 100% (722/722), done. Writing objects: 100% (749/749), 833.12 KiB | 0 bytes/s, done. Total 749 (delta 374), reused 3 (delta 0) remote: Resolving deltas: 100% (374/374), done. To github.com:groupflix/data-science.git * [new branch] vv_exp1 -> vv_exp1
これは物事が本当に奇妙になる場所です。 、私が見に行くその上で
Scrapy 1.0.3 - no active project Unknown command: crawl Use "scrapy" to see available commands
:私は、次の(私はこのディレクトリに使用しています)scrapyと私は成功scrapy crawl NameSearch -a filename=12.csv
と週間使用しましたコマンドを実行するために、利回り行きます作成されたすべての新しいファイルが削除されていることがわかります。私がマスターに切り替えると、彼らはまだ消えていて、まだ治療はうまくいきません。私がgithubに行くと、彼らはそこに私がプッシュした枝にあります。しかし、私がそれを抜こうとすると、私はそれらのファイルを紛失しているにもかかわらず、私は最新です。私のファイルに何が起こったのか、また、なぜ新しいScoreを作成してからPushするのかということは何ですか?
回答ありがとうございます!私は問題を理解しました - viewervalidationは私のスパースチェックアウトファイルではありませんでした(これは私が使っていたことを忘れていました) – benb