I am new to GitHub:  I have uploaded a django project without a .gitignore file and GitHub Community banned my account.
That is why I need to know how to use a .gitignore file as well as adding a license.
I am new to GitHub:  I have uploaded a django project without a .gitignore file and GitHub Community banned my account.
That is why I need to know how to use a .gitignore file as well as adding a license.
Recreate your django project locally, initialize a new local git repository in init (git init .), and, before doing any git add/git commit, add:
.gitignore (you can copy the Django one)LICENSE file (chose one of those)Add and commit locally.
Then create a new GitHub account, a new empty GitHub repository.
Go back to your local repository and:
cd /path/to/local/repo
git remote add origin https://github.com/<NewAccount>/<newRepo>
git push -u origin master
You can then see "Where to store secret keys DJANGO" for managing your secret key.
