Tagged articles

Git

695 articles · Page 3 of 7
Java Tech Enthusiast
Java Tech Enthusiast
Jan 30, 2025 · Fundamentals

8 Classic Beginner Bugs Every Programmer Should Avoid

This article lists eight common beginner programming mistakes—from using wrong punctuation and forgetting WHERE clauses to leaking resources, storing passwords in plain text, exposing API keys, mixing environments, force‑pushing code, and committing secrets—explaining why they happen, showing concrete code examples, and offering practical fixes.

DebuggingGitJava
0 likes · 9 min read
8 Classic Beginner Bugs Every Programmer Should Avoid
Architecture Digest
Architecture Digest
Jan 26, 2025 · Backend Development

10 Essential Git Tips for Efficient Version Control

This article presents ten practical Git techniques—from undoing the last commit and resolving merge conflicts to using tags, stashing changes, and cleaning up branches—helping developers of all levels manage code history more effectively and streamline their workflow.

Command LineGitbackend
0 likes · 10 min read
10 Essential Git Tips for Efficient Version Control
21CTO
21CTO
Jan 15, 2025 · Frontend Development

How to Become a Front-End Developer by 2025: A Complete Roadmap

This guide outlines a step‑by‑step roadmap for aspiring front‑end developers, covering essential fundamentals, workspace setup, HTML/CSS, JavaScript, version control, React and bonus skills, with realistic timelines to help you reach a professional level by 2025.

CSSGitHTML
0 likes · 8 min read
How to Become a Front-End Developer by 2025: A Complete Roadmap
IT Services Circle
IT Services Circle
Jan 13, 2025 · Backend Development

Compilation of Common Backend Interview Questions and Answers for Small Companies

This article presents a comprehensive collection of written‑test and interview questions covering Java basics, Spring MVC annotations, JVM memory, garbage collection, database design, transaction management, distributed systems, version control, and development workflow, aimed at helping candidates prepare for small‑company technical interviews.

DatabaseGitJVM
0 likes · 6 min read
Compilation of Common Backend Interview Questions and Answers for Small Companies
macrozheng
macrozheng
Dec 31, 2024 · Operations

Why Choose Gogs Over GitLab? A Lightweight Self‑Hosted Git Solution

This article introduces Gogs as a fast, low‑resource self‑hosted Git service, explains how to install it with Docker, configure basic settings, use it for a SpringBoot‑Vue e‑commerce project, and compares its advantages over GitLab for developers seeking a lightweight alternative.

DevOpsDockerGit
0 likes · 7 min read
Why Choose Gogs Over GitLab? A Lightweight Self‑Hosted Git Solution
MaGe Linux Operations
MaGe Linux Operations
Dec 23, 2024 · Fundamentals

Master Gitee: From Registration to IDE Integration and Project Sync

This guide walks you through using Gitee as a domestic Git hosting alternative, covering account registration, remote repository creation, IntelliJ IDEA integration, project sharing, committing, pushing, pulling, cloning, and synchronizing GitHub projects, while highlighting key tips and common pitfalls.

GitGiteeIntelliJ IDEA
0 likes · 13 min read
Master Gitee: From Registration to IDE Integration and Project Sync
Su San Talks Tech
Su San Talks Tech
Dec 23, 2024 · Fundamentals

Master Git Branching and Commit Standards for Stable Development

This guide explains Git branch naming conventions, their correspondence to development environments, recommended merge workflows, standardized commit message formats—including Angular guidelines and a simplified version—and provides a practical .gitignore template, helping teams maintain stable codebases and efficient collaboration.

Commit MessageGitGitignore
0 likes · 10 min read
Master Git Branching and Commit Standards for Stable Development
DevOps Engineer
DevOps Engineer
Nov 28, 2024 · Backend Development

Reviving GitStats: Modernizing an Old Git History Statistics Tool

The author recounts reviving the dormant GitStats project by migrating it to Python 3, adding CI/CD pipelines, publishing it on PyPI, providing Docker images and an online preview, while outlining future improvements and inviting community contributions.

