git pushする際にユーザ名入力の手間をはぶく

.git/config を編集する。

WSL(Ubuntu)で実施

[remote "origin"]項目のurlにusername@を追加

[remote "origin"]
        url = https://username@github.com/tocoo/tocoo_member_api.git
        usernameの部分は各自のgitのユーザ名

パスワードは別な方法で省略できるが、ファイルにべた書きなのでユーザ名だけ。