Monday, September 27, 2021

How many digits in git SHA to identify a commit?

 


How many digits in a git SHA makes it to identify the commit? 


7 digits are the Git default for a short SHA, so that's fine for most projects. 

For  ~30k commits, 8 or 10 digits should be perfectly fine.

==

To get the last abbreviated one:

git rev-parse --short HEAD

To list the log entries with abbreviated ones:
git log --abbrev-commit



Friday, August 6, 2021

Make ssh client to use specific private key

 

How to force use a specific private key for ssh client?


# ssh -v -i ~/.ssh/your_private_rsa  core@<IP address>



Sunday, August 1, 2021

Software and its alternatives

 

Software and its alternatives available:

https://alternativeto.net/

It has reviews from users.

One good example:
https://alternativeto.net/software/youtube/



firefox relay - anonymous email id


Firefox relay: 

https://relay.firefox.com/


Avoid sharing your original email ids for subscriptions and strangers. Share relay'd email id instead.

==

Another better alternative is:

https://simplelogin.io/