Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ git filter-branch -f --env-filter "GIT_AUTHOR_NAME='<new_username>'; GIT_AUTHOR_EMAIL='<new_email>'; GIT_COMMITTER_NAME='<new_username>'; GIT_COMMITTER_EMAIL='<new_email>';" HEAD | |
| $ git push -f |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Let's say you've .yaml.j2 files in a directory and | |
| # you want to make copy for each file, for ex: | |
| # files you have : config1.yml.j2 config2.yml.j2 porperties1.yml.j2 setup.yml.j2 | |
| # files you want : config1.yml.j2 config1_new.yml.j2 config2.yml.j2 config2_new.yml.j2 porperties1.yml.j2 porperties1_new.yml.j2 setup.yml.j2 setup_new.yml.j2 | |
| for filename in *.yml.j2; do mv $filename ${filename%.yaml.j2}_new.yml.j2; done |