A Git utility CLI tool with some missing sub commands
npm i git-utility -g
or run with npx
/ pnpx
directly:
npx git-utility # your arguments here
# Download entire repository
xgit download https://github.com/your-org/your-repo
# Download from specific branch
xgit download https://github.com/your-org/your-repo main
# Download specific folder or file
xgit download https://github.com/your-org/your-repo main path/to/your-folder/or-file
# List current submodules
xgit submodule remove
# Remove a specific submodule
xgit submodule remove path/to/submodule
xgit download <GitURL> [branchName] [folderOrFilePath]
- Download folders or files from a Git repositoryxgit submodule remove [path]
- Remove a Git submodule