[llvm-dev] I've gone and broken the build
Paul C. Anagnostopoulos via llvm-dev
llvm-dev at lists.llvm.org
Sat Sep 12 16:32:33 PDT 2020
At 9/12/2020 06:00 PM, Mehdi AMINI wrote:
>Hi Paul,
>
>If you setup the git hook as indicated here:Â <https://llvm.org/docs/GettingStarted.html#git-pre-push-hook>https://llvm.org/docs/GettingStarted.html#git-pre-push-hook ; it'll ask for confirmation before pushing multiple commits.
>
>Also the section right before gives the manual recipe before pushing:
>
>
># Check that the list of commits about to be pushed is correct.
>% git log origin/master...HEAD --oneline
Yes, I know I should do the 'git log'. Now I just have to force myself into the right habits. I have an alias to make it easier.
I'm on Windows. Is there a way to set up that hook?
More information about the llvm-dev
mailing list