Tagged articles
60 articles
Page 1 of 1
Architect's Guide
Architect's Guide
Mar 25, 2026 · Fundamentals

How to Safely Undo a Pushed Git Commit: 4 Proven Methods

This guide explains four ways to revert code that has already been pushed to a remote Git repository—including manual comparison, using git revert, creating a new branch, and resetting with various options—detailing their steps, advantages, and cautions.

BranchForce PushGit
0 likes · 7 min read
How to Safely Undo a Pushed Git Commit: 4 Proven Methods
Architect's Guide
Architect's Guide
Feb 20, 2026 · Fundamentals

Master Git: From Basics to Advanced Branching, Merging, and Rebase

This comprehensive guide demystifies Git by explaining its distributed architecture, file states, commit nodes, HEAD, remote repositories, and essential commands for adding, committing, branching, merging, rebasing, cherry-picking, and reverting, empowering developers to confidently manage code history and collaborate effectively.

Version Controlbranchingcherry-pick
0 likes · 17 min read
Master Git: From Basics to Advanced Branching, Merging, and Rebase
Top Architect
Top Architect
Jan 5, 2026 · Backend Development

How to Undo a Pushed Git Commit: Revert, Reset, and Branch Strategies

When a mistaken commit has already been pushed, this guide explains four practical ways to roll back the changes—manual comparison, git revert, creating a new branch, and resetting the current branch—detailing each method's steps, risks, and when to use them.

BranchGitVersion Control
0 likes · 9 min read
How to Undo a Pushed Git Commit: Revert, Reset, and Branch Strategies
Top Architect
Top Architect
Jan 5, 2026 · Backend Development

Reverting Mistaken Commits Locally and Remotely with IntelliJ IDEA

This guide explains how to revert mistakenly pushed code by either manually comparing and deleting unwanted changes or using IntelliJ IDEA's Git reset options (soft, mixed, hard, keep) followed by a force push, ensuring both local and remote repositories return to a specific commit.

Force PushGitintellij-idea
0 likes · 6 min read
Reverting Mistaken Commits Locally and Remotely with IntelliJ IDEA
Linux Tech Enthusiast
Linux Tech Enthusiast
Dec 26, 2025 · Fundamentals

10 Essential Git Commands Visualized: Master Git Quickly

This article walks through ten core Git commands—including merge, rebase, reset, revert, cherry‑pick, fetch, pull, and reflog—using animated GIFs and concrete examples to illustrate how each command manipulates branches, history, and repository state, helping readers visualize and retain the concepts.

GitVersion Controlfetch
0 likes · 12 min read
10 Essential Git Commands Visualized: Master Git Quickly
Java Architect Handbook
Java Architect Handbook
Dec 11, 2025 · Interview Experience

How to Undo a Pushed Git Commit? A Step‑by‑Step Interview Guide

This article walks through four practical ways to revert code that has already been pushed to a remote Git repository—including manual diff removal, using git revert, creating a new branch, and resetting the current branch with hard, mixed, or keep options—plus tips on force‑pushing and branch protection.

Force PushGitVersion Control
0 likes · 8 min read
How to Undo a Pushed Git Commit? A Step‑by‑Step Interview Guide
php Courses
php Courses
Nov 21, 2025 · Backend Development

Master PHP’s reset() Function: Retrieve First Elements and Traverse Arrays

This guide explains PHP's reset() function, showing its syntax, how it returns the first array element or false for empty arrays, and demonstrates practical examples for fetching the first element, iterating through arrays, and combining it with end() to obtain both first and last values.

ArrayTutorialfunctions
0 likes · 4 min read
Master PHP’s reset() Function: Retrieve First Elements and Traverse Arrays
Tencent Cloud Developer
Tencent Cloud Developer
May 14, 2025 · Fundamentals

9 Essential Git Tricks Every Developer Should Master

This guide presents nine practical Git techniques—including squashing commits, recovering lost history, cleaning workspaces, amending recent commits, partial file staging, protecting shared branches, undoing merges, purging files from history, and other handy commands—each explained with clear commands, warnings, and visual examples.

GitVersion Controlbest practices
0 likes · 9 min read
9 Essential Git Tricks Every Developer Should Master
Architect's Guide
Architect's Guide
Mar 10, 2025 · Fundamentals

Removing an Erroneous Git Commit and Cleaning Up History

This article explains how to delete a mistaken Git commit and its record by using interactive rebase, git reset, git revert, and git filter-branch, while highlighting the need for force‑push and the differences between rebase and reset.

