[git 과 gitHub]
- git for windows 다운로드 및 설치 : Git for Windows
Git for Windows
Git for Windows focuses on offering a lightweight, native set of tools that bring the full feature set of the Git SCM to Windows while providing appropriate user interfaces for experienced Git users and novices alike. Git BASH Git for Windows provides a BA
gitforwindows.org
다음다음다음을 연속으로 눌러 설치를 한다.
기본 설정으로 세팅 후 사용할 예정이다.
[로컬 저장소]
[저장소 만들기]
- 저장된 디렉터리 우클릭 > git bash here
git innt
[저장소 정보 변경]
git config user.name 이름
git config user.email 이메일
[Staging]
- 변경 사항 확인
git status
git add 파일명
git add .
[Commit]
- git commit -m "커밋 메세지"
[Log 확인]
git log
[원격 저장소]
[원격저장소 설정]
- github.com
git remote add origin 원격저장주소
[push]
git push - u origin master
처음 푸쉬하면 로그인 하라는 메세지가 뜬다. 연결해주면 된다.
[업로드 된 파일 가져오기]
새 장비에는 파일이 없다. github에 업로드 된 파일을 불러와보자.
[github에서 주소 복사]
[복원하기]
디렉토리에서 오른쪽버튼 -> git bash here
git clone 원격저장소 주소
[저장소 정보 변경]
저장소로 이동후 명령어 실행
git config user.name 이름
git config user.email 이메일
[글로벌 옵션]
매번 사용자 이름 설정하지 않게 계속 사용하려면 아래와 같이 설정한다.
git config --global user.name 이름
git config --global user.email 이메일
'DB-Oracle' 카테고리의 다른 글
Oracle SQL - Group & Aggregation (0) | 2021.08.04 |
---|---|
Oracle SQL - 단일행 함수 (Single Row Function) (0) | 2021.08.03 |
Oracle SQL - Basic Query - SELECT 문의 기초 (0) | 2021.08.03 |
ORACLE Develoer 설치 및 Demo 세팅 (0) | 2021.08.02 |
Oracle Database Installation (0) | 2021.08.02 |