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.

  • Using Julia packages from a Fork
  • Pushing subfolders of a repository in Git?
  • Is it possible to git grep for tabs?
  • What is the difference between “git show test.rb” and “git show HEAD:test.rb”?
  • git subtree or submodule for surrounding directories
  • Clone just the stable and one other branch in git?
  • Switch branch names in git
  • Calling one git hook from another hook
  • Fixing “patch does not apply” when editing a hunk from git add -p
  • How to get diff for specified user between two dates from git?
  • Git hook to disallow directory creation in top level
  • 'git pull' executing in SSH, but not in github post-receive script
  • 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.