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.0.2.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.0.2-py3-none-any.whl (4.6 kB view details)

Uploaded Python 3

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

Hashes for homegit-0.0.2.tar.gz
Algorithm Hash digest
SHA256 94d47a2e9c28429b49075a71743ed6746929307c2f031a947ddfe58512823d04
MD5 425e413b33317c7d41cee8a2442aefe8
BLAKE2b-256 27a05ff4b8192951d3fbeef4dab4da17fc6bf1f36a18de540bda395e228557b4

See more details on using hashes here.

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

Hashes for homegit-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 72ef407f05ec969858e18e3eb0101bc82a2f155049034c85ee2c9029438220d4
MD5 2bbef2c093988a6835f2eb751332af2f
BLAKE2b-256 447d0cc0a9939ced96c0b512047a2dddce6007da3817278ad8fe1dd6137f2b5a

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