I am trying to upload a project which has more than 100 files to github.
These are my steps which GitHub wants me to do on Git Bash terminal.
cd <my project file>
git init -b main
git add .
git commit -m "First Commit"
git remote add origin <my remote URL>
git remote -v
git push origin main
After I press "enter", nothing happens on terminal screen. I also tried to "git clone" and copied the local files but it didn't work though.
How can I solve this problem ? What am I doing wrong ? I am new in Git.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…