seno

seno Push хийсэн master seno/git-rebase-ai

  • f6fd73b66e chore: Improve script robustness The script now includes checks for a clean working directory before proceeding. This prevents accidental modifications to the repository during rebase operations.

10 сар өмнө

seno Push хийсэн master seno/git-rebase-ai

10 сар өмнө

seno Push хийсэн master seno/git-rebase-ai

10 сар өмнө

seno Push хийсэн master seno/git-rebase-ai

  • dc15cccc8f chore: Improve script for fetching remote branches This commit refactors the `ai-rebase.sh` script to correctly fetch remote branches specified as "owner/branch". It also adds a conditional to avoid fetch when deleting backups, improving script robustness and preventing errors.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • bbcb713ca7 feat: Add version and improve fetch in ai-rebase.sh This commit introduces a version variable and improves the git fetch command within the ai-rebase.sh script. It makes the script more robust and informative by displaying its version. The fetch command is modified to correctly parse arguments.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • 9f50524502 feat: Add git fetch and error handling to ai-rebase.sh This change adds `git fetch` with arguments provided by the user to ensure the script operates on the latest remote state. It also includes `set -e` for immediate exit on errors, improving the reliability of the script.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • 5be21b6eea feat: Add git report script This commit adds a `git_report` script. The script fetches from upstream, logs the commit history, and diffs against upstream, respecting the `.rebase-ignore` file. The script also prints the current date. This will aid in debugging and reviewing changes.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • 041d955011 feat: Add .rebase-ignore for file exclusion This commit introduces a `.rebase-ignore` file, similar to `.gitignore`, to exclude specific files or patterns from AI analysis during both fixup and reword suggestions. This improves performance and prevents unnecessary modifications to certain files.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • 0e8eb69180 feat: Implement AI-powered Git rebase and reword This commit introduces the core functionality for AI-assisted Git rebase and reword operations. It includes components for: - Parsing Git commit history and diffs. - Interacting with an AI model for message generation. - Applying the AI suggestions via interactive rebase. - Handling .rebase-ignore files. The `git_rebase_ai.py` script provides the main entry point for these features.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • e559ad93f7 refactor: Improve Git context gathering in rebase script This commit refactors the `git_rebase_ai.py` script to improve how it gathers Git context and creates backups before rebase operations. The changes include: - Simplifying the parameter handling. - Updating the default upstream branch to `upstream/master`. - Improving the overall script structure for readability and maintainability.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • f49aed5a37 refactor: Improve Git context gathering and backup This commit refactors the Git context gathering process for clarity and adds a safety measure. The changes include: - Moved the backup branch creation earlier, before detailed Git context gathering, to ensure a backup exists even if context gathering fails. - Consolidated Git context gathering into two phases: initial and detailed, for better organization and error handling. - Ensured backup branch is created only if commits are found.
  • 9cadbd0052 refactor: Rename and reorganize Python scripts This commit renames `git_commit_ai.py` and `git_reword_ai.py` to `git_rebase_ai.py`. It also reorganizes the project structure by removing the separate `git_reword_ai.py` file and integrating its functionality into the main `git_rebase_ai.py` script. This simplifies the codebase and improves maintainability by consolidating the AI-powered rebase logic into a single file. The Dockerfile and Makefile are also updated to reflect these changes.
  • e152590301 init
  • 7d7749dcaf Initial commit
  • d5763e3f78 refactor: Improve Git context gathering and backup This commit refactors the Git context gathering process for clarity and adds a safety measure. The changes include: - Moved the backup branch creation earlier, before detailed Git context gathering, to ensure a backup exists even if context gathering fails. - Consolidated Git context gathering into two phases: initial and detailed, for better organization and error handling. - Ensured backup branch is created only if commits are found.
  • Эдгээр 7 commit-уудын харьцуулалтыг харах »

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • d5763e3f78 refactor: Improve Git context gathering and backup This commit refactors the Git context gathering process for clarity and adds a safety measure. The changes include: - Moved the backup branch creation earlier, before detailed Git context gathering, to ensure a backup exists even if context gathering fails. - Consolidated Git context gathering into two phases: initial and detailed, for better organization and error handling. - Ensured backup branch is created only if commits are found.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

  • 8cb46ee452 refactor: Rename and reorganize Python scripts This commit renames `git_commit_ai.py` and `git_reword_ai.py` to `git_rebase_ai.py`. It also reorganizes the project structure by removing the separate `git_reword_ai.py` file and integrating its functionality into the main `git_rebase_ai.py` script. This simplifies the codebase and improves maintainability by consolidating the AI-powered rebase logic into a single file. The Dockerfile and Makefile are also updated to reflect these changes.

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

1 жил өмнө

seno Push хийсэн master seno/git-rebase-ai

1 жил өмнө

seno шинэ хуулбар үүсгэсэн master at seno/git-rebase-ai

1 жил өмнө

seno seno/git-rebase-ai репо-г үүсгэлээ

1 жил өмнө

seno Push хийсэн master seno/genai-git-commit

  • e2b59427f0 Feat: Enhance AI-powered Git assistant with rebase tools This commit significantly expands the functionality of the AI-powered Git assistant by adding features for suggesting and automating interactive rebase operations. It introduces: - AI-powered `fixup` suggestion (finds commits that look like small fixes to their predecessors). - AI-powered `reword` suggestion (finds commits with messages that could be improved). - Automatic rebase capabilities (with safety backups) for applying fixups and rewording commits. - A new `ai-commit.sh` script that dispatches to the appropriate Python script based on flags. - Two new Python scripts: `git_rebase_ai.py` and `git_reword_ai.py`. - Expanded documentation, including Makefile usage instructions, details on rebase workflows, and descriptions of all files. The previous version only supported commit message generation. Now, developers can leverage AI to streamline interactive rebases, improving commit history quality and consistency.

1 жил өмнө

seno Push хийсэн master seno/genai-git-commit

  • 77ed575112 build: Add Makefile for common tasks This commit introduces a Makefile to streamline common development tasks, such as building and running the Docker image. The Makefile provides targets for: - Building the Docker image - Running the ai-commit script - Rebasing with the ai-commit script - Rewriting with the ai-commit script This simplifies the workflow and makes it easier to manage the project.
  • 96260c68a8 feat: Improve ai-commit script for rebase/reword The ai-commit script now supports the `-r` and `-w` flags, allowing it to run `git_rebase_ai.py` and `git_reword_ai.py` respectively. This makes it easier to use the AI to improve commit history during an interactive rebase. The script also dynamically selects the correct script based on the provided arguments and sets the `GEMINI_MODEL` environment variable.
  • Эдгээр 2 commit-уудын харьцуулалтыг харах »

1 жил өмнө

seno Push хийсэн master seno/genai-git-commit

  • 28137811a9 Docs: Update usage instructions in README This commit updates the README.md file to clarify the usage instructions for the ai-commit.sh script. It now includes instructions on how to amend the previous commit using the `-a` or `--amend` flags. This enhancement provides users with clear guidance on amending commits, improving the tool's usability. Additionally, it documents the forwarding of arguments to the python script.

1 жил өмнө