mirror of
https://github.com/actions/checkout.git
synced 2025-04-19 17:16:46 +00:00
update default branch (#305)
This commit is contained in:
parent
61b9e3751b
commit
1433f62caa
8 changed files with 10 additions and 10 deletions
|
@ -270,7 +270,7 @@ class GitCommandManager {
|
|||
/**
|
||||
* Resolves a ref to a SHA. For a branch or lightweight tag, the commit SHA is returned.
|
||||
* For an annotated tag, the tag SHA is returned.
|
||||
* @param {string} ref For example: 'refs/heads/master' or '/refs/tags/v1'
|
||||
* @param {string} ref For example: 'refs/heads/main' or '/refs/tags/v1'
|
||||
* @returns {Promise<string>}
|
||||
*/
|
||||
async revParse(ref: string): Promise<string> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue