# git_launcher **Repository Path**: bjfuxingda/git_launcher ## Basic Information - **Project Name**: git_launcher - **Description**: 用于启动 git,每次都为 git 创建独立的环境变量 HOME,以实现真正的 portable。 - **Primary Language**: Unknown - **License**: GPL-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2022-11-13 - **Last Updated**: 2023-10-22 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README git 启动器: 重新指定 HOME 环境变量的值 使用本程序可以制作真正的 便捷版 git 1. main.c 内指定的环境变量 HOME 仅对通过本启动器运行的 git 可见 2. 用编译生成的 git.exe 替换 PortableGit/bin/ 内的 git.exe 3. 将 PortableGit/bin/ 添加到系统环境变量 Path 4. 如果使用 PortableGit/bin/bash.exe 则在 PortableGit/etc/bash.bashrc 最后一行加入 export HOME='/home'