Category: Git


How to add multiple ssh keys for a single user

If you are using mul­ti­ple email addresses for dif­fer­ent ser­vices and each of them require you to enter a dif­fer­ent pub­lic key, then you need to have a pub­lic key gen­er­ated locally for each…


How to see the changes in a git stash without pop

These two com­mands will help you exam­ine your git stash with­out mess­ing with your work­ing direc­tory To see the files changed in the lat­est stash git stash show To see the changes made in the…


error: pathspec did not match any file(s) known to git

Have you encoun­tered the fol­low­ing error while check­ing out a branch. error: path­spec ‘foo’ did not match any file(s) known to git. Solu­tion: git fetch It will syn­chro­nizes your local repos­i­tory with the remote…