#Order my repo files by sizegit rev-list --objects --all | sort -k 2 > allfileshas.txtgit gc && git verify-pack -v .git/objects/pack/pack-*.idx | egrep "^\w+ blob\W+[0-9]+ [0-9]+ [0-9]+$" | sort -k 3 -n -r > bigobjects.txtfor SHA in `cut -f 1 -d\ < bigobjects.txt`; doecho $(grep $SHA bigobjects.txt) $(grep $SHA allfileshas.txt) | awk '{print $1,$3,$7}' >> bigtosmall.txtdone;#look at all these motherfucking paramsgit filter-branch -f --prune-empty --index-filter 'git rm -rf --cached --ignore-unmatch FILE_I_WANT_DEAD' --tag-name-filter cat -- --all#now I have to just jam my modified git files into the repo overriding everything, what could go wrong?git push origin master --force
I understand why doing this shit is more complex than svn and the like but jesus christ.
know what confuses me about SVN? there's no fucking UI (unless you download one) but at uni all we have is a stupid right mouse click "make SVN" button and then magically it's SVN, fuck knows where it's pointing, fuck knows how to comit etc fuck the whole fucking thing! fucking fuck the fucking fucked fuckers!
What OS? If it's nix, it's probably a bash script that sets up an SVN to the name of the directory. Probably have to use CMD to commit/udpate though.
Probably Tortoise SVN ?We use Tortoise Git at work becauase no decent alternative. Makes more sense though, because distribution means any git repo is a fully functioning independent repository. Not like SVN (last I used it at least).