Skip to main content

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]
; 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

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

git-lazy-0.1.5.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distributions

git_lazy-0.1.5-py2.py3-none-any.whl (7.5 kB view hashes)

Uploaded Python 2 Python 3

git_lazy-0.1.5-py2.7.egg (5.4 kB view hashes)

Uploaded Source

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