728x90

 

--MOOC활용

  • Udacity

  • Edx

  • Coursera

  • 기타 코딩 플랫폼(생활코딩, 인프런)

 

 

CLI(command line interface)

 

pwd(print working directory)

cd ~ (home)

cd /

cd

ls -a

 

. : 현재폴더

.. : 상위폴더

 

mkdir  first-git

cd first-git

git init

 

git status

 

touch a.txt

git add a.txt

 

로컬컴퓨터 : working dir(a.txt) ----add----> staging area Index(a.txt)------commit------>1.first-commit

👇 remote add(push)

원격저장소 :

 

git commit -m "first commit"

 

git config --global(user 정보 변경) user.email  ""

git config --global(user 정보 변경) -l

 

git log(commit log 확인가능)

git help

git diff

git status

 

git add a.txt -> git status

git commit -> i로 변경하고 커밋 메시지 작성

vi편집기 - 읽기모드, 쓰기모드 i로 변경 , esc

:wq(저장하고 나가기)

 

 

hashing : https://guggero.github.io/blockchain-demo/#!/hash(암호화)

SHA256 -> 한번 암호화된 것은 복호화가 힘들다

 

깃헙 저장소 만들기

git remote add origin https://github.com/mhee4321/first-git.git

 

git remote -v

 

git push origin master(origin주소로 master를)

 

 

 

**노트정리

  • 마크다운(typora)

 

 

https://github.com/prayeo/TIL -> 참고

 

--TIL(today i learned)

https://github.com/Ji4n1ng/OpenInTerminal -> 맥 터미널 켤때 다운받으면 좋음

 

Ji4n1ng/OpenInTerminal

✨ Finder Toolbar app for macOS to open the current directory in Terminal, iTerm, Hyper or Alacritty. - Ji4n1ng/OpenInTerminal

github.com

 

git init

mkdir linux

mkdir git

cd linux

touch linux-command.md(마크다운 파일 생성)

 

git add .

git status

git commit -m "my first TIL"

 

git remote add origin https://github.com/mhee4321/TIL.git

git push origin master

 

 

 

**font awesome => 아이콘 사용 https://fontawesome.com/

 

Font Awesome

The world’s most popular and easiest to use icon set just got an upgrade. More icons. More styles. More Options.

fontawesome.com

 

 

git clone _______

 

git pull origin master

표기법 정리

 

 

camel

snake

pascal

kebab

을 주로 사용

 

 

**브랜치 만들기(2.23 버전이후 새로 추가됨 switch, restore)

git branch meghan

git branch

 

git checkout meghan(git switch meghan)

git branch -d meghan(활동 중인 브랜치는 지울 수 없음)

git checkout master

git branch -d meghan

 

git branch feature/login

git checkout feature/login(Switch)

git log --oneline

 

touch b.txt

git add .

git commit -m "update"

git log --online

git checkout master

git log --oneline

 

(1. fast forward방식 : 새로운 브랜치가 생성됨)

git merge  feature/login

git log --oneline

git branch -d feature/login

git branch

 

(2. 새로운 브랜치 만든후 add commit - automerge)

git branch feature/signup

git switch feature/signup

touch signup.txt

git add .

git commit -m "update"

 

git checkout master

touch login.txt

git add .

git commit -m "update login"

git merge feature/signup

git log --oneline --graph

git branch -d feature/signup

git branch

git push origin master

 

(3. 충돌사항 만들기 - 새로운 브랜치와 마스터가 각각 같은 파일 수정 -> conflict)

git branch logout

git checkout logout

touch logout.txt(수정)

git add .

git commit -m "update"

 

git checkout master

git add .(logout.txt 수정)

git commit -m "team"

git merge logout(conflict)

git add .

git commit -m "merge branch"

git log --oneline --graph

 

 

**깃을 올릴때 원치않는 파일 관리(black list, white list)

  • gitignore.io

https://www.toptal.com/developers/gitignore

 

gitignore.io

Create useful .gitignore files for your project

www.toptal.com

 

**애초에 깃으로 관리하지 않는 경우

git init

touch .gitignore 설정 해놓고 시작

 

 

**깃을 되돌리고 싶을 때

--(add한 것을 unstaged하기)

git restore --staged <file>

git reset HEAD <file이름>

git status

 

--(commit한 것을 취소함) -> 다른분들이랑 협업할때는 또 충돌이 일어날 수 있으니 함부로 과거로 되돌리지 말자.

git commit --amend(제일 마지막 커밋메시지를 바꾸고 싶을 때) ->vim 실행됨 -> 수정 후 esc누른 후 :eq

git log --oneline

 

git reset  HEAD^(마지막 커밋 삭제)

git reset HEAD^^(마지막 두개 커밋 삭제)

 

(3가지 모드)

git reset --soft (코드를 유지하고 staging area에 올라감)

git reset --hard (파일 자체를 다 날려버림)

git reset --mixed (staging area에는 올라가지 않고 코드를 유지함)

 

--reset vs revert

reset : 커밋을 없던 일로 만듦

revert : 원상복귀는 되지만 커밋기록은 남음

https://www.devpools.kr/2017/01/31/%EA%B0%9C%EB%B0%9C%EB%B0%94%EB%B3%B4%EB%93%A4-1%ED%99%94-git-back-to-the-future/

 

개발바보들 1화 - git "Back to the Future"

  이 내용에 대한 자세한 기술적인 설명이 듣고 싶나요? 연속되는 다음글을 참조하세요    

www.devpools.kr

 

 

 

깃 참고사전 : https://git-scm.com/book/ko/v2

 

Git - Book

 

git-scm.com

 

 

2020 기술 로드맵

https://github.com/kamranahmedse/developer-roadmap

 

kamranahmedse/developer-roadmap

Roadmap to becoming a web developer in 2021. Contribute to kamranahmedse/developer-roadmap development by creating an account on GitHub.

github.com

 

 

 

**DevOps(back-end랑 연관되어 있음)

유닉스(리눅스 시스템)

 

 

<채용참고>

 

**당근마켓 채용

https://www.notion.so/2c789a2c7b1a4cfca40b11afba678315

 

[당근마켓 채용] 멋진 동료를 찾고 있어요!

당근마켓과 함께 성장할 당신을 기다리고 있어요.

www.notion.so

 

**로켓펀치

https://www.rocketpunch.com/companies/daangn

 

당근마켓 기업, 투자 정보

❝ 당근마켓은 동네 이웃 간의 연결을 도와 따뜻하고 활발한 교류가 있는 지역 사회를 꿈꾸고 있어요. ❞ 중고 직거래를 시작으로 구인·구직, 클래스·모임, 동네 생활 정보, 동네 Q&A 등을 포함

www.rocketpunch.com

 

**원티드

 

 

<알고리즘 참고>

 

**알고리즘

알고리즘 github

백준

https://swexpertacademy.com/main/main.do

 

SW Expert Academy

SW 프로그래밍 역량 강화에 도움이 되는 다양한 학습 컨텐츠를 확인하세요!

swexpertacademy.com

 

 

github.io -> 정적

 

**블로그 선택

--gatsby(javascript)

--jekyll

 

--위의 것들이 어려우면 티스토리 블로그 운영하기

https://awesome-devblog.netlify.app/en 참고

 

awesome-devblog

 

awesome-devblog.netlify.app

 

 

https://developer.mozilla.org/ko/

 

MDN Web Docs

MDN 웹 문서 사이트는 HTML, CSS, 및 웹 사이트와 프로그레시브 웹 앱을 위한 API를 포함한 오픈 웹 기술에 대한 정보를 제공합니다. 또한 Firefox 개발자 도구와 같은 Mozilla 제품을 위한 개발자 지향 문

developer.mozilla.org

 

 

 

 

 

728x90

'PROJECT' 카테고리의 다른 글

SCRUM 회의  (0) 2020.11.13
GIT 사용법  (0) 2020.11.13

+ Recent posts