Ask coding questions

← Back to all posts
commits show up under repl.it user
h
julia320 (0)

Hi all,

I am an owner of an organization used for a programming class, and I've noticed that on the test repo I did and apparently on most other people's repos as well, that the commits made in repl.it do not show up as done by the person that made them. Instead, they simply show up as "repl.it" user. Does anyone know how to fix this so that it will show up with the GitHub account username instead for each commit?

Thanks!

Answered by RohilPatel (1251) [earned 5 cycles]
View Answer
Commentshotnewtop
RohilPatel (1251)

Hey there, are you signed in?

RohilPatel (1251)

If not, you might want to go to settings and add the connection..
If this helps, please mark as correct! Thanks!
@RohilPatel

julia320 (0)

@RohilPatel I'm logged in as far as I can tell, plus it's a private repository so I shouldn't be able to push to it if I wasn't logged in

RohilPatel (1251)

Hey - you don't need to do this if you don't want to, but could you invite me so I could see what's going on... you can remove my access later when all works! @julia320

RohilPatel (1251)

To both the git and the repl? @julia320

julia320 (0)

Thanks for being willing to help, but I don't think I'll be able to do that since I'm not the sole owner @RohilPatel

RohilPatel (1251)

Ok. That's fine! Could you take screen shots of the GitHub and show me what you see @julia320

julia320 (0)

Sure, this is what the commit history looks like

for commits that are not through repl.it like the first one it shows up with the correct user, but after that it just says repl.it user @RohilPatel

julia320 (0)

and this is my repl.it page

@julia320

RohilPatel (1251)

Wait! Are you using the terminal to push? If so, DONT! instead, click the side bar that has version control, and push from there. If this helps, please mark as correct! @julia320

julia320 (0)

Yes that was the issue! Thanks so much 🤦 @RohilPatel

Coder100 (8720)

the side bar makes the bug smh @RohilPatel

Coder100 (8720)

@RohilPatel the UI is very glitchy, it is better pushing manually

Coder100 (8720)

Do it manually.
Hit Ctrl+Shift+S:

git remote add origin [url].git
git add .
git commit -m "[what you did]"
git push -u origin master

Because you have to log in, you have more access over who pushes.