"Git 엔드포인트 확인"의 두 판 사이의 차이

27번째 줄: 27번째 줄:
==같이 보기==
==같이 보기==
* [[git remote]]
* [[git remote]]
==참고 자료==
* https://makandracards.com/makandra/1154-list-your-current-git-remotes


[[분류: Git]]
[[분류: Git]]

2017년 5월 13일 (토) 15:32 판

how to find out git endpoint
Git 엔드포인트 확인

1 방법 1: git ★

$ git remote -v
origin	https://github.com/jmnote/SimpleMathJax.git (fetch)
origin	https://github.com/jmnote/SimpleMathJax.git (push)

2 방법 2: .git/config

$ cat .git/config 
[core]
	repositoryformatversion = 0
	filemode = true
	bare = false
	logallrefupdates = true
[remote "origin"]
	url = https://github.com/jmnote/SimpleMathJax.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
	remote = origin
	merge = refs/heads/master

3 같이 보기

4 참고 자료

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}