这些git命令判断提交到哪个分支哪个项目上

时间:2023-12-03 14:54:38

git branch -r

fuweikun@pengfei:~/e1_cp/AMSS$ git branch
* 8939-E1-2104026-dev

git config -l

fuweikun@pengfei:~/e1_cp/AMSS$ git config -l
user.name=zhangze
user.email=ze.zhang@sim.com
color.ui=auto
core.repositoryformatversion=0
core.filemode=true
core.bare=false
core.logallrefupdates=true
remote.origin.url=git@git.simcom-bj.com:qc-android/L/M8939/AMSS  //提交到这个项目
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.8939-E1-2104026-dev.remote=origin
branch.8939-E1-2104026-dev.merge=refs/heads/8939-E1-2104026-dev