A Git helper
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.
curl https://dlc.binhua.org/pidan/pidan | bash
Alternative
curl https://raw.githubusercontent.com/Pidan/pidan/master/pidan | bash
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
If you have any questions or feature suggestions, please feel free to submit them in issues.
Copyright (C) 2023-present, Bin Hua