Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (2024)

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (1)

Fork ist ein Git-Client, der über eine leicht verständliche Menüstruktur und eine praktische und benutzerfreundliche GUI verfügt.

Der Client unterstützt git-flow, was es sehr einfach macht, dieses Branching Model zu verwenden.

Im Januar 2022, mit der Veröffentlichung von Fork 2.15, unterstützt der Client offiziell Gitea.

Links:

Erstellen eines neuen lokalen Git-Repositories

Zu Beginn ist ein neues leeres Git-Repository zu erstellen.

Dabei kann entweder

  • das Repository gleich auf dem Git-Server erstellt und anschließend auf den lokalen Rechner geklont werde oder
  • das Repository wird lokal erstellt und danach auf den Server übertragen.

In dieser Anleitung wird das Git-Repository zunächst lokal auf dem Entwickler-Client erstellt.

Öffne den Fork-Client und klicke auf Datei - Neues lokales Repository erstellen ....

Dadurch wird ein normales Standard-Git-Repository auf deinem lokalen Client erstellt.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (2)

Da neue Git-Repository ist noch leer. Es enthält keine Dateien.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (3)

Überprüfe die Repository-Einstellungen

Bevor du mit dem Repository zu arbeiten beginnst, vergewissern dich, dass dass deine Benutzerdaten korrekt sind.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (4)

Benutzerinformation

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (5)

Du kannst entweder die globalen Git-Benutzerinformationen verwenden, die in der Datei abgespeichert sind ~/benutzername/.gitconfig oder die Informationen individuell für das Repo anpassen und in der Datei .git/config abspeichern.

Dateien anlegen

Bevor es weiter geht, solltest du zumindest die beiden Dateien in deinem Repository anlegen:

  • .gitignore
  • README.md

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (6)

Git-Flow initialisieren

Im nächsten Schritt wird aus dem leeren Git-Repository ein git-flow Repository.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (7)

Es werden dadurch alle notwendigen Einstellungen in der .git/config vorgenommen.

Git Flow Details

Trage die git-flow "meta information" ein.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (8)

Fork erstellt das locale git-flow Repository und legt die zwei Hauptbranches main und develop an.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (9)

Gib mir gerne einen Kaffee ☕ aus ❗️

Wenn dir meine Beiträge gefallen und geholfen haben, dann kannst du mir gerne einen Kaffee ☕️ ausgeben.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (10)

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (12)
Bitcoin Address: bc1qfuz93hw2fhdvf*ckf6mlxlk8zdadvnktppkzqzj

Das lokale Repository mit dem Remote verbinden

Da du das Git-Repository nur auf deinem lokalen Client angelegt hast, musst du es noch mit dem Remote auf dem Git-Server verbinden.

Logge dich bei Gitea ein und hole dir die Informationen.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (13)

Verwende nach Möglichkeit immer die SSH-Verbindung.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (14)

Push das lokale Repository zum Git-Server.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (15)

Auf der CLI sieht das in etwa so aus.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (16)

In Gitea kannst du gleich prüfen, ob der Übertrag (push) funktioniert hat.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (17)

Du wirst automatisch in den Branch develop ausgecheckt und kannst mit deiner Entwicklung beginnen.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (18)

Start mit der Entwicklung

Du kannst dein Projekt gleich im Branch develop beginnen zu entwickeln.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (19)

Das erste Release

In diesem Beispiel bereiten wir alle Dateien vor, um sie für das release-1.0 fertig zu machen.

Stage alle Dateien und commit

Wenn du mit deiner Entwicklung fertig bist, müssen alle Dateien im Zweig develop gestaged und committed werden.

Es dürfen keine Dateien vorhanden sein, du nicht gestaged und anschließend committed wurden.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (20)

Übertrage deine bereitgestellten Dateien. Schreib eine aussagekräftige Commit-Nachricht.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (21)

Prüfe, ob der Zweig develop leer ist.
Wenn einige Dateien übrig sind, kannst du sie entweder mit der Option stage oder stash verarbeiten.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (22)

Start release

Starte dein erstes Release mit einem Klick auf Start Release ....

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (23)

Gib den Namen für den Release-Zweig ein.
Das Präfix wurde bereits in Git Flow Details definiert. Du musst nur noch die Versionsnummer eingeben.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (24)

Der neue release-Zweig wird automatisch erstellt und in der Seitenleiste angezeigt.

Der Name ist zusammengesetzt:

  • git-flow release branch name, den du in ?? Git Flow Details als Präfix eingegeben hast
  • der von dir eingegebene Namen

Beispiel:

prefix: release-name:1.0release-1.0

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (25)

Dateien im Branch release fertigstellen

Bereite alle Dateien im Zweig release vor. Dort können einige kleinere Änderungen vorgenommen werden, wie

  • Tippfehler
  • Grammatik
  • usw.

Größere Änderungen an den Dateien sollten zuerst im Zweig develop vorgenommen werden.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (26)

