반응형 Tools342 github clone fork 차이점 정리 깃허브에서 빨간색 강조처리한 부분이 왼쪽 순서대로 각각 clone과 fork인데 기능이 애초에 다르기 때문에 크게 어려울 것이 없다 먼저 Clone은 Github Repository에 있는 프로젝트를 내 컴퓨터로 가져오는 것인데(remote를 local로) 내 repository건 남의 repository건 클론 한번으로 전체 프로젝트를 가져올 수 있다 다음으로 Fork는 남이 만든 Repository를 그대로 복사해서 내 계정으로 가져오는 것으로 가져오면서 Repository명은 얼마든지 변경이 가능하다 보면 기능이 아예 달라서 차이를 말한다면 commit and push를 할 때에 타인의 프로젝트를 clone 해서 개발했을 경우와 fork 해서 내 계정으로 긁어온 후 해당 프로젝트로 clone을 받은.. 2022. 7. 6. Github Repository Fork 방법 Github에서 공개된 Repository의 경우에는 Fork를 사용해서 모든 소스를 내 계정으로 가져와서 개인적으로 사용할 수 있는데 가져오려는 Repository로 이동한 후 우측 상단의 Fork를 누르고 Create a new fork를 눌러주자 내가 사용할 Repository 명을 설정한 뒤 Create fork를 눌러주면 선택한 Repository를 내 계정으로 가져온 것이 보인다 2022. 7. 5. brackets 특수문자 검색(Ctrl + F) 안되는 현상 해결방법 Brackets 사용 시 CTRL + F를 눌러 검색을 하는데 괄호() 와 같은 특수문자를 사용하면 invalid regular expression: /add(/ :Unterminated group 이런 에러가 뜨면서 검색이 안되는데 Brackets 에서 CTRL + F를 누른 후 검색창 우측의 .* 을 부분을 체크해주면 해결이 된다 2022. 7. 5. git restore / checkout 사용 시 파일 경로 찾는 방법 git 에서 restore 혹은 checkout 명령어를 사용해서 특정 파일을 복구하려고 하는 경우 현재 경로(pwd) 안에 해당 파일이 없으면 위 명령어를 사용할 수 없는데 해결방법은 git status를 입력하면 modified: src/main/resources/application.properties 위와 같이 현재 수정한 파일을 확인할 수 있는데 경로 또한 확인할 수 있기 때문에 cd 수정한_파일_경로 를 사용해준 뒤 git restore/checkout 파일명 을 사용해주면 된다 2022. 7. 5. git tag 삭제방법(local/remote) git에서 tag를 삭제할 경우에는 mac terminal에서 아래 명령어에서 태그명 정도만 변경해서 사용해주면 되겠다 local tag 삭제 git tag -d 태그명 remote tag 삭제 git push --delete origin 태그명 local 내 전체 tag 삭제 git tag -d $(git tag -l) remote 내 전체 tag 삭제 git push origin --delete $(git tag -l) 2022. 7. 1. Thymeleaf TemplateInputException 에러 해결방법 2022-06-30 23:23:37.273 ERROR 44264 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: Error resolving template [test1], template might not exist or might not be accessible by any of the configured Te.. 2022. 7. 1. 이전 1 ··· 13 14 15 16 17 18 19 ··· 57 다음 반응형