Removing Previously Pushed Files from Git Remote Repository

When working with Git, developers sometimes accidentally commit files that shouldn't be tracked, such as IDE configuration files (*.iml, *.project, *.settings) or editor metadata (.idea/*). While adding these to .gitignore prevents future commits, occasionally these files get pushed to remote repositories. This guide demonstrates how to remove ...

Posted on Wed, 17 Jun 2026 17:30:11 +0000 by kirannalla

Implementing Continuous Integration with Gitee, Git, Ant, and Jenkins

Testing Shifts and Continuous Integration Modern software development practices involve testing early in the lifecycle (shift-left) and extending testing into production (shift-right). Continuous Integration (CI) is a core DevOps practice where developers frequently merge code changes into a central repository. Automated builds and tests run on ...

Posted on Mon, 15 Jun 2026 17:36:55 +0000 by Radon3k

Automated CI/CD Setup with Jenkins, JDK, Maven, Git, and Docker on CentOS 7

Install OpenJDK 21 Download the JDK binary: wget https://mirrors.huaweicloud.com/openjdk/21/openjdk-21_linux-x64_bin.tar.gz Extract and relocate to /usr/local: sudo tar -xzf openjdk-21_linux-x64_bin.tar.gz -C /usr/local/ ls /usr/local/jdk-21/ Update system-wide environment variables by editing /etc/profile: export JAVA_HOME=/usr/local/jdk-2 ...

Posted on Sat, 13 Jun 2026 17:46:21 +0000 by kirannalla

Essential Git Command Reference and Workflow Guide

Identity Configuration Initialize or update contributor credentials for a repository. Applying the --global flag extends these settings across all local projects. git config --global user.name "LeadDeveloper" git config --global user.email "dev.lead@company.org" When corrections are required, overwrite existing entries usin ...

Posted on Fri, 12 Jun 2026 17:20:49 +0000 by anthonyaykut

Common Git Operations and Workflows

View commit history from the most recent to oldest commit: git log for full detailed output git log --pretty=oneline for condensed single-line per commit output Revert to the previous commit version: git reset --hard HEAD^ Git uses HEAD to reference the current latest commit. The previous commit is HEAD^, the commit before that is HEAD^^. To ...

Posted on Mon, 08 Jun 2026 18:04:52 +0000 by gudfry

Essential Git Commands and Workflow Guide

Git stores configuration settings at different levels. System-wide settings for all users are located in /etc/gitconfig, while user-specific settings reside in ~/.gitconfig. To display all current configurations: git config --list Setting user information globally (affects ~/.gitconfig): git config --global user.name "John Doe" git ...

Posted on Mon, 08 Jun 2026 16:32:57 +0000 by Timsoft

Deploying a Lightweight Self-Hosted Git Platform with Gitea

Compiled in Go, Gitea delivers a self-contained, minimal-footprint alternative to heavyweight Git hosting platforms like GitHub Enterprise or GitLab CE, designed for deployment on everything from low-power single-board computers to enterprise-grade servers. Key Capabilities Minimal resource footprint: A single static binary consumes <100MB ...

Posted on Sun, 07 Jun 2026 16:44:35 +0000 by clem_c_rock

Essential Git Commands and Concepts

Understanding Git Architecture Git operates with a distributed architecture consisting of remote repositories and local copies. Each remote repository typically represents a project, containing multiple branches. The term "origin" refers to a pointer to a specific remote repository, while "master" denotes the default branch ...

Posted on Fri, 29 May 2026 23:58:18 +0000 by chinto09

Git Version Control: Core Concepts, Branch Management, and Practical Operations

Gits a distributed version control system used to track file changes and facilitate collaborative development. It was originally created by Linus Torvalds to manage Linux kernel development and is now a widely adopted version control tool. Key features of Git include: Distributed: Every developer maintains a complete copy of the repository, en ...

Posted on Wed, 20 May 2026 19:04:11 +0000 by raptor1120

Pushing Code to Gerrit: A Step-by-Step Setup Guide for Enterprise Environments

Deploying code to a corporate Gerrit instance often involves navigating layered constraints—internal DNS, SSH/GPG trust chains, cross-platform tooling (e.g., WSL), and nested repository structures. This guide walks through a production-ready workflow to initialize and push your first change, grounded in real-world enterprise infrastructure. Env ...

Posted on Wed, 20 May 2026 16:52:00 +0000 by advancedfuture