Skip to content

Latest commit

 

History

History
33 lines (30 loc) · 3.96 KB

File metadata and controls

33 lines (30 loc) · 3.96 KB
title removeNote
sidebar_label removeNote

Remove an object note

param type [= default] description
core string = 'default' The plugin core identifier to use for plugin injection
fs [deprecated] FileSystem The filesystem containing the git repo. Overrides the fs provided by the plugin system.
dir string The working tree directory path
gitdir string = join(dir,'.git') The git directory path
ref string The notes ref to look under
oid string The SHA-1 object id of the object to remove the note from.
author Object The details about the author.
author.name string Default is user.name config.
author.email string Default is user.email config.
author.date string Set the author timestamp field. Default is the current date.
author.timestamp string Set the author timestamp field. This is an alternative to using date using an integer number of seconds since the Unix epoch instead of a JavaScript date object.
author.timezoneOffset string Set the author timezone offset field. This is the difference, in minutes, from the current timezone to UTC. Default is (new Date()).getTimezoneOffset().
committer Object = author The details about the commit committer, in the same format as the author parameter. If not specified, the author details are used.
signingKey string Sign the tag object using this private PGP key.
return Promise<string> Resolves successfully with the SHA-1 object id of the commit object for the note removal.
<script> (function rewriteEditLink() { const el = document.querySelector('a.edit-page-link.button'); if (el) { el.href = 'https://github.com/isomorphic-git/isomorphic-git/edit/master/src/commands/removeNote.js'; } })(); </script>