Step 1: change dir to your repo’s directory
Initialized empty Git repository in D:/TypeScript/Dbf/.git/
git remote add origin https://bitbucket.org/user/repo.git
git pull origin master
Username for 'https://bitbucket.org': firstname.lastname@example.org remote: Counting objects: 4, done. remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 0), reused 0 (delta 0) Unpacking objects: 100% (4/4), done. From https://bitbucket.org/user/repo * branch master -> FETCH_HEAD * [new branch] master -> origin/master
git add .
warning: LF will be replaced by CRLF in package-lock.json. The file will have its original line endings in your working directory. warning: LF will be replaced by CRLF in package.json. The file will have its original line endings in your working directory. ...
git commit -m "your comment"
git commit -m "v1"
[master e9a958e] v1 821 files changed, 183104 insertions(+) create mode 100644 api.js create mode 100644 api.ts ...
git push origin master
Username for 'https://bitbucket.org': email@example.com Counting objects: 977, done. Delta compression using up to 4 threads. Compressing objects: 100% (938/938), done. Writing objects: 100% (977/977), 2.44 MiB | 61.00 KiB/s, done. Total 977 (delta 275), reused 0 (delta 0) remote: Resolving deltas: 100% (275/275), completed with 1 local object. To https://bitbucket.org/user/repo.git 6c98737..e9a958e master -> master