Utility to interact with bare git repos in the home directory.
Project description
homegit
A utility to manage bare git repos in your home directory
See also Dotfiles: Best way to store in a bare git repository
Usage
Once a repo is initialized or cloned, use homegit as you would git.
Local repo
cd $HOME
homegit init
echo "this is a file" > file.txt
homegit add file.txt
homegit commit
homegit log
Remote repo
homegit clone https://github.com/notwillk/test-homegit.git
cat ~/test_file.txt
Additional repo
HOMEGIT_REPO=identifier homegit clone https://github.com/notwillk/test-homegit.git
cat ~/test_file.txt
Environment variables
| Variable | Default value | Description |
|---|---|---|
| HOME | none. | The path to the user's home directory |
| GIT_EXECUTABLE | the output of which git |
The location of the git command to execute |
| HOMEGIT_DIR | $HOME/.homegit |
The path to the directory containing the git dirs |
| HOMEGIT_REPO | default | The identifier for the source repo |
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
homegit-0.1.1.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file homegit-0.1.1.tar.gz.
File metadata
- Download URL: homegit-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
56907a57cf1f2d7a8e9b11bebb469a685806a2b26347ff36e72c3ac71e06d323
|
|
| MD5 |
162400f43301cca102539c327a5b9a7e
|
|
| BLAKE2b-256 |
23c5bf4a0cd138b82f6d0f837169ccf684d7365646b1cbefe23815b2069284d7
|
File details
Details for the file homegit-0.1.1-py3-none-any.whl.
File metadata
- Download URL: homegit-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b688a44d341c2fa15560540045bc6284923f4f929a4286d6ed48c2148e062a19
|
|
| MD5 |
89cb52126cf40e129e7ec2e5f116a8ca
|
|
| BLAKE2b-256 |
8d2ac052174764db31e36ca5e49a3637c577b97f5a2f407eec8de26a35bc07b7
|