Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

git查看本地分支对应远程哪个分支 #32

Open
deepthan opened this issue Apr 16, 2018 · 0 comments
Open

git查看本地分支对应远程哪个分支 #32

deepthan opened this issue Apr 16, 2018 · 0 comments

Comments

@deepthan
Copy link
Owner

  • git branch -vv
    可查看对应分支信息
dev    2348b79 [origin/dev: ahead 3, behind 4] add
* i18n   0e7acc6 [origin/i18n: ahead 4, behind 18] i18n translate
master 640fd9e changes
 

上面第一行前面dev表示的是本地分支名,后面方括号里面的[origin/dev]表示的是本地分支dev对应的远程分支。

  • git config --list
    可查看配置列表
core.symlinks=false
core.autocrlf=true
core.fscache=true
color.diff=auto
color.status=auto
color.branch=auto
color.interactive=true
help.format=html
http.sslcainfo=C:/Program Files/Git/mingw64/ssl/certs/ca-bundle.crt
diff.astextplain.textconv=astextplain
rebase.autosquash=true
credential.helper=manager
user.name=deepthan
user.email=deepthan@163.com
credential.helper=store
core.repositoryformatversion=0
core.filemode=false
core.bare=false
core.logallrefupdates=true
core.symlinks=false
core.ignorecase=true
core.hidedotfiles=dotGitOnly
remote.origin.url=https://github.com/deepthan
remote.origin.fetch=+refs/heads/*:refs/remotes/origin/*
branch.dev.remote=origin
branch.dev.merge=refs/heads/dev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant