Is it possible in git to create a new, empty remote branch without pushing?

As mentioned in the blog post “Start a New Branch on your Remote Git Repository”: Creating a Remote Branch git push origin origin:refs/heads/new_feature_name Make sure everything is up-to-date git fetch origin Then you can see that the branch is created. git branch -r This should show ‘origin/new_feature_name’ Start tracking the new branch git checkout –track … Read more

Why does Zipping the same content twice gives two files with different SHA1?

According to Wikipedia http://en.wikipedia.org/wiki/Zip_(file_format) seems that zip files have headers for File last modification time and File last modification date so any zip file checked into git will appear to git to have changed if the zip is rebuilt from the same content since. And it seems that there is no flag to tell it … Read more

Git pull – smudge filter lfs failed

In my case the SSH-authenticated repository was updated to use LFS from another client and on my side Git-LFS didn’t know about the SSH remote-url. What I did to fix it was the following: Copy the URL configured in remote.origin.url (push URL for origin) to lfs.url (the URL LFS uses): $ git config lfs.url $(git … Read more

Git is moving to new hashing algorithm SHA-256 but why git community settled on SHA‑256

I have presented that move in “Why doesn’t Git use more modern SHA?” in Aug. 2018 The reasons were discussed here by Brian M. Carlson: I’ve implemented and tested the following algorithms, all of which are 256-bit (in alphabetical order): BLAKE2b (libb2) BLAKE2bp (libb2) KangarooTwelve (imported from the Keccak Code Package) SHA-256 (OpenSSL) SHA-512/256 (OpenSSL) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)