Files
2721c9d627 Fix git force to not override local commits (#86860)
* Add logic for toggleable local commit override

* Document tweaked git force logic

* Add tests for new commit-aware force

* Refactor switch_version

- duplicate code paths when handling 'HEAD'
- Fixed a FIXME

* Add changelog fragment

* Fix sanity and use fstrings

* Address 'diverged' case

* Revert to old structure

- Still contains new functionality
- Still contains FIXME

* Remove comments

* Update test/integration/targets/git/tasks/localmods.yml

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>

* Move cleanup to always

---------

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
2026-04-24 10:42:23 -04:00
..
2025-05-16 08:25:18 -07:00