Home
Table of Contents
Tips and Tricks
Home Lab
Git Documentation
Git How-To
How to Set Up a Remote Git Repository Server
How to Create a New Version in Git
How to Handle “Push Rejected” Conflicts
How to Migrate from Master to Main Branch
Repository Cleanup Before Master-to-Main Migration
Home
Git Documentation
Git How-To
Git How-To
Table of Contents
How to Set Up a Remote Git Repository Server
Overview
Architecture
Setup the Git Server and Client
Testing the Git Server Setup
Setup Your First Project on the Git Server
Troubleshooting
Repository Cleanup and Removal
Repository Safety and Self-Contained Nature
Backup Git Repositories
How to Create a New Version in Git
Quick Reference
Detailed Step-by-Step Process
Version Numbering Guidelines
Working with Branches (Advanced)
Version Control Workflows
Choosing the Right Workflow
Practical Examples
Best Practices
Common Scenarios
Troubleshooting
Automation Ideas
Git Configuration for Modern Workflows
How to Handle “Push Rejected” Conflicts
The Problem
Why This Happens
Quick Assessment Commands
Solution Methods (Ranked by Safety)
Conflict Resolution Guide
Real-World Examples
Prevention Strategies
Troubleshooting Common Issues
Advanced Scenarios
Best Practices Summary
Quick Reference Cheat Sheet
How to Migrate from Master to Main Branch
Why Migrate?
Before You Start
Step-by-Step Migration Process
Team Member Migration
Real Example: Your build-cert Repository
Updating References in Files
Troubleshooting
Post-Migration Checklist
Rollback Plan (Just in Case)
Benefits After Migration
Repository Cleanup Before Master-to-Main Migration
Overview
Quick Assessment Commands
Decision Matrix: Keep vs. Delete
Step-by-Step Cleanup Process
Real-World Examples
Automation Script
Pre-Migration Checklist
Common Patterns to Clean Up
After Cleanup
Git Configuration Optimization
Tips for Multiple Repositories