3 . "$(dirname "$0")/testlib.sh"
5 begin_test "push a file with the same name as a branch"
9 reponame="$(basename "$0" ".sh")"
10 setup_remote_repo "$reponame"
11 clone_repo "$reponame" repo
13 git lfs track "master"
14 echo "master" > master
15 git add .gitattributes master
16 git commit -m "add master"
18 git lfs push --all origin master 2>&1 | tee push.log
19 grep "Uploading LFS objects: 100% (1/1), 7 B" push.log