deep-foundation / deep-foundation/scripts
Automate branch fix using creation of new branch instead of `force push` or `rebase` or `revert of merge`
- Lingua principale
- Shell
- Stelle
- 4
- Fork
- 1
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
First step is to create a script:
```
git checkout clientifrst
git log
git checkout 243604a355a09cbf91cbb96fe782d87270e712d1
git checkout -b client-first
git push -u origin client-first
git checkout client-first
git merge main
```
Where `clientifrst` is the name of broken branch and `client-first` is the name of fixed branch.
Second step is to automate it as a GitHub App/Bot.
So it will be possible to do it without leaving the GitHub.
Example:

Broken pull request: https://github.com/deep-foundation/deepcase/pull/17
Repaired pull request: https://github.com/deep-foundation/deepcase/pull/19
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia riproducendo i comandi Git di checkout, creazione del branch, push e merge elencati, usando i nomi dei branch non funzionante e corretto indicati nell’issue. Poi esamina l’approccio GitHub App/Bot e le pull request non funzionante e corretta collegate. Il lavoro è completato quando il workflow di riparazione del branch può essere avviato da GitHub senza eseguire force-push, rebase o annullare un merge.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- git, github, shell
- Ambito
- devops, tooling
- Tipo di issue
- Funzionalità
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 30/100