Sync repos across development environments. Bulk status|push|pull operations on git repos.
Project description
Git Lazy
Author:Tim Santor tsantor@xstudios.agency
Overview
Git-Lazy is a tool for lazy developers like me. I typically work on not only my work computer, but my home office computer or a laptop when I am on the go. Using Git-Lazy, I can easily search directories for Git repos and add them to a file which will be synced by Dropbox or Google Drive. Then, when I move to another machine mentioned above, I can simply run git-lazy --sync and my current development environment will create all the repos I need. It can also run bulk status|push|pull operations on all my git repos.
Installation
To install Git Lazy, simply:
pip install git-lazy
Then create a config file ^/config/git-lazy.cfg:
[default] ; Usernames for repos we're interesting in repo_users=tsantor,xstudios ; File to contain all repos we want to manage (preferably on a Cloud Drive) repo_list=^/Google Drive/Personal/repo_list.json ; The top-level directories we want to traverse to find repos search_dirs=^/Projects,^/Sandbox
Usage
git-lazy --find # find all repos git-lazy --sync # sync all repos git-lazy --add ^/repo/dir # Add a repo to the list git-lazy --remove ^/repo/dir # Remove a repo from the list git-lazy -m status # perform git status on all repos git-lazy -m pull # perform git pull on all repos git-lazy -m push # perform git push on all repos git-lazy --remove_interactive # Remove repos NOTE: For all available methods run ``git-lazy -h``
Issues
If you experience any issues, please create an issue on Bitbucket.
History
All notable changes to this project will be documented in this file. This project adheres to Semantic Versioning.
0.1.0 (2016-03-01)
First release on PyPI.
0.1.1 (2016-03-04)
Do not attempt to do git operations on non-existent repos on current machine.
0.1.5 (2017-02-21)
Various enhancements
0.1.7 (2017-04-04)
Bug fix where using --find after already using it would only create a repo list of the newly found repos.
0.1.8 (2017-04-24)
Bug fix where using --find would add repos twice.
0.1.9 (2017-06-25)
Added --update_origins to update all repo urls from HTTPS to SSH
0.2.0 (2017-08-04)
Fixed bug with --find
0.2.1 (2017-08-04)
Fixed bug with --find when no origin set
Update update_origins regex logic to handle https and ssh schemes
Added repo_users to config (comma-delimited)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file git-lazy-0.2.1.tar.gz
.
File metadata
- Download URL: git-lazy-0.2.1.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e02789d69121f59961aa01852266d6c8b256f840166f070f7e351e5e5108fdb9 |
|
MD5 | 808e450d0d814851685a14d5895694ae |
|
BLAKE2b-256 | b4a4f65895649435594c8b3dd4d3bfd3ea0d46b55004cc689e6161f60c9362f9 |
File details
Details for the file git_lazy-0.2.1-py2.py3-none-any.whl
.
File metadata
- Download URL: git_lazy-0.2.1-py2.py3-none-any.whl
- Upload date:
- Size: 7.8 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c2f0d96b646be198d990a819114dcb84ceeebe73e93fda06d44f667639798751 |
|
MD5 | 05433ed34ced1b596ddf3c293884b645 |
|
BLAKE2b-256 | d7c1ff41c36c392129e73712b5e9dd064da071b8eacc20d45f48763fdcf6d3eb |