Skip to content

idea2app/Git-utility

Repository files navigation

Git utility

A Git utility CLI tool with some missing sub commands

NPM Dependency CI & CD

NPM

Installation

npm i git-utility -g

or run with npx / pnpx directly:

npx git-utility # your arguments here

Usage

Download folders or files from Git repositories

# 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

Manage Git submodules

# List current submodules
xgit submodule remove

# Remove a specific submodule
xgit submodule remove path/to/submodule

Commands

  • xgit download <GitURL> [branchName] [folderOrFilePath] - Download folders or files from a Git repository
  • xgit submodule remove [path] - Remove a Git submodule

About

A file/folder downloader based on Git CLI, TypeScript & Node.js

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published