Fast-campus/Git과 Github
-
Branch에 대해Fast-campus/Git과 Github 2022. 12. 16. 22:34
Branch 기초 Git에는 branch라는 분기점을 만드는 기능이 있습니다. Git은 단순히 자료를 저장해놓는 것에 그치지 않고 사용자가 원하는 시점을 기록해 놓는 기능으로도 사용을 하는데 만약 Master branch에서 작업을 하던 코드들이 있을 때 현재 작업 중인 내용을 유지하면서, 파일과 커밋 기록을 별도로 관리하고자 할 때, 브랜치를 분기하여 기록을 합니다 더보기 Branch commit commit 기록 Master commit1 commit2 commit3 commit4 commit1 commit2 commit3 commit4 Develop ↘ commit5 commit1 commit2 commit3 commit5 Branch 사용 Terminal에서 현재 생성되어 있는 branch의 종류..
-
Git과 Github의 차이 및 사용Fast-campus/Git과 Github 2022. 12. 14. 22:45
Git 이 단순히 버전을 기록하고, 관리하는 도구 - git 설치 mac 터미널에 아래의 명령어 입력 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"\ 위 명령어의 경우 Homebrew를 설치하기 위한 명령어 입니다. 간단하게 git을 사용하기 위해 맥OS용 패키지 관리자라고 생각하시면 됩니다! echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/(유저명)/.zprofile 유저명은 본인의 유저이름 작성하면 됩니다! 저의 경우는 /Users/bora/.zprofile eval "$(/opt/homebrew/bin/brew shel..