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.4.tar.gz
(4.4 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.4.tar.gz.
File metadata
- Download URL: homegit-0.1.4.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/4.0.2 CPython/3.11.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a89e777c1efa2c47241cf1a049baf0042da2ca6cc4646561bbad267673592779
|
|
| MD5 |
7a4863f65d32e11a1b7105ed6b4ecdec
|
|
| BLAKE2b-256 |
c8d14af749a660319cffb7d5dd98be16514c48aefd41baa1eabe8871d791a6f7
|
File details
Details for the file homegit-0.1.4-py3-none-any.whl.
File metadata
- Download URL: homegit-0.1.4-py3-none-any.whl
- Upload date:
- Size: 4.6 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 |
c0b43e64d63047018ee558b9bb069603dc5ec938fd749070fac743f07a5af873
|
|
| MD5 |
205a6ca59981afb05c4cb33a65429240
|
|
| BLAKE2b-256 |
a674ce3f6fe1e4faa92fcdc629c785879cea3fc3735fdd610465ad0671f49d43
|