git - Transferring the folder and all its file to github -
i want transfer entire java project including many nested folders , files github account.
how can easily, tried following steps not able see folder on github.
steps followed
1. created repo on github 2. using powershell on windows directory has source files , folders, entered git init(). 3. git add . 4. git commit -m "new push files" 5. git remote add origin https://github.com/name/my_project.git 6. git pull origin master 7. git push origin master
but not seeing nested folders , files on web account.
can please me here. appreciate in learning git.
thanks
using powershell on windows
instead of powershell
better use sourcetree or git-bash:
but not seeing nested folders , files on web account.
you need add files recursively:
git add . -a
do steps before (with minor changes can see):
git init git add . -a git commit -m "message..." git remote add origin git@github.com:<user>/<repo>.git git push -u origin master
Comments
Post a Comment