On Nov 14, 2013 7:53 PM, "Dave Kennedy" <davek1...@gmail.com> wrote:
> I have a git repository cloned  to an AWS server.
> But my commits are not showing up in the repository even though there is
no error when I commit a file.
> Is it OK to make commits as root or do I need to login with a git user
name ?
> root@ip-xxx-xx-x-xxx:/var/www/myproject# git config --global user.name'me'
> root@ip-xxx-xx-x-xxx:/var/www/myproject# git config --global user.email '
> root@ip-xxx-xx-x-xxx:/var/www/myproject# git commit -am 'test2commit'
> [master b506b96] test2commit
>  1 files changed, 0 insertions(+), 215 deletions(-)
>  delete mode 100644 myproject#/protected/runtime/application.log
> root@ip-xxx-xx-x-xxx:/var/www/myproject# git log
> commit b506b96c093c9ee9ec8f940ceb7964171b4827f5
> Author: me <m...@my.com>
> Date:   Fri Nov 15 03:09:52 2013 +0000
>     test2commit
> root@ip-1xxx-xx-x-xxx:/var/www/myproject# git status -s
> root@ip-xxx-xx-x-xxx:/var/www/myproject#

I must be missing something.  You made a commit, then you ran "git log" and
it showed you that your commit was made.  Everything's fine, right?

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 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to