GithubHelp home page GithubHelp logo

doesn't work about git-search HOT 4 CLOSED

gaetanopiazzolla avatar gaetanopiazzolla commented on July 18, 2024
doesn't work

from git-search.

Comments (4)

GaetanoPiazzolla avatar GaetanoPiazzolla commented on July 18, 2024

I'm sorry to ear that.
If you can provide me with some information about the error maybe I can fix it for you.

from git-search.

cauerego avatar cauerego commented on July 18, 2024

well... it's all in italian so i don't know even where to begin! 🤣

really, just wanted to give you a heads up and kudos for trying to fix this hairy issue...

i would still love to get it fixed, though https://stackoverflow.com/questions/64810208/search-both-history-log-and-files-on-git-with-termux-and-regexp/274502

from git-search.

GaetanoPiazzolla avatar GaetanoPiazzolla commented on July 18, 2024

This project Is a UI built around Git grep command, but It searches in all branches of specified projects.

Check here the alias for Git search: maybe It can help you.
https://link.medium.com/6Bm23kchnbb

from git-search.

cauerego avatar cauerego commented on July 18, 2024

sounds great! but i'm not even using branches (although i probably should). just needed to search the log. 😁

plus, it still doesn't work on my termux. i mean, it does bring up to 2 results in a great fashion, but then it literally crashes in halt. i can only terminate the whole termux process after just less than 1 second running it.

perhaps i'll manage to tweak it for my needs... we'll see. 😏

anyway, thanks!

this was kind of a non-issue from the beginning...

ps: i'll copy the relevant part here in case it helps someone who might be unable to see the article:

The second (and best) way is to edit the file named `.gitconfig` that should be present in your home directory adding a new section named `[alias]` if not already present.
[user]
 name = gpiazzolla
 email = [email protected]
[alias]
  {aliasName} = {command}

The Aliases

Search every branch for a given reg-exp
search = ! git branch -a | sed '/->/d' | sed 's/\\*//' | xargs git grep -n -I
This AWESOME command searches in every local and remote branch for a given text. The first TOKEN is the name of the branch, the second is the FILE where the regex has found a match, the third is the content with the colored text. In the next image there is the ouput of the command git search fixes I’ve run on spring-security repository.

from git-search.

Related Issues (1)

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.