Last active
January 14, 2018 22:42
-
-
Save 20after4/a66a7a61cca9f6dc425b6583b2732da3 to your computer and use it in GitHub Desktop.
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
#!/bin/bash | |
set -e | |
for i in $( cat ~/gitfat.list ); do | |
scapdir=`dirname $i` | |
echo "cd $scapdir" | |
pushd $scapdir | |
git status | |
cat scap.cfg | |
sed -i.bak '/git_fat: True/a git_binary_manager: git-fat' scap.cfg | |
git add scap.cfg | |
#git commit -m 'add git_binary_manager: git-fat (See T184822)' -m 'This is to work around a bug in scap version 3.7.5-1' -m 'Bug: T184882'# | |
#current_branch=`git rev-parse --abbrev-ref HEAD` | |
#git push origin HEAD:refs/for/$current_branch | |
#git reset HEAD^ | |
#git co scap.cfg | |
popd | |
done | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment