ここに行ったこと:私のファイルが変更されたことをgitが認識しないのはなぜですか?
私はいくつかのファイルをコミットしました。私は、この状態
$ git status
warning: LF will be replaced by CRLF in topGamesMenu.php.
The file will have its original line endings in your working directory.
# On branch TopGamesMenu
# Changes to be committed:
# (use "git reset HEAD <file>..." to unstage)
#
# modified: index.php
# modified: nbproject/private/private.xml
# new file: topGamesMenu.php
#
を得、その後 iが
git push -m 'logos vom den besten spielen im menu implementiert'
をプッシュしたかったが、私はマッサージのパラメータはpushコマンドでコミットしないでなければなりません実現しました。 はので、私のgitのステータスはこれ以上の変化を示し、このコマンドの後に再び
$ git commit -m 'logo von dem vier besten spielem um menu implementiert'
[TopGamesMenu warning: LF will be replaced by CRLF in topGamesMenu.php.
The file will have its original line endings in your working directory.
8fa4dea] logo von dem vier besten spielem um menu implementiert
warning: LF will be replaced by CRLF in topGamesMenu.php.
The file will have its original line endings in your working directory.
3 files changed, 133 insertions(+), 86 deletions(-)
create mode 100644 topGamesMenu.php
約束します。
$ git status
# On branch TopGamesMenu
nothing to commit, working directory clean
--- EDIT ---
Gitのプッシュdoesntの仕事。 git says
Everything up-to-date
何が問題なのですか?
を使用するものは何もそれ自体は間違っていないはずです。いくつかのファイルで改行が変更されたため、新しいコミットが簡単になりました。ちなみに、 'git push 'は実際に動作しましたか? –
何も問題ありません。あなたの最初のコマンドは 'git add'で、' git commit'の準備領域をメッセージで準備しました。そして 'git push 'の準備が整いました。 –
@TimBiegeleisenはプッシュしません。 gitは「すべて最新」と言います。リモートリポジトリに変更はありません。 – user2440762