module Git::Commands::SymbolicRef

Commands for reading, updating, and deleting symbolic refs via β€˜git symbolic-ref`

This module contains command classes split by invocation mode:

@example Read the current HEAD

cmd = Git::Commands::SymbolicRef::Read.new(lib)
cmd.call('HEAD')

@example Update HEAD to point to a branch

cmd = Git::Commands::SymbolicRef::Update.new(lib)
cmd.call('HEAD', 'refs/heads/main')

@example Delete a symbolic ref

cmd = Git::Commands::SymbolicRef::Delete.new(lib)
cmd.call('HEAD')

@see git-scm.com/docs/git-symbolic-ref git-symbolic-ref documentation

@api private