⌨️코딩/git
-
[Git] github branch main과 master의 차이는?⌨️코딩/git 2022. 5. 2. 17:04
Github레포지토리를 만들면 항상 master였던거같은데 어떨때는 main, master로 되어있습니다. 처음에는 이상해서 찾다가 main을 삭제하곤했었는데 찾아보니 master에서 main으로 이름이 변경되었다고 하네요 git은 여전히 배울게 참 많을거같아요🤦♀️ +)기본브런치 이름을 설정할 수 있다고 합니다:) https://github.com/settings/repositories GitHub: Where the world builds software GitHub is where over 73 million developers shape the future of software, together. Contribute to the open source community, manage your Gi..
-
[Git] Create react-app으로 만든 프로젝트 git repository에 push하기⌨️코딩/git 2022. 3. 19. 00:02
github 명령어같은것이 좀 어려워서 github Desktop으로만 하다가 create-react-app으로 미니미니미니프로젝트를 하는데 어떻게 올려야될지 몰라서 한 이틀을 찾다가 알게되었고 지금은 적응중입니다...ㅎㅎ 프로젝트를 create-react-app을 사용해서 만듭니다. npm create-react-app 프로젝트명 프로젝트 폴더 내로 이동합니다. cd 폴더명 git 환경을 만들어주세요. git init 만든 repository를 remote로 등록합니다. git remote add origin https://github.com/github아이디/프로젝트명.git create-react-app으로 만들어진 파일들을 추가합니다. git add * add 명령어를 이용하여 원하는 파일을 추가..