I use git to clone local copies of a test and live version of my app and then manage the deployment of change from one repo to the other.
However, the auto-save commits make that task somewhat more complicated as the branches on the two repos diverge every time the app is opened. Those commits mostly have no content at all, but the merges become trickier to manage and the history is virtually unreadable.
Could we have the option to disable the auto-save so that the commit history is entirely under our own control? (With all the âat your own riskâ disclaimers and not as the default for a new app).
2 Likes
As an alternative, you could add the file to .gitignore, and then only use Git for a local copy you make elsewhere.
Sorry, I donât follow. What file might I add and how might that stop the creation of âSaved automaticallyâ commits?
Where is the file you want to ignore?
Here is a sample of ignoring a file previously committed via Git:
$ echo debug.log >> .gitignore
$ git rm --cached debug.log rm âdebug.logâ
$ git commit -m âStart ignoring debug.logâ
I get how to add a file to .gitignore. What I donât get is how that might assist in what Iâd like to achieve.
My problem is that the automatically saved commits are empty. There is no file that I can add to .gitignore to stop that from happening.
My guess is that the ââallow-emptyâ flag is being used. One solution might be to have the option to disable that flag, perhaps.
FYI, an âempty auto-save commitâ is a bug - it shouldnât happen if you donât modify anything. Weâre looking into it!
(I havenât moved this thread to âBug Reportsâ yet, but perhaps I shouldâŚ)
1 Like
Even if âempty auto-save commitâ donât exist anymore, I second Owenâs request.
Very often I add a button and a little function just to see whatâs the effect, then I delete it in the next few minutes. At the end of the day I end up with a plethora of useless âSaved automaticallyâ commits in the repository.
I would like to be able to commit only explicitly.
5 Likes
Perhaps you should 
Most of my changes are done offline with PyCharm, then pushed to the app. The git log shows that most commits are called âSaved automaticallyâ, and most of them are empty.
@shaun Iâm still seeing these empty commits. Has this one gone anywhere?
Hi @owen.campbell, you should no longer be seeing any empty commits. Let me know if you do and I can look into it for you 
3 Likes