Giter Site home page Giter Site logo

jgarte / git-gone Goto Github PK

View Code? Open in Web Editor NEW

This project forked from swsnr/git-gone

0.0 1.0 0.0 118 KB

Cleanup stale Git branches of pull requests

Home Page: https://crates.io/crates/git-gone

License: Apache License 2.0

Rust 51.42% Shell 23.73% Roff 24.85%

git-gone's Introduction

GIT-GONE(1)                        git-gone                        GIT-GONE(1)

NAME
       git-gone - prune "gone" Git branches

SYNOPSIS
       git gone [-fv] list
       git gone [-fv] prune

DESCRIPTION
       Lists or removes "gone" branches, that is, local branches which used to
       have an upstream branch on a remote which is now removed.

       This situation typically occurs in a pull request workflow where the
       upstream branch gets deleted on the server after merging a pull
       request, leaving the local branch from which the pull request
       originated in place. git gone easily removes these left-over branches.

COMMANDS
       list
           List all gone branches.

       prune
           Delete all gone branches.

           Prints a list of deleted branches including a command to restore
           the branch as long as the referenced commit is still in the reflog.

OPTIONS
       -f, --fetch
           Run git fetch --prune --all first.

       -v, --verbose
           Print detailed progress when fetching.

       -V, --version
           Print the version number and exit.

EXIT STATUS
       0 on success, non-zero otherwise.

BUGS
       Please report bugs to https://github.com/lunaryorn/git-gone/issues.

SEE ALSO
       git(1)

       All credits for the idea go to Eugene Yokota (see
       http://eed3si9n.com/):

       •   git gone: cleaning stale local branches at
           http://eed3si9n.com/git-gone-cleaning-stale-local-branches

       •   git-gone in Bash at https://github.com/eed3si9n/git-gone

COPYRIGHT
       Copyright 2018-2020 Sebastian Wiesner [email protected]

       Licensed under the Apache License, Version 2.0 (the "License"); you may
       not use this file except in compliance with the License. You may obtain
       a copy of the License at http://www.apache.org/licenses/LICENSE-2.0.

       Unless required by applicable law or agreed to in writing, software
       distributed under the License is distributed on an "AS IS" BASIS,
       WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
       implied. See the License for the specific language governing
       permissions and limitations under the License.

AUTHOR
       Sebastian Wiesner

git-gone 0.3.7                                                     GIT-GONE(1)

git-gone's People

Contributors

dependabot-preview[bot] avatar dependabot-support avatar dependabot[bot] avatar swsnr avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.