Closed SputNikPlop closed 9 months ago
configure your Username and mail for git
git config --global user.name "Your Name" git config --global user.email "[youremail@yourdomain.com]"
configure your Username and mail for git
git config --global user.name "Your Name" git config --global user.email "[youremail@yourdomain.com]"
I usually use git for work and other fun projects separately so I set it per project not globally. Is there a way to make this work?
Not sure, but this is Git specific. Maybe there is a way to manage multiple profiles? After blueprint project is created, it automatically makes an initial commit.
I have this in my .gitconfig:
[user]
email = globalemail@email.com
name = Global Name
[includeIf "gitdir:~/Projects/"]
path = .gitconfig-work
[includeIf "gitdir:~/Personal/"]
path = .gitconfig-personal
[includeIf "gitdir:~/Tools/"]
path = .gitconfig-personal
Then you can just create a .gitconfig-work
and .gitconfig-work
with the correct Username/Email/other settings.
This also makes me organise my projects more. Have a seperate folder for work and for others
What is the problem?
Framework should be created with a warning issued about no default git configs (warnings maybe in color)
Operating System
macOS
Architecture Version (x86, x64, arm, etc)
arm
Steps to reproduce
go-blueprint create --name my-project --framework gin --driver postgres
Relevant log output