Closed SudoSurya closed 1 year ago
I made changes by injecting a .gitignore file instead of using NPX
i made changes that now git branch defaults to main not master
Unfortunately:
Error: exit status 128
This is what happens when I spin up a new project
-f
flag its force rename it and even if it is main by defaultso i cant figure out the issue with switching to main branch. it working on my side (i tested on my friends machine it worked fine)
anyway it not working on your side (i assume it has to do with some git issue or setting). so for now its good to stick with master
branch .so i removed git branch -m main
cmd.
i removed switching to main branch cmd
. you can review changes and merge if you think sticking with master branch is ok
i removed
switching to main branch cmd
. you can review changes and merge if you think sticking with master branch is ok
👍 I think this is fine too, especially considering that running git init will use the default branch setting on the user's machine, which most people have set to main anyway. And it's easy enough for the user to rename the branch anyway. Good work on the PR!
Added a command to execute
npx gitignore go
. The command generates a .gitignore file configured for Go projects.