Forrest logo
back to context overview

git-sed

List of commands for git-sed:

  • git-sed:tldr:1b34f git-sed: Replace the specified text in the current repository.
    $ git sed '${find_text}' '${replace_text}'
    try on your machine
    explain this command
  • git-sed:tldr:3f71b git-sed: Replace the specified text, using regular expressions.
    $ git sed -f g '${find_text}' '${replace_text}'
    try on your machine
    explain this command
  • git-sed:tldr:8d41d git-sed: Replace the specified text and then commit the resulting changes with a standard commit message.
    $ git sed -c '${find_text}' '${replace_text}'
    try on your machine
    explain this command
back to context overview