-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
Description
Creating .
$ git init
$ git checkout -b main
LICENSE created
CODE_OF_CONDUCT.md created
CONTRIBUTING.md created
README.md created
$ git add LICENSE.md
$ git commit -m 'docs(LICENSE): ISC'
$ git add CODE_OF_CONDUCT.md
$ git commit -m 'docs(CODE_OF_CONDUCT): Contributor Covenant'
$ git add CONTRIBUTING.md
$ git commit -m 'docs(CONTRIBUTING): initial version'
$ git add README.md
$ git commit -m 'docs(README): initial version'
$ git add .github/ISSUE_TEMPLATE
$ git commit -m 'docs(ISSUE_TEMPLATES): initial version'
> POST /user/repos
accept: application/vnd.github.v3+json
user-agent: octokit-core.js/3.6.0 Node.js/16.15.0 (linux; x64)
content-type: application/json; charset=utf-8
name: 'octoherd-script-remove-eol-node-versions'
description: 'An octoherd script to remove EOL NodeJS versions from @octokit repositories'
private: false
has_wiki: false
has_projects: false
allow_merge_commit: false
allow_rebase_merge: false
delete_branch_on_merge: true
> PUT /repos/wolfy1339/octoherd-script-remove-eol-node-versions/topics
accept: application/vnd.github.mercy-preview+json
user-agent: octokit-core.js/3.6.0 Node.js/16.15.0 (linux; x64)
content-type: application/json; charset=utf-8
names: [ 'octoherd-script' ]
$ git remote add origin git@github.com:wolfy1339/octoherd-script-remove-eol-node-versions.git
$ git push -u origin HEAD
$ git checkout -b initial-version
$ git commit README.md -m 'docs(README): remove WIP note'
Error: Command failed with exit code 1: git commit README.md -m 'docs(README): remove WIP note'
On branch initial-version
nothing to commit, working tree clean
at makeError (file:///home/user/.npm/_npx/a543ff98fce0558b/node_modules/execa/lib/error.js:59:11)
at handlePromise (file:///home/user/.npm/_npx/a543ff98fce0558b/node_modules/execa/index.js:119:26)
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at async command (file:///home/user/.npm/_npx/a543ff98fce0558b/node_modules/create-octoherd-script/lib/command.js:5:30)
at async main (file:///home/user/.npm/_npx/a543ff98fce0558b/node_modules/create-octoherd-script/cli.js:154:5) {
shortMessage: "Command failed with exit code 1: git commit README.md -m 'docs(README): remove WIP note'",
command: "git commit README.md -m 'docs(README): remove WIP note'",
escapedCommand: `"git commit README.md -m 'docs(README): remove WIP note'"`,
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: 'On branch initial-version\nnothing to commit, working tree clean',
stderr: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}
All done.