Force PushGitfilter-branch
0 likes · 7 min read
Removing an Erroneous Git Commit and Cleaning Up History
JavaScript
JavaScript
Jan 22, 2025 · Frontend Development

Master Modern CSS Reset Techniques to Eliminate Browser Inconsistencies

This guide presents modern CSS Reset techniques—including box‑model, typography, form, list, media, scrollbar, touch, and print optimizations—to eliminate default browser inconsistencies, ensure consistent rendering, and improve development efficiency across all major browsers.

CSSWeb Stylingcross‑browser
0 likes · 4 min read
Master Modern CSS Reset Techniques to Eliminate Browser Inconsistencies
Liangxu Linux
Liangxu Linux
Oct 16, 2024 · Fundamentals

Visualizing Git: Merge, Rebase, Reset, Revert, Fetch, Pull & Reflog Explained

This article uses animated diagrams to clearly illustrate how common Git commands—including merge (fast‑forward and no‑ff), rebase, reset (soft and hard), revert, cherry‑pick, fetch, pull, and reflog—operate on branches, commits, and history, helping developers understand and avoid common pitfalls.

GitVersion Controlfetch
0 likes · 12 min read
Visualizing Git: Merge, Rebase, Reset, Revert, Fetch, Pull & Reflog Explained
Top Architect
Top Architect
Oct 11, 2024 · Backend Development

How to Delete Git Commit History Using git revert and git reset

This article explains how to remove unwanted Git commit history by using git revert to create a new reversing commit and git reset (soft, mixed, or hard) to move the HEAD pointer, followed by a forced push to overwrite the remote repository, while warning about the risks involved.

Force PushGitVersion Control
0 likes · 10 min read
How to Delete Git Commit History Using git revert and git reset
Liangxu Linux
Liangxu Linux
Sep 21, 2024 · Fundamentals

Master Git from Scratch: Essential Commands and Workflows

This comprehensive guide walks you through Git fundamentals, installation, repository creation, file states, branching, merging, resetting, reverting, and cherry‑picking, providing clear command examples and visual illustrations to help beginners confidently manage version control in their projects.

GitVersion Controlbranching
0 likes · 11 min read
Master Git from Scratch: Essential Commands and Workflows
Python Programming Learning Circle
Python Programming Learning Circle
Aug 21, 2024 · Fundamentals

Understanding Common Git Commands: Merge, Rebase, Reset, Revert, Fetch, Pull, and Reflog

This article visually and textually explains essential Git commands—including merge, rebase, reset, revert, cherry-pick, fetch, pull, and reflog—detailing their effects on branches, commit history, and how to resolve conflicts, providing a comprehensive guide for developers to manage version control effectively.

GitVersion Controlfetch
0 likes · 10 min read
Understanding Common Git Commands: Merge, Rebase, Reset, Revert, Fetch, Pull, and Reflog
Top Architect
Top Architect
Aug 20, 2024 · Backend Development

How to Delete Git Commit History Using git revert and git reset

This article explains why and how to remove unwanted Git commit history by using git revert to create a compensating commit, git reset to move the HEAD pointer, and git push --force to overwrite the remote repository, with step‑by‑step commands and safety tips.

GitVersion Controlcommit history
0 likes · 11 min read
How to Delete Git Commit History Using git revert and git reset
Liangxu Linux
Liangxu Linux
Apr 10, 2024 · Fundamentals

Visualizing Git: Master Merge, Rebase, Reset, Revert & More

This article uses animated visualizations to clearly explain the core Git commands—merge (fast‑forward and no‑ff), rebase, interactive rebase actions, reset (soft and hard), revert, cherry‑pick, fetch, pull, and reflog—showing how each operation affects branches and history.

Gitfetchmerge
0 likes · 12 min read
Visualizing Git: Master Merge, Rebase, Reset, Revert & More
Java Backend Technology
Java Backend Technology
Feb 26, 2024 · Fundamentals

How to Undo a Pushed Commit in Git: Simple and IDE‑Friendly Methods

This guide explains two practical ways to revert code that has already been pushed to a remote Git repository—using a straightforward manual compare-and-delete approach and a more elegant reset-and‑force‑push workflow directly within IntelliJ IDEA—so you can safely roll back unwanted changes.

Force PushGitIntelliJ IDEA
0 likes · 5 min read
How to Undo a Pushed Commit in Git: Simple and IDE‑Friendly Methods
Architecture Digest
Architecture Digest
Feb 20, 2024 · Fundamentals

How to Revert Commits and Reset Branches in Git Using IntelliJ IDEA