AnalyticsGitGitStats
0 likes · 5 min read
Reviving GitStats: Modernizing an Old Git History Statistics Tool
Liangxu Linux
Liangxu Linux
Nov 25, 2024 · Fundamentals

Boost Your Git Workflow with gitui: A Fast Terminal UI for Git

gitui is a Rust‑written terminal interface for Git that offers keyboard‑driven control, context‑aware help, full Git feature support, high performance on large repositories, easy installation, and extensive customization, making it a powerful productivity tool for developers of all levels.

GitProductivityRust
0 likes · 4 min read
Boost Your Git Workflow with gitui: A Fast Terminal UI for Git
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Nov 9, 2024 · Frontend Development

Implementing Frontend Version Update Detection with Git Revision Plugin and Webpack

This article explains how to detect frontend deployment changes and prompt users to refresh by generating a git‑hash JSON file with git‑revision‑webpack‑plugin, creating Vue mixins for version checking, and comparing hashed filenames in the built index.html, covering three practical solutions with their pros and cons.

GitVersioningfrontend
0 likes · 10 min read
Implementing Frontend Version Update Detection with Git Revision Plugin and Webpack
Selected Java Interview Questions
Selected Java Interview Questions
Nov 6, 2024 · Fundamentals

24 Essential Git Command-Line Tips for Developers

This guide presents 24 practical Git command-line techniques—including global configuration, undoing commits, interactive rebasing, stash management, and reflog inspection—to help developers gain deeper control, improve workflow efficiency, and maintain a clean project history.

Command LineGitGit Commands
0 likes · 9 min read
24 Essential Git Command-Line Tips for Developers
DevOps Cloud Academy
DevOps Cloud Academy
Oct 18, 2024 · Operations

Creating and Configuring Jenkins Multibranch Pipelines

This article explains how to create a Jenkins Multibranch Pipeline, configure its branch sources, manage environment variables, support pull requests with plugins, and use organization folders to automatically discover and run pipelines across multiple branches.

CI/CDDevOpsGit
0 likes · 7 min read
Creating and Configuring Jenkins Multibranch Pipelines
Liangxu Linux
Liangxu Linux
Oct 17, 2024 · Fundamentals

Auto‑Embed Build Version Info in Embedded Software with Git and date

This guide explains how to automatically generate and embed a software version string during compilation for embedded projects, using a header file updated by a Bash script that leverages the Linux date command and Git metadata to simplify version tracking and debugging.

GitVersioningbuild
0 likes · 7 min read
Auto‑Embed Build Version Info in Embedded Software with Git and date
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.

Gitfetchmerge
0 likes · 12 min read
Visualizing Git: Merge, Rebase, Reset, Revert, Fetch, Pull & Reflog Explained
Python Programming Learning Circle
Python Programming Learning Circle
Oct 16, 2024 · Fundamentals

Using Windows Terminal and Visual Studio Code for Python Development on Windows

This guide explains how to set up a smooth Python development workflow on Windows by leveraging Microsoft’s open‑source Windows Terminal and the versatile Visual Studio Code editor, covering installation, configuration, extensions, debugging, testing, and Git integration for both single‑file scripts and larger projects.

GitIDEVS Code
0 likes · 15 min read
Using Windows Terminal and Visual Studio Code for Python Development on Windows
Top Architect
Top Architect
Oct 16, 2024 · Fundamentals

Using git rebase to Keep Commit History Clean: A Practical Guide

This article explains how to use git rebase to create a clear and linear commit history, compares rebase with git merge, and demonstrates the interactive rebase mode with concrete command examples and conflict‑resolution steps, helping developers maintain tidy version‑control logs.

Gitinteractive rebasemerge
0 likes · 8 min read
Using git rebase to Keep Commit History Clean: A Practical Guide
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 15, 2024 · Fundamentals

Git Workflow, Branch Naming, and Commit Standards: Best Practices and Tooling

