[TIL] Day1 html/css

박동우·2023년 3월 15일

블록체인 스쿨 3기

목록 보기
2/72

[TIL] 2023-03-15 DAY1

오전

이더리움
js, Solidity 공부 열심히 하기

오후

  • css파일 html 파일에 연결
    link:css -> 엔터 (<link rel="stylesheet" href="style.css">)
  • js파일 html 파일에 연결
    script:src -> 엔터

git

  • 파일생성
    README.md
    .gitignore

  • 명령어
    git init
    git add . -> 파일 옆 U -> A
    git commit -m "수정내용 이름" -> A 글자 사라짐
    -> 이메일 등록 git config --global user.email "you@example.com"
    -> 닉네임 등록 git config --global user.name "Your Name"
    git branch -M main -> master에서 main으로 변경
    git remote add origin [자신의 깃헙주소]
    -> 삭제가 필요한 경우 git remote remove origin
    git remote -v -> 주소확인
    git push -u origin main -> 깃허브에 저장

  • 깃허브 업데이트 하는법
    git add .
    git commit -m "수정내용 이름"
    git push -u origin main

profile
HELLO!

0개의 댓글