On Monday, June 3, 2013 12:01:26 AM UTC+2, git-guy wrote:
> how guys i have 7 folders -
> 1 - main
> 6 subfolders for any projects
> the thing is, the another 6 folders git work perfect
> but if i try do a commit in the main, always apper that
> git status
> # 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
> # (commit or discard the untracked or modified content in submodules)
> i tried use git commit -am , git commit add .
> but always dont get this commits, so what can i do?
You need to stage some changes. Use "git add ." to stage all files
git commit with the *-a* flag will first stage changes in files that
already are in the repository and then commit in one go. It will not add
The *-m* flag to git commit means that the next argument will be the commit
message. For example: git commit -m "Lots of new files for me"
When you say "git commit -am", that's effectively a "git add -a -m", but a
missing commit message (so that would end in error).
You also wrote "git commit add", but there is no such command or syntax.
Have a look at git commit --help
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/groups/opt_out.