Skip to content

Instantly share code, notes, and snippets.

@brianjang
brianjang / gist:044df539dfc814858b993dfbfae49db4
Last active October 31, 2019 13:10
Git – Config Username and Password (Store Credentials)
git config credential.helper store
git config --global credential.helper store (for globally)
for different repositories on gitlab.com and github.com
git config credential.gitlab.com.useHttpPath true
git config credential.github.com.useHttpPath true
--- or
git config --global credential.gitlab.com.useHttpPath true
git config --global credential.github.com.useHttpPath true