Let Git remember your credentials

Remember remote credentials

Albert GirĂ³ published on
1 min, 65 words

Categories: Tips

Tags: git

When using git from terminal coild be anoying when in every push it asks you for your credenytials. A quick solution is let Git remember it for the next time. To enable tuis functionality use command:

git config --global credential.helper cache

Next time you write your credentials will be cached an it won't be necessaries anymore.

Disable it by:

git config --unset credential.helper