pegasus@pegasusv:/linux_work/linux_stable$ sudo git commit -a
[sudo] password for pegasus:
Author identity unknown
*** Please tell me who you are.
Run
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
to set your account's default identity.
Omit --global to set the identity only in this repository.
fatal: unable to auto-detect email address (got 'root@pegasusv.(none)')
이 오류를 어떻게 해결할 수 있나요?
이것은 내 전역 .gitconfig 파일입니다.
#[safe]
# directory = /linux_work/linux
# directory = /linux_work/linux-kselftest
[user]
name = Zeshan Ahmed Nobin
email = [email protected]
[format]
signoff = true
[core]
editor = vim
[sendmail]
smtpserver = mail.xxxx.com
smtpserverport = portnum
smtpencryption = tls
smtpuser = user
smtppass = password
[safe]
directory = /linux_work/linux_stable
다음 저장소로 푸시해 보세요.
git remote add linux git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
로컬 .git 디렉터리:
Netrw Directory Listing (netrw v171)
" /linux_work/linux_stable/.git
" Sorted by name
" Sort sequence: [\/]$,\<core\%(\.\d\+\)\=\>,\.h$,\.c$,\.cpp$,\~\=\*$,*,\.o$,\.obj$,\.info$,\.swp$,\.bak$,\~$
" Quick Help: <F1>:help -:go up dir D:delete R:rename s:sort-by x:special
" ==============================================================================
../
./
branches/
hooks/
info/
logs/
objects/
refs/
FETCH_HEAD
HEAD
config
description
index
packed-refs