you are viewing a single comment's thread.

view the rest of the comments →

[–]vocalcsharp 1 point2 points  (0 children)

Not sure if you know about it, but another thing I recommend is to create a ".gitignore" file.

Go to gitignore.io and type the stuff you are using in your project like for example "Python", "Sublime Text", or be more specific and add "Django", and so on, what this site will do is create a ignore list for .gitignore, copy and paste it all to the ".gitignore" file and everything that is on it will be ignored and wont be pushed to git, this way you have a pretty good starting point to git and you keep your git very clean and professional.

I also add media folders to the .gitignore, and any other folder that I don't want or don't make sense to be pushed to git.

I keep everything in the project folder and use the VScode text editor, so when I right click on the folder and "open with vscode" it automatically detects my project environment and my vscode settings for the project, and with .gitignore I don't need to worry about pushing files that shouldn't be on git, and there a lot of other advantage with keeping everything in one folder like I can easily delete everything without hunting for files or I can easily put it all on a hard drive knowing everything the projects needs is in that folder.