Skip to content

[feat] Track changes to a user's project with a git repo #280

Closed
0 of 1 issue completed
Closed

Description

@tcdent

When we modify a user's project it would be nice to save their changes before making our own in case something goes wrong. This is inspired by #265 since we'd potentially be editing a large portion of the project.

agentstack repo commit
Commit the current changes. Suggest a commit message and let the user override.

agentstack repo revert
Revert the last commit to undo a change.

Activity

  1. self-assigned this
    on Feb 5, 2025
  2. braelyn-ai commented on Feb 5, 2025

    @braelyn-ai
    Contributor

    idk if agentstack repo commit is necessary if they can just git commit. i think we should also have a flag for each command like --no-commit if you dont want to commit

    also i think we want to only git add the files we touched and make sure to not commit the user's other modified files. only commit unsaved changes if we're modifying a file that is already modified since the last commit

    open to discussion on this

  3. tcdent commented on Feb 5, 2025

    @tcdent
    CollaboratorAuthor

    idk if agentstack repo commit is necessary if they can just git commit. i think we should also have a flag for each command like --no-commit if you dont want to commit

    that makes sense!

    also i think we want to only git add the files we touched and make sure to not commit the user's other modified files. only commit unsaved changes if we're modifying a file that is already modified since the last commit

    thinking behind this was to separate our changes from theirs. if we change a file that they have changed (likely in a repo with 6 files) the commit gets muddied up. so we commit the current state of the project (if it's been changed) and then create a separate commit for the automated stuff.

  4. tcdent commented on Feb 13, 2025

    @tcdent
    CollaboratorAuthor

    This has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions