This file contains 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_COMMITTER_DATE="DATE_HERE" git commit --amend --no-edit --date "DATE_HERE" | |
Iran date format: Mon 20 Aug 2022 20:00:00 IRDT | |
British date format: Mon 20 Aug 2022 20:00:00 BST | |
Example: | |
GIT_COMMITTER_DATE="Mon 20 Aug 2022 20:00:00 IRDT" git commit --amend --no-edit --date "Mon 20 Aug 2022 20:00:00 IRDT" |
This file contains 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 --tree-filter 'rm -rf path/to/your/file' HEAD |
This file contains 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
\{\/\*(.*)\*\/\} |