Git push to live server

Yes you can push directly to your webserver, but I wouldn’t recommend it since you should only push to repositories cloned with the –bare argument. I’d utilize the Git hook system to let the main repository automatically update the repo on the web server. Check out the post-update hook in: http://git-scm.com/docs/githooks This script could in …

Read more

Unknown SSL protocol error in connection

You can get more information with # Windows set GIT_CURL_VERBOSE=1 set GIT_TRACE_PACKET=2 # Unix export GIT_CURL_VERBOSE=1 export GIT_TRACE_PACKET=2 And then try a git push. Double-check your proxy settings if you have one. Note: git 2.8 (March 2016) adds more information on an error 35: See commit 0054045 (14 Feb 2016) by Shawn Pearce (spearce). (Merged …

Read more

An image does not exist locally with the tag: while pushing image to local registry

You need to tag and push the image. When tagging an image, you can use the image identifier (imageId). It is listed when showing the list of all images with docker images. Syntax and an example (using imageId) for creating a tag are: docker tag <imageId or imageName> <hostname>:<repository-port>/<image>:<tag> docker tag af340544ed62 example.com:18444/hello-world:mytag Once the …

Read more