This article explains several methods for undoing unwanted Git commits—including a simple compare‑and‑delete approach and a more elegant reset‑and‑force‑push workflow in IntelliJ IDEA—covering both local and remote repository restoration while highlighting the differences between soft, mixed, hard, and keep reset options.

Commit RevertForce PushGit
0 likes · 7 min read
How to Revert Commits and Reset Branches in Git Using IntelliJ IDEA
Java Captain
Java Captain
Dec 7, 2023 · Fundamentals

How to Revert Local and Remote Git Commits Using IntelliJ IDEA

This guide explains how to undo unwanted commits both locally and on a remote Git repository using IntelliJ IDEA, covering simple manual comparison, the IDE's reset options, and force‑push to synchronize the cleaned history.

Branch ManagementForce PushGit
0 likes · 6 min read
How to Revert Local and Remote Git Commits Using IntelliJ IDEA
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Aug 7, 2023 · Frontend Development

Understanding and Fixing the Reset Behavior Issue in Element‑Plus Form Component

This article analyzes why the reset button in an Element‑Plus form clears all fields instead of restoring the initial values, explains the underlying cause related to the onMounted lifecycle timing, and presents several practical solutions—including lifecycle adjustment, patch‑package, component extension, and repository forking—to reliably preserve initial form data in Vue projects.

Element PlusFormVue
0 likes · 7 min read
Understanding and Fixing the Reset Behavior Issue in Element‑Plus Form Component
php Courses
php Courses
Aug 4, 2023 · Backend Development

Understanding PHP reset() Function: Syntax, Examples, and Usage

This article explains PHP's reset() function, its syntax, behavior, and provides multiple code examples demonstrating how to retrieve the first array element, iterate through arrays, and combine it with end() to access both first and last elements.

ArrayPHPTutorial
0 likes · 4 min read
Understanding PHP reset() Function: Syntax, Examples, and Usage
Sohu Tech Products
Sohu Tech Products
Oct 20, 2021 · Fundamentals

Basic Git Commands and Workflow Overview

This article explains the fundamental Git commands for adding, committing, resetting, checking out, and managing branches, along with detailed descriptions of diff, commit, checkout, reset, merge, cherry-pick, and rebase operations, providing visual illustrations and practical usage tips.

BranchGitVersion Control
0 likes · 10 min read
Basic Git Commands and Workflow Overview
Top Architect
Top Architect
Jun 26, 2021 · Fundamentals

Four Ways to Roll Back Code in Git: Revert, Reset, Rebase + Revert, and File Operations

After encountering a problematic jar introduced in version A, the author explores four Git-based rollback strategies—simple revert, hard reset with forced push, combining interactive rebase with a revert commit, and a file‑level copy‑checkout method—detailing their commands, pitfalls, and suitability for different scenarios.

code-rollbackrebasereset
0 likes · 10 min read
Four Ways to Roll Back Code in Git: Revert, Reset, Rebase + Revert, and File Operations
Top Architect
Top Architect
May 14, 2021 · Fundamentals

Practical Guide to Reverting, Resetting, and Rebasing for Git Code Rollback

This article walks through a real‑world scenario where a team needed to roll back a problematic jar introduced in an earlier release, comparing four Git‑based rollback strategies—revert, reset, rebase + revert, and a pure file‑operation method—highlighting their commands, pitfalls, and suitability.

code-rollbackrebasereset
0 likes · 10 min read
Practical Guide to Reverting, Resetting, and Rebasing for Git Code Rollback
Top Architect
Top Architect
Feb 19, 2021 · Fundamentals

Visual Guide to Common Git Commands and Their Detailed Explanation

This article provides a comprehensive visual guide to the most frequently used Git commands, explaining their purpose, usage, and effects on the working directory, index, and repository, while illustrating concepts such as commits, branches, merges, rebases, and detached HEAD with clear diagrams.

BranchGitVersion Control
0 likes · 9 min read
Visual Guide to Common Git Commands and Their Detailed Explanation
Programmer DD
Programmer DD
Nov 11, 2020 · Fundamentals

How to Fix Mistaken Git Commits: Amend, Reset, and Revert Explained

This guide shows developers how to correct erroneous Git commits by using amend for message or author changes, reset (soft, mixed, hard, keep) to undo commits, and revert to create a new corrective commit, with practical code examples for each scenario.

GitVersion Controlamend
0 likes · 5 min read
How to Fix Mistaken Git Commits: Amend, Reset, and Revert Explained
Liangxu Linux
Liangxu Linux
Oct 27, 2020 · Fundamentals

Master Git: From Basics to Advanced Branch, Conflict, and Revert Techniques

