hackforla / hackforla/knowledgebase-content

Create a Guide/Template: How to resolve PR merge conflicts when another contributor made a previous PR

Aperta
#120 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

CoP label: checked CoP label: shortcuts added CoP: Data Science CoP: Engineering dependency Phase: missing size: 1pt status: missing
Lingua principale
Nessun dato sulla lingua
Stelle
2
Fork
1
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Dependency
  • hackforla/peopledepot#166
Overview

We need documentation to guide developers in resolving this common problem. 2 devs start with the same base commit, the first one to create a PR is okay, but the 2nd dev to create a PR will have some conflicts in their PR, even though it runs fine.

Action Items
  • write doc to explain and guide to find the solution
  • check the website team's guide on the same topic
    • if there are common sections
      • copy the relevant portion into a new guide in the Engineering CoP docs repo. Note which projects are referencing the guide.
      • link from our docs while removing those sections
      • notify website team to examine the content and link it from their docs
Resources/Instructions

Discussion

The preferred solution is to rebase the new PR to the new HEAD of the main branch and resolve any conflicts so that the PR can be merged smoothly.

See discussion on this topic

Guida per i contributori

Apri la guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Direzione di ricerca

Inizia con il file How-to-Resolve-Merge-Conflicts.md del team del sito web e con la discussione #169 di PeopleDepot collegata. Confronta le loro indicazioni con la guida Engineering CoP richiesta, quindi documenta il workflow di rebase e risoluzione dei conflitti, individua le sezioni condivise e collega o rimuovi i contenuti duplicati come appropriato. Il lavoro è completato quando la nuova guida e i riferimenti tra progetti sono aggiornati e il team del sito web è stato informato.

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

Valutazione

Stack tecnologico
git, github
Ambito
developer-experience, documentation
Tipo di issue
Documentazione
Difficoltà
3/5
Tempo stimato
1-2 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
40/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.