Dagger
Search

supergit

No long description provided.

Installation

dagger install github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0

Entrypoint

Return Type
Supergit
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
func (m *myModule) example() *Supergit  {
	return dag.
			Supergit()
}
@function
def example() -> dag.Supergit:
	return (
		dag.supergit()
	)
@func()
example(): Supergit {
	return dag
		.supergit()
}

Types

Supergit 🔗

repository() 🔗

A new git repository

Return Type
Repository !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository
func (m *myModule) example() *SupergitRepository  {
	return dag.
			Supergit().
			Repository()
}
@function
def example() -> dag.SupergitRepository:
	return (
		dag.supergit()
		.repository()
	)
@func()
example(): SupergitRepository {
	return dag
		.supergit()
		.repository()
}

container() 🔗

Return Type
Container !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 container
func (m *myModule) example() *Container  {
	return dag.
			Supergit().
			Container()
}
@function
def example() -> dagger.Container:
	return (
		dag.supergit()
		.container()
	)
@func()
example(): Container {
	return dag
		.supergit()
		.container()
}

remote() 🔗

A new git remote

Return Type
Remote !
Arguments
NameTypeDefault ValueDescription
urlString !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string
func (m *myModule) example(url string) *SupergitRemote  {
	return dag.
			Supergit().
			Remote(url)
}
@function
def example(url: str) -> dag.SupergitRemote:
	return (
		dag.supergit()
		.remote(url)
	)
@func()
example(url: string): SupergitRemote {
	return dag
		.supergit()
		.remote(url)
}

Repository 🔗

A git repository

state() 🔗

Return Type
Directory !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 state
func (m *myModule) example() *Directory  {
	return dag.
			Supergit().
			Repository().
			State()
}
@function
def example() -> dagger.Directory:
	return (
		dag.supergit()
		.repository()
		.state()
	)
@func()
example(): Directory {
	return dag
		.supergit()
		.repository()
		.state()
}

worktree() 🔗

Return Type
Directory !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 worktree
func (m *myModule) example() *Directory  {
	return dag.
			Supergit().
			Repository().
			Worktree()
}
@function
def example() -> dagger.Directory:
	return (
		dag.supergit()
		.repository()
		.worktree()
	)
@func()
example(): Directory {
	return dag
		.supergit()
		.repository()
		.worktree()
}

withGitCommand() 🔗

Execute a git command in the repository

Return Type
Repository !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 with-git-command --args string1 --args string2
func (m *myModule) example(args []string) *SupergitRepository  {
	return dag.
			Supergit().
			Repository().
			WithGitCommand(args)
}
@function
def example(args: List[str]) -> dag.SupergitRepository:
	return (
		dag.supergit()
		.repository()
		.with_git_command(args)
	)
@func()
example(args: string[]): SupergitRepository {
	return dag
		.supergit()
		.repository()
		.withGitCommand(args)
}

gitCommand() 🔗

A Git command executed from the current repository state

Return Type
GitCommand !
Arguments
NameTypeDefault ValueDescription
args[String ! ] !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2
func (m *myModule) example(args []string) *SupergitGitCommand  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args)
}
@function
def example(args: List[str]) -> dag.SupergitGitCommand:
	return (
		dag.supergit()
		.repository()
		.git_command(args)
	)
@func()
example(args: string[]): SupergitGitCommand {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
}

withRemote() 🔗

Return Type
Repository !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
urlString !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 with-remote --name string --url string
func (m *myModule) example(name string, url string) *SupergitRepository  {
	return dag.
			Supergit().
			Repository().
			WithRemote(name, url)
}
@function
def example(name: str, url: str) -> dag.SupergitRepository:
	return (
		dag.supergit()
		.repository()
		.with_remote(name, url)
	)
@func()
example(name: string, url: string): SupergitRepository {
	return dag
		.supergit()
		.repository()
		.withRemote(name, url)
}

tag() 🔗

Return Type
Tag !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 tag --name string
func (m *myModule) example(name string) *SupergitTag  {
	return dag.
			Supergit().
			Repository().
			Tag(name)
}
@function
def example(name: str) -> dag.SupergitTag:
	return (
		dag.supergit()
		.repository()
		.tag(name)
	)
