reset_start_commit

Function reset_start_commit 

Source
pub fn reset_start_commit() -> Result<()>
Expand description

Reset the starting commit to current HEAD.

This is a CLI command that updates .agent/start_commit to the current HEAD commit. It’s useful when the user wants to start tracking from a different baseline.

§Errors

Returns an error if:

  • The current HEAD cannot be determined
  • The file cannot be written