Jonathan, All I want to do is create a new remote repo based on my current local repo. The local repo is the master copy of all my work.
Can you tell me what I did wrong, and where my logic went astray? Thanks, Mark On Fri, Sep 25, 2020 at 7:28 PM Johnathan Mantey <[email protected]> wrote: > The second option won't help you. You've blown away your "private", which I > assume is just the "remote" repository. > You are trying to somehow recover your "remote" using the contents of your > "local". > I will have to look, and think a little more, about how to accomplish what > you want without restoring what your deleted at your cloud storage. > > On Fri, Sep 25, 2020 at 4:39 PM Mark Phillips <[email protected]> > wrote: > > > I need some help from an experienced git user to unravel a git issue I am > > having. > > > > I have a local repo and a private remote repo in the cloud (not github). > I > > am the only user. I have been using these two for a couple of years with > no > > issues. However, I inadvertently included some large test files in some > > commits, and the repo grew to over 8 GB and started having issues. I went > > through the local repo and removed the unnecessary files using BFG repo > > cleaner, and now it is down to 145 MB. I thought I could just wipe out > > (i.e. delete) my remote repo, make a new one, and then push my local to > > remote and be done with it. It did not work out as I planned. > > > > I posted a detailed question on stackoverflow - > > > > > https://stackoverflow.com/questions/64055979/issues-with-updating-a-fresh-remote-git-repository?noredirect=1#comment113275077_64055979 > > and got one suggestion, but I don't really understand what the person is > > suggesting. I also found this article, which seems to relate, but it is > not > > detailed enough for me to follow it. > > https://www.nickang.com/2017-09-30-replace-git-branch-code/ > > > > I am hoping someone on the list who has some experience with git, can > help > > me fix this problem. > > > > Thanks! > > > > Mark > > _______________________________________________ > > PLUG: https://pdxlinux.org > > PLUG mailing list > > [email protected] > > http://lists.pdxlinux.org/mailman/listinfo/plug > > > _______________________________________________ > PLUG: https://pdxlinux.org > PLUG mailing list > [email protected] > http://lists.pdxlinux.org/mailman/listinfo/plug > _______________________________________________ PLUG: https://pdxlinux.org PLUG mailing list [email protected] http://lists.pdxlinux.org/mailman/listinfo/plug
