Tuesday, January 9, 2018

first time push my vscode project into empty bitbucket repository using bash command

boroo@homework MINGW64 /d/Projects/Python.Projects/maths
$ git init
Initialized empty Git repository in D:/Projects/Python.Projects/maths/.git/

boroo@homework MINGW64 /d/Projects/Python.Projects/maths (master)
$ git add *

boroo@homework MINGW64 /d/Projects/Python.Projects/maths (master)
$ git commit -m "Initial Commit"
[master (root-commit) 2b33be7] Initial Commit
 1 file changed, 9 insertions(+)
 create mode 100644 main.py

boroo@homework MINGW64 /d/Projects/Python.Projects/maths (master)
$ git remote add origin https://boroobaldka@bitbucket.org/m
aths-team/maths-repo.git

boroo@homework MINGW64 /d/Projects/Python.Projects/maths (master)$ git push -u origin master
Counting objects: 3, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 293 bytes | 293.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)To https://bitbucket.org/maths-team/maths-repo.git
 * [new branch]      master -> master
Branch 'master' set up to track remote branch 'master' from 'origin'.
boroo@homework MINGW64 /d/Projects/Python.Projects/maths (master)
$

No comments: