git - Why is github showing different authorname? -


i cloned fresh repo of code. made necessary changes in repo followed these 3 steps

git add --all git commit git push -u origin master 

it asks username,password, enter.

but after push, git repo shows changes authored colleague rather am. why so? can't it.

check email in config

git config --global user.email 

if not yours, change , commit again:

$ git config --global user.name "john doe" $ git config --global user.email johndoe@example.com 

Comments

Popular posts from this blog

Java 3D LWJGL collision -

spring - SubProtocolWebSocketHandler - No handlers -

methods - python can't use function in submodule -