0.0.6 • Published 2 years ago

degitlab v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

English | 简体中文

degitlab

🫥 Helps you easily clone project files for self-managed GitLab.

Configuration

Since self-managed git usually come with authentication, so we need to add personal access token.
You don't need to set it if you have already logged in locally.

# ~/.gitconfig

[core]
  degitlabPAT = <personal access token>
  degitlabHost = <host>

Usage

// Use the project name to clone the project and automatically filter the .git directory.
degitlab -n degitlab

// Specify the path to clone, default is current directory.
degitlab -n degitlab -o ./dist

// Filter the directory.
degitlab -n degitlab -o ./dist -f /src/index.ts

// Filter the multiple directories.
degitlab -n degitlab -o ./dist -f /src/index.ts -f /src/index2.ts

// Help.
degitlab -h

Sponsors

License

MIT License © 2022 Dohooo