Home > Development Tools > git > How to cancel global configuration in git

How to cancel global configuration in git

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2022-01-07 10:09:07
Original
8455 people have browsed it

Method to cancel global configuration: 1. Execute the "git config --global --unset user.name" command in the terminal to cancel the specified global configuration item; 2. Use "git config --global --edit" " statement to edit the specified configuration file to cancel the global configuration.

How to cancel global configuration in git

The operating environment of this article: Windows 10 system, Git version 2.30.0, Dell G3 computer.

How to cancel the global configuration of git

1. View all Git configurations

git config --list
Copy after login

2. Delete global configuration items

(1) Terminal execution command:

git config --global --unset user.name
Copy after login

(2) Edit configuration file:

git config --global --edit
Copy after login

Recommended learning: "Git Tutorial"

The above is the detailed content of How to cancel global configuration in git. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
git
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
ssh - git clone and git push errors
From 1970-01-01 08:00:00
0
0
0
git push cannot be submitted
From 1970-01-01 08:00:00
0
0
0
git checkout specific version failed
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template