notes.malicious.site


recover a git repository from a server copy

  1. Create a bundle

    cd reponame.git

    git bundle create reponame.bundle --all

  2. Move the bundle file to a different location

  3. Restore git repository from the bundle file

    git clone reponame.bundle reponame