ium_478815/.ipynb_checkpoints/Untitled-checkpoint.ipynb
2022-06-05 23:19:20 +02:00

9.8 KiB

!git init
Reinitialized existing Git repository in C:/Users/korne/Documents/git/ium_478815/.git/
!dvc init
Initialized DVC repository.

You can now commit the changes to git.

+---------------------------------------------------------------------+
|                                                                     |
|        DVC has enabled anonymous aggregate usage analytics.         |
|     Read the analytics documentation (and how to opt-out) here:     |
|             <https://dvc.org/doc/user-guide/analytics>              |
|                                                                     |
+---------------------------------------------------------------------+

What's next?
------------
- Check out the documentation: <https://dvc.org/doc>
- Get help and share ideas: <https://dvc.org/chat>
- Star us on GitHub: <https://github.com/iterative/dvc>
!git status
On branch master
Your branch is up to date with 'origin/master'.

Changes to be committed:
  (use "git restore --staged <file>..." to unstage)
	new file:   .dvc/.gitignore
	new file:   .dvc/config
	new file:   .dvcignore

Changes not staged for commit:
  (use "git add/rm <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	deleted:    petite-difference-challenge2

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

!git commit -m "Initial commit"
[master 2880651] Initial commit
 3 files changed, 6 insertions(+)
 create mode 100644 .dvc/.gitignore
 create mode 100644 .dvc/config
 create mode 100644 .dvcignore
!dvc add data.csv
To track the changes with git, run:

    git add .gitignore data.csv.dvc

To enable auto staging, run:

	dvc config core.autostage true
!git rm -r --cached data.csv
rm 'data.csv'
!mkdir data
!move data.csv data/
        1 file(s) moved.
!git commit -m "stop tracking data.csv" 
[master 1094a03] stop tracking data.csv
 1 file changed, 4601 deletions(-)
 delete mode 100644 data.csv
!dvc add data/data.csv
To track the changes with git, run:

    git add 'data\data.csv.dvc' 'data\.gitignore'

To enable auto staging, run:

	dvc config core.autostage true
!git add data/data.csv.dvc data/.gitignore
!git commit -m "Dodano dane dvc"
[master 302d4bd] Dodano dane dvc
 2 files changed, 5 insertions(+)
 create mode 100644 data/.gitignore
 create mode 100644 data/data.csv.dvc
Parameter format not correct - "data".
!dvc remote add -d my_local_remote /dvcstore -f
Setting 'my_local_remote' as a default remote.
!git status
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   Untitled.ipynb

no changes added to commit (use "git add" and/or "git commit -a")
!git add .dvc/config
!git commit -m "Added DVC remote"
On branch master
Your branch is ahead of 'origin/master' by 1 commit.
  (use "git push" to publish your local commits)

Changes not staged for commit:
  (use "git add <file>..." to update what will be committed)
  (use "git restore <file>..." to discard changes in working directory)
	modified:   Untitled.ipynb

no changes added to commit (use "git add" and/or "git commit -a")
!dvc push
Everything is up to date.
!tree /dvc
Invalid switch - /dvc
!git add .
warning: LF will be replaced by CRLF in Untitled.ipynb.
The file will have its original line endings in your working directory