This article explains comprehensive Git workflow, branch naming conventions, commit message standards, and supporting tools such as validate-branch-name, Husky, Commitizen, and Commitlint, providing practical examples and configuration snippets to help development teams maintain a clean and efficient version‑control process.

CommitDevOpsGit
0 likes · 12 min read
Git Workflow, Branch Naming, and Commit Standards: Best Practices and Tooling
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.

Gitforce pushreset
0 likes · 10 min read
How to Delete Git Commit History Using git revert and git reset
Top Architect
Top Architect
Oct 10, 2024 · Fundamentals

Practical Git Commands: stash, reset --soft, cherry-pick, revert, and reflog with Usage Scenarios

This article presents practical Git commands—including stash, reset --soft, cherry-pick, revert, and reflog—explaining their descriptions, typical use cases, and step‑by‑step examples, along with tips for configuring short aliases, helping developers efficiently manage code changes and recover from mistakes.

Gitreflogsoftware development
0 likes · 19 min read
Practical Git Commands: stash, reset --soft, cherry-pick, revert, and reflog with Usage Scenarios
21CTO
21CTO
Sep 27, 2024 · Frontend Development

Boost Your Coding Efficiency: Master VS Code Customization, Extensions, and Debugging

Learn how to transform Visual Studio Code into a high‑productivity development environment by customizing the interface, mastering keyboard shortcuts, leveraging powerful extensions like Prettier, ESLint, and Live Server, integrating Git version control, and utilizing IntelliSense, code navigation, and advanced debugging techniques.

DebuggingGitIDE
0 likes · 21 min read
Boost Your Coding Efficiency: Master VS Code Customization, Extensions, and Debugging
DevOps Engineer
DevOps Engineer
Sep 24, 2024 · Fundamentals

Conventional Branch Naming Specification – Chinese Version

The article introduces the Chinese version of the Conventional Branch Naming Specification, explains its purpose, outlines branch prefixes and naming rules, provides examples, and lists tools for automatic compliance, offering a comprehensive guide for improving Git workflow readability and automation.

GitWorkflowbranch naming
0 likes · 7 min read
Conventional Branch Naming Specification – Chinese Version
Ops Development & AI Practice
Ops Development & AI Practice
Sep 21, 2024 · Fundamentals

Mastering Git Submodules: A Practical Guide to Dependency Management

Git Submodules let developers embed external Git repositories within a main project, enabling precise version locking, independent histories, and reusable code, while requiring specific commands for adding, initializing, updating, and managing submodule references, and presenting trade‑offs such as operational complexity and limited automation compared to modern package managers.

Gitdependency-managementsoftware-development
0 likes · 7 min read
Mastering Git Submodules: A Practical Guide to Dependency Management
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.

Gitbranchingcherry-pick
0 likes · 11 min read
Master Git from Scratch: Essential Commands and Workflows
Alibaba Cloud Native
Alibaba Cloud Native
Sep 13, 2024 · Cloud Native

Build a Remote VSCode Environment for OceanBase obdiag and Accelerate Coding with AI

This guide walks through setting up a CentOS virtual machine, configuring a Python 3.8 environment with Miniconda, forking and cloning the OceanBase obdiag repository, using VSCode remote‑SSH for development, and leveraging the Tongyi Lingma AI plugin to generate unit tests and documentation, culminating in a contribution workflow.

AI codingGitOceanBase
0 likes · 8 min read
Build a Remote VSCode Environment for OceanBase obdiag and Accelerate Coding with AI
Selected Java Interview Questions
Selected Java Interview Questions
Sep 5, 2024 · Fundamentals

Comprehensive Guide to Git: Installation, Commands, Branch Management, and Remote Collaboration

This article provides a thorough tutorial on Git, covering environment installation, core concepts, common commands for adding, committing, and checking status, branch creation and merging, file operations, diff and log viewing, remote repository handling, SSH key setup, multi‑person collaboration workflow, remote branch management, force pushes, and merge strategies with conflict resolution.

