how to upload my react files to github

^^^
23 Replies
b1mind
b1mindβ€’17mo ago
who knows React must have some special way <,<;;
beans
beansOPβ€’17mo ago
so thats why i am asking
b1mind
b1mindβ€’17mo ago
I was being sarcastic sorry
Jochem
Jochemβ€’17mo ago
open a new repo in github, it'll have instructions
beans
beansOPβ€’17mo ago
<,<;; yes but react folders have so many node modules, it wont allow me to upload everything so i was wondering if theres any special way
Jochem
Jochemβ€’17mo ago
node_modules needs to go in .gitignore, which should probably be included when you generate a react repo also, this should really go in #os-and-tools not in #front-end
beans
beansOPβ€’17mo ago
meh create a github channel also thnx
Jochem
Jochemβ€’17mo ago
there is a github channel, #os-and-tools
beans
beansOPβ€’17mo ago
oniichan so @Jochem , how exactly do i put a folder(node_modules) in a file(.gitignore)
Jochem
Jochemβ€’17mo ago
https://git-scm.com/docs/gitignore You just put the line node_modules in the textfile .gitignore
beans
beansOPβ€’17mo ago
cool beans ty it no work @Jochem
Jochem
Jochemβ€’17mo ago
I can't do anything with "it no work"
beans
beansOPβ€’17mo ago
i put "node_modules" in .gitignore i try to upload the folder, same error
Jochem
Jochemβ€’17mo ago
"same error": you never shared that error "try to upload": How? What's the output of git status?
beans
beansOPβ€’17mo ago
lol i use the website github to upload error: "Yowza, that’s a lot of files. Try uploading fewer than 100 at a time. " .gitignore: # Logs logs *.log npm-debug.log* yarn-debug.log* yarn-error.log* pnpm-debug.log* lerna-debug.log* node_modules dist dist-ssr *.local # Editor directories and files .vscode/* !.vscode/extensions.json .idea .DS_Store *.suo *.ntvs* *.njsproj *.sln *.sw? node_modules u der>
Jochem
Jochemβ€’17mo ago
right, so first off, chill please. I'm not just talking to you right now
beans
beansOPβ€’17mo ago
? ok
Jochem
Jochemβ€’17mo ago
you gave me all of 60 seconds to respond before asking if I'm still here, wtf? You need to install the git command line client on your PC, then initialize a repo in the folder your project is in, sign into github, then use git add . and git commit and git push to get your code uploaded
beans
beansOPβ€’17mo ago
k
Jochem
Jochemβ€’17mo ago
Right, enjoy the time out stay polite in future, spend the next hour maybe watching a git tutorial on youtube or something
beans
beansOPβ€’17mo ago
i actually did that so tysm
Jochem
Jochemβ€’17mo ago
did you solve your issue? πŸ™‚
beans
beansOPβ€’16mo ago
yeah πŸ™‚ tysm
Want results from more Discord servers?
Add your server