Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binary files in VCS #16

Closed
jsarenik opened this issue Apr 17, 2014 · 4 comments
Closed

Binary files in VCS #16

jsarenik opened this issue Apr 17, 2014 · 4 comments

Comments

@jsarenik
Copy link

Hello!

First, let me thank you for working on wincompose. I come from X.org/Linux world but sometimes need to use Windows and WinCompose is a wonderful tool to make that OS much more useful!

Have a look at my fork https://github.com/jsarenik/wincompose . The difference is, there are no binaries in the repository tree. The bin-free tree I got simply by running

git filter-branch --tree-filter "rm -rf bin"

The command above will change every commit in the repository so you will have to git push --force but once done, nobody will ever have to download all the past versions upon git clone...

All the binaries can be uploaded to Releases section of the project https://github.com/jsarenik/wincompose/releases by using tags

git tag v0.4.6 67ed8e1fd3296a9a9b3a96d2a35c93f89f176470
git push --tags

(the rest is done by using GitHub WebUI's tab Releases)

I really appreciate your work on WinCompose!
Thanks and good luck!

http://build-doctor.com/2008/08/22/your-version-control-system-is-not-a-file-system/

@samhocevar
Copy link
Owner

Thanks for the information. This looks like a sensible thing to do.

@zommuter
Copy link

@jsarenik
Copy link
Author

There were also *.exe files in root (out of bin) in older commits, so the filter branch would look like

git filter-branch --tree-filter "rm -rf bin *.exe"

@jsarenik
Copy link
Author

Hat off! Wonderful!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants
@jsarenik @samhocevar @zommuter and others