Showing posts with label Git. Show all posts
Showing posts with label Git. Show all posts

Monday, May 6, 2019

GIT for Windows

Having somehow installed git for windows a long time ago, I am now happily realizing that it runs fine from the DOS command line. That is all I need, except for some clues.

This guide is fucking amazing and the bomb: https://git-scm.com/book/en/v2
Here is how I fixed my "git clone fatal: unable to access SSL certificate problem unable to get local issuer certificate" problem: https://stackoverflow.com/questions/23885449/unable-to-resolve-unable-to-get-local-issuer-certificate-using-git-on-windows
This seems to indicate that plain notepad should work for the git commit message editor, and also that I can just fuck the git commit message editor by using the -m argument with my commits: https://stackoverflow.com/questions/10564/how-can-i-set-up-an-editor-to-work-with-git-on-windows
This article showed me how to get around the HTTP Basic: access denied problem that was occurring due to the recent change in my NDC password. There are lots of seriously important suggestions here, but I just did the one where I directly enter my user name and password into the https link to my repository: https://stackoverflow.com/questions/47860772/gitlab-remote-http-basic-access-denied-and-fatal-authentication
My main reason for getting git for Windows is so that I would be able to add all my files at once to my next project instead of one at a time through the web interface. Of course it's not easy, and the info was buried in the greatest tutorial in the world so I just googled it and found the relevant Stack Overflow thread. I used the commands "git add ." and "git -a -m "message"" method instead of the other fancier looking methods in this thread:
https://stackoverflow.com/questions/19576116/how-to-add-multiple-files-to-git-at-the-same-time




Sunday, June 4, 2017

ERR_CERT_COMMON_NAME_INVALID

For some reason, I can't get to our Github using Chrome, it is reporting an insecure connection with the error ERR_CERT_COMMON_NAME_INVALID. This seems like a crap error, and the admin of our github likes fancy linux tricks one of which may have caused this problem, or the problem might be with Chrome.

Here is a nice page on how to check if the problem is Chrome. So far the first few hints haven't worked but I'm only halfway through the list: https://www.xtremerain.com/fix-err-cert-common-name-invalid/