Command LineGitbranch management
0 likes · 13 min read
Comprehensive Guide to Git: Installation, Commands, Branch Management, and Remote Collaboration
Liangxu Linux
Liangxu Linux
Sep 2, 2024 · Fundamentals

Create a Git Commit Message Template to Keep Your History Clean

This guide explains why simple commit messages are insufficient, outlines the benefits of a standardized commit template, and provides step‑by‑step commands to create, configure, and use a Git commit‑message template globally or per‑repository.

Commit MessageDevOpsGit
0 likes · 5 min read
Create a Git Commit Message Template to Keep Your History Clean
Top Architect
Top Architect
Aug 31, 2024 · Fundamentals

How to Use git rebase for Cleaner Commit History and Its Differences from git merge

This article explains the purpose and usage of git rebase, demonstrates step‑by‑step how rebase reorganizes commit history compared with git merge, covers conflict resolution, interactive rebase commands, and warns against rebasing shared branches, providing practical examples and code snippets.

Conflict ResolutionGitinteractive rebase
0 likes · 8 min read
How to Use git rebase for Cleaner Commit History and Its Differences from git merge
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.

Gitfetchmerge
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.

Gitcommit historyforce-push
0 likes · 11 min read
How to Delete Git Commit History Using git revert and git reset
Top Architect
Top Architect
Aug 17, 2024 · Fundamentals

How to Delete a Git Commit from History Using git revert, git reset and Force Push

This article explains why you might need to remove a mistaken Git commit, demonstrates how to use git revert and git reset with various options, shows step‑by‑step commands—including force‑pushing to remote—to completely erase the unwanted commit while preserving or discarding history as required.

Gitcommit historyforce push
0 likes · 11 min read
How to Delete a Git Commit from History Using git revert, git reset and Force Push
DevOps
DevOps
Aug 11, 2024 · R&D Management

Git Branch Types and Continuous Integration Branch Strategies

This article explains common Git branch types, including master, develop, feature, release, and hotfix branches, and details various continuous integration branch strategies such as Git Flow, GitHub Flow, and GitLab Flow, helping teams choose an appropriate branching model for efficient DevOps practices.

CI/CDDevOpsGit
0 likes · 17 min read
Git Branch Types and Continuous Integration Branch Strategies
Architect
Architect
Aug 4, 2024 · Industry Insights

Why Did Facebook Choose Mercurial Over Git? A Deep Dive into Performance and Culture

Greg Foster investigates why Facebook abandoned Git for Mercurial, revealing that massive repository size caused severe performance bottlenecks, Git’s inability to scale, and the collaborative culture of Mercurial’s maintainers, ultimately shaping Facebook’s tooling decisions and influencing broader industry practices.

FacebookGitMercurial
0 likes · 12 min read
Why Did Facebook Choose Mercurial Over Git? A Deep Dive into Performance and Culture
Top Architect
Top Architect
Aug 1, 2024 · Fundamentals

How to Delete Commit History Using git revert, git reset and Force Push

This article explains when and how to use git revert to undo commits while preserving history, demonstrates git reset for removing commits entirely, and shows how to force‑push the cleaned state to a remote repository, including safety warnings and practical command examples.

Gitcommit historyforce push
0 likes · 10 min read
How to Delete Commit History Using git revert, git reset and Force Push
Architect's Tech Stack
Architect's Tech Stack
Jul 25, 2024 · Backend Development

Five Advanced Git Commands to Boost Your Development Efficiency

This article introduces five powerful Git commands—stash, reset --soft, cherry-pick, revert, and reflog—explaining their basic usage and advanced tricks, enabling developers to manage temporary changes, roll back commits, copy changes across branches, undo mistakes, and recover lost history efficiently.

GitProductivitybackend-development
0 likes · 7 min read
Five Advanced Git Commands to Boost Your Development Efficiency
Open Source Linux
Open Source Linux
Jul 18, 2024 · Fundamentals

14 Essential Git Commands Every Developer Should Master

