git-clone and post-checkout hook

I suppose you could make a custom installation – rename the hooks in …/share/git-core/templates/hooks to remove the .sample suffix. You could also make a template directory full of symlinks to a hooks directory inside the repository, (e.g. post-checkout -> ../../hooks/post-checkout). Then if the cloned repo contained that particular hook, it’d get executed. You’re right, though, …

Read more

Git clone: Redirect stderr to stdout but keep errors being written to stderr

A MingW update provide a new way to handle redirection with Git 2.15.x/2.16 (Q1 2018) See commit b2f5571, commit 1a172e4, commit 3f94442 (01 Nov 2017) by Johannes Schindelin (dscho). (Merged by Junio C Hamano — gitster — in commit 421f21c, 09 Nov 2017) mingw: add experimental feature to redirect standard handles Particularly when calling Git …

Read more

Visual studio 2017 with bitbucket, terminal prompts disabled

I had the same issue, I found an answer that worked for me here: https://github.com/github/VisualStudio/issues/949 Below are the steps mentioned to fix: It seems that the bundled Git-Credential-Manager-for-Windows/ in VIsual Studio 2017 is not the latest release. Downloading the latest release and putting it on top of the files in Visual Studio 2017 worked for …

Read more