What is the difference between “git push” and “git push origin master”? [duplicate]

git push assumes that you already have a remote repository defined for that branch. In this case, the default remote origin is used. git push origin master indicates that you are pushing to a specific remote, in this case, origin. This would only matter if you created multiple remote repositories in your code base. If … Read more

Git excludesfile for a branch

Git does not support per-branch excludes files You’re trying to achieve something that Git does not support. The blog post is the original source of this hoax that the Stack Overflow answer only parroted. As noted in comments under that answer, even the original blog post contains a discussion that brings out that the solution … Read more

How to speed up / parallelize downloads of git submodules using git clone –recursive?

With git 2.8 (Q12016), you will be able to initiate the fetch of submodules… in parallel! See commit fbf7164 (16 Dec 2015) by Jonathan Nieder (artagnon). See commit 62104ba, commit fe85ee6, commit c553c72, commit bfb6b53, commit b4e04fb, commit 1079c4b (16 Dec 2015) by Stefan Beller (stefanbeller). (Merged by Junio C Hamano — gitster — in … Read more

Git – Do colours mean something in vi when I commit?

Vi is giving you a hint about “properly” formatting your commit message. While there is no specific enforcement of one message style w.r.t. another, “traditionally” Git commit messages are structured this way: A short title describing the changeset (usually less than 50-60 characters); One blank line; A more complete description of the commit, optionally divided … Read more

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