Tagged articles
undo
20 articles · Page 1 of 1
This article details four ways to undo pushed Git commits: manual file comparison, git revert, creating a new branch from an old commit, and git reset with force push, explaining each method's workflow, safety trade-offs, and when to use which approach.
Gitbranchcommit
0 likes · 7 min read


liandkAug 29, 2026 · Fundamentals
This article introduces the stack data structure, explains its LIFO principle with everyday analogies like browser back and undo, compares it to arrays and linked lists, provides a complete Python implementation, demonstrates a simple undo simulation, and highlights common pitfalls for beginners.
AlgorithmLIFOPython
0 likes · 6 min read

The article explains how the Command pattern encapsulates a request as an object, enabling storage, queuing, undo/redo, and decoupling between request senders and executors, with concrete Java examples and guidance on when the pattern is appropriate.
DecouplingInvokerJava
0 likes · 13 min read


liandkJun 30, 2026 · Fundamentals
This article introduces the Command pattern, describing how encapsulating each action as a command object decouples callers from executors, and demonstrates its use through real‑world examples like remote controls and editors, followed by a complete Java implementation, common business scenarios, and a brief pros‑cons analysis.
InvokerJavaReceiver
0 likes · 5 min read

This article explains how to add undo and redo functionality to a Fabric.js canvas editor by maintaining a history stack, provides full source code, discusses performance considerations, and compares alternative approaches such as the Command Pattern and object‑level diff snapshots.
CanvasFabric.jsJavaScript
0 likes · 8 min read

This article provides a comprehensive index of a MySQL internals series covering the transaction, lock, and undo modules, detailing each sub‑topic such as transaction initialization, two‑phase commit, various lock types, deadlock handling, and undo log management across numerous linked articles.
Database InternalsInnoDBMySQL
0 likes · 7 min read

The article explains how InnoDB handles transaction commit by modifying Insert and Update Undo segment states, generating a transaction commit number, adding rollback segments to the purge queue, and finally cleaning or caching Undo segments based on their usage and state.
Database InternalsInnoDBMySQL
0 likes · 11 min read

After publishing 50 installments of the 'MySQL Core Modules' series covering transactions, locks, and undo, the author expresses gratitude to readers and the community, outlines upcoming articles on Undo, MVCC, and Redo, and reviews past content while planning a compiled book.
Database InternalsMVCCMySQL
0 likes · 7 min read

This article explains the internal process MySQL 8.0.32 InnoDB uses to allocate, create, and manage Undo segments—including cached segment retrieval, new segment creation, insertion into rollback segment lists, conflict avoidance through mutexes, and a concise step‑by‑step summary of the entire workflow.
InnoDBMySQLdatabase
0 likes · 9 min read

This comprehensive guide walks you through the fundamentals of Git, covering version‑control concepts, the four work areas, daily workflow, core commands, branch management, conflict resolution, undo/revert techniques, tagging, and advanced utilities such as rebase, stash, reflog, and blame, all illustrated with clear examples and diagrams.
branchingconflict resolutionmerging
0 likes · 20 min read

This article explains the Command design pattern, describes its key participants and advantages, and provides five Python examples demonstrating command encapsulation, undo/redo functionality, file operations, shopping‑cart management, and menu handling to illustrate how the pattern decouples request senders from receivers.
DecouplingPythoncommand pattern
0 likes · 9 min read

This article explains the different types of InnoDB tablespaces, why the ibdata1 file can grow uncontrollably, and provides a step‑by‑step procedure—including full backup, instance recreation, and configuration of UNDO and file‑per‑table settings—to safely reduce its size in MySQL environments.
InnoDBMySQLibdata1
0 likes · 13 min read

This article explains the design and implementation of undo and redo functionality in the IoT Studio visual builder, comparing snapshot and command (operation) approaches, detailing transaction handling, a doubly‑linked‑list history manager, and exploring hybrid solutions such as immutable.js and Git‑style diff storage.
RedoVisual Editorcommand pattern
0 likes · 9 min read


ITPUBAug 5, 2021 · Databases
This article explains how PolarDB‑X classifies different data‑deletion scenarios, compares traditional recovery methods like PITR, Flashback Query, and binlog‑based tools, and introduces its precise SQL‑level flashback feature that uses TraceID to quickly and accurately restore mistakenly deleted rows.
FlashbackPolarDB-XSQL
0 likes · 13 min read


ITPUBFeb 17, 2020 · Fundamentals
This guide explains Git's core workflow—adding, committing, and pushing—covers the four Git areas (working, staging, local, remote), describes the five file states, shows how to inspect changes with diff commands, and provides step‑by‑step commands to revert modifications at any stage.
Gitcommand-linediff
0 likes · 8 min read


ITPUBAug 25, 2016 · Databases
Oracle 11g’s Flashback Data Archive lets you retain UNDO information for extended periods, enabling point-in-time queries of tables; this guide walks through creating an ASSM tablespace, setting up a flashback archive, assigning tables, and using SCN-based queries to retrieve past data.
Flashback Data ArchiveOracleSQL
0 likes · 9 min read


ITPUBAug 16, 2016 · Databases
This guide explains how to monitor Oracle UNDO tablespace usage, adjust automatic UNDO management parameters, interpret V$UNDOSTAT statistics, and safely reclaim space by creating a new UNDO tablespace and dropping the old one, helping DBAs avoid ORA‑01555 errors and space shortages.
OraclePerformance TuningSQL
0 likes · 18 min read

This guide explains why the ORA-01555 "snapshot too old" error occurs in Oracle databases, where related logs are stored, the underlying UNDO and LOB mechanisms that trigger it, and step‑by‑step solutions to diagnose and eliminate the problem.
ORA-01555OraclePerformance Tuning
0 likes · 11 min read


ITPUBNov 27, 2015 · Fundamentals
This guide presents seven practical Git command‑line techniques—including amending commit messages, resetting staged changes, reverting commits, checking out previous revisions, undoing merges, cleaning untracked files, and deleting branches—to help developers safely recover from common version‑control errors.
Gitbranchcleanup
0 likes · 8 min read

This guide explains common Git undo scenarios—reverting public commits, amending messages, discarding local changes, resetting history, using reflog, branching tricks, interactive rebasing, and stopping file tracking—providing clear commands, underlying principles, and practical tips for safely managing version control mistakes.
Gitrebaserefactoring
0 likes · 15 min read
