Git 프로젝트 설정 readme.txt git

Git 설정
#git 프로젝트 등록
git init

#git 스테이징 확인
git status

#git 스테이징
git add .

#git ignore 파일 등록
git rm --cached .ignore

#커밋
git commit -m "커밋 메세지"

#git 커밋 로그 확인(한줄로)
git log --oneline

#git 연결
git remote add origin 레파지토리네임
(username, password 요구 시 github 정보 입력, password 는 토큰입력)

#레파지토리로 푸쉬
git push origin main


관련링크 깃 에러 - https://blog.jaeyoon.io/2018/01/git-crlf.html

git config --global core.autocrlf true
파이썬 가상환경 virtualenv
#가상환경 구축해야 할 프로젝트 폴더로 이동하여 가상환경폴더(.venv) 생성 및 설치
python -m venv .venv

#가상환경 실행
source .venv/bin/activate
환경설치
pip install -r requirements.txt
Streamlit 실행
streamlit run main.py

This line appears after every note.

Notes mentioning this note

There are no notes linking to this note.


Here are all the notes in this garden, along with their links, visualized as a graph.