[git-users] Finding and eliminating big files

2014-07-21 Thread Dale R. Worley
Here is how I find big files that have gotten into the repository. The shell script grovels through the repository history listing every file in every commit in the history of HEAD, along with its length. Duplicates are removed from this list, and then a space-use analysis is done of the files, gro

[git-users] Finding and eliminating big files

2014-07-21 Thread Dale R. Worley
Here's an improved version of the script that finds what refs and what commits contain a particular file blob. You give it the blob (the full blob) as an argument and it traces what commits contain it, and what refs and what reflog lines point (directly or indirectly) to those commits. As far as

Re: [git-users] Remove files and folders permanently from commit history and pack files

2014-07-21 Thread Dale R. Worley
> From: cemico > thank you for your very detailed information. > But i can't get it to work. Try the following script. It's not efficient, but if the man pages are correct, if you give it a blob hash (the full hash), it will show what file names it has in what commits. Then for each commit, it

Re: [git-users] Sinhronizing two sources and two git reposititories

2014-07-21 Thread Konstantin Khomoutov
On Mon, 21 Jul 2014 06:34:08 -0700 (PDT) Mirko Gogic wrote: > I have a following problem for a long time we had two separate > projects on two separate git origins. > server A and server B > Now code is getting very similar, and am trying to push updates > automatically. > Me and few of my frie

[git-users] Sinhronizing two sources and two git reposititories

2014-07-21 Thread Mirko Gogic
Hi all, I have a following problem for a long time we had two separate projects on two separate git origins. server A and server B Now code is getting very similar, and am trying to push updates automatically. Me and few of my friends are working and pushing to server A, then i need to merge c

Re: [git-users] Clone the git without tags.

2014-07-21 Thread Konstantin Khomoutov
On Thu, 17 Jul 2014 02:57:59 -0700 (PDT) "seonguk.baek" wrote: > I want to create bare git project without tags using clone. > > But there is no option like "--no-tags". > > Is there any way to clone without tags like below? > > $ git clone {path}/test.git --no-tags --mirror That would have

Re: [git-users] Remove files and folders permanently from commit history and pack files

2014-07-21 Thread cemico
Hi Dale, thank you for your very detailed information. But i can't get it to work. That's an odd "feature" of git in my opinion. I got a lokal git repository and i'm working alone on it. It should be possible and way way easier to completely remove accidentally committed files and folders from t