@func()
example(name: string): SupergitTag {
	return dag
		.supergit()
		.repository()
		.tag(name)
}

commit() 🔗

Return Type
Commit !
Arguments
NameTypeDefault ValueDescription
digestString !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 commit --digest string
func (m *myModule) example(digest string) *SupergitCommit  {
	return dag.
			Supergit().
			Repository().
			Commit(digest)
}
@function
def example(digest: str) -> dag.SupergitCommit:
	return (
		dag.supergit()
		.repository()
		.commit(digest)
	)
@func()
example(digest: string): SupergitCommit {
	return dag
		.supergit()
		.repository()
		.commit(digest)
}

Remote 🔗

A git remote

url() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 url
func (m *myModule) example(ctx context.Context, url string) string  {
	return dag.
			Supergit().
			Remote(url).
			Url(ctx)
}
@function
async def example(url: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.url()
	)
@func()
async example(url: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.url()
}

tag() 🔗

Lookup a tag in the remote

Return Type
RemoteTag !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 tag --name string
func (m *myModule) example(url string, name string) *SupergitRemoteTag  {
	return dag.
			Supergit().
			Remote(url).
			Tag(name)
}
@function
def example(url: str, name: str) -> dag.SupergitRemoteTag:
	return (
		dag.supergit()
		.remote(url)
		.tag(name)
	)
@func()
example(url: string, name: string): SupergitRemoteTag {
	return dag
		.supergit()
		.remote(url)
		.tag(name)
}

tags() 🔗

Query the remote for its tags.

If `filter` is set, only tag matching that regular expression will be included.
Return Type
[RemoteTag ! ] !
Arguments
NameTypeDefault ValueDescription
filterString -A regular expression to filter tag names. Only matching tag names will be included.
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 tags
func (m *myModule) example(url string) []*SupergitRemoteTag  {
	return dag.
			Supergit().
			Remote(url).
			Tags()
}
@function
def example(url: str) -> List[dag.SupergitRemoteTag]:
	return (
		dag.supergit()
		.remote(url)
		.tags()
	)
@func()
example(url: string): SupergitRemoteTag[] {
	return dag
		.supergit()
		.remote(url)
		.tags()
}

branch() 🔗

Lookup a branch in the remote

Return Type
RemoteBranch !
Arguments
NameTypeDefault ValueDescription
nameString !-No description provided
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string
func (m *myModule) example(url string, name string) *SupergitRemoteBranch  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name)
}
@function
def example(url: str, name: str) -> dag.SupergitRemoteBranch:
	return (
		dag.supergit()
		.remote(url)
		.branch(name)
	)
@func()
example(url: string, name: string): SupergitRemoteBranch {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
}

branches() 🔗

List available branches in the remote

Return Type
[RemoteBranch ! ] !
Arguments
NameTypeDefault ValueDescription
filterString -A regular expression to filter branch names. Only matching names are included.
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branches
func (m *myModule) example(url string) []*SupergitRemoteBranch  {
	return dag.
			Supergit().
			Remote(url).
			Branches()
}
@function
def example(url: str) -> List[dag.SupergitRemoteBranch]:
	return (
		dag.supergit()
		.remote(url)
		.branches()
	)
@func()
example(url: string): SupergitRemoteBranch[] {
	return dag
		.supergit()
		.remote(url)
		.branches()
}

GitCommand 🔗

A Git command

args() 🔗

Return Type
[String ! ] !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2 \
 args
func (m *myModule) example(ctx context.Context, args []string) []string  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args).
			Args(ctx)
}
@function
async def example(args: List[str]) -> List[str]:
	return await (
		dag.supergit()
		.repository()
		.git_command(args)
		.args()
	)
@func()
async example(args: string[]): Promise<string[]> {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
		.args()
}

input() 🔗

Return Type
Repository !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2 \
 input
func (m *myModule) example(args []string) *SupergitRepository  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args).
			Input()
}
@function
def example(args: List[str]) -> dag.SupergitRepository:
	return (
		dag.supergit()
		.repository()
		.git_command(args)
		.input()
	)
@func()
example(args: string[]): SupergitRepository {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
		.input()
}

debug() 🔗

Return Type
Terminal !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2 \
 debug
