How can I upload fresh code at github?
git, github
Solution
git init
git add .
git commit -m "Initial commit"
After this, make a new GitHub repository and follow on-screen instructions.
Problem
I have a directory with all my coding projects. I want to upload (correct terminology?) it to GitHub using the command line. I have already looked at Old question. I know how to clone an existing project, and how to push it after making any changes. But in this case, I want to make a new project and add files to that. How can I accomplish this using the command line?