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.0.2.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.0.2.tar.gz.
File metadata
- Download URL: homegit-0.0.2.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 |
94d47a2e9c28429b49075a71743ed6746929307c2f031a947ddfe58512823d04
|
|
| MD5 |
425e413b33317c7d41cee8a2442aefe8
|
|
| BLAKE2b-256 |
27a05ff4b8192951d3fbeef4dab4da17fc6bf1f36a18de540bda395e228557b4
|
File details
Details for the file homegit-0.0.2-py3-none-any.whl.
File metadata
- Download URL: homegit-0.0.2-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 |
72ef407f05ec969858e18e3eb0101bc82a2f155049034c85ee2c9029438220d4
|
|
| MD5 |
2bbef2c093988a6835f2eb751332af2f
|
|
| BLAKE2b-256 |
447d0cc0a9939ced96c0b512047a2dddce6007da3817278ad8fe1dd6137f2b5a
|