Der Zweig release muss leer sein.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (27)

Committe deine Änderungen.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (28)

Optional
All files were staged and committed. Now the release can get finished.

Push all local changes to the remote. This is only necessary when release branch should be visible in the remote's branch list.

Alle Dateien wurden bereitgestellt und übertragen. Jetzt kann die Veröffentlichung abgeschlossen werden.

Pushe alle lokalen Änderungen auf den Git-Server. Dies ist nur notwendig, wenn der release-Zweig in der Zweigliste auf dem Server sichtbar sein soll.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (29)

Release abschließen

Alles ist nun fertig, um das Release abzuschließen mit einem Klick auf Finish release.

Während dieses Schrittes wird automatisch ein neuer Tag durch Fork erstellt.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (30)

Schreibe eine aussagekräftige Nachricht und klicke auf Finish Release.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (31)

Der Commit-Graph zeigt alle lokalen Änderungen an.

Die Seitenleiste zeigt, dass lokale Änderungen in das entfernte Repository übertragen werden können.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (32)

Push alle Änderungen

Nachdem alle Änderungen durchgeführt worden sind, werden die beiden Zweige

  • develop
  • main

zum Git-Server übertragen (push)

Push develop Branch.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (33)

Push main Branch.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (34)

Gib mir gerne einen Kaffee ☕ aus ❗️

Wenn dir meine Beiträge gefallen und geholfen haben, dann kannst du mir gerne einen Kaffee ☕️ ausgeben.

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (35)

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (37)
Bitcoin Address: bc1qfuz93hw2fhdvf*ckf6mlxlk8zdadvnktppkzqzj

Follow Me❗️

Mastodon Mastodon RSS codeberg.org/sst RSS

Stefans Weblog - git-flow mit Fork - a fast and friendly git client for Mac and Windows (2024)

References

Top Articles
American Royals Wiki
Driver Ready Mix - AZ Job Connection
Craigslist Myrtle Beach Motorcycles For Sale By Owner
Lowe's Garden Fence Roll
Netr Aerial Viewer
Craigslist Cars Augusta Ga
El Paso Pet Craigslist
DEA closing 2 offices in China even as the agency struggles to stem flow of fentanyl chemicals
Chase Bank Operating Hours
Crossed Eyes (Strabismus): Symptoms, Causes, and Diagnosis
Nieuwe en jong gebruikte campers
C-Date im Test 2023 – Kosten, Erfahrungen & Funktionsweise
Stihl Km 131 R Parts Diagram
Steamy Afternoon With Handsome Fernando
10-Day Weather Forecast for Florence, AL - The Weather Channel | weather.com
Procore Championship 2024 - PGA TOUR Golf Leaderboard | ESPN
10-Day Weather Forecast for Santa Cruz, CA - The Weather Channel | weather.com
Daytonaskipthegames
Red8 Data Entry Job
Happy Homebodies Breakup
Cognitive Science Cornell
Craigslist Hunting Land For Lease In Ga
Mini-Mental State Examination (MMSE) – Strokengine
Redbox Walmart Near Me
Wells Fargo Bank Florida Locations
Kids and Adult Dinosaur Costume
The Ultimate Guide to Obtaining Bark in Conan Exiles: Tips and Tricks for the Best Results
Mg Char Grill
Ultra Clear Epoxy Instructions
Whas Golf Card
Save on Games, Flamingo, Toys Games & Novelties
Moxfield Deck Builder
Tamilyogi Ponniyin Selvan
About Us | SEIL
Andhra Jyothi Telugu News Paper
The Blackening Showtimes Near Regal Edwards Santa Maria & Rpx
Hisense Ht5021Kp Manual
How much does Painttool SAI costs?
Ross Dress For Less Hiring Near Me
Kent And Pelczar Obituaries
Inducement Small Bribe
ACTUALIZACIÓN #8.1.0 DE BATTLEFIELD 2042
Thotsbook Com
Rocket Lab hiring Integration & Test Engineer I/II in Long Beach, CA | LinkedIn
Lightfoot 247
SF bay area cars & trucks "chevrolet 50" - craigslist
Electric Toothbrush Feature Crossword
Wwba Baseball
Pilot Travel Center Portersville Photos
One Facing Life Maybe Crossword
Anthony Weary Obituary Erie Pa
Shad Base Elevator
Latest Posts
Article information

Author: Fr. Dewey Fisher

Last Updated:

Views: 6254

Rating: 4.1 / 5 (42 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: Fr. Dewey Fisher

Birthday: 1993-03-26

Address: 917 Hyun Views, Rogahnmouth, KY 91013-8827

Phone: +5938540192553

Job: Administration Developer

Hobby: Embroidery, Horseback riding, Juggling, Urban exploration, Skiing, Cycling, Handball

Introduction: My name is Fr. Dewey Fisher, I am a powerful, open, faithful, combative, spotless, faithful, fair person who loves writing and wants to share my knowledge and understanding with you.