Exporting content that does not contain .git
Hope there will be a native git export
feature like this.
gitexport
is a simple bash script to export content that does not contain .git.
Recently, I need to upload a project without a .git file to another place (E.g. Cloudflare Pages), so I wrote this script.
curl https://raw.githubusercontent.com/tourcoder/gitexport/master/gitexport | bash
Run command in the root directory of the project.
Usage: gitexport [OPTION]...
Options:
-t, --to Export the files without .git
-h, --help Show help information
-v, --version Show Gitexport version
-u, --upgrade Upgrade Gitexport to latest version
The exported content will be generated on your Desktop in a folder named gitexport
.
Please feel free to submit your PR or issue.