Skip to content

fix: introduces fallback on some major commands and fix some feat - #129

Merged
Huerte merged 1 commit into
mainfrom
fix/multiple-bug-fixes-and-safety-improvements
Oct 19, 2026
Merged

Huerte merged 1 commit into
mainfrom
fix/multiple-bug-fixes-and-safety-improvements

Conversation

@Huerte

@Huerte Huerte commented Oct 19, 2026

Copy link
Copy Markdown
Owner

Type

  • Bug fix
  • New feature
  • Documentation
  • Refactor / internal

Changes

  • gitgo user logout now asks for confirmation, moves your SSH key to a timestamped backup instead of deleting it, and asks separately before clearing your global Git identity.
  • gitgo undo pull now uses a record GitGo saves at pull time instead of Git's shared ORIG_HEAD, and uses git reset --keep so it can never overwrite uncommitted work.
  • gitgo resolve now stages only the files that were in conflict.
  • gitgo undo changes now lists what will be discarded and saves a backup first. Restore it with gitgo state load.
  • gitgo undo push now shows the commit it will remove. It refuses if you have commits that were never pushed, or if the remote has newer commits than your local branch.
  • gitgo jump no longer pulls main into the target branch unless you ask for it with --sync or the jump-sync setting. It also finds the main branch from local data instead of making a network call.
  • gitgo repo now warns when it is about to create a public repository.
  • Errors and warnings now print to stderr, so piped output stays clean.
  • The "update available" notice now shows at most once a day after any command, and gives the upgrade command that matches how GitGo was installed.

Checklist

  • Tested locally and changes work as expected
  • CHANGELOG.md updated under [Unreleased]
  • README.md updated (if a command was added or changed)
  • Tests added or updated (if applicable)
  • No existing commands are broken (if they are, describe the impact above)

@codecov-commenter

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 91.95652% with 37 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pygitgo/commands/git_core.py 90.75% 11 Missing ⚠️
src/pygitgo/commands/resolve.py 85.71% 5 Missing ⚠️
src/pygitgo/commands/undo.py 89.13% 5 Missing ⚠️
src/pygitgo/commands/jump.py 80.95% 4 Missing ⚠️
src/pygitgo/commands/init.py 92.10% 3 Missing ⚠️
src/pygitgo/utils/update_checker.py 89.28% 3 Missing ⚠️
src/pygitgo/auth/manager.py 94.59% 2 Missing ⚠️
src/pygitgo/commands/git_branch.py 92.00% 2 Missing ⚠️
src/pygitgo/main.py 83.33% 2 Missing ⚠️

📢 Thoughts on this report? Let us know!

@Huerte
Huerte merged commit 9e7f2c7 into main Oct 19, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants