git first setup (branch master -> main)

이다연·2021년 3월 12일
0

Git & GitHub

목록 보기
5/8
git init
name and email
git config user.name "Dayeon Lee"
git config user.email "@gmail.com"

git add .

if [Git 경고 메세지] LF will be replaced by CRLF in 
git config --global core.autocrlf true

git commit -m " - "

git branch -M main (README file 없어야 함 )
git remote add origin https://github.com/~

git push -u origin main

profile
Dayeon Lee | Django & Python Web Developer

0개의 댓글