I have a folder with my project sources. How I can push this project into Github\'s repository?
I tried using this steps:
I know, this is an old question but I'm trying to explain every step, so it may help others. This is how I add an existing source to git:
git init
(here you initiate the project as a git one).git add *
(here you add all the files and folders from you project).git commit -m "Initial Commit."
(here you commit your files and folders added in step #4; keep in mention that you can't push your changes without committing them).git remote add origin https://your_username@bitbucket.org/your_username/project-name.git
(here you add a remote project where your source it's gonna be pushed; replace my link with your ssh || https from the step #1).git push -u origin master
(here you push your source into the git repository).Note: Those are simple steps for pushing your source into the master branch.