Zum Inhalt springen
_CORE
AI & Agentic Systems Core Information Systems Cloud & Platform Engineering Data Platform & Integration Security & Compliance QA, Testing & Observability IoT, Automation & Robotics Mobile & Digital Banking & Finance Insurance Public Administration Defense & Security Healthcare Energy & Utilities Telco & Media Manufacturing Logistics & E-commerce Retail & Loyalty
Referenzen Technologien Blog Know-how Tools
Über uns Zusammenarbeit Karriere
CS EN DE
Lassen Sie uns sprechen

SVN na Git — konecne jsme presli

20. 11. 2012 1 Min. Lesezeit CORE SYSTEMSdevelopment
SVN na Git — konecne jsme presli

Po dvou letech SVN jsme udelali krok, o kterem jsme mluvili: presli na Git. Nebyla to jen technicka migrace — byla to kulturni zmena. A zpetne jedno z nejlepsich rozhodnuti.

Proc ted

Mergovani v SVN bolestivejsi s kazdou vetvi. BitBucket Server nabizi pull requesty = poradne code review. Offline prace.

Migrace historie

git-svn bridge naimportoval kompletni SVN historii vcetne commitu, autoru a casovych znacek. Authors-file pro mapovani SVN usernames na Git emaily.

Git Flow

main branch (produkce), develop (integrace), feature branches, release branches, hotfix branches. Feature branches jsou samozrejmost — vytvoreni a merge je zalezitost sekund.

Pull Requesty = Code Review

Kazda zmena review pred merge. Minimalne jeden reviewer approve. Nalezaji se bugy, siri know-how, kod je konzistentnejsi.

Kulturni zmena

Lokalni vs. remote commity, rebase vs. merge, staging area. Prvni mesic bolestny. Po mesici nikdo nechtel zpet.

Rady

  1. git-svn pro import historie. 2. Skoleni pro tym. 3. Branch protection rules. 4. Pull requesty povinne. 5. Trpelivost.
gitsvnmigracevcs
Teilen:

CORE SYSTEMS

Stavíme core systémy a AI agenty, které drží provoz. 15 let zkušeností s enterprise IT.

Brauchen Sie Hilfe bei der Implementierung?

Unsere Experten helfen Ihnen bei Design, Implementierung und Betrieb. Von der Architektur bis zur Produktion.

Kontaktieren Sie uns