반응형
250x250
Notice
Recent Posts
Recent Comments
Link
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- Spring
- PostgreSQL
- VPN
- docker
- java bigdecimal
- Flux
- Spring Error
- kubeflow
- 도커
- Airflow
- aws
- JavaScript
- chart.js
- node
- Kafka
- aws cicd
- IntelliJ
- SQL
- redis
- bootstrap
- codedeploy
- codepipeline
- chartjs
- codedeploy error
- Jenkins
- codebuild
- openlens
- AWS CI/CD 구축하기
- Python
- COALESCE
Archives
- Today
- Total
Small Asteroid Blog
git 초기설정 및 연결하기 본문
728x90
git 초기 설정으로 깃에 올리는 이름과 이메일을 설정해주어야한다.
global명령어를 사용하지않으면 깃 push할때마다 이름과 이메일을 설정해주어야 한다.
// git commit에 사용될 username
git config --global user.name "your_name"
// git commit에 사용될 email
git config --global user.email "your_email@example.com"
// 설정한 내용을 확인할 수 있다.
git config --list
git init 으로 깃과 연결해준다
git init
git remote add origin 깃주소
// git push --set git push --set-upstream origin master
git pull origin master
git add .
git commit -m ""
git push --set-upstream origin master
728x90
반응형
'도구 > Git' 카테고리의 다른 글
| fatal : unable to access "" could not resolve host: "" 해결 (0) | 2021.04.13 |
|---|---|
| [git 블로그] 깃허브 블로그 만들기 (github.io) (0) | 2021.04.11 |
| [Git] [rejected] master -> master (non-fast-forward) 해결 방법(강제push) (0) | 2021.02.19 |
| WARNING! Using --password via the CLI is insecure. Use --password-stdin (0) | 2020.11.03 |
| .git 삭제 명령어 / git 연결끊기 (0) | 2020.10.30 |