Category: Tools

git 0

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…

ChromeDev 0

use XPath in browsers devtools

You can exe­cute the XPath selec­tors in the browser dev tools using the $x() For exam­ple, fol­low­ing selec­tor will give you all the anchor tags on the web­page. $x(‘//a’); Fur­ther Read­ing : Com­mand Line API

git 0

git stash changes and apply to new branch

Save cur­rent changes to the stash git stash Check­out the branch where you want to apply the changes git check­out –b <branch_name> See the files which are mod­i­fied in the stash. git stash show Print the…