Команда git-config: опции, ключи и примеры использования
git config
Manage custom configuration options for git repositories. These configurations can be local (for the current repository) or global (for the current user).
- List only local configuration entries (stored in
.git/config
in the current repository):
git config --list --local
- List only global configuration entries (stored in
~/.gitconfig
):
git config --list --global
- List all configuration entries that have been defined either locally or globally:
git config --list
- Get the value of a given configuration entry:
git config alias.unstage
- Set the global value of a given configuration entry:
git config --global alias.unstage "reset HEAD --"
- Revert a global configuration entry to its default value:
git config --global --unset alias.unstage
- 25 января вышло новое крупное обновление Age of Empires II DE: Lords of the West
- И снова sudo, и снова "решето"
- Только одна из десяти компаний ожидает, что все работники вернутся в офисы
- Google Play временно забанил видео-плеер за поддержку неправильных субтитров
- Google прекращает поддержку сторонних приложений в API Chrome-like