Should I put auto backup files in my git repo?
Posted: Wed May 22, 2019 10:59 pm
I did a git status and saw this:
Should I be commiting that auto-backup to my git repository or should I ignore it?
Code: Select all
$ git st
On branch master
Your branch is up to date with 'origin/master'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git checkout -- <file>..." to discard changes in working directory)
deleted: Assets/Scenes/Dialogue Database.asset
deleted: Assets/Scenes/Dialogue Database.asset.meta
Untracked files:
(use "git add <file>..." to include in what will be committed)
Assets/Scripts/Dialogue Database (Auto-Backup).asset
Assets/Scripts/Dialogue Database (Auto-Backup).asset.meta
Assets/Scripts/Dialogue Database.asset
Assets/Scripts/Dialogue Database.asset.meta
no changes added to commit (use "git add" and/or "git commit -a")