How to store git credentials in cache

We can use following commands to store git credentials in cache

Windows

git config --global credential.helper wincred
git pull origin <enter your branch>
Username: <type your username>
Password: <type your password>

Linux

git config credential.helper store
git pull origin <enter your branch>
Username: <type your username>
Password: <type your password>

Also you can use following command for help

$ git help credentials

Specially for Fedora(Worked for me)

git config --global credential.helper gnome-keyring
git pull origin <enter your branch>
Username: <type your username>
Password: <type your password>

How to upload / import mysql phpmydadmin database larger than 2MB

There is a couple of ways to solve this problem.

1) Split your SQL file into multiple 2MB chunks

OR

2)

Update your php.ini file like following (works on dedicated/local servers – any server where you have root user permission or allowed to overwritten the file)

Search for following settings:

post_max_size = 8M
upload_max_filesize = 2M
max_execution_time = 30
max_input_time = 60
memory_limit = 8M
Change to: ( or any size you want but it will depend on your server available resources )
post_max_size = 35M
upload_max_filesize = 35M
max_execution_time = 5000
max_input_time = 5000
memory_limit = 1000M