0
0

增加了git功能,但是还未完善

This commit is contained in:
xubing
2025-11-24 17:53:48 +08:00
parent 925024bce1
commit fa1e291bed
682 changed files with 131314 additions and 157 deletions

22
node_modules/clean-git-ref/README.md generated vendored Normal file
View File

@@ -0,0 +1,22 @@
# clean-git-ref
[![Build Status](https://travis-ci.org/TheSavior/clean-git-ref.svg)](https://travis-ci.org/TheSavior/clean-git-ref)
Clean an input string into a usable git ref.
For more reference, read https://git-scm.com/docs/git-check-ref-format
## Installation
```sh
$ npm install clean-git-ref --save-dev
```
## API Usage
### clean(string input) -> string output
```
var cleanGitRef = require('clean-git-ref');
assert.strictEqual(cleanGitRef.clean('bad git ref formats/'), 'bad-git-ref-formats');
```