You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| Parameters | Type |
| --- | --- | --- |
| id | Oid | the OID the reference is now pointing to |
| committer | Signature | the signature of the committer |
| msg | String | the reflog message |
| Parameters | Type |
| --- | --- | --- |
| idx | Number | the position of the entry to remove. Should be greater than or equal to 0 (zero) and less than git_reflog_entrycount(). |
| rewrite_previous_entry | Number | 1 to rewrite the history; 0 otherwise. |
Returns
Number
0 on success, GIT_ENOTFOUND if the entry doesn't exist
or an error code.
Reflog#entryByIndex SyncExperimental
varreflogEntry=reflog.entryByIndex(idx);
| Parameters | Type |
| --- | --- | --- |
| idx | Number | the position of the entry to lookup. Should be greater than or equal to 0 (zero) and less than git_reflog_entrycount(). |