ユーザー指定でgit clone

$ git clone https://<username>@github.com/~~~/~~~.git

push/pullでユーザー名を毎回入れなくて済む。

またはグローバル設定する。

$ git config --global user.name <username>

追記: gitlab.comだと.gitまで入れないとusername認識しないっぽい

gitlab.com


hacknote.jp