简体   繁体   中英

Django: pycharm: unversioned files

When I did 'makemigrations' on 'django', the generated file became 'unversioned files'.

I don't know why.

How can I change this unversioned one to versioned files?

Add your unversioned files in your git branch. $ git add unversioned files name

在PyCharm中,右键单击该文件,然后从上下文菜单中选择“ Git |添加”,或将其从未版本控制的文件节点拖放到更改列表。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM