origin: gitlab.com live: myserverI setup a `post-receive` hook in a bare repo on my server to deploy changes into the live folder (brand new, empty folder for testing) Issued `git push live master` First attempt:
stdin: is not a tty Counting objects: 454, done. Delta compression using up to 4 threads. Compressing objects: 100% (396/396), done. Writing objects: 100% (454/454), 2.52 MiB | 3.49 MiB/s, done. Total 454 (delta 45), reused 441 (delta 43) remote: Resolving deltas: 100% (45/45), done. hint: The 'hooks/post-receive' hook was ignored because it's not set as executable. hint: You can disable this warning with `git config advice.ignoredHook false`. To 220.127.116.11:/home/abseenet/git * [new branch] master -> masterSo I see that my post-receive hook was not executable so I fixed that and ran again. Now, everytime I run it, I get:
stdin: is not a tty Everything up-to-dateChecking the repo on the server - the directory is completely empty... there is nothing there. How can I force an update or tell git to look again and that everything is not up to date?