func (m *myModule) example(args []string) *Terminal  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args).
			Debug()
}
@function
def example(args: List[str]) -> dag.Terminal:
	return (
		dag.supergit()
		.repository()
		.git_command(args)
		.debug()
	)
@func()
example(args: string[]): Terminal {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
		.debug()
}

stdout() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2 \
 stdout
func (m *myModule) example(ctx context.Context, args []string) string  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args).
			Stdout(ctx)
}
@function
async def example(args: List[str]) -> str:
	return await (
		dag.supergit()
		.repository()
		.git_command(args)
		.stdout()
	)
@func()
async example(args: string[]): Promise<string> {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
		.stdout()
}

stderr() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2 \
 stderr
func (m *myModule) example(ctx context.Context, args []string) string  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args).
			Stderr(ctx)
}
@function
async def example(args: List[str]) -> str:
	return await (
		dag.supergit()
		.repository()
		.git_command(args)
		.stderr()
	)
@func()
async example(args: string[]): Promise<string> {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
		.stderr()
}

sync() 🔗

Return Type
GitCommand !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2 \
 sync
func (m *myModule) example(args []string) *SupergitGitCommand  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args).
			Sync()
}
@function
def example(args: List[str]) -> dag.SupergitGitCommand:
	return (
		dag.supergit()
		.repository()
		.git_command(args)
		.sync()
	)
@func()
example(args: string[]): SupergitGitCommand {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
		.sync()
}

output() 🔗

Return Type
Repository !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 git-command --args string1 --args string2 \
 output
func (m *myModule) example(args []string) *SupergitRepository  {
	return dag.
			Supergit().
			Repository().
			GitCommand(args).
			Output()
}
@function
def example(args: List[str]) -> dag.SupergitRepository:
	return (
		dag.supergit()
		.repository()
		.git_command(args)
		.output()
	)
@func()
example(args: string[]): SupergitRepository {
	return dag
		.supergit()
		.repository()
		.gitCommand(args)
		.output()
}

Tag 🔗

repository() 🔗

Return Type
Repository !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 tag --name string \
 repository
func (m *myModule) example(name string) *SupergitRepository  {
	return dag.
			Supergit().
			Repository().
			Tag(name).
			Repository()
}
@function
def example(name: str) -> dag.SupergitRepository:
	return (
		dag.supergit()
		.repository()
		.tag(name)
		.repository()
	)
@func()
example(name: string): SupergitRepository {
	return dag
		.supergit()
		.repository()
		.tag(name)
		.repository()
}

name() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 tag --name string \
 name
func (m *myModule) example(ctx context.Context, name string) string  {
	return dag.
			Supergit().
			Repository().
			Tag(name).
			Name(ctx)
}
@function
async def example(name: str) -> str:
	return await (
		dag.supergit()
		.repository()
		.tag(name)
		.name()
	)
@func()
async example(name: string): Promise<string> {
	return dag
		.supergit()
		.repository()
		.tag(name)
		.name()
}

fullName() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 tag --name string \
 full-name
func (m *myModule) example(ctx context.Context, name string) string  {
	return dag.
			Supergit().
			Repository().
			Tag(name).
			FullName(ctx)
}
@function
async def example(name: str) -> str:
	return await (
		dag.supergit()
		.repository()
		.tag(name)
		.full_name()
	)
@func()
async example(name: string): Promise<string> {
	return dag
		.supergit()
		.repository()
		.tag(name)
		.fullName()
}

tree() 🔗

Return Type
Directory !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 repository \
 tag --name string \
 tree
func (m *myModule) example(name string) *Directory  {
	return dag.
			Supergit().
			Repository().
			Tag(name).
			Tree()
}
@function
def example(name: str) -> dagger.Directory:
	return (
		dag.supergit()
		.repository()
		.tag(name)
		.tree()
	)
@func()
example(name: string): Directory {
	return dag
		.supergit()
		.repository()
		.tag(name)
		.tree()
}

Commit 🔗

digest() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string \
 commit \
 digest
func (m *myModule) example(ctx context.Context, url string, name string) string  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name).
			Commit().
			Digest(ctx)
}
@function
async def example(url: str, name: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.branch(name)
		.commit()
		.digest()
	)
@func()
async example(url: string, name: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
		.commit()
		.digest()
}

repository() 🔗

Return Type
Repository !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string \
 commit \
 repository
func (m *myModule) example(url string, name string) *SupergitRepository  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name).
			Commit().
			Repository()
}
@function
def example(url: str, name: str) -> dag.SupergitRepository:
	return (
		dag.supergit()
		.remote(url)
		.branch(name)
		.commit()
		.repository()
	)
@func()
example(url: string, name: string): SupergitRepository {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
		.commit()
		.repository()
}

tree() 🔗

Return Type
Directory !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string \
 commit \
 tree
func (m *myModule) example(url string, name string) *Directory  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name).
			Commit().
			Tree()
}
@function
def example(url: str, name: str) -> dagger.Directory:
	return (
		dag.supergit()
		.remote(url)
		.branch(name)
		.commit()
		.tree()
	)
@func()
example(url: string, name: string): Directory {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
		.commit()
		.tree()
}

RemoteTag 🔗

A git tag

name() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 tag --name string \
 name
func (m *myModule) example(ctx context.Context, url string, name string) string  {
	return dag.
			Supergit().
			Remote(url).
			Tag(name).
			Name(ctx)
}
@function
async def example(url: str, name: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.tag(name)
		.name()
	)
@func()
async example(url: string, name: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.tag(name)
		.name()
}

commitId() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 tag --name string \
 commit-id
func (m *myModule) example(ctx context.Context, url string, name string) string  {
	return dag.
			Supergit().
			Remote(url).
			Tag(name).
			CommitId(ctx)
}
@function
async def example(url: str, name: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.tag(name)
		.commit_id()
	)
@func()
async example(url: string, name: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.tag(name)
		.commitId()
}

url() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 tag --name string \
 url
func (m *myModule) example(ctx context.Context, url string, name string) string  {
	return dag.
			Supergit().
			Remote(url).
			Tag(name).
			Url(ctx)
}
@function
async def example(url: str, name: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.tag(name)
		.url()
	)
@func()
async example(url: string, name: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.tag(name)
		.url()
}

commit() 🔗

Return the commit referenced by the remote tag

Return Type
Commit !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 tag --name string \
 commit
func (m *myModule) example(url string, name string) *SupergitCommit  {
	return dag.
			Supergit().
			Remote(url).
			Tag(name).
			Commit()
}
@function
def example(url: str, name: str) -> dag.SupergitCommit:
	return (
		dag.supergit()
		.remote(url)
		.tag(name)
		.commit()
	)
@func()
example(url: string, name: string): SupergitCommit {
	return dag
		.supergit()
		.remote(url)
		.tag(name)
		.commit()
}

RemoteBranch 🔗

A git branch

name() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string \
 name
func (m *myModule) example(ctx context.Context, url string, name string) string  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name).
			Name(ctx)
}
@function
async def example(url: str, name: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.branch(name)
		.name()
	)
@func()
async example(url: string, name: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
		.name()
}

commitId() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string \
 commit-id
func (m *myModule) example(ctx context.Context, url string, name string) string  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name).
			CommitId(ctx)
}
@function
async def example(url: str, name: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.branch(name)
		.commit_id()
	)
@func()
async example(url: string, name: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
		.commitId()
}

url() 🔗

Return Type
String !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string \
 url
func (m *myModule) example(ctx context.Context, url string, name string) string  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name).
			Url(ctx)
}
@function
async def example(url: str, name: str) -> str:
	return await (
		dag.supergit()
		.remote(url)
		.branch(name)
		.url()
	)
@func()
async example(url: string, name: string): Promise<string> {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
		.url()
}

commit() 🔗

Return the commit referenced by the remote branch

Return Type
Commit !
Example
dagger -m github.com/shykes/daggerverse/supergit@ccfd9ffc55126942fe0dd5d01d7c3822f66d59d0 call \
 remote --url string \
 branch --name string \
 commit
func (m *myModule) example(url string, name string) *SupergitCommit  {
	return dag.
			Supergit().
			Remote(url).
			Branch(name).
			Commit()
}
@function
def example(url: str, name: str) -> dag.SupergitCommit:
	return (
		dag.supergit()
		.remote(url)
		.branch(name)
		.commit()
	)
@func()
example(url: string, name: string): SupergitCommit {
	return dag
		.supergit()
		.remote(url)
		.branch(name)
		.commit()
}