This comprehensive guide walks you through Git fundamentals, explains the four work areas and file states, demonstrates essential commands for daily development, and dives into advanced topics such as branch management, conflict resolution, undo/revert strategies, tagging, and other powerful Git utilities.

GitTaggingVersion Control
0 likes · 18 min read
Master Git: From Basics to Advanced Branch, Conflict, and Revert Techniques
ITPUB
ITPUB
Sep 12, 2020 · Fundamentals

Master Git: Essential Commands, Branching, and Conflict Resolution Explained

This comprehensive guide walks you through the fundamentals of Git—including its role as a distributed version‑control system, the four work areas, common workflows, essential commands for cloning, committing, branching, merging, handling conflicts, undoing changes, tagging, and several advanced utilities—complete with code snippets and visual diagrams.

GitMerge ConflictsTagging
0 likes · 19 min read
Master Git: Essential Commands, Branching, and Conflict Resolution Explained
Liangxu Linux
Liangxu Linux
Apr 26, 2020 · Fundamentals

Master Git: Visualize Merge, Rebase, Reset, Revert, and More with GIFs

This article provides a visual, step‑by‑step guide to essential Git commands—including merge (fast‑forward and no‑ff), rebase (including interactive mode), reset (soft and hard), revert, cherry‑pick, fetch, pull, and reflog—explaining their behavior, use cases, and common pitfalls with animated illustrations.

GitVersion Controlcherry-pick
0 likes · 12 min read
Master Git: Visualize Merge, Rebase, Reset, Revert, and More with GIFs
Liangxu Linux
Liangxu Linux
Mar 26, 2020 · Fundamentals

Master Essential Git Commands: Clone, Merge, Rebase, Cherry‑Pick and More

This guide walks you through the most useful Git commands—from cloning a repository and basic workflow operations to advanced techniques like rebasing, cherry‑picking, and resetting—explaining when and how to use each command, illustrating differences with visual diagrams, and warning about pitfalls when rewriting history.

GitVersion Controlcherry-pick
0 likes · 12 min read
Master Essential Git Commands: Clone, Merge, Rebase, Cherry‑Pick and More
ITPUB
ITPUB
Feb 17, 2020 · Fundamentals

Master Git Basics: 3 Steps, 4 Areas, and How to Undo Mistakes

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.

GitUNDOVersion Control
0 likes · 8 min read
Master Git Basics: 3 Steps, 4 Areas, and How to Undo Mistakes
Architecture Digest
Architecture Digest
Feb 3, 2020 · Fundamentals

Practical Strategies for Reverting and Resetting Code with Git

This article walks through four practical Git techniques—revert, reset, rebase + revert, and a file‑copy method—to safely roll back code when faced with performance‑critical bugs and complex version histories, while preserving commit history for future debugging.

GitVersion Controlcode management
0 likes · 9 min read
Practical Strategies for Reverting and Resetting Code with Git
ITPUB
ITPUB
Nov 13, 2019 · Fundamentals

Master Git: Safely Undo Commits and Reset Versions

This guide walks through essential Git habits, explains how to inspect changes, and provides step‑by‑step commands for resetting local or remote commits, handling renamed files, and understanding core concepts like the working directory, repository, staging area, and HEAD pointer.

GitVersion Controlgit commands
0 likes · 8 min read
Master Git: Safely Undo Commits and Reset Versions
21CTO
21CTO
Sep 16, 2018 · Fundamentals

Master Git Basics: From Repository Trees to Branch Merges and Rollbacks

This comprehensive guide walks you through Git fundamentals, explaining its distributed nature, repository tree structure, common commands for adding files, branching, merging, resolving conflicts, navigating commits, resetting, reverting, and synchronizing with remote repositories, all illustrated with clear examples and diagrams.

Merge Conflictsbranchingcommand-line
0 likes · 16 min read
Master Git Basics: From Repository Trees to Branch Merges and Rollbacks
Practical DevOps Architecture
Practical DevOps Architecture
Mar 16, 2018 · Databases

How to Reset a MySQL Root Password When Access Is Denied

This guide explains step‑by‑step how to recover a lost MySQL root password by stopping MySQL, starting it with skip‑grant‑tables, updating the password in the mysql.user table, flushing privileges, and then restarting the service for normal operation.

Root Passwordresetskip-grant-tables
0 likes · 3 min read
How to Reset a MySQL Root Password When Access Is Denied
MaGe Linux Operations
MaGe Linux Operations
Jun 26, 2015 · Fundamentals

Master Git Undo: Revert, Reset, Rebase, and More

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.

GitUNDOVersion Control
0 likes · 15 min read
Master Git Undo: Revert, Reset, Rebase, and More