-
Notifications
You must be signed in to change notification settings - Fork 38
How To Git
This needs writing! :D
Due to accidental commits of large files which belonged in the asset sources repository, we've made things a bit awkward for everybody with downstream forks. Though the files were removed (even before they were pushed to the repository), they still exist in the git history, increasing its size unnecessarily. Through this process, we were able to nearly half the repository size.
Unfortunately, this is going to break pull requests and require you to re-make any commits which haven't made it upstream (or use git cherry-pick and create patches to manually apply if you're up to doing that). Anybody with knowledge of a simpler workflow for navigating this sort of thing is welcome to chime in!
git stash
(if you have any uncommitted changes)
git fetch
git rebase <branchname> --onto 82af6a751edcba4235e154bb38daef7ed97a28a4
(If working from a local branch replace with the branch's name, otherwise remove it)
git pull upstream master
git push
git stash pop
(if you stashed uncommitted changes before)
From there, continue working as normal! Grumbliness about this situation can be thrown in Cheeseness' direction <3