일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- 검사
- jobdispatcher
- firebase
- epmty
- shceduler
- jobschduler
- Service
- Job
- livedatam
- schedule
- 빈
- Background
- Library
- Android
- alarmanager
- workmanager
- PHP
- Today
- Total
에몽이
리눅스(우분투) GitHub 사용법 본문
리눅스(우분투) GitHub 사용법
git 설치
$ sudo apt-get install git-core
[!] 참고 : https://help.github.com/articles/set-up-git
Github 개인 정보 등록
$ sudo git config --global user.name "본인 계정 입력"
$ sudo git config --global user.email "본인 메일 주소 입력"
$ sudo git config --global color.ui "auto"
[!] 참고 : https://help.github.com/articles/create-a-repo
작업 폴더 생성
$ sudo mkdir /works
$cd /works
github 저장소 복제
$ sudo git clone https://github.com/dejavuwing/ngle.git
원격 저장소 등록
$ sudo git remote add origin https://github.com/dejavuwing/ngle.git
$ sudo git fetch origin
변경된 모든 파일 추가 (커밋 전에 필수 실행)
$ sudo git add -A
# 아래의 명령어를 입력후 엔터 치고 변경목록이 보이면 Ctrl+o 그리고 엔터 그리고 Ctrl+x 종료한다.
$ sudo git commit
커밋 메세지를 입력 (하지 않으면 안됨)
$ sudo git commit -m "메세지입력"
저장소에 올리기 (계정과 암호 물어보면 입력)
$ sudo git push
저장소 업데이트 (내려받기)
$ sudo git pull
git 상태 확인
$ git status
출처: http://dejavuwing.tistory.com/entry/Ubuntu-GitHub-사용법 [딸구씨]