Skip to main content

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.3.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

homegit-0.1.3-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

File details

Details for the file homegit-0.1.3.tar.gz.

File metadata

  • Download URL: homegit-0.1.3.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

Hashes for homegit-0.1.3.tar.gz
Algorithm Hash digest
SHA256 ffc5d9015509970fc83988702f73f93b1cef96d09e1d42d9a3746fbc92122b9c
MD5 0319c81657a7901446222932ceb916c7
BLAKE2b-256 5b8faf7cf7a10ad9d0f3b28cef52dc96cf010a7ba2c16442bd6a09521f64f416

See more details on using hashes here.

File details

Details for the file homegit-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: homegit-0.1.3-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

Hashes for homegit-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 ecf8ec1c0aa683a2bffbea41480d8e80d24383f37125c876a4a1fb384d3490a8
MD5 fc1e6778761b34d66a27f80b6d0d11e1
BLAKE2b-256 77d06c9fac1ea5e42c18b213c6a7a091c674bf6b722885fe708fe2587d4fc55a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page