Git Config
Senior Developer, Designer, Technologist! 🇮🇷
Search for a command to run...
Senior Developer, Designer, Technologist! 🇮🇷
No comments yet. Be the first to comment.
Here are the steps I used to to upgrade MySQL to MariaDB in XAMPP on Windows in about 5 minutes. After completing this process, MariaDB will look and work just like MySQL. You may even notice a performance increase in your website. No need to panic f...
TL;DR: Three spammy “free money” issues mentioned my username. GitHub removed the issues, but a phantom notification stuck around: the badge count wouldn’t clear and the notifications list was empty. I contacted GitHub Support, learned why this can h...
Links Cheat Sheet Production usage Persistence JSON JSON DataType RedisJSON @ GitHub Installing Redis on Windows Memurai: Redis for Windows Installing curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-arch...
# Secrets [Ss]ecret.* *.sql *.env *.env.* !*.env.template !*.env.*.template *.local # Setup samples !/setup # Temps **/[Tt]emp **/[Tt]emps **/.DS_Store **/._.DS_Store vite.config.*.timestamp-* *.log yarn-error.log # Packages node_modules node_modu...
Linux Users In Linux, users are defined in the /etc/passwd file, and their passwords are stored in the /etc/shadow file. [!NOTE] Note At one time, this file stored the hashed passwords of every user on the system. However, this responsibility has be...
before proceeding, read these thoroughly:
C:/Users/<USER_NAME>/.gitconfig~/.gitconfigTo list all configs:
git config --global --list
To unset a config:
git config --global --unset core.autocrlf
If there are multiple records with the same key,
git config --global --unset-all core.autocrlf
To replace values of the config:
git config --global --replace-all core.autocrlf "New Value"
To remove an entire section:
git config --global --remove-section core
Or to edit the config file manually:
git config --global --edit
There are 3 configs related to EOL:
core.eolcore.autocrlfcore.safecrlfIf the EOLs at all messed up, you can also use:
git add --renormalize .
Also after changing the configs, It's usually a good idea to discard unwanted changes:
git rm --cached -r .
git reset --hard
At the end (until 2024/02/24), I figured, for me, it's best to:
core.eolcore.safecrlfcore.autocrlf to false