一开始我提交代码总是提交到另一个同事的git里
?
代码:
Windows PowerShell
版权所有 (C) Microsoft Corporation。保留所有权利。
尝试新的跨平台 PowerShell https://aka.ms/pscore6
PS C:\workspace\map\platform-emerg-admin-ui> git config --list
diff.astextplain.textconv=astextplain
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/hurunhong/git/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=false
pull.rebase=false
credential.helper=manager-core
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=master
user.name=duyong
user.email=duyong@jmtxtech.com
credential.helper=manager-core
PS C:\workspace\map\platform-emerg-admin-ui> git config --global user.name "yangkexin"
PS C:\workspace\map\platform-emerg-admin-ui> git config --global user.email "yangkexin@jmtxtech.com" PS C:\workspace\map\platform-eme
PS C:\workspace\map\platform-emerg-admin-ui> git config --list
diff.astextplain.textconv=astextplain
filter.lfs.clean=git-lfs clean -- %f
filter.lfs.smudge=git-lfs smudge -- %f
filter.lfs.process=git-lfs filter-process
filter.lfs.required=true
http.sslbackend=openssl
http.sslcainfo=C:/hurunhong/git/Git/mingw64/ssl/certs/ca-bundle.crt
core.autocrlf=true
core.fscache=true
core.symlinks=false
pull.rebase=false
credential.helper=manager-core
credential.https://dev.azure.com.usehttppath=true
init.defaultbranch=master
user.name=yangkexin
user.email=yangkexin@jmtxtech.com
credential.helper=manager-core
core.repositoryformatversion=0
PS C:\workspace\map\platform-emerg-admin-ui>
再者提交git时候应该先点击暂存更改
?然后它会到暂存的更改中去,在消息里写更改的内容,然后按这个√号,这时候就是已经提交到本地。
?
然后再推送到服务器端
?
|