intersystems / intersystems/git-source-control

Add ability to reset branch to remote

Aperta
#894 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
customer
Lingua principale
ObjectScript
Stelle
22
Fork
14
Merge medio
1g 9h
PR unite (30g)
5

Descrizione

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.

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
git
Ambito
devtools
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Ferma
Chiarezza
Da chiarire
Idoneità per principianti
30/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.