git config

SQB@SQB-PC /e/workspace

$ git config --global user.name "Kevin"


SQB@SQB-PC /e/workspace

$ git config --global user.email "[email protected]"


SQB@SQB-PC /e/workspace

$ git config --list

core.symlinks=false

core.autocrlf=true

color.diff=auto

color.status=auto

color.branch=auto

color.interactive=true

pack.packsizelimit=2g

help.format=html

http.sslcainfo=/bin/curl-ca-bundle.crt

sendemail.smtpserver=/bin/msmtp.exe

diff.astextplain.textconv=astextplain

rebase.autosquash=true

user.name=Kevin

[email protected]


刪除

rm README

git rm README

git commit -m "remove README file"


重命名

git mv hellogit.rb helloworld.rb

git commit -m "rename hellogit.rb"

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章