1. Git 설치
Git
git-scm.com
2. Sourcetree 설치
https://www.sourcetreeapp.com/
Sourcetree | Free Git GUI for Mac and Windows
A Git GUI that offers a visual representation of your repositories. Sourcetree is a free Git client for Windows and Mac.
www.sourcetreeapp.com
3. Sourcetree 설정하기
https://github.com/settings/tokens
GitHub: Where the world builds software
GitHub is where over 65 million developers shape the future of software, together. Contribute to the open source community, manage your Git repositories, review code like a pro, track bugs and feat...
github.com
여기로 들어간다.
소스트리에서 깃허브를 사용하기 위해서 일종의 비밀번호 (token)을 발급받아 사용할 것이다.
저 페이지로 들어가면 이런 화면이 보일텐데
Generate new token 을 클릭한다.
위와 같이 체크를 해주고 초록색 버튼을 클릭한다.
그러면 토큰이 발급된다.
저 토큰을 복사한다.
이 토큰 값은 보안 상의 이유로 절대로 다시 볼 수 없다.
까먹었다면 새로 발급 받으면 된다.
그다음 소스트리로 가서 도구-> 옵션으로 들어간다.
인증으로 들어가서 추가를 누른다.
위와 같이 설정해주고
사용자명에 자기 이름을 적는다.
그리고 비밀번호 새로 고침을 누른다.
저기에 아까 복사한 토큰을 복붙해놓는다.
그러면 소스트리와 깃허브가 연결되었다.
'Git' 카테고리의 다른 글
[Github] REBASE가 무엇인가? 해결법 (0) | 2021.07.19 |
---|---|
[Git] 깃허브와 sourcetree연결해서 sourcetree에서 버전관리하는 법/ push, commit, pull (0) | 2021.06.26 |
[Github] 깃허브로 무료로 웹호스팅하기 (0) | 2020.12.28 |
[Github] Eclipse 에서 다른 repository pull하는법/다른 사람의 코드 다운받기/ 변경 사항 pull하는 법 (0) | 2020.12.02 |
[Github] Eclipse 와 Github연동 commit , push하는 법 (0) | 2020.11.16 |