question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Parameterizing the github username as well

See original GitHub issue

Would you be open to parameterize the github user name, and adjust all relevant paths to use that, instead of kentcdodds? One reason I ask is because it’s not quite equivalent to generate a new project, and then make a project-wide search-and-replace kentcdodds with my username, because there are still some places where the string kentcdodds needs to be preserved (links to things specifically in your github, like the all-contributors specification, for instance).

I’ve been thinking the generator could ask for it in the setup process, and even detect it from ~/.gitconfig if the user has that set there:

// ~/.gitconfig
[github]
	user = gnapse

With the above in place, then this works

$ git config --global user.gnapse
gnapse

And it could even suggest the user to save it to ~/.gitconfig.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
kentcdoddscommented, Oct 7, 2018

Closing for inactivity

0reactions
kentcdoddscommented, Apr 9, 2018

Thanks. So long as it’s not too complicated then I’m fine with it. Especially if it’s just a few lines of code (because it’s using an npm module for it or something).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting your username in Git - GitHub Docs
Setting your Git username for every repository on your computer · Open TerminalTerminalGit Bash. · Set a Git username: $ git config --global...
Read more >
Change GitHub Account username - Stack Overflow
You can change your Github account name at any time. To do this, click your profile picture > Settings > Account Settings >...
Read more >
Parameters not expanded in username or password portion of ...
When a parameterized job attempts to use the value of the parameter as the username or password of an https based git repository...
Read more >
Parameterization API - ELKI
ELKI includes a generic parameterization API that is used for the command ... to use for the developers as well as more powerful...
Read more >
Pipeline options for Git repositories - Azure - Microsoft Learn
Options that are available when using a Git repository with Azure ... the Checkout clean checkbox that is added for the runtime parameter....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found