Skip to content

Pidan/pidan

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pidan

A Git helper

Intro

Pidan is a Git helper that simplifies various Git tasks, making them more user-friendly. For example, it assists in tasks like initializing a .gitignore file and more.

Installation

curl https://dlc.binhua.org/pidan/pidan | bash

Alternative

curl https://raw.githubusercontent.com/Pidan/pidan/master/pidan | bash

Usage

USAGE: pidan [global options] command [command options] [arguments...]

COMMANDS:
   init  Initialize Pidan, need to run first

   export  Export Git repository contents

   gitignore  Initialize or update .gitignore file
    Options:
    -o  Overwrite existing .gitignore (default: true)
    -a  Append to existing .gitignore (default: false)
    
    Subcommands:
    config  Configure custom .gitignore file
        Usage: pidan gitignore config [-o | -a] [remote_gitignore]
        Options:
        -o  Overwrite existing content (default: false)
        -a  Append to existing content (default: true)

GLOBAL OPTIONS:
   --upgrade   Check for script upgrade and install the latest version (default: false)
   --info      Show all information about Pidan (default: false)
   --help, -h  show help

Contribution

If you have any questions or feature suggestions, please feel free to submit them in issues.

License

MIT

Copyright (C) 2023-present, Bin Hua