question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[git] git add to offer a wildcard extension

See original GitHub issue

When I update the docs for one of my GitHub projects (md2pptx as it happens) I generate a bunch of user_guide.* files. It’s my practice to add them with the following command:

git add user_guide.*

Today autocomplete offers each file individually. In my case I have several I want to add all at once. I like the individual file prompting but I’d like autocomplete to also offer the generic user_guide.*.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
QuiiBzcommented, Jul 13, 2021

Merged again in #358, using one generator (which is now really faster!)

0reactions
QuiiBzcommented, Jul 9, 2021

There are many other specs that use 2 generators, I don’t think that really slow. We should benchmark this to see if it’s really slow or not.

Read more comments on GitHub >

github_iconTop Results From Across the Web

"git add" using wildcard is not functioning as I hoped
When using my shell ( zsh ), I type git add *.cpp<TAB> , and the shell completes the wildcard to the full filenames....
Read more >
git-add Documentation - Git
This command can be performed multiple times before a commit. It only adds the content of the specified file(s) at the time the...
Read more >
Adding files for a commit with asterisks - tempertemper
To stage and commit them all in one move, use git commit -a or git commit -a -m "This is the commit message"...
Read more >
How can I get git to select txt files in the current directory alone
1 Answer 1 · With git add *.txt wildcard expansion is done by the shell, so git actually gets called with git add...
Read more >
How To Git Add All Files - devconnected
To add all files having a specific extension, you have to use the “git add” command followed by a wilcard and the extension...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found