No the 'deleted' file, application.log, is still in the repo and the other 
commits I made are not showing up in the repo.
I can't understand where the committed  files went?

On Thursday, November 14, 2013 8:28:22 PM UTC-8, Peter J Weisberg wrote:
>
> On Nov 14, 2013 7:53 PM, "Dave Kennedy" <dave...@gmail.com <javascript:>> 
> 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 '
> m...@my.com <javascript:>'
> >
> >
> > 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 <javascript:>>
> > 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