0
My doubt may be quite simple for some.
I have a local folder called "projectX" containing 02 subfolders, being (back-end and front-end), I already have a repository in Github called projectX. Is it possible for me to send subfolders that are local (back-end and front-end) to the same repository on Github? If possible, how would I?
Thank you!
pracisa add folders by making a
stage
, add a commit withadd
and finally make apush
to send everything.– Ricardo Pontual
Oops, thanks for the feedback! Where else would git init start, it would be in the project folder?
– Sena Oliveira
exact in the Projectox folder, then add a commit with the folders and push ;)
– Ricardo Pontual
Perfect, in which case I need to put git ignore in the local subfolders (back-end and front-end) or it’s not necessary?
– Sena Oliveira
no, otherwise they won’t automatically enter the commit. Use ignore only for files you don’t want to send (binaries, executables, etc)
– Ricardo Pontual