This guide introduces the 14 most frequently used Git commands—such as init, clone, add, commit, push, pull, branch, checkout, merge, status, rebase, stash, and revert—explaining their purpose, basic usage, and example syntax to boost everyday development efficiency.

Command LineDevelopmentGit
0 likes · 7 min read
14 Essential Git Commands Every Developer Should Master
Java Architect Essentials
Java Architect Essentials
Jul 16, 2024 · Fundamentals

Using git rebase to Keep Commit History Clean and Readable

This article explains how git rebase works, demonstrates its effect on commit history with concrete branch examples, compares rebase to merge, and introduces the interactive rebase mode for compressing and cleaning up commits, including conflict‑resolution steps and useful commands.

Gitcommit-historyinteractive rebase
0 likes · 6 min read
Using git rebase to Keep Commit History Clean and Readable
Java Tech Enthusiast
Java Tech Enthusiast
Jul 11, 2024 · Fundamentals

Master Git Rebase: Clean Commit History and Interactive Techniques

This guide explains how to use git rebase to produce a clear linear commit history, compares rebase with git merge, and demonstrates the interactive rebase mode for squashing and editing commits, including conflict resolution commands and best‑practice warnings.

Conflict ResolutionGitinteractive rebase
0 likes · 6 min read
Master Git Rebase: Clean Commit History and Interactive Techniques
Top Architect
Top Architect
Jul 6, 2024 · Fundamentals

How to Delete Commit History Using git revert, git reset, and Force Push

This article explains why and how to remove unwanted Git commit history by using git revert to create undo commits, git reset to move the HEAD pointer and discard changes, and finally force‑pushing the cleaned local branch to overwrite the remote repository, with step‑by‑step code examples and safety tips.

Gitcommit historyforce push
0 likes · 11 min read
How to Delete Commit History Using git revert, git reset, and Force Push
Liangxu Linux
Liangxu Linux
Jul 1, 2024 · Fundamentals

Master the 14 Essential Git Commands You’ll Use 99% of the Time

This guide introduces the fourteen most frequently used Git commands—init, clone, add, commit, push, pull, branch, checkout, merge, status, rebase, stash, and revert—explaining their purpose, typical usage syntax, and practical examples to boost everyday development efficiency.

Command LineGitversion control
0 likes · 8 min read
Master the 14 Essential Git Commands You’ll Use 99% of the Time
21CTO
21CTO
Jun 7, 2024 · Fundamentals

Master Git Basics: From Installation to Remote Collaboration

This article introduces Git as a free, open‑source distributed version‑control system, explains why developers use it, describes its three‑stage architecture, walks through installation, repository initialization, configuration, common commands for status, branching, committing, and shows how to work with remote repositories on GitHub.

Command LineGitcollaboration
0 likes · 11 min read
Master Git Basics: From Installation to Remote Collaboration
DevOps
DevOps
Jun 3, 2024 · Fundamentals

Comprehensive Git Best Practices and Common Pitfalls

This guide explains what Git is and isn’t, recommends proper tools, outlines effective branching strategies, compares merge and rebase, advises on conflict resolution, fetch‑instead‑of‑pull, atomic commits, LFS usage, and highlights Git’s limitations to help developers adopt optimal version‑control workflows.

Gitbest practicesbranching
0 likes · 24 min read
Comprehensive Git Best Practices and Common Pitfalls
Java Tech Enthusiast
Java Tech Enthusiast
Jun 1, 2024 · Information Security

Git CVE-2024-32002 Remote Code Execution Vulnerability Analysis

The article examines Git CVE‑2024‑32002, a remote‑code‑execution flaw that lets attackers run malicious code simply by cloning a crafted repository, exploiting Git hooks, submodules and case‑insensitive symbolic‑link tricks, and advises users to verify their Git version and update to mitigate the risk.

CVE-2024-32002GitHooks
0 likes · 9 min read
Git CVE-2024-32002 Remote Code Execution Vulnerability Analysis
Tencent Cloud Developer
Tencent Cloud Developer
May 30, 2024 · Fundamentals

