< BACK

Git tips and tricks

Update local repository from remote

Safe! Updates local copies of remote branches but does not update (=overwrite) local branches

git remote update

equivalent to

git fetch --all