Set Git submodule to shallow clone & sparse checkout?

With git1.8.4 (July 2013), in addition git shallow update for submodule (git submodule update –depth 1), you now can have a custom update: In addition to the choice from “rebase, merge, or checkout-detach”, “submodule update” can allow a custom command to be used in to update the working tree of submodules via the “submodule.*.update” configuration … Read more

git shallow clone (clone –depth) misses remote branches

After doing a shallow clone, to be able to checkout other branches from remote, Run (thanks @jthill) doc about set-branches: git remote set-branches origin ‘*’ After that, do a git fetch -v –depth=1 Finally git checkout the-branch-i-ve-been-looking-for Step 1 can also be done manually by editing .git/config. For instance, change the folloing line from: fetch … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)