following command shows how to push a non-empty directory to a remote repo :
cd <localdir>
git init
git add .
git commit -m 'message'
git remote add origin https://xxxxx@bitbucket.org/xxx/xxx.git
git push -u origin master
No comments:
Post a Comment