Reduce size of .git Folder

.git folder for git sometimes ends up tens of megabyte. Such unusual size is usually caused by misconfigure of .gitignore, causing git recording changes of large files such as images and videos.…

Merge Two Unrelated Git Repository

Considering others have downloaded a repo and developed in local git environment with brand new git history such that it cannot be merge back to the repo where it was initially cloned from. How to merge the two repo without losting git history?…

SSH Key Generation and How to use Multiple Keys

Key Generation ssh-keygen -t rsa -C "your.email@example.com" -b 4096 File with .pub is the public key, another on is the private key Multiple Keys When having multiple SSH keys(for different accounts) under the same domain (gitlab.com or github.com), system will not be…