Support `git push --delete`

Offen
#193 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Anfängerfreundlichkeit
55/100
Issue-Typ
Feature
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
cpp, git
Bereich
cli

Rechercherichtung

The issue names no files. Start by finding where the existing push command is handled in the git2cpp command-line code and how it calls into libgit2, then see how a branch deletion would be expressed as a push refspec. Done means git push --delete <branch> removes the branch from the remote, which you can check by creating and pushing a branch in the git2cpp-test-private repo, deleting it, and confirming the remote no longer lists it.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

enhancement

Supporting git push --delete would be useful, to delete a remote branch. This could be tested using the git2cpp-test-private repo by creating and pushing a new branch, then deleting it and checking that the remote no longer has it.

Vorherrschende Sprache
C++
Sterne
7
Forks
5
Ø Merge
2 T. 12 Std.
Gemergte PRs (30 T.)
10

Entwicklungsumgebung

Dieses Projekt bietet weder Dev-Container noch Dockerfile noch Beitragsleitfaden – die Einrichtung liegt bei Ihnen. Beginnen Sie mit der README; die allgemeinen Schritte stehen in unserem Leitfaden für den ersten Beitrag.

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus QuantStack/git2cpp

Alle Issues in QuantStack/git2cpp

Ähnliche Issues

Weitere Issues zu C++

Neue Issues direkt in Ihr Postfach

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