git with existing folder

Mar 29, 2018 1:47 am
by Alex

To initialization the project with existing folder
[php]
git init
git add .
git commit -m ‘message’
git remote add origin
git push -u origin master
[/php]
Git refusing to merge unrelated histories on rebase
[php]
git pull origin master –allow-unrelated-histories
[/php]
Python .gitignore file
[php]
# Virtualenv
.Python
[Bb]in
[Ii]nclude
[Ll]ib
[Ll]ib64
[Ll]ocal
[Ss]cripts
pyvenv.cfg
.venv
pip-selfcheck.json
[/php]