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

Repository is ~150 MB #59

Closed
ElDeveloper opened this issue May 27, 2014 · 20 comments
Closed

Repository is ~150 MB #59

ElDeveloper opened this issue May 27, 2014 · 20 comments
Labels

Comments

@ElDeveloper
Copy link
Member

When #52 was merged, the commit history seems to have been duplicated, when I pulled from upstream/master to my clone, the size of the repo went from 60 MB to 147 MB.

When I clone from upstream/master the repo's size is 146 MB.

@squirrelo
Copy link
Contributor

Welp. Apparently by trying to remove giant files it created....giant files. Not sure how to fix that.

This may also be a good time to talk about removing the prototypes folder though. I don't see why it needs to live in the repo itself.

@ElDeveloper
Copy link
Member Author

Would anyone mind if I do this today?

@ElDeveloper
Copy link
Member Author

Please reply if so by 8pm MST.

@antgonza
Copy link
Member

Do it!
On Jun 23, 2014 6:12 PM, "Yoshiki Vázquez Baeza" notifications@github.com
wrote:

Please reply if so by 8pm MST.


Reply to this email directly or view it on GitHub
#59 (comment).

@wasade
Copy link
Contributor

wasade commented Jun 24, 2014

+1
On Jun 23, 2014 6:22 PM, "Antonio Gonzalez" notifications@github.com
wrote:

Do it!
On Jun 23, 2014 6:12 PM, "Yoshiki Vázquez Baeza" notifications@github.com

wrote:

Please reply if so by 8pm MST.


Reply to this email directly or view it on GitHub
#59 (comment).


Reply to this email directly or view it on GitHub
#59 (comment).

@josenavas
Copy link
Contributor

Kill it! I don't think there is anybody working on a branch right now!

@josenavas
Copy link
Contributor

Also, can you remove the prototypes?

ElDeveloper added a commit to ElDeveloper/qiita that referenced this issue Jun 24, 2014
Note that this commit ports over the contents of the previously existing
repository.

Fixes qiita-spots#59
@ElDeveloper ElDeveloper reopened this Jun 24, 2014
@squirrelo
Copy link
Contributor

Why did this re-open?

@ElDeveloper
Copy link
Member Author

Ah 'cause I haven't fixed the problem, working on it. Stay tuned.

On (Jun-23-14|22:52), Joshua Shorenstein wrote:

Why did this re-open?


Reply to this email directly or view it on GitHub:
#59 (comment)

@squirrelo
Copy link
Contributor

It's tiny for me. Did you re-fork it? I had to do that to wipe out all the built up branches.

@ElDeveloper
Copy link
Member Author

It took me a while to figure it out, the history is gone.

To set your clones to the same state as the upstream/master ref, all you have to do now is run the following commands (make sure there are no commits that you would be losing by overwriting the commit history):

git pull -f upstream master
git push -f origin master

I recommend this instead of other alternatives as this way you will conserve some repo-specific settings, like your remotes, other branches etc. Note that if you had branches that bifurcated off of the previous master and you submit a PR, it is going to drag the full history, so please avoid this situation.

@antgonza
Copy link
Member

Repo/history is smaller but prototypes are still there, can you remove
them?

@ElDeveloper
Copy link
Member Author

Hmmm, I'm pretty sure I removed it, are you sure that's not an empty folder?

Yoshiki Vázquez-Baeza

On Jun 24, 2014, at 6:06 AM, Antonio Gonzalez notifications@github.com wrote:

Repo/history is smaller but prototypes are still there, can you remove
them?

Reply to this email directly or view it on GitHub.

@teravest
Copy link
Contributor

This is putting me in merge conflict hell... I think 35 files have
conflicts when I try and do this... anyone have any idea how to avoid this?

On Tue, Jun 24, 2014 at 8:00 AM, Yoshiki Vázquez Baeza <
notifications@github.com> wrote:

Hmmm, I'm pretty sure I removed it, are you sure that's not an empty
folder?

Yoshiki Vázquez-Baeza

On Jun 24, 2014, at 6:06 AM, Antonio Gonzalez notifications@github.com
wrote:

Repo/history is smaller but prototypes are still there, can you remove
them?

Reply to this email directly or view it on GitHub.


Reply to this email directly or view it on GitHub
#59 (comment).

@josenavas
Copy link
Contributor

Thanks Yoshiki, that seems to work for me.
I still can see the prototypes on my end (and they are not empty folders) but they do not appear on the github repo, so I'll assume is some kind of gitignore or something like that?

@antgonza
Copy link
Member

My guess is that you needed to first update to the latest version on the
repo before @ElDeveloper's changes. One option is to erase everything and
start from scratch ...

@josenavas
Copy link
Contributor

I'll porbably re-fork the repo....

@teravest
Copy link
Contributor

I think i got

I did
git fetch --all
git reset --hard upstream/master
git pull -f upstream master
git push -f origin master

I do not appear to have the prototypes

On Tue, Jun 24, 2014 at 8:47 AM, josenavas notifications@github.com wrote:

I'll porbably re-fork the repo....


Reply to this email directly or view it on GitHub
#59 (comment).

@josenavas
Copy link
Contributor

Thanks @teravest that worked for me!

@antgonza
Copy link
Member

My repo was messed up but now is fine. Thanks for the clean up.

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

No branches or pull requests

6 participants