Git Environment Configuration Guide
Viewing Current Git Configuration
After installing Git, verify existing settings using:
git config --global --list
Setting Username
Configure your identity with:
git config --global user.name "developer"
Setting Email Address
Associate your email with commits:
git config --global user.email "developer@example.com"
Creatin ...
Posted on Thu, 13 Aug 2026 16:14:27 +0000 by phreud
GitLab CE Deployment and Community Localization on CentOS
GitLab provides an open-source, self-hosted Git repository management platform built on Ruby on Rails. Accessible through a web interface, it supports both public and private projects while offering source code review, issue tracking, access control, and code snippet management.
System Requirements
Allocate at least 4 GB of RAM for the GitLab i ...
Posted on Wed, 12 Aug 2026 16:41:49 +0000 by rudibr
Git Quick Start Guide for Beginners
1. What is Git
1.1 What is Version Control
Version control is a system that records changes to files, tracking the history of modifications and allowing users to compare, restore, or merge between different versions. It is primarily used in software development to manage code changes, but can also be applied to any scenario requiring file chang ...
Posted on Tue, 11 Aug 2026 16:31:55 +0000 by TheJoey
Practical Git Rebase Use Cases
Git rebase is a powerful command for rewriting comit history. Below are two common scenarios where it proves especially useful: applying one branhc's commits onto another and removing or altering specific commits.
Bringing Changes from One Branch into Another
Suppose you have two branches: main and feature-x. Both have diverged with shared and ...
Posted on Fri, 07 Aug 2026 16:47:01 +0000 by VnVision
Configuring Git Version Control for Android Studio Projects with TortoiseGit
Before proceeding, ensure you have the following tools installed:
Android Studio
TortoiseGit and msysGit
Identifying files to exclude from version control in Android projects:
Directories to ignore:
.gradle — Gradle temporary directory
.idea — IDE-specific temporary files
build — Gradle build output directory
Files to exclude:
*.iml — Modu ...
Posted on Wed, 05 Aug 2026 16:36:05 +0000 by meediake
Comprehensive Guide to Git and GitHub Workflows
Core Concepts
Working Directory: The directory you see on your file system.
Staging Area (Index): Stored in the .git/index file within the working directory.
Repository (Local Repo): Stored in the .git directory.
HEAD:
A pointer to the current local branch.
Can point to a branch or a specific commit.
Defines which branch is associated with th ...
Posted on Fri, 31 Jul 2026 16:10:52 +0000 by koddos
Mastering Local Branch Workflows in Git
Inspecting Branch States
Determining which branch your working directory is attached to can be done instantly. The active branch corresponds to the current HEAD reference:
$ git branch --show-current
main
To list all locally available branches, execute:
$ git branch
feature/auth
* main
The asterisk (*) marks the currently checked-out bran ...
Posted on Fri, 31 Jul 2026 16:06:28 +0000 by frymaster
Git Branching and Diffs: Core Workflow Commands
Git Branches
Understanding Branches
A branch in Git establishes an independent line of development within a project. Multiple branches can progress simultaneously without interference. After development and testing on a branch, it can be merged back into the primary branch.
Benefits of Branching
Isolates development work, preventing conflicts ...
Posted on Thu, 30 Jul 2026 16:13:04 +0000 by CarbonCopy
Advanced Git Commands and Workflow Optimization
Configuration
git config --global core.editor "vim"
Discarding Modifications
// Unstage files from the index
# Step 1: Move changes from index to working directory
git reset HEAD path/to/file
# Step 2: Discard changes in the working directory
git checkout -- path/to/file
// Restore a specific file to a previous revision
git checkout <comm ...
Posted on Sat, 25 Jul 2026 17:11:03 +0000 by LostinSchool
Comprehensive Guide to Gitee Repository Management and Git Workflows
Initial Repository Setup
To begin using Gitee, you must first establish a connection between a local project and a remote repository. Start by logging into your Gitee account and clicking the "New Repository" button in the top right corner. Enter a name for your repository, optionally add a description, and confirm the creation.
Once ...
Posted on Fri, 24 Jul 2026 17:10:50 +0000 by niesom