outletvast.blogg.se

Ripgrep gui
Ripgrep gui












ripgrep gui

These are tools that usually end up aliased to a more plain-vanilla command, so that you often forget you’re benefitting from the extra pizzaz they bring to whatever command that might be. fzf - command line fuzzy finder is a good video to watch. If you want to dive into fzf more (and you should), Alexey Samoshkin’s Vim universe. Quickly and easily finding co-authors via fzf

ripgrep gui

  • Pipe that to the clipboard for easy pasting.
  • Append the selected name & email to the string “Co-authored-by: ".
  • Send the list to fzf for fuzzy finding magic.
  • Find commit authors’ names and emails for the last 1000 commits in git’s log.
  • Once the alias is setup, typing coauth will: Your local server is running on localhost:1313 but you’d like a publicly-accessible URL to hand to your proofreaders.Īlias coauth = 'printf "Co-authored-by: %s" "$(git log -pretty=format:"%an " -1000 | sort | uniq | fzf)" | pbcopy' You want to go through one round of proofreading and edits before going to PR. Let’s say-and this is strictly hypothetical-that you’re writing a blog post.
  • Webhooks or 3rd party APIs that need to call back to a publicly accessible URL.
  • Enabling your remote coworkers to test or review your locally-running app.
  • ngrok’s website describes it as: “One command for an instant, secure URL to your localhost server through any NAT or firewall.” Why would this be useful? Let me count the ways: Not every project will need ngrok, but when you do, you’ll be using it on a daily basis. Whoo-whee! That is one beautifully consistent interface!Īs already mentioned, gh is currently beta software, but by the time you read this post (hello, future you!) it may be ready to supplant (or having already supplanted) hub, so it’s worth talking about both. Gh pr view is the equivalent of hub browse, with the extra ability of being able to open any pull request in the browser, not just the current branch. Gh pr checkout is the equivalent of hub pr checkout. Gh pr create is the equivalent of hub pull-request. gh fixes that, merging all pull request operations under one pr subcommand: One of the confusing parts of hub is that it has two different subcommands for doing things with pull requests, as highlighted with the hub pull-request and hub pr checkout commands above. hub pr checkout 123 finds the associated remote branch and pulls it down locally. Let’s say you need to run a particular PR, #123, locally as part of reviewing and testing it. Hub pr checkout lets you checkout a specific pull request. hub pull-request -d can be used to create draft pull requests. Hub pull-request lets you create a pull request without having to leave the command line. It’s particularly handy when you want the latest on master for a rebase but don’t want to have to mess around with checking out master, doing the git pull, and then checking out your branch again. Hub sync is like doing a git pull for all of your local branches. I personally prefer viewing diffs in GitHub’s UI, so this is a nice shortcut to pop from the command line over to the browser. Hub browse opens your current branch on GitHub in your default browser. For example, if you want to find all the TODO comments in your JavaScript files: Test Double agents are split pretty evenly with one vote also for git grep.īoth tools let you specify a pattern to constrain searches. The Silver Searcher came along first, but ripgrep is slightly faster. Ripgrep and The Silver Searcher ( rg and ag respectively on the command-line) were both written as faster replacements for ack, but much, much faster. Next up are the everyday tools, the workhorses of a typical day writing code.

    Ripgrep gui how to#

    Consequently tldr is an indispensable reminder of how to get stuff done. I do not remember things like where I put my wallet, so I’m definitely not going to remember how to tar and gzip a directory. Compare man tar versus its tldr tar counterpart: Where was tldr back when I was in college?!? man pages were so detailed and in-depth that finding command-line help was a definite chore. That said, a simple Brewfile (with backups of course) is a great way to get up and running after disaster and/or a new hardware purchase. Some tools, like Brooke Kuhlmann’s macOS or ThoughtBot’s Laptop, expand on the Brewfile to create a rich system for quickly spinning up a new Mac.














    Ripgrep gui