2 min read
For Git users, the Secure Shell (SSH) protocol is the go-to choice for authenticating and communicating with remote repositories. How can we configure the correct SSH key to use?
26/10/2023
Read more...1 min read
To pin some code to a specific version we can use a commit ID instead of a tag but using such a long string might feel a tad cumbersome:
$ git log
commit fb944d599d5487229463478928834cac20963f75 (HEAD -> main)
Author: Eric <some@thing.com>
Date: Wed Jun 7 20:27:17 2023 +0100
Fix exit with no error when cert violates lookahead (#2395)
(...)
22/06/2023
Read more...1 min read
If we need to change the existing commits we can use the git filter-branch command to, for example, replace strings, among many other changes we can do
15/06/2022
Read more...2 min read
When defining ArgoCD Applicacions it can come handy to be able to use it's commit id as a variable. This comes specially handy when using ApplicacionSets
09/06/2022
Read more...4 min read
If we have included a file that shouldn't be in a git repository, we can remove it from all the commits that it is present using filter-branch
25/05/2022
Read more...