본문 바로가기

개념 공부/기타4

깃 명령어 gi t ini t : 깃 초기화(gi t생성) gi t b ranch : 로컬브랜치 확인가능 gi t b ranch -r :원격 브랜치 확인 가능 gi t b ranch -a : 모든 브랜치 확인 가능 gi t checkou t "브랜치 이름" : 해당 브랜치 이름으로 이동 gi t b ranch -m "a" "b" :브랜치 이름 a에서 b로 바꾸기 gi t b ranch -d "브랜치 이름" :브랜치 삭제하기 gi t rese t — ha rd HE AD^ : commi t한 이전 코드 취소하기 gi t rese t — sof t HE AD^ : 코드는 살리고 commi t만 취소하기 gi t rese t — me rge : me rge 취소하기 gi t clone "저장소 주소" :깃헙에서 소스를 .. 2020. 8. 18.
[Git] 현재 레포를 강제로 리셋하고, 다시 푸시하기 git push -u origin masterTo https://github.com/제 닉넴/MovieLine.git ! [rejected] master -> master (fetch first)error: failed to push some refs to 'https://github.com/제 닉넴/MovieLine.git'hint: Updates were rejected because the remote contains work that you dohint: not have locally. This is usually caused by another repository pushinghint: to the same ref. You may want to first integrate the r.. 2020. 8. 4.
[Git] 리포지토리(레포지토리) 관련 명령어 -레포 주소를 바꾸는 명령어git remote set-url origin 레포주소 -현재 레포 주소를 확인하는 명령어git remote -v -현재 레포에 있는 것을 리셋하고, 푸시하기git push --force --set-upstream origin master 2020. 7. 29.
[CSS3] 구조적 가상 클래스 선택자 :root문서의 최상위 태그(html)를 선택한다. 태그:nth-child(n)n번째 태그가 일치하면 선택한다. (여기서 n은 수열이다. 예를 들어 2n+1) 태그:nth-last-child(n)뒤에서부터 n번째 태그가 일치하면 선택한다. 태그:nth-of-type(n)일치하는 태그들 중, n번째 태그를 선택한다. 태그:nth-last-of-type(n)일치하는 태그들 중, 뒤에서부터 n번째 태그를 선택한다. 태그:first-chlid첫번째 태그가 일치하면 선택한다. 태그:last-chlid마지막 태그가 일치하면 선택한다. 태그:first-of-type일치하는 태그들 중, 첫번째 태그를 선택한다. 태그:last-of-type일치하는 태그들 중, 마지막 태그를 선택한다. 태그:only-child이 태그가 .. 2020. 6. 28.