amend commit with current timestamp
git commit --amend --no-edit --date=now
amend commit with current author
git commit --amend --no-edit --reset-author
update remote to fetch all branches
Check if the remote in question is only configured to pull a single branch.
> REMOTE_NAME="origin"
> git config --get remote.${REMOTE_NAME}.fetch
+refs/heads/master:refs/remotes/origin/master
If it is, run the following command to fetch all branches.
> REMOTE_NAME="origin"
> git config remote.${REMOTE_NAME}.fetch "+refs/heads/*:refs/remotes/${REMOTE_NAME}/*"