Dropping older Git commits from history?

I have cloned an SVN repository into a Git repository, and I just want the last commits beginning from f3a5b2a commit. I do want to retain the changes, but they can be part of that f3a5b2a commit, I want to get rid of the unnecessary history because I don’t need it anymore and I have the old SVN repository backed up.

There are commits spanning across 7 years, I just want the commits beginning from f3a5b2a.

  • GitHub: Why should I fork?
  • Deploy laravel app on heroku - push rejected
  • Powerful gitk/gitg alternative?
  • Why do I need to modify <master> if I want to merge it into my public <feature1> branch according to Atlassian Stash?
  • What do the numbers in the “Total” line of git gc/git repack output mean?
  • How to git clone 'git' metadata only
  • How to check if a Git Repo has uncommitted changes by gitpython
  • Sharing frontend components between private projects
  • Git Including an arbitrarily nested subfolder when its parent has been excluded in .gitignore
  • Can I make a “deep copy” of a git repository with submodules?
  • How to escape double quotes while executing on command line through gradle?
  • How can I clean up a broken history with git-tfs
  • One Solution collect form web for “Dropping older Git commits from history?”

    I found a better way to clone an SVN repository and dropping older commits:

    git svn clone -r1234:HEAD https://asdasd/ targetPath
    

    It basically clones the given SVN repository, starting from revision 1234 until it hits the head.

    Git Baby is a git and github fan, let's start git clone.