Git Best Practices: A Comprehensive Guide

Drawing on two decades of version‑control experience, this guide outlines essential Git best practices—including clear branch strategies, squash‑and‑rebase workflows, fetch‑plus‑rebase instead of pull, atomic commits, proper LFS configuration, and tool recommendations—while clarifying what Git is versus surrounding services and addressing large‑repo limitations.

Distributed VCSGitGit workflow
0 likes · 24 min read
Git Best Practices: A Comprehensive Guide
Java Tech Enthusiast
Java Tech Enthusiast
May 28, 2024 · Information Security

Remote Code Execution Vulnerability in Git (CVE-2024-32002) Explained

Git’s CVE‑2024‑32002 is a critical remote‑code‑execution flaw where a malicious repository can exploit hooks, submodules, and symlinks on case‑insensitive file systems to inject and run attacker‑controlled scripts during a recursive clone, affecting versions up to 2.45.0 and mitigated by disabling recursive submodule fetching, avoiding untrusted clones, and updating Git.

CVE-2024-32002GitHooks
0 likes · 9 min read
Remote Code Execution Vulnerability in Git (CVE-2024-32002) Explained
Baidu Geek Talk
Baidu Geek Talk
May 22, 2024 · Artificial Intelligence

How AI Can Auto‑Generate Perfect Git Commit Messages

This article explains how a large‑language‑model‑driven tool can automatically create standardized Git commit messages by extracting change summaries, applying customizable plugins, measuring performance with MSE and adoption rate, and optimizing prompts, data pipelines, and fine‑tuning strategies.

AICommitMessageDataProcessing
0 likes · 17 min read
How AI Can Auto‑Generate Perfect Git Commit Messages
Baidu App Technology
Baidu App Technology
May 8, 2024 · Artificial Intelligence

How AI Can Auto‑Generate Standardized Git Commit Messages

This article details the design, implementation, and evaluation of an AI‑powered tool that automatically creates compliant Git commit messages by leveraging large language models, custom plugins, and performance‑focused optimizations to improve developer productivity and commit quality.

AICommit MessageGit
0 likes · 16 min read
How AI Can Auto‑Generate Standardized Git Commit Messages
21CTO
21CTO
Apr 18, 2024 · Fundamentals

Master Git: Essential Commands and Workflows for Every Developer

This comprehensive guide walks developers through Git fundamentals—including branches, commits, tags, staging, remote repositories, conflict resolution, popular workflows, and advanced commands—while providing practical code snippets and a handy cheat‑sheet for everyday version‑control tasks.

Command LineCommitGit
0 likes · 18 min read
Master Git: Essential Commands and Workflows for Every Developer
Java Tech Enthusiast
Java Tech Enthusiast
Apr 17, 2024 · Fundamentals

Understanding the .git Directory Structure and Its Components

The hidden .git folder stores all repository data—including configuration, branch references, commit objects, logs, the staging index, and executable hooks—organized into subdirectories such as config, objects, refs, logs, info, hooks, and index, enabling Git to track history, manage branches, and automate workflows.

ConfigurationDevOpsGit
0 likes · 9 min read
Understanding the .git Directory Structure and Its Components
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
Liangxu Linux
Liangxu Linux
Mar 31, 2024 · Fundamentals

How to Properly Delete Files in Git: Commands and Best Practices

Learn when and why to remove files from a Git repository, and follow step‑by‑step commands—git rm, git rm --cached, and git rm -r—plus committing and pushing changes—to keep your codebase clean, organized, and free of redundant files.

Gitcode cleanupgit rm
0 likes · 4 min read
How to Properly Delete Files in Git: Commands and Best Practices
Ops Development & AI Practice
Ops Development & AI Practice
Mar 30, 2024 · Operations

How to Automate Git Commit Messages with Scripts and Tools

This article explains why descriptive Git commit messages matter and shows how to automate their generation using existing tools, custom scripts, and IDE plugins, including a practical Python example and a recommendation for the GitLens extension to boost development efficiency.

