블로그
-
Git 치트시트
Git cheatsheet Configuration Set user configuration for every project if you use multiple accounts Use the current branch for push commands SSH keys setup Generate separate SSH keys for Github and Bitbucket
blog.naver.com · 2023.01.19
-
git push origin (main/master) 실행 시 fatal 에러 발생 해결방법
지속적으로 push origin main했을 때 정상업로드는 되지만 깃허브 사이트에 코드는 올라가지 않는 문제가 발생했었다... 어쩐지 내가 가진 브랜치는 main인데 자꾸 git branch 하면 master가 뜨더라...
blog.naver.com · 2022.07.25
-
Cheat Sheet
Git 로컬 태그 모두 제거 git tag -d $(git tag -l) 원격지 태그 모두 제거 git push origin --delete $(git tag -l) 원격지 태그 모두 페치 git fetch --all --prune 마지막 커밋을 다시 새로 커밋 git commit --amend --no-edit git push --force C++ 비트 플래그
blog.naver.com · 2022.05.03
-
Git - The Pull-Merge-Push Workflow
what if when we go to push our changes, there are new changes to the remote repo? lines -> git push(push the local repo to the remote repo) For example, it might take you a while
blog.naver.com · 2020.12.06
-
Git hub - Working with Remotes
limit the people authorized to work on it. - git clone : Clone a repository into a new directory - git push : Update remote refs along with associated objects - git pull : Fetch from and integrate with another
blog.naver.com · 2020.11.29
-
[Github] 로컬 저장소와 원격 저장소 연결
원격 저장소 연결 확인. git remote git remote -v : 상세보기 매뉴얼 git remote -help 3. 원격 저장소에 로컬 저장소 파일을 업로드. git push -u origin master ** 한번 push한 이후에는 git push 명령어만 입력하면 된다. 4.
blog.naver.com · 2019.02.05
-
[Github] 프로젝트 파일 수정 후 등록하기
1. git hub에 수정된 파일을 업로드 하기 위해서는 우선, 등록되어있는 파일을 가져와야 한다. git hub에 등록 되어있는 저장소 : origin 로컬에 저장 되어있는 저장소 커밋한다. 6. git push origin master origin에 master에 있는 파일들을 등록한다.
blog.naver.com · 2019.02.20
-
[Ruby][Sinatra] Heroku DB셋팅(예제파일 이용)
이번 시간에서는 미리 제가 준비해놓은 파일로 DB를 셋팅하고 Heroku에 Push 해볼겁니다. 바닥부터 만드는거 아닙니다. 만들어 놓은 예제로 진행합니다. >> 깃이 사용할 공간 정의 git remote add origin 깃주소 >&g.......
blog.naver.com · 2018.09.03
-
[형상관리]Git, 이클립스에서 초기설정, 기본사용법
이클립스에서 GIT 초기 설정법 및 기본 사용법 - 3.1. 이클립스에서 GIT Repository 연동 - 3.2. 대표적으로 CVS, SVN, Git(Git hub, Git Lab)이 있고, 언급한 순서대로 발전해 왔고 트랜드가 되고 잇습니다.
blog.naver.com · 2018.07.03
-
[Git]git remote, git push, git clone, 하나의 원격저장소를 2개의 지역저장소가 사용하는 방법(push와 pull)
1. git remote와 git push ・git remote add origin https://github.com/da91love/Myrepo -https://github.com ・git push -u origin master -처음 push를 시행할 때 필요한 명령어로 origin 원격 저장소와 master 브랜치를 연결시킨다.
blog.naver.com · 2017.11.27