본문 바로가기

Git7

[Git] 간단한 깃 사용법 $ cd (폴더 디렉토리) 해당 프로젝트 폴더로 이동해서 $ git init 깃을 시작 - 폴더의 모든 수정 내역들이 저장되는 .git 폴더가 생성 $ git status 상태 확인 'Untracked files:' 아래 깃이 추적하고 있지 않은 파일들을 확인 $ git add . 해당 폴더의 모든 내용을 git에 추가 다시 상태를 확인하면 'Changes to be committed:' 아래 깃에 커밋할 변경내용 확인 $ git commit -m "(작업수행 내용)" 폴더의 전체 내용의 수정 내역이 저장(commit 시마다 각 버전의 변경사항들이 기록됨) $ git logs 프로젝트를 과거 시점으로 되돌리기위해 이전 내역을 확인 커밋한 모든 내역 확인(* 'HEAD'는 포인터로 현재 작업중인 로컬 브랜.. 2021. 12. 7.
[Git] fatal authentication failed 오류와 token 만료 GitHub에서 친절하게 곧 토큰이 만료된다고 메일을 보냈었는데 읽고 잊고있었다... 오늘 커밋하고 푸시하려고 하니까 권한 인증 실패가 떠서 저 메일이 생각이 났고.. 2021.08.11 - [Git] - [Git] Mac The requested URL returned error: 403 error 해결 방법 [Git] Mac The requested URL returned error: 403 error 해결 방법 여느때 처럼 push를 하는 과정에서 에러가 발생 보름전에도 같은 에러가 발생했었는데, remote: Support for password authentication was removed on August 13, 2021. Please use a personal acce.. whenevery.. 2021. 11. 15.
[GitHub] 할로윈기념 잔디 테마 잘못 커밋한줄 알고 깜짝놀란 할로윈기념 호박색 테마 ;) 2021. 10. 31.
[Sourcetree] 간단한 소스트리 사용법 (병합 충돌) 1. 소스트리 다운로드 https://www.sourcetreeapp.com Sourcetree | Free Git GUI for Mac and Windows A Git GUI that offers a visual representation of your repositories. Sourcetree is a free Git client for Windows and Mac. www.sourcetreeapp.com 2. Create Local Repository로 로컬저장소 생성 3. 연동하고자 하는 폴더에 저장소 선언(git init) 4. .git 숨김폴더가 생성됨 5. txt 파일을 추가 6. 커밋(git commit -m "version1 생성") 7. 상단 Branch 탭으로 새로운 브랜치 생성 8.. 2021. 8. 16.
[Git] Mac The requested URL returned error: 403 error 해결 방법 여느때 처럼 push를 하는 과정에서 에러가 발생 보름전에도 같은 에러가 발생했었는데, remote: Support for password authentication was removed on August 13, 2021. Please use a personal access token instead. ... The requested URL returned error: 403 구글링을 해보니 주소에 대한 권한이 없어 뜨는 에러로, 하나의 컴퓨터에서 여러 개의 깃 헙 계정을 관리하는 사람들에게 나타나는 유형이라고 하는데, 나는 계정이 하나다. git remote set-url origin https://[USERNAME]@github.com/[USERNAME]/[REPOSITORY].git 터미널에 위와 같.. 2021. 8. 11.
KokoaTalk Clong Coding: create a github repository click "New" select "Owner" and write "Repository name"(no spaces and lower cases) Selecting "public" means, people can see your code. If you have any problem, people will be able to help you. Do not check. We're done. downroad GitHub Desktop for macOS / window It helps to work with github for beginner. Because it is easy to understand what is going on. Sign in click "Authorize desktop" write Pas.. 2021. 5. 10.