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
#!/bin/bash | |
# A simple bash script that creates a custom git command to ignore ALL kinds of | |
# modifications (untracked files, modified files, etc) | |
# Installation: run `sudo sh git-cagate.sh` | |
# Usage: run `git cagate` to ignore ALL modifications | |
cd /bin/ || exit | |
touch git-cagate | |
echo "touch .empty" >> git-cagate |