Re: [git-users] git rm

2014-10-13 Thread Konstantin Khomoutov
On Mon, 13 Oct 2014 07:03:58 -0700 (PDT) Tom Avey wrote: > I had some files that apache was keeping > in /public_html/logs/rewrite_log and that was being tracked by git. > Files were too large to push so I deleted them and stopped the > logging feature (I think it was a log of rewrites). But I a

Re: [git-users] "git rm dirname" didn't work

2014-03-12 Thread Dale R. Worley
> From: lgp8...@gmail.com > > I want to rm a directory from the repository. I use "git rm dirname", but > it didn't work. Somebody help me! I'm not sure what problem you're seeing, but (according to the man page) you can't remove a directory with "git rm dirname", you have to do "git rm -r dirna

Re: [git-users] "git rm dirname" didn't work

2014-03-12 Thread Konstantin Khomoutov
On Tue, 11 Mar 2014 20:43:14 -0700 (PDT) lgp8...@gmail.com wrote: > I want to rm a directory from the repository. I use "git rm dirname", > but it didn't work. Somebody help me! > > Do you really

Re: [git-users] "git rm dirname" didn't work

2014-03-12 Thread chetna chaudhari
Yes, you can use git rm -r dirname It works fine. I have used it many times. On Wed, Mar 12, 2014 at 1:03 PM, Gergely Polonkai wrote: > As far as I remember, you have to use git rm -r for that (-r stands for > recursive); but without my machine at home/at work, I'm not 100% sure yet. > > > On 1

Re: [git-users] "git rm dirname" didn't work

2014-03-12 Thread Gergely Polonkai
As far as I remember, you have to use git rm -r for that (-r stands for recursive); but without my machine at home/at work, I'm not 100% sure yet. On 12 March 2014 04:43, wrote: > I want to rm a directory from the repository. I use "git rm dirname", but > it didn't work. Somebody help me! > > >

Re: [git-users] git rm ./

2013-09-11 Thread Jimit Modi
Wow. We Love you GIT :). -- Jim(y || it) On Thu, Sep 12, 2013 at 2:18 AM, superjag wrote: > Many thanks. > > In short, to recover a file deleted by git rm, use git fsck --unreachable to > show the files git is holding in limbo, and then use git show $sha1name > > filename to save each one ba

Re: [git-users] git rm ./

2013-09-11 Thread superjag
Many thanks. In short, to recover a file deleted by git rm, use git fsck --unreachable to show the files git is holding in limbo, and then use git show $sha1name > filename to save each one back to your filesystem (where $sha1name is the blob ID shown in git fsck, and filename is the desired na

Re: [git-users] git rm ./

2013-09-11 Thread Konstantin Khomoutov
On Wed, 11 Sep 2013 11:43:24 -0700 (PDT) superjag wrote: > Silly me, I thought this would remove the project directory from the > staging area, but no, it has to delete the entire project. I was > still staging my first commit when my project got deleted, so I can't > roll back. > > I found