To avoid entering username and password everytime you pull/push to a git repository, there are two known ways.
* Add your SSH public key to the remote end (this is possible with either github, gitlab or a private remote server)
* Setup your `~/.gitconfig` like:
```
```bash
# This is Git's per-user configuration file.
[user]
name = vihari
...
...
@@ -11,6 +12,7 @@ To avoid entering username and password everytime you pull/push to a git reposit
[credential]
helper = osxkeychain
```
The `osxkeychain` works only on Mac and I use `/usr/share/doc/git/contrib/credential/gnome-keyring/git-credential-gnome-keyring` on Linux.
For more: [refer](http://blog.iqandreas.com/git/storing-https-authentication-in-ubuntu-and-arch-linux/)
...
...
@@ -84,7 +86,7 @@ When the path to a gitmodue is changed in `.gitmodule` then use this command for
`git submodule update --recursive --remote`
Updates the submodules -- http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules
`git submodule update --init --recursive`
`git submodule update --init --recursive`
Pulls all the content in all the submodules of the repository, use `init` when you are doing it for the first time -- http://stackoverflow.com/questions/1030169/easy-way-pull-latest-of-all-submodules