- Git(개인)
- git config --global user.name 깃허브 아이디
- git config --global user.email 깃허브 이메일
- git init
- git remote add origin "주소"
- git remote -v (확인)
- git branch -M main
- git pull origin main (중요)
- git add .
- git commit -m "커밋메시지"
- git push origin main
- Git(팀)
- git init
- git remote add origin "개인 레포지토리 주소"
- git remote add upstream "복사한 중앙 레포지토리 주소"
- git remote -v
- git branch -M main
- git pull upstream main
- git branch
- git branch "브랜치 이름"
- git switch "브랜치 이름"(브랜치 이동)
- git branch -d "브랜치 이름"(브랜치 삭제)
- git add .
- git commit -m "커밋메시지"
- git push upstream main
- git push origin "현재 브랜치 이름"
- git switch main
- git pull upstream main
- git branch -d "내 브랜치 이름"
- Django 개발 환경 세팅
- pip3 install pipenv(설치)
- pipenv shell(켜기)
- pip install django
- django-admin startproject "project name"
- python manage.py startapp "app name"
- setting.py에 설치한 앱 등록
- python manage.py migrate
- python manage.py makemigrations
- python manage.py runserver