跳转到主要内容

Git我的dotfiles!

项目描述

Git我的dotfiles!

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

gdot是一个Python命令行工具,允许用户轻松地将自己的dotfile配置(如~/.bashrc~/.config/...)在多台机器之间迁移。

入门

# 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

安装

使用pickley安装

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

或者在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

项目详情


下载文件

下载适用于您平台的应用程序。如果您不确定选择哪个,请了解有关安装包的更多信息。

源分布

gdot-0.0.2.tar.gz (5.9 kB 查看哈希值)

上传时间:

构建分布

gdot-0.0.2-py2.py3-none-any.whl (6.7 kB 查看哈希值)

上传于 Python 2 Python 3

支持者