是配置用戶信息,包括用戶名和郵箱地址。這可以通過以下命令完成:
git config --global user.name "Your Name" git config --global user.email "youremail@example.com"
這樣做可以確保在提交更改時,Git能夠識別你是誰,并將這些信息記錄在提交歷史中。