git basic commands : working with existing project : 1
Following commands are to add remote repos to your project folder. I use bitbucket for this example.
cd /path/to/my/yourprojectgit remote add origin https://yourepo@bitbucket.org/yourrepo/myproject.gitgit push -u origin --all # pushes up the repo and its refs for the first time
And push all the folders and files under your current project folder
Add all folders and files
And commit
then
I will add more to this post.
cd /path/to/my/yourprojectgit remote add origin https://yourepo@bitbucket.org/yourrepo/myproject.gitgit push -u origin --all # pushes up the repo and its refs for the first time
And push all the folders and files under your current project folder
Add all folders and files
git add ./*
And commit
git commit -m "Your Project"
then
git push origin master
I will add more to this post.
No Comment to " git basic commands : working with existing project : 1 "
Post a Comment