Synchronize local git project with github repository

$ git clone https://github.com/tristcoil/detect-double-bottom-in-stocks.git
Cloning into 'detect-double-bottom-in-stocks'...
remote: Enumerating objects: 3, done.
remote: Counting objects: 100% (3/3), done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0
Unpacking objects: 100% (3/3), done.
(base) [coil@localhost Desktop]$ ls
'API flask tests'   detect-double-bottom-in-stocks   org.kde.kate.desktop   test   udacity_keras_tf_labs
(base) [coil@localhost Desktop]$ cd detect-double-bottom-in-stocks/
(base) [coil@localhost detect-double-bottom-in-stocks]$ ls
README.md
$ 
$ ls
'Detect double bottom in stocks with python.ipynb'   README.md

$ git pull
Already up to date.
$ git remote
origin

$ git remote -v
origin  https://github.com/tristcoil/detect-double-bottom-in-stocks.git (fetch)
origin  https://github.com/tristcoil/detect-double-bottom-in-stocks.git (push)
$ git status
On branch master
Your branch is up to date with 'origin/master'.

Untracked files:
  (use "git add <file>..." to include in what will be committed)

        Detect double bottom in stocks with python.ipynb

nothing added to commit but untracked files present (use "git add" to track)
$ git add -A
$ git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git reset HEAD <file>..." to unstage)

        new file:   Detect double bottom in stocks with python.ipynb
$ git commit -m "initial creation of python notebook"
[master 6490a2f] initial creation of python notebook
 1 file changed, 465 insertions(+)
 create mode 100644 Detect double bottom in stocks with python.ipynb
$
$ git push origin master
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 4 threads
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 232.78 KiB | 8.31 MiB/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To https://github.com/tristcoil/detect-double-bottom-in-stocks.git
   1c48452..6490a2f  master -> master
$ git status
On branch master
Your branch is up to date with 'origin/master'.

nothing to commit, working tree clean
$ 

Leave a Reply

Your email address will not be published.