intersystems / intersystems/git-source-control

Add ability to reset branch to remote

Offen
#894 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
customer
Vorherrschende Sprache
ObjectScript
Sterne
22
Forks
14
Ø Merge
1 T. 9 Std.
Gemergte PRs (30 T.)
5

Beschreibung

On occasion, we end up with divergent branches in our lowest shared/deployed environment. it is really cumbersome to have to drop to the OS to issue a `git reset --hard` command (in part because permissions on the OS are really restrictive). Ideally, it would do a git-fetch followed by the reset.

It would be nice if this were an option somewhere within the UI to reset the current branch to it's `origin` counterpart: either an action button when you select a local branch or maybe an input that lets you run git commands from the settings page (you could show it only in expert mode)

This is more of a convenience request than anything else.

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Start by locating the UI entry point for selecting local branches and the existing fetch or branch actions. Determine how a reset to the branch's origin counterpart can be exposed safely, then verify that fetching and resetting produce the expected branch state in the shared environment.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
git
Bereich
devtools
Issue-Typ
Feature
Schwierigkeit
5/5
Geschätzter Aufwand
Über eine Woche
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
30/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.