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.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.1.2.tar.gz.
File metadata
- Download URL: homegit-0.1.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 |
4709dca646ca7c16f20f6c54aac5a510d78a09545f84ea0e6e2aa67c51824d7d
|
|
| MD5 |
af8f555e8be7dd277b356f121c6c7c23
|
|
| BLAKE2b-256 |
ab5280af80539d14126f7866a5ce5bcf89ca3fdab0b4a17b56364bb4b5b8334c
|
File details
Details for the file homegit-0.1.2-py3-none-any.whl.
File metadata
- Download URL: homegit-0.1.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 |
6addf9febc0f66094b4ac18b22727e7e4e7694e993d23addb1dc5fa849241df6
|
|
| MD5 |
13212fe7bdec95f10bc19aba53299dcd
|
|
| BLAKE2b-256 |
4936b890939711f74e1952925fffb3ed5d25bc839aa56d2dbdc66f70449eafe0
|