Skip to main content

Git my dotfiles!

Project description

Git my dotfiles!

Version on pypi Tested with Github Actions Python versions tested (link to github project)

gdot is a python CLI that allows to easily roam one’s dotfile configs (such as ~/.bashrc and ~/.config/...) between multiple machines.

Getting started:

# On first login, associate your local files to a remote git repo
gdot attach github:myuserid

# Pull changes from your remote git store any time
gdot pull

# Add some files to track
gdot add ~/.bashrc ~/.config/htop/

# When you made some local changes, push them to your git store
gdot push

# Optionally, you can specify a commit message
gdot push -m "Changed qtile settings"

# See what's changed since you last push/pull-ed
gdot status
gdot diff

Installation

Install it with pickley:

pickley install gdot            # Grab the latest
pickley install gdot==1.0.0     # Or pin to a specific version

Or in a venv:

python3 -mvenv ~/.local/venvs/gdot
~/.local/venvs/gdot/bin/pip install gdot

# Then put a symlink to a folder that is in your PATH:
ln -s ~/.local/venvs/gdot/bin/gdot ~/.local/bin/gdot

# Or simply alias it:
alias gdot=~/.local/venvs/gdot/bin/gdot

# You can upgrade it like so:
~/.local/venvs/gdot/bin/pip install -U gdot

# Or pin to a specific version:
~/.local/venvs/gdot/bin/pip install -U gdot==1.0.0

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

gdot-0.0.2.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

gdot-0.0.2-py2.py3-none-any.whl (6.7 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file gdot-0.0.2.tar.gz.

File metadata

  • Download URL: gdot-0.0.2.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

File hashes

Hashes for gdot-0.0.2.tar.gz
Algorithm Hash digest
SHA256 52dcda7e6448b11fc75b2a37b44ab5ccae7c1bd9c52adeb395ac887e945cf721
MD5 477122c592cda08edadd90f846eab7eb
BLAKE2b-256 6313fd439c2e77196ec38e1e7cd8ee801480190d24cd7257a0239514d13b3edb

See more details on using hashes here.

File details

Details for the file gdot-0.0.2-py2.py3-none-any.whl.

File metadata

  • Download URL: gdot-0.0.2-py2.py3-none-any.whl
  • Upload date:
  • Size: 6.7 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.0.post20201221 requests-toolbelt/0.9.1 tqdm/4.55.0 CPython/3.8.6

File hashes

Hashes for gdot-0.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 8ba9192bcb6d3d5c964b78103151345aff343d2c5e5298dac523796d2a2c275a
MD5 51356d2e906bddda192ec6a712eddd31
BLAKE2b-256 3662b3469e0ca8d69bcab38b68578f4bc1fd285545d5b65314b3a37afdf867c0

See more details on using hashes here.

Supported by

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