Commit MessageGitScript
0 likes · 5 min read
How to Automate Git Commit Messages with Scripts and Tools
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.

GitIntelliJ IDEAforce push
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 RevertGitIntelliJ IDEA
0 likes · 7 min read
How to Revert Commits and Reset Branches in Git Using IntelliJ IDEA
php Courses
php Courses
Jan 2, 2024 · Backend Development

Best Practices for PHP Packaging and Automated Deployment

This article presents a practical, case‑based guide to PHP packaging and automated deployment, covering Composer‑based packaging, Git version control, and Capistrano‑driven deployment to improve development efficiency and project management for teams handling large‑scale web applications.

CapistranoGitPHP
0 likes · 5 min read
Best Practices for PHP Packaging and Automated Deployment
IT Niuke
IT Niuke
Dec 31, 2023 · Fundamentals

Still Using Git Merge? Why You Should Consider Rebase

The article explains how Git merge and rebase work in typical development workflows, compares their effects on commit history, shows when each command is appropriate, warns against rebasing public branches, and offers practical naming conventions for parallel version development.

Gitbranch managementdevelopment workflow
0 likes · 7 min read
Still Using Git Merge? Why You Should Consider Rebase
Liangxu Linux
Liangxu Linux
Dec 27, 2023 · Fundamentals

Uncovering Git’s Hidden Mechanics: Index, Stash, Refs, and Merge Secrets

This article explains four often‑misunderstood Git internals—how the index, staging area, and --cached option are the same, how stash creates hidden commits, the variety of reference types beyond branches and tags, and why merge commits are not actually empty—using concrete commands and examples.

GitIndexmerge-commit
0 likes · 7 min read
Uncovering Git’s Hidden Mechanics: Index, Stash, Refs, and Merge Secrets
Architect
Architect
Dec 23, 2023 · Backend Development

Architecture Evolution and Challenges of Meituan's Code Hosting Platform

This article details Meituan's Code platform evolution from a single‑machine setup to a multi‑machine and finally a distributed, sharded architecture, describing the scalability and availability challenges faced and the comprehensive engineering solutions implemented to achieve high‑performance, high‑availability code hosting for millions of repositories.

Distributed ArchitectureGitcode hosting
0 likes · 21 min read
Architecture Evolution and Challenges of Meituan's Code Hosting Platform
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.

Gitbranch managementforce push
0 likes · 6 min read
How to Revert Local and Remote Git Commits Using IntelliJ IDEA
Laravel Tech Community
Laravel Tech Community
Nov 29, 2023 · Fundamentals

Git 2.43 Release Highlights: New Features for git repack, Multiple Cruft Packs, Object‑Filter Splitting, and Improved Revert Messages

Git 2.43 introduces several enhancements including an upgraded git repack command that supports multiple cruft packs, object‑filter based repository splitting, and cleaner commit messages for repeated revert operations, all aimed at improving performance and usability of version control workflows.

Gitcruft-packobject-filter
0 likes · 3 min read
Git 2.43 Release Highlights: New Features for git repack, Multiple Cruft Packs, Object‑Filter Splitting, and Improved Revert Messages
Code Ape Tech Column
Code Ape Tech Column
Nov 24, 2023 · Fundamentals

Using Git Worktree to Manage Multiple Branches Without Cloning Multiple Repositories

This article explains how Git worktree lets developers maintain a single repository while simultaneously working on multiple branches—such as features, hotfixes, or testing environments—without the overhead of cloning multiple repos, and provides practical commands and examples for effective workflow management.

GitGit worktreebranch management
0 likes · 9 min read
Using Git Worktree to Manage Multiple Branches Without Cloning Multiple Repositories
Code of Duty
Code of Duty
Nov 17, 2023 · Fundamentals

Quick Guide to Installing and Using Git for Version Control

This article walks through checking whether Git is installed, detecting the Linux distribution, installing Git via apt‑get or yum, configuring user information, generating SSH keys, cloning a repository, and provides a concise list of essential Git commands for everyday version‑control tasks.

CentOSCommand LineGit
0 likes · 7 min read
Quick Guide to Installing and Using Git for Version Control
Java Backend Technology
Java Backend Technology
Oct 30, 2023 · Fundamentals

Master the 14 Essential Git Commands Every Developer Needs

This guide introduces fourteen must‑know Git commands—from initializing a repository to reverting changes—explaining their purpose, typical usage examples, and how they streamline daily development, plus a tip on automating analysis with a simple shell script.

Command LineGitsoftware development
0 likes · 8 min read
Master the 14 Essential Git Commands Every Developer Needs
Liangxu Linux
Liangxu Linux
Oct 25, 2023 · Fundamentals

14 Essential Git Commands Every Developer Should Master

This guide presents 14 indispensable Git commands—such as init, clone, add, commit, push, pull, branch, checkout, merge, status, rebase, stash, and revert—explaining their purpose, typical usage syntax, and practical examples to help developers efficiently manage repositories and streamline their workflow.

Command LineGitsoftware development
0 likes · 7 min read
14 Essential Git Commands Every Developer Should Master
Architect's Guide
Architect's Guide
Oct 17, 2023 · Fundamentals

Comprehensive Introduction to Git: Concepts, Commands, and Best Practices

This article provides a thorough guide to Git, covering its core concepts, installation, configuration, basic workflow, essential commands, remote repository handling, branching strategies, tagging, undo operations, collaborative workflows like Git flow, and useful utilities such as stash and cherry-pick, all illustrated with clear examples.

GitWorkflowbranching
0 likes · 40 min read
Comprehensive Introduction to Git: Concepts, Commands, and Best Practices
Kuaishou E-commerce Frontend Team
Kuaishou E-commerce Frontend Team
Oct 9, 2023 · Fundamentals

Why Git Merge Can Produce Empty Commits and How to Prevent Them

This article analyzes a common Git issue where a merge creates an empty commit that drops master changes, explains the underlying cause involving `git merge --continue` and `--allow-empty`, demonstrates reproduction steps, and provides mitigation strategies such as pre‑commit hooks and proper merge handling.

GitTroubleshootingempty commit
0 likes · 14 min read
Why Git Merge Can Produce Empty Commits and How to Prevent Them
Rare Earth Juejin Tech Community
Rare Earth Juejin Tech Community
Oct 5, 2023 · Frontend Development

Clean Code Practices and Tooling for Frontend Development

This article explains the concepts of external and internal code beauty, introduces essential frontend tooling such as ESLint, Prettier, Stylelint, husky, lint‑staged, EditorConfig, and CSSComb, and shares practical habits on documentation, naming, and commenting to help developers produce elegant, maintainable code.

Code styleESLintGit
0 likes · 13 min read
Clean Code Practices and Tooling for Frontend Development
Laravel Tech Community
Laravel Tech Community
Sep 26, 2023 · Fundamentals

Step-by-Step Guide to Using Git: Initial Commit, Subsequent Commits, Common Commands, and Troubleshooting

This article provides a comprehensive, step‑by‑step tutorial on using Git, covering initial repository setup, generating SSH keys, configuring user information, performing first and subsequent commits, essential Git commands, and troubleshooting common clone failures, all illustrated with clear code examples.

Command LineGitsoftware development
0 likes · 6 min read
Step-by-Step Guide to Using Git: Initial Commit, Subsequent Commits, Common Commands, and Troubleshooting
Open Source Linux
Open Source Linux
Sep 25, 2023 · Fundamentals

45 Essential Git Commands Every Developer Must Master

This comprehensive guide covers 45 everyday Git scenarios—from viewing commits and amending messages to advanced branching, rebasing, merging, and stash techniques—providing clear command examples and explanations for developers of all levels.

Gitbranchingcommand-line
0 likes · 28 min read
45 Essential Git Commands Every Developer Must Master