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

angularjs - Redirect to a new template in angular js -

Oracle SQL. How to select specific IDs where value of columns specify criteria? -

Desktop Launcher for Python Script Starts Program in Wrong Path (Linux) -