Zum Hauptinhalt springen
tsecurity.de LIVE
Echtzeit-Radar & Feeds
Alle RSS Feeds ➔
👥 Community & Social
•••
Sicherheitslücken (CVE)MCP Python SDK Flaw Exposes OAuth Credentials(30.09.2026 um 17:31 Uhr)
••••
IT Security Nachrichten40M McDonald's Records Exposed Through Customer Data Platform(30.09.2026 um 17:40 Uhr)
•
IT Security NachrichtenSemantics 21’s CCTV Review Tool Is Built For Footage That Cannot Wait(30.09.2026 um 17:17 Uhr)
•
IT Security NachrichtenIntegrating probabilistic programming in enterprise risk management(30.09.2026 um 17:44 Uhr)
••••
Sicherheitslücken (CVE)MCP Python SDK Flaw Exposes OAuth Credentials(30.09.2026 um 17:31 Uhr)
••••
IT Security Nachrichten40M McDonald's Records Exposed Through Customer Data Platform(30.09.2026 um 17:40 Uhr)
•
IT Security NachrichtenSemantics 21’s CCTV Review Tool Is Built For Footage That Cannot Wait(30.09.2026 um 17:17 Uhr)
•
IT Security NachrichtenIntegrating probabilistic programming in enterprise risk management(30.09.2026 um 17:44 Uhr)
•
Intelligence View
⚡ tsecurity.de Intelligence

Undo Git Commands

Hey folks, I've found a neat way to add an undo feature to Git. As you all know, Git itself relies on the .git folder, which contains all versioning information and metadata for your repository. Every Git command you run, from git add to…

0
↗ Quelle (dev.to)
Reagiere als Erste:r — dein Feedback zählt!

Hey folks,



I've found a neat way to add an undo feature to Git.



As you all know, Git itself relies on the .git folder, which contains all versioning information and metadata for your repository. Every Git command you run, from git add to git commit, modifies files within this .git folder. By using Mercurial (hg) to version control the .git folder itself, rgc (short for risky-git-command) allows you to save these changes and easily revert to this state if something goes wrong.



Here's how it adds in your workflow:



$ rgc do

$ <perform some risky git command>

Messed up?

$ rgc undo



Whether you're just starting with Git or have been using it for years, rgc can be a valuable tool to aid you in difficult situations.



This is a shell script (rgc) that's only 1KB in size. It's designed to be efficient and easy to use. For ubuntu users, I've built a .deb package, you can install using dpkg -i rgc.deb



Check the repo on Github: https://github.com/0xdsaini/rgc

Ähnliche Beiträge
🔍 Verwandte News

Auch interessante Nachrichten Undo Git Commands

Thematisch verwandte Begriffe: Undo, Commands · 6 Treffer

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Laden...

Beiträge werden geladen ...

Laden...

Videos werden geladen ...

Zum Aktualisieren ziehen
ZERO-DAY CVE-2026-82307 | Improper neutralization of special elements used in an SQL command ('SQL…
Advisory →
TTS Reader • tsecurity.de Voice
tsecurity.de Icon
tsecurity.de App
Offline-Lesen, Eilmeldungen & 0ms Ladezeit

Installiere tsecurity.de direkt auf deinen Home-Bildschirm für das ultimative Vollbild-Magazinerlebnis ohne Browser-Leisten.

Nächster Beitrag
Themen-Radar & Intelligence Matrix
Echtzeit-Taxonomie nach Angriffsvektoren & Plattformen

tsecurity.de Live Threat Radar

🔴 LIVE RADAR
MONITORING
AKTIV
CVE-DATENBANK
LIVE
🔍
Community Radar & Live Chat
Sentinel Bot online • Live-Stream
Dein Cluster: Security Explorer
Match:
lädt…
Verbindung zum Community-Stream wird aufgebaut...
Bearbeitungsmodus — Senden überschreibt deine Nachricht
Community-Puls — was gerade passiert
lädt…
Aktivitäten deiner Analysten
lädt…
Neues Thema oder Eilmeldung einreichen

Reiche interessante Links, Zero-Days oder Debatten ein. Die Community entscheidet per Upvote über die Veröffentlichung.

Heiß diskutierte Einreichungen
🔖 Gespeicherte Artikel
📂 Keine gespeicherten Artikel vorhanden.
Zurück Ziehen Vor
Links: vorheriger Artikel • Rechts: nächster Artikel • unten: schließen
News NIS-2 Frühwarnung Tier-1 Intel ⏱️ 3 Min vor 10 Min
Artikeldaten werden geladen...

Zurück: vorheriger • Vor: nächster
↗ Original-Quelle
Social Reaktionen Deine Reaktion zählt
Einstufung & Relevanz-Poll 0 Stimmen
In sozialen Netzwerken teilen 1-Klick