Pull Only 1 Directory From Git Repository

This can be done by setting up a sparse checkout. Sparse Checkout Create a directory mkdir [directory] Enter directory cd [directory] Git init and add remote git init git remote add origin [url] Enable sparse checkout git config core.sparseCheckout true Set folders to checkout in .git/info/sparse-checkout echo “[wanted directory]” >> .git/info/sparse-checkout Then pull the repository […]

Read More

SSH REMOTE HOST IDENTIFICATION HAS CHANGED

@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ @ WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED! @ @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@ IT IS POSSIBLE THAT SOMEONE IS DOING SOMETHING NASTY! Someone could be eavesdropping on you right now (man-in-the-middle attack)! It is also possible that a host key has just been changed. The fingerprint for the RSA key sent by the remote host is If you […]

Read More

Git Bash using Laravel Artisan displays escaped characters

If you have output similar to below displaying escaped characters try changing Git Bash options for terminal to xterm-256color ←[33mevent←[39m ←[32mevent:generate←[39m Generate the missing events and listeners based on registration ←[33mhandler←[39m ←[32mhandler:command←[39m Create a new command handler class ←[32mhandler:event←[39m Create a new event handler class ←[33mkey←[39m ←[32mkey:generate←[39m Set the application key ←[33mmake←[39m ←[32mmake:command←[39m Create a […]

Read More