Skip to content
Discussion options

You must be logged in to vote

Changing your username won't break your Classroom standing. A few things that actually matter:

GitHub tracks accounts by an internal numeric ID, not by username. Your professor's roster, your submissions, and your past work stay linked to you after the rename. You won't get kicked off.

Repo URLs get a redirect set up automatically. github.com/old-username/assignment-x will 301 to the new location, and existing git remotes keep working. That said, update them when you have 5 minutes so you're not relying on the redirect:

git remote set-url origin git@github.com:new-username/repo-name.git

Two gotchas worth knowing:

  1. If the redirect source gets claimed by someone else during the transition …

Replies: 1 comment 1 reply

This comment was marked as low quality.

@iammarxg
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GitHub Education All things GitHub Education including website, documentation and events. Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
2 participants