How to create a .gitignore file

If you’re using Windows, it will not let you create a file without a filename in Windows Explorer. It will give you the error “You must type a file name” if you try to rename a text file as .gitignore To get around this, I used the following steps. Create the text file gitignore.txt Open … Read more

Find when a file was deleted in Git

To show the commits that changed a file, even if the file was deleted, run this command: git log –full-history — [file path] If you want to see only the last commit, which deleted the file, use -1 in addition to the command above: git log –full-history -1 — [file path] See also my article: … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)