hagetak's blog

どうも、はげたかです。

【Github】vagrant から push したら別のユーザ名が出現した

お久しぶりです。

Github(今回は、Bitbucket)にVagrant から push したら別のユーザ名でcommit されていた。 (例:vagrant, root)

これでは誰かわからないため、vagrant の方のユーザに、名前をつけることにする。

$ git config user.name "my_new_name" $ git config user.email new_name@example.com

http://tobysoft.net/wiki/index.php?git%2F%A5%B3%A5%DF%A5%C3%A5%C8%A5%ED%A5%B0%A4%F2%BD%A4%C0%B5%A4%B9%A4%EB%CA%FD%CB%A1

これで問題なく名前を付けることができた。

GitHub実践入門 ~Pull Requestによる開発の変革 (WEB+DB PRESS plus)

GitHub実践入門 ~Pull Requestによる開発の変革 (WEB+DB PRESS plus)