2017-02-12 1 views
-2

を自分のファイルを追加することはできません私は私のインデックスツリーからgitリポジトリに自分のファイルを追加しようとしているが、それらが追加されていない、私が試したGitの問題 - 私のリポジトリに

On branch master 
Changes not staged for commit: 
(use "git add <file>..." to update what will be committed) 
(use "git checkout -- <file>..." to discard changes in working directory) 
(commit or discard the untracked or modified content in submodules) 
modified: Roles/maven-standalone (modified content) 
no changes added to commit (use "git add" and/or "git commit -a") 

を次のようにエラーを投げます何度も何度も同じことを示している!

+1

正確に何度繰り返し試しましたか? –

+0

使用しているコマンドを表示してください。あなたは 'git add'コマンドを使いたいと思います – Flows

答えて

0

git add .コマンドを使用してファイルを追加しようとしましたか?これを試してみてください:

$ git status     # see you changes 
$ git add .     # add the files 
$ git commit -m 'Added'  # commit 
$ git push origin HEAD  # push to remote 
関連する問題