Git – suboptimal pack – out of memory – How to fix

Screenshot of "suboptimal pack - out of memory" warning

I was cloning a remote repo to set up a local install and got a suboptimal pack - out of memory notice quickly followed by the fatal failure of the clone. Man the ramparts! To the google! This was helpful: By default pack.windowMemory and pack.packSizeLimit are set to 0 (which means unlimited). Apparently, and … Continued

Save only specific files to stash in git repository

The -m will set the message for the stash and multiple files can be specified.

git stash push -m 'put back on practice-signup-changes' apps/frontend/lib/helper/SignupHelper.php apps/frontend/modules/signup/templates/practiceSuccess.php

Git –assume-unchanged

When installing apps locally some files have data which is unique to your install path or domain. For example I installed our app at EasyRx locally and the yaml setting for the domain used for cookies was tracked by git. I changed the value in my local install but then it showed up as a … Continued