CmdID

CmdID / Commands

git-sed

Replace patterns in git-controlled files using sed. tldr-pages

On several platforms

Opens CmdID with your command. It is read in your browser and sent nowhere.

Several platforms

from tldr-pages, CC BY 4.0

Replace patterns in git-controlled files using sed. Part of git-extras.

Replace the specified text in the current repository

git sed 'find_text' 'replace_text'Identify

Replace the specified text and then commit the resulting changes with a standard commit message

git sed -c 'find_text' 'replace_text'Identify

Replace the specified text, using regex

git sed -f g 'find_text' 'replace_text'Identify

Replace a specific text in all files under a given directory

git sed 'find_text' 'replace_text' -- path/to/directoryIdentify