Giter Site home page Giter Site logo

Comments (2)

mrardon avatar mrardon commented on May 24, 2024

Just as a side note I was able to clean this up - including all the history as you can see on my fork of this project by following the instructions below. I don't know if you all want to get into this but I'll put them here for reference.

Using http://rtyley.github.io/bfg-repo-cleaner/ as recommended by Github: https://help.github.com/articles/remove-sensitive-data#using-the-bfg

  1. Make a commit to fix the .gitignore line by removing the trailing comment as discussed. This is necessary because BFG will not touch HEAD files

  2. Create a file called remove.txt with the contents below. This is our pattern we are looking for it will replace it with an empty string

#added for RIA/Silverlight projects==>
  1. Download BFG from http://rtyley.github.io/bfg-repo-cleaner/
  2. Mirror the repo and make sure you copy this folder to someplace safe as a backup
$ git clone --mirror [email protected]:MindscapeHQ/raygun4php.git
  1. Run bfg
$ java -jar bfg-1.11.7.jar --replace-text remove.txt raygun4php.git
  1. Force gc and reference fixes:
$ cd some-big-repo.git
$ git reflog expire --expire=now --all
$ git gc --prune=now --aggressive
  1. Push up reference changes
$ git push

The final git push will push everything back up and the file will be fixed.

I figured even if you don't do this its good git-fu to know. For now I will just use my fork and pull down whenever necessary.

Cheers.

from raygun4php.

mduncan26 avatar mduncan26 commented on May 24, 2024

Closing this issue for now. If you wish to see this issue addressed please create a new issue or post within our forums (https://raygun.com/forums). Thank you.

from raygun4php.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.