Git 5

Netlify 사용

Netlify 프로젝트 만들고 배포 할 수 있도록 도와주는 사이트 Netlify 구글검색 https://www.netlify.com/ Netlify: Develop & deploy the best web experiences in record time A powerful serverless platform with an intuitive git-based workflow. Automated deployments, shareable previews, and much more. Get started for free! www.netlify.com 처음이면 회원가입 깃허브여서 깃허브로 회원가입 승인클릭 다작성해주구 Set up and continue클릭 깃으로 해주기위해 Import from Git클릭 GitH..

Git 2022.10.05

깃page배포 npm run deploy 사용

1. npm i gh-pages -D 설치 $ npm i gh-pages -D package.json에 설치되어진게 보인다 2. package.json 안에 homepage 작성 { "name": "blog", "version": "0.1.0", "homepage": "https://아이디.github.io/리포지토리이름", "private": true, "dependencies": { "react": "^18.1.0", "react-dom": "^18.1.0", "react-scripts": "5.0.1", "web-vitals": "^3.0.3" }, homepage를 작성해줘야한다 또한 아래 script에도 "predeploy": "npm run build", "deploy": "gh-pages -..

Git 2022.10.05

git

달러표시없을때 ctrl c 누르면 강제종료후 달러표시없다면 달러표시 띄우게됨 //브랜치 깃배쉬 html 폴더 파일안 /HTML (master) $ git branch test /HTML (master) $ git checkout -b test fatal: a branch named 'test' already exists /HTML (master) $ git checout test git: 'checout' is not a git command. See 'git --help'. The most similar command is checkout /HTML (master) $ git checkout test Switched to branch 'test' /HTML (test) $ git add . /HTML ..

Git 2022.02.15

깃 bash 사용하기

간단히 적어본다 깃설치 일단 깃허브에 repository 만들기 커밋 해줄 곳에 마우스 오른쪽을 클릭하면 giy Bash Here 누르기 창나옴 git log git add . git commit -m '커밋이름' 처음하면 너가누구냐고 해서 지정이 안됨 $ git config --global user.name "이름" $ git config --global user.email "이메일" 그럼 이메일 이름 적어줘야함 git commit -m '커밋이름' 다적어주고 이거 적으면됨 git log 들어갔는지 확인 git add . 만약 다른것도 추가 하고싶다면 추가하고싶지 않다면 바로 repository주소입력하면된다 git commit -m '커밋이름' git log 들어갔는지 확인 git remote add..

Git 2022.02.14