[git-users] git rm

2014-10-13 Thread Tom Avey
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 am not comfortable enough with git rm to confidently remove

Re: [git-users] git rm

2014-10-13 Thread Konstantin Khomoutov
On Mon, 13 Oct 2014 07:03:58 -0700 (PDT) Tom Avey toma...@fgbc.org 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

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, lgp8...@gmail.com wrote: I want to rm a directory from the repository. I use git rm dirname, but it didn't work. Somebody

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 gerg...@polonkai.euwrote: 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%

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! https://lh5.googleusercontent.com/-9_F7r9uVtxk/Ux_XpXwohPI/AAM/4MrA-XMzY4o/s1600/.jpg Do you really see

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 dirname.

[git-users] git rm dirname didn't work

2014-03-11 Thread lgp802a
I want to rm a directory from the repository. I use git rm dirname, but it didn't work. Somebody help me! https://lh5.googleusercontent.com/-9_F7r9uVtxk/Ux_XpXwohPI/AAM/4MrA-XMzY4o/s1600/.jpg -- You received this message because you are subscribed to the Google Groups Git for

[git-users] git rm ./

2013-09-11 Thread superjag
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 this: https://groups.google.com/forum/#!topic/msysgit/TLmc2996nWY

Re: [git-users] git rm ./

2013-09-11 Thread Konstantin Khomoutov
On Wed, 11 Sep 2013 11:43:24 -0700 (PDT) superjag superja...@gmail.com 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

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

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 superja...@gmail.com 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