Skip to main content

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)

Metadata

Release files for git-lazy 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for git-lazy 0.2.1
File Size Uploaded
git-lazy-0.2.1.tar.gz 7.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for git-lazy 0.2.1
File Interpreter ABI Platform
git_lazy-0.2.1-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 15.0 kB

Release files / git-lazy-0.2.1.tar.gz

Download URL git-lazy-0.2.1.tar.gz
Size 7.2 kB
Tags Source
SHA-256 checksum
How to use checksums
e02789d69121f59961aa01852266d6c8b256f840166f070f7e351e5e5108fdb9
BLAKE2b-256 checksum
How to use checksums
b4a4f65895649435594c8b3dd4d3bfd3ea0d46b55004cc689e6161f60c9362f9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / git_lazy-0.2.1-py2.py3-none-any.whl

Download URL git_lazy-0.2.1-py2.py3-none-any.whl
Size 7.8 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
c2f0d96b646be198d990a819114dcb84ceeebe73e93fda06d44f667639798751
BLAKE2b-256 checksum
How to use checksums
d7c1ff41c36c392129e73712b5e9dd064da071b8eacc20d45f48763fdcf6d3eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.8

3 release files

0.1.7

3 release files

0.1.6

1 release file

0.1.5

3 release files

0.1.4

3 release files

0.1.3

3 release files

0.1.1

3 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page