I am trying to export my existing git repo with following command. But I end up with errors. any one help me to fix this?
my command :
PS F:\Nissan-Gulp> git archive --format zip --output F:\convert master
fatal: could not create archive file 'F:\convert': Is a directory
PS F:\Nissan-Gulp>
my existing git project at Nissan-Gulp and I wish to send to 'F:\convert': folder. but not works.
The
F:\convertpath should be a file, not a directory. Create that directory and run the command withF:\convert\FILENAME, replacingFILENAMEwith what you'd like to name the archive.