ium_478815/Untitled.ipynb
2022-06-05 23:10:50 +02:00

7.5 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'
!git commit -m "stop tracking data.csv" 
[master 1094a03] stop tracking data.csv
 1 file changed, 4601 deletions(-)
 delete mode 100644 data.csv
!git add .gitignore data.csv.dvc
!git commit -m "Dodano dane dvc"
[master 6a55468] Dodano dane dvc
 2 files changed, 5 insertions(+)
 create mode 100644 .gitignore
 create mode 100644 data.csv.dvc
!dvc remote add -d my_local_remote /dvcstore
Setting 'my_local_remote' as a default remote.
!git status
On branch master
Your branch is ahead of 'origin/master' by 3 commits.
  (use "git push" to publish your local commits)

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)
	modified:   .dvc/config
	deleted:    petite-difference-challenge2

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

no changes added to commit (use "git add" and/or "git commit -a")
!git add .dvc/config
!git commit -m "Added DVC remote"
[master 21ecd25] Added DVC remote
 1 file changed, 4 insertions(+)