[GIT]First Blog Post in 2021
Nested and mixed lists are an interesting beast. It’s a corner case to make sure that
- Lists within lists do not break the ordered list numbering order
- Your list styles go deep enough.
git init 한 후 branch를 여러개 생성하고 싶은데 오류가 뜨는 경우
- master branch 에서 최초의 commit 을 하지 않았기 때문임
- 다른 분기를 만들기 위해서는 master 또는 main 에서 add, commit 을 최소 1번은 해야 함
- add를 하기 위해서는 파일을 추가 해야 하기 때문에 remote로 remote repo를 설정한 후 commit 하려 함
git remote 로 origin 설정 시 origin 이 없다고 에러가 뜨는 경우
- git remote add origin https://github.com/testB/your.git
git remote 주소를 변경하고 싶은 경우에는
- git remote set-url origin 주소
git remote 주소와 local 동기화?
- git remote update origin –prune
깃헙에 제대로 commit, push 했고 경로도 잘못된 것 없는데 404 오류 뜰 때 다음과 같이 해주면 제대로 뜬다!
- $ git commit –allow-empty -m ‘Trigger rebuild’
- $ git push origin
Posting my own contents
- anlayzing tree structure first
- pages
- make new customized page
- set permalink like below
title: “ DS: DATA SCIENCE” permalink: /categories/DS author_profile: false layout: category taxonomy: DS
- _posts: make new post in _posts dir
- make new file ** set categories1
- git add, commit, push
Leave a comment