Lab 13 - Export your Repo

Copy your git repositoy

  • Verify, that all files are checked in
git status
  • Create a copy of your git repository
# export git repository
git archive --format zip --output /tmp/repo.zip master
  • Load the archive on your own laptop
scp root@srv.<name>.lab:/tmp/repo.zip <your homedir>
  • Verify the content of the archive on your laptop! (unpack the zip or use zipinfo)
zipinfo <your homedir>/repo.zip