Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/masayukig/git-upload

I don't want to care about the type of repositories when pushing a patch
https://github.com/masayukig/git-upload

development git openstack python python3

Last synced: 21 days ago
JSON representation

I don't want to care about the type of repositories when pushing a patch

Awesome Lists containing this project

README

        

==========
git-upload
==========

.. image:: https://circleci.com/gh/masayukig/git-upload.svg?style=shield
:target: https://circleci.com/gh/masayukig/git-upload

.. image:: https://img.shields.io/pypi/v/git-upload.svg
:target: https://pypi.python.org/pypi/git-upload

I don't want to care about the type of repositories when pushing a
patch.

Description
===========

When you use this ``git upload`` command in a repo managed by Gerrit
(supported only OpenStack repos, currently), this command runs ``git
review`` . And when you use this command in a repo managed by the
others, this command runs ``git push origin $CURRENT_BRANCH`` (you can
specify the remote repo and branch, of course :).

Installation
============

From source
-----------

::

$ git clone https://github.com/masayukig/git-upload
$ cd git-upload
$ sudo pip install -e .
or
$ pip install --user -e .
or
$ virtualenv ~/venv; source ~/venv/bin/activate; pip install .

From PYPI
---------

::

$ pip install git-upload
or
$ pip install --user git-upload
or
$ virtualenv ~/venv; source ~/venv/bin/activate; pip install git-upload

Usage
=====

::

$ git upload [] []
or you can use various options for `git push` or `git review`.