GithubHelp home page GithubHelp logo

craciuncezar / git-smart-checkout Goto Github PK

View Code? Open in Web Editor NEW
57.0 57.0 1.0 6.7 MB

๐Ÿง  A command-line utility for switching git branches more easily. Switch branches interactively or use a fuzzy search to find that long-forgotten branch name.

License: MIT License

Rust 92.88% Shell 7.12%
fuzzy-search git git-checkout

git-smart-checkout's Introduction

git-smart-checkout's People

Contributors

craciuncezar avatar imgbotapp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

fish895623

git-smart-checkout's Issues

Add more git smart features

This is a nice tool. I wonder what you'd think about extending it to include more git features? The top one I can think of right now would be git-smart-delete:

  • Populate the same initial list of branches as git-smart-checkout
  • Instead of a fuzzy matcher, I think you'd want something like prefix matching to be able to delete multiple branches at once, or the option to choose different matchers
  • Confirm which branches are being deleted; maybe warn for ones that aren't merged yet or don't delete those by default

I know you can just do `git branch --merged | grep -Ev "^*|main|master" | xargs git branch -d", but the more helpful UI of smart-checkout would make me feel better about cleaning up my branches, so I think this could be a good addition.

The documentation on Crate. io is not the same as that on Github

According to the documentation on Crate. IO, I tried to install the CREATE today, but it showed --> could not find smart-checkout in registry crates-io with version *

steps:

  1. First : cargo install smart-checkout
error: could not find `smart-checkout` in registry `crates-io` with version `*`
  1. then: cargo search smart-checkout
smart-checkout = "0.0.0"        # A better way of switching git branches.
git-smart-checkout = "0.1.0"    # A better way of switching git branches.
  1. so: The installation command should be cargo install git-smart-checkout , rather than cargo install smart-checkout
๐Ÿ’€ 97% ๐Ÿš€ โฏโฏโฏ cargo install git-smart-checkout
    Updating crates.io index
  Downloaded git-smart-checkout v0.1.0
  Downloaded 1 crate (2.0 MB) in 4.54s

In fact, the Github documentation says cargo install Git-smart-checkout should be used.

Crate.io is not consistent with github.

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.