1
0
mirror of https://github.com/aquatix/dotfiles.git synced 2025-12-06 22:55:10 +01:00
Files
dotfiles/bin/git_executable.sh

8 lines
144 B
Bash
Executable File

#!/bin/bash
if [ -n "$1" ]; then
chmod +x $1
git update-index --chmod=+x $1
else
echo "Provide a target file to make executable"
fi