- Temporary Ignore a File:
To ignore a file temporarily, use:
git update-index --assume-unchanged <filename> - Revert Temporary Ignore:
To undo the ignore command and track the file again:
git update-index --no-assume-unchanged <filename>
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
| { | |
| "name": "Protect Main Branch", | |
| "target": "branch", | |
| "enforcement": "active", | |
| "conditions": { | |
| "ref_name": { | |
| "exclude": [], | |
| "include": ["~DEFAULT_BRANCH"] | |
| } |