Skip to content

Exporting content that does not contain .git. Hope there will be a native `git export` feature like this.

License

Notifications You must be signed in to change notification settings

tourcoder/gitexport

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitexport

Exporting content that does not contain .git

Hope there will be a native git export feature like this.

Intro

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.

Install

curl https://raw.githubusercontent.com/tourcoder/gitexport/master/gitexport | bash

How to use

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.

How to Collaborate

Please feel free to submit your PR or issue.

Copyright

MIT License

About

Exporting content that does not contain .git. Hope there will be a native `git export` feature like this.

Topics

Resources

License

Stars

Watchers

Forks

Languages