Coder Trainee
Author

Coder Trainee

Experienced in Java and Python, we share and learn together. For submissions or collaborations, DM us.

190
Articles
0
Likes
1.0k
Views
0
Comments
Recent Articles

Latest from Coder Trainee

100 recent articles max
Coder Trainee
Coder Trainee
Jul 25, 2026 · Fundamentals

Mastering Advanced Git Hooks: Turning Scripts into Team Automation

This article explains that Git hooks are executable scripts, describes their execution environment, and provides concrete Bash implementations for pre‑commit, commit‑msg, pre‑push, and post‑commit hooks—including quality checks, commit‑message enforcement, automated testing, and notifications—plus a complete Husky + lint‑staged configuration and common scenarios such as blocking key files or validating JIRA tickets.

0 likes · 9 min read
Mastering Advanced Git Hooks: Turning Scripts into Team Automation
Coder Trainee
Coder Trainee
Jul 24, 2026 · Fundamentals

10 Common Git Production Mistakes and How to Fix Them

The article lists ten typical Git production accidents—such as deleting an unmerged branch, losing changes with reset --hard, committing sensitive data, wrong merges, and force‑push overwrites—explains each scenario, provides exact command‑line recovery steps, analyzes their frequency and severity, and offers preventive best practices and a quick‑reference cheat sheet.

Accident RecoveryDevOpscommand line
0 likes · 12 min read
10 Common Git Production Mistakes and How to Fix Them
Coder Trainee
Coder Trainee
Jul 23, 2026 · Fundamentals

Mastering Git Hooks: Automate Your Workflow with Pre‑Commit, Pre‑Push and More

This article explains how Git Hooks act as an automation engine for common team tasks—code formatting, commit‑message validation, test execution, CI/CD triggers, and branch protection—by showing concrete hook scripts, client‑side and server‑side examples, and how tools like Husky, commitlint and lint‑staged simplify hook management.

CI/CDautomationcommitlint
0 likes · 11 min read
Mastering Git Hooks: Automate Your Workflow with Pre‑Commit, Pre‑Push and More
Coder Trainee
Coder Trainee
Jul 21, 2026 · Fundamentals

Mastering Remote Git Collaboration: The Right Way for Team Development

This article walks through essential remote‑repository operations—cloning, pushing, pulling, conflict resolution, pull‑request workflow, branch‑protection rules, common scenarios and pitfalls—providing concrete commands and step‑by‑step guidance for effective multi‑developer Git collaboration.

Branch ProtectionRemote Collaborationconflict resolution
0 likes · 11 min read
Mastering Remote Git Collaboration: The Right Way for Team Development
Coder Trainee
Coder Trainee
Jul 20, 2026 · Fundamentals

Git Revert and Reset: A Rescue Guide for Mistakes

This article explains the differences between git reset, revert, and checkout, details the three reset modes (--soft, --mixed, --hard), shows when to use each command safely, provides practical scenarios, introduces reflog for recovery, and warns about common pitfalls.

checkoutcommand linegit
0 likes · 9 min read
Git Revert and Reset: A Rescue Guide for Mistakes
Coder Trainee
Coder Trainee
Jul 19, 2026 · Fundamentals

Git Merge vs Rebase: When the Wrong Choice Breaks Your Team

The article explains the fundamental differences between Git merge and rebase, shows how each command reshapes commit history, provides a golden rule against rebasing public branches, and offers practical scenarios, guidelines, and common pitfalls to help teams choose the right strategy.

branchinggitmerge
0 likes · 8 min read
Git Merge vs Rebase: When the Wrong Choice Breaks Your Team
Coder Trainee
Coder Trainee
Jul 18, 2026 · Fundamentals

Mastering Git Branch Strategies: From Git Flow to Trunk-Based Development

This article explains Git's branch fundamentals, common commands, and compares three mainstream branching models—Git Flow, GitHub Flow, and Trunk-Based Development—highlighting their suitable scenarios, trade‑offs, and practical recommendations for teams of different sizes and release cadences.

branchinggitgit-flow
0 likes · 8 min read
Mastering Git Branch Strategies: From Git Flow to Trunk-Based Development
Coder Trainee
Coder Trainee
Jul 17, 2026 · Fundamentals

Why Every Developer Must Master Git: From Basics to Practice (Part 1)

This article introduces Git by explaining its evolution, core advantages, key concepts such as the three work areas, file states and object types, and provides practical command examples, commit conventions, .gitignore setup, common pitfalls, and a preview of the next part on branching strategies.

Commit ConventionsDistributed VCSGit Commands
0 likes · 7 min read
Why Every Developer Must Master Git: From Basics to Practice (Part 1)
Coder Trainee
Coder Trainee
Jul 16, 2026 · Backend Development

Complete Summary of the Six‑Part Java Interview High‑Frequency Questions Series

This article compiles all 60 high‑frequency Java interview questions from six core backend topics—basics, collections, concurrency, JVM, Spring, and microservices—provides a quick‑reference table, outlines the most common and hardest questions, and shares a five‑layer answering technique for interview success.

BackendJVMJava
0 likes · 10 min read
Complete Summary of the Six‑Part Java Interview High‑Frequency Questions Series
Coder Trainee
Coder Trainee
Jul 16, 2026 · Interview Experience

Java Interview Essentials: 10 Must‑Ask Microservice Questions

This article presents ten essential microservice interview questions, covering service registration and discovery, API gateways, fault tolerance, distributed transactions, tracing, configuration management, messaging, ID generation, and service decomposition, each explained with principles, diagrams, code snippets, and tips for impressing interviewers.

BackendDistributed SystemsJava
0 likes · 14 min read
Java Interview Essentials: 10 Must‑Ask Microservice Questions