Git: beliebige alte Version zur aktuellen Master-Branch-Version machen

Das Problem:
Letztens war es notwendig in einem Git-Projekt auf eine alte Version zurückzugehen und diese als den aktuellen Stand im Master-Branch zu machen.

Die Situation:
Aufgrund der Infrastruktur unserer Projekte war es mir nicht möglich einfach einen neuen Branch aufzumachen und diesen zu verwenden. Diverse Automatismen sorgen dafür, dass unser Master-Branch alleine dafür verantwortlich ist, den Live-Server zu beliefern. Normalerweise gibt es bei uns auch einen Develop-Branch, der den Test-Server beliefert und auf dem getestet wird. In diesem speziellen Projekt fällt dieser Branch weg – aus „Gründen“.

Ich habe inzwischen an zig Git-Projekten gearbeitet und durch die Möglichkeit sowohl lokal als auch auf einem Testserver testen zu können, bevor Änderungen in den Master-Branch fliessen (und somit gleich auf den Live-Server), hatte ich nie wirklich die Notwendigkeit gesehen, komplett auf einen alten Versionsstand zurückzugehen. Bis gestern.

Die Lösung:
Ich musste ein wenig im Internet suchen und habe etliche Lösungsansätze gesehen, die alle nicht zu der gewünschten Lösung führten. Irgendwo auf stackoverflow.com – gut versteckt zwischen vielen Antworten auf genau meine Frage – bin ich dann auf die Lösung gestossen. Und die ist eigentlich ziemlich einfach:

git revert --no-commit id_alte_version..HEAD
git commit -m "zurück zu (ur-)alter version"

37 Gedanken zu „Git: beliebige alte Version zur aktuellen Master-Branch-Version machen

  1. Если вы решили пробрести товары в рассрочку, то предложение от банка вас действительно заинтересует вы можете оформить https://greatcard.ru/ в любом отделении банка. И ваши мечты станут реальностью

  2. Добро пожаловать в казино riobet огромный выбор азартных игр на любой вкус. Программа лояльности всегда приносит выгоды, с каждом уровнем их становится всегда больше. Удобный интерфейс, вы всегда найдете нужную вкладку и игру.

  3. As a rule, these games imitate real tables. It means that a gambler will see a familiar layout, green cloth, cards, dice, or wheels with balls, depending on the game. Apart from that, numerous cryptocurrency casinos have live casino versions of Bitcoin table games, but more on that later. This new online casino is home to popular slots, casino games and a live casino thanks to their impressive software line up. Discover more about this new kid on the crypto casino block in our review. Place your bets and spin the wheel to stand a chance to win big amount of Bitcoin in this digital alteration of a classic that finds its place in nearly every casino in the world. A late-night favorite of casino goers, Roulette by Bitcoin.com embodies the thrill and excitement of the traditional roulette game, and makes it accessible to any player who is willing to stake their BTC for an opportunity to win a life-changing reward. http://rhodeislandcomedy.com/forum/profile/terrellgxa78194/ Another great bitcoin dice game is SafeDice. This one is just like DuckDice but the house edge is lower at 0.5%. Furthermore, just like with DuckDice you don’t need to create an account to start playing. In fact, there isn’t even an option to add an email if you wanted to! SafeDice is also extremely popular with over 200 million bets and over 100,000 BTC wagered, nothing compared to DuckDice but still very impressive stats. The simplicity of the bitcoin dice and other dice games has made many players refer to it as the purest of all forms of betting. The ability to determine risk and reward for every game sets Bitcoin Dice apart. When you factor in the fact that the game of dice hasn’t changed in centuries, you would agree that as far as chance is concerned, this game is a no-brainer.

  4. Admiral Casino, unul dintre cele mai populare cazinouri din România, acum si in online cu pacanele si jocuri ca la aparate, rotiri gratuite si bonus de bun venit. Din pacate un capitol la care acest cazino nu se prezinta deloc bine este cel al jocurilor cu dealeri live. De ce zic asta? Pentru ca momentan exista o singura masa de ruleta in cadrul Admiral Casino Live. Probabil vă întrebați de ce ați juca jocuri de păcănele ca la cazino pe bani reali când noi vă oferim o varietate de jocuri de care vă puteți bucura gratuit, oricând. Răspunsul este simplu: jocurile pe bani reali vin cu câștiguri reale. Selecția de păcănele Admiral te va cuceri de la primele rotiri! Aceasta include unele dintre cele mai populare jocuri de pe piață. În plus, gama este super variată, așa că vei da peste aparate Admiral de tot felul. În acest ghid îți vom prezenta pe larg secțiunea, dar rămâne să explorezi tu pentru a găsi jocul preferat! https://autoeifer.de/community/profile/chukingston9215/ Acest bonus de bun venit Maxbet este adresat clienților noi și este valabil doar la prima depunere. Dacă vei activa o altă promoție în timp ce încă îndeplinești condițiile de rulaj pentru Maxbet bonus la prima depunere, acesta, împreună cu toate câștigurile dobândite până la momentul respectiv se vor anula. Iată ce pași trebuie să urmezi pentru a intra în posesia acestui Maxbet bonus: Cazinou Online 5 Depozit Salarial – Cazinou online cu un depozit minim de 5 euro În cadrul jocurilor de ruletă franceză și, mai nou, de ruletă europeană joc online, există alte câteva tipuri de pariuri ce pot fi plasate astfel încât să îți crești șansele de câștig pentru ruletă joc online. Spre deosebire de alte cazinouri online unde banii bonus și rotirile gratuite sunt considerate parte din două bonusuri diferite și ești condiționat de rularea sumei bonus înainte de a folosi rotirile gratuite, la 888casino le poți folosi simultan fără probleme.

  5. Erääntyy: Bundle offer comprising Epiphone Casino VS Electric Guitar John Lennon played almost exclusively on a Epiphone Casino semi-acoustic from about '65 with the Beatles. Originally, the guitar had the… Verovapaita voittoja eivät tarjoa nettikasinot, jotka eivät ole lisensoitu EU:n alueella. Jos pelilisenssi on myönnetty EU:n ulkopuolella, joutuu siitä todennäköisesti maksamaan veroja Suomeen. Nettikasinot ovat saaneet pelilisenssin muun muassa Curacaolla, josta saatavat mahdolliset voitot ovat veronalaista tuloa. Silloin niistä kannattaa ilmoittaa verottajalle oma-aloitteisesti. http://messiahdxmb087531.blogkoo.com/parhaat-verovapaat-kasinot-27303092 Suomalaisten suosioon on noussut tietyt nettikasinot ja vaikkakin kärkikolmikko vaihtelee hiukan ajankohdasta riippuen, ovat tietyt kasinot useimmille pelaajille varma valinta. Lisäksi vuosittain julkaistaan suuri määrä uusia kasinoita, jotka yrittävät jokainen tuoda jotain uutta jo olemassa olevaan valikoimaan. Alle on listattu 3 suosituinta kasinoa, sekä vanhoista suosikeista, että vuoden 2018 nettikasino uutuuksista. Nettikasinot ilman rekisteröitymistä ovat kasvattaneet suosiotaan viime vuosien aikana. Nimensä mukaisesti näillä kasinoilla pelaaminen ei vaadi erillistä pelitilin avaamista, vaan pelaajan henkilöllisyyden vahvistaminen ja tunnistautuminen onnistuu näppärästi omilla verkkopankkitunnuksilla. Rekisteröitymisvapaat nettikasinot tarjoavat entistä nopeampia pelielämyksiä ja samalla myös alan nopeimmat kotiutukset – nostot siirtyvät pelaajan omalle pankkitilille parhaimmassa tapauksessa vain viidessä minuutissa nostopyynnön tekemisestä.

  6. One good thing about these bonuses is that just the bonus, and not the player’s deposit, as at some casinos, factors into the playthrough requirements. In addition, deposited funds are drawn on first, and any winnings from the deposit are made available for withdrawal immediately. However, once the bonus starts being used, the playthrough requirements go into effect. LeoVegas is one of the most universal casinos there is with them accepting players from across the globe and this includes one of the most casino friendly nations there is – Canada. Therefore, it goes without saying that Canada Casino fans are welcomed with open hands to the lion pack at LeoVegas. Already used the LeoVegas sign-up offer? Check out all the latest bookmaker offers and the best betting sites. New Customers only. Bet ВЈ10* & Get ВЈ50* in Free Bets. Sign up, deposit between ВЈ5* and ВЈ10* to your account and bet365 will give you five times that value in Free Bets when you place qualifying bets to the same value and they are settled. Free Bets are paid as Bet Credits. Min odds bet and payment method exclusions apply. Returns exclude Bet Credits stake. T&Cs, time limits & exclusions apply. https://rohitgandham.com/community/profile/eleanoreshumake/ To keep player data secured, Casino Club Player uses 128-bit SSL encryption, which scrambles the text while it travels to the server. Moreover, fairness in gaming is ensured with a Random Number Generator and an independent audit from TST. You can look for assistance the way you prefer: via chat, email or calls. The fastest way to get your answers is for sure the live chat, where the support from professionals is available 24 7. Perhaps you have been aware that, whenever you go inside any casino,… 18+ only. Terms Apply, gamble responsibly. With this great casino bonus you can play any of their online slots, or any of the other Club Player online casino games they offer, including video poker, keno, blackjack, craps, roulette, baccarat and more! In all, there are more than 120 free casino games to play.

  7. 918-542-2441 For its gaming library, Golden Tiger has chosen to trust Microgaming which is one of the leaders in the iGaming industry. Not only is the software provider one of the best in the online casino industry but it is also one of the first companies that have worked on optimizing their games with mobile devices. This is why Golden Tiger members can revel in a super gaming experience even if they bet on the go. As a new player, members of the Golden Lion Casino get to claim a free chip without the need to deposit any funds. Registration is required, and you must go through live chat to claim this welcoming gesture of good will. Do expect to find wagering requirements attached to this offer along with a few restrictions regarding allowable games to play. This free chip bonus provides a player-friendly way to get in on the action and learn more about the casino’s game selection without putting any money on the line. https://oyasorosoke.com/community/profile/ursulathorn6276/ Owned and operated by Alpha Interactive Solutions N.V, 14Red is an online casino coming with simple design in red and white. The gaming venue operates under the licence granted by the government of Curacao, while the latest 128-bit SSL encryption ensures that players’ sensitive data is fully protected. Supporting a wide range of payment methods, including Bitcoin, the casino accepts players from all corners of the world. They can choose from a plethora of casino games, with slot machines constituting the most diverse section of the gambling site. When you sign up to 14Red casino, you can claim a great new player welcome package. You’ll get a generous first deposit bonus that you can use to play a choice of slots, table games, and video poker. Even better, playthrough requirements are low compared to welcome bonuses at other online casinos.

  8. Play top online casinos with generous welcome and no deposit bonuses You must be at least 18 years old to visit this website. By visiting Spicycasinos you are certifying that you have accepted our Privacy and Cookie policy. This site is neither a casino operator nor a provider of online gambling in any form. It is without question wise comprehend any game or sport that you are betting on, we’ve outlined the basics for sports bettors below with our sports betting tips. You can also stroll along the dunes and shoreline to watch the beautiful sunsets over the water, to allow more worshippers to perform their Friday prayers. Free spins january 2021 i cannot emphasize enough on this, said Muis. The process continues until the agent reaches a terminal state marking the end of an episode, try and look where your bullet is dropping after firing it. As expected, high five casino free spins without deposit 2021 blind. Real slot machines for details, and play wagers. https://forodecharla.com/index.php/profile/ingerivett15388/ Another thing that stood out at this South Africa online casino was its live casino menu: 100+ live dealer casino games covering all the classic table games and adding cool originals like Live Monopoly and Sweet Bonanza Candyland. Another thing that stood out at this South Africa online casino was its live casino menu: 100+ live dealer casino games covering all the classic table games and adding cool originals like Live Monopoly and Sweet Bonanza Candyland. Example: Deposit R500 and receive a R600 bonus, now you will have a bankroll of R32000 to enjoy your favorite games at Casino.com. We list the best no deposit casino bonuses in South Africa that are available in South African Rand. To help you in making the best possible use of these free casino bonus offers, we also provide a casino beginners guide that will teach you how to get started with a small bankroll.

  9. Obwohl also offiziell die wirklich bekannten Spielautomaten online in Deutschland nicht mehr bereitstehen, merkt ihr bereits, dass ihr eigentlich bei einem Besuch einer Online Spielbank auf nichts verzichten müsst. Auch technisch gesehen sind diese Games absolut fantastisch. Die Software der Automaten wurde so entwickelt, dass sie auf allen Geräten gleich gut laufen, egal ob Desktop oder Mobilgerät. Sie können diese Online Spielautomaten kostenlos spielen ohne Anmeldung, das heißt, ohne ein Konto erstellen zu müssen. Paypal Casinos sind Online Casinos, die sich dadurch auszeichnen, dass es neben den üblichen Zahlungsmethoden wie Überweisungen und Kreditkarten auch die Einzahlung per Paypal gibt. Da diese Zahlungsart enorme Vorteile bietet, ist es ein bedeutendes Entscheidungskriterium bei der Wahl nach dem optimalen Casino. Da nur große und seriöse Casinos überhaupt eine Paypal Lizenz beantragen können, ist die sichere Zahlungsmethode gleichzeitig auch ein Garant für ein gut geführtes Online-Casino. https://forum.shpargalka.work/profile/hayleyskelton07/ Please enable Cookies and reload the page. Jeder einzelne Novoline Spielautomat hat seine ganz eigenen Fans! War es lange Zeit nicht möglich, die Novoline Slots offiziell online zu spielen, brachte das viele Nachahmer auf die Bildfläche, die versuchten, dass Spielgefühl und das Flair der Slots zu kopieren. Letztendlich reagierte Novoline auf die Nachfrage und brachte die Spieler erst im mybet Casino online und schon bald wurde eben das bereits erwähnte eigene Stargames entwickelt. Zusätzlich existiert auch haute noch Gametwist, wo es möglich ist die Slots im Spielgeldmodus zu spielen.Was ist so besonders an den Novoline Spielen Ihr könnt euch sicher sein, dass in jeder renommierten Spielbank in Deutschland der Book of Ra Slot in der einen oder anderen Form zur Verfügung steht, meist als Bestandteil der großen Multi-Slot Geräte wie „Panthera“, „V.I.P. Eagle“ oder „V.I.P. Lounge“. Diese Geräte finden sich in vielen Spielbanken und Casinos.

Hinterlasse eine Antwort

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind markiert *

Du kannst folgende HTML-Tags benutzen: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>