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
| function release() { | |
| if ! git diff --quiet || ! git diff --cached --quiet; then | |
| echo "Working directory not clean. Commit or stash changes first." | |
| return 1 | |
| fi | |
| git checkout main | |
| git pull |
OlderNewer