2017-02-12 1 views
-2

내가 저장소를 이눔 내 인덱스 트리에서 내 파일을 추가하기 위해 노력하고있어하지만 그들은힘내 문제 - 내 저장소 내 파일을 추가 할 수 없습니다

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 
관련 문제