{ "info": { "author": "UNKNOWN", "author_email": "UNKNOWN", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Topic :: Software Development :: Quality Assurance", "Topic :: Software Development :: Version Control", "Topic :: Text Processing" ], "description": "git-sweep\n=========\n\n.. image:: https://travis-ci.org/myint/git-sweep.svg?branch=master\n :target: https://travis-ci.org/myint/git-sweep\n :alt: Build status\n\nA command-line tool that helps you clean up Git branches that have been merged\ninto master.\n\nThis is a fork that adds Python 3 support (in addition to Python 2). The\noriginal is at https://github.com/arc90/git-sweep.\n\nThe problem\n-----------\n\nYour ``master`` branch is typically where all your code lands. All features\nbranches are meant to be short-lived and merged into ``master`` once they are\ncompleted.\n\nAs time marches on, you can build up **a long list of branches that are no\nlonger needed**. They've been merged into ``master``, what do we do with them\nnow?\n\nThe answer\n----------\n\nUsing ``git-sweep`` you can **safely remove remote branches that have been\nmerged into master**.\n\nTo install it run::\n\n $ pip install git-sweep3k\n\nTry it for yourself (safely)\n----------------------------\n\nTo see a list of branches that git-sweep detects are merged into your master\nbranch:\n\nThe ``--dry-run`` option doesn't make any changes to your repository::\n\n $ git sweep --dry-run\n Fetching from the remote\n These branches have been merged into master:\n\n branch1\n branch2\n branch3\n branch4\n branch5\n\n To delete them, run again without --dry-run\n\nIf you are happy with the list, you can run the command that deletes these\nbranches from the remote::\n\n $ git sweep\n Fetching from the remote\n These branches have been merged into master:\n\n branch1\n branch2\n branch3\n branch4\n branch5\n\n Delete these branches? (y/n) y\n deleting branch1 (done)\n deleting branch2 (done)\n deleting branch3 (done)\n deleting branch4 (done)\n deleting branch5 (done)\n\n All done!\n\n Tell everyone to run `git fetch --prune` to sync with this remote.\n (you don't have to, yours is synced)\n\n*Note: this can take a little time, it's talking over the tubes to the remote.*\n\nYou can also give it a different name for your remote and master branches::\n\n $ git sweep --dry-run --master=develop --origin=github\n ...\n\nTell it to skip the ``git fetch`` that it does by default::\n\n $ git sweep --dry-run --no-fetch\n These branches have been merged into master:\n\n branch1\n\n To delete them, run again without --dry-run\n\nMake it skip certain branches::\n\n $ git sweep --dry-run --skip=develop\n Fetching from the remote\n These branches have been merged into master:\n\n important-upgrade\n upgrade-libs\n\n To delete them, run again without --dry-run\n\nOnce git-sweep finds the branches, you'll be asked to confirm that you wish to\ndelete them::\n\n Delete these branches? (y/n)\n\nYou can use the ``--force`` option to bypass this and start deleting\nimmediately::\n\n $ git sweep --skip=develop --force\n Fetching from the remote\n These branches have been merged into master:\n\n important-upgrade\n upgrade-libs\n\n deleting important-upgrade (done)\n deleting upgrade-libs (done)\n\n All done!\n\n Tell everyone to run `git fetch --prune` to sync with this remote.\n (you don't have to, yours is synced)\n\nRequirements\n------------\n\n* Git >= 1.7\n* Python >= 2.6 or >= 3.2\n\nLicense\n-------\n\nFriendly neighborhood MIT license.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/myint/git-sweep", "keywords": "git,maintenance,branches", "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "git-sweep3k", "package_url": "https://pypi.org/project/git-sweep3k/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/git-sweep3k/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/myint/git-sweep" }, "release_url": "https://pypi.org/project/git-sweep3k/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "Clean up branches from your Git remotes", "version": "0.3.1" }, "last_serial": 1207121, "releases": { "0.3": [ { "comment_text": "", "digests": { "md5": "5035aa9225a8fd5080f21d4f893a235e", "sha256": "d21ffe88dba63b9ad6ab7e6c5b14c602620f292f4df3955ec5788eb6ba81d23a" }, "downloads": -1, "filename": "git-sweep3k-0.3.tar.gz", "has_sig": false, "md5_digest": "5035aa9225a8fd5080f21d4f893a235e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4606, "upload_time": "2013-12-01T18:12:35", "url": "https://files.pythonhosted.org/packages/f0/f9/482c3dac38ace7a7ed3d82c9b7571bd6aa6a0507e4d4cc1e3fefd53e3126/git-sweep3k-0.3.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "eab94a182d41461219ac403c4dfc1448", "sha256": "e3244b72d5140f77842f1125376a85053737b75cd2502a32860d5a65638f99a8" }, "downloads": -1, "filename": "git-sweep3k-0.3.1.tar.gz", "has_sig": false, "md5_digest": "eab94a182d41461219ac403c4dfc1448", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4682, "upload_time": "2014-08-30T02:00:22", "url": "https://files.pythonhosted.org/packages/12/1b/ef0f82ac34778c39b388771df670d548f56e54f0113f2faca4404eb13f54/git-sweep3k-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "eab94a182d41461219ac403c4dfc1448", "sha256": "e3244b72d5140f77842f1125376a85053737b75cd2502a32860d5a65638f99a8" }, "downloads": -1, "filename": "git-sweep3k-0.3.1.tar.gz", "has_sig": false, "md5_digest": "eab94a182d41461219ac403c4dfc1448", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4682, "upload_time": "2014-08-30T02:00:22", "url": "https://files.pythonhosted.org/packages/12/1b/ef0f82ac34778c39b388771df670d548f56e54f0113f2faca4404eb13f54/git-sweep3k-0.3.1.tar.gz" } ] }