github
-
[Git] remote 원격 브랜치 로컬로 가져오기개발 관련/GitHub 2024. 3. 5. 12:31
checkout 로컬 브랜치 이름을 별도로 설정하려고자할 때 git checkout -b --track / git checkout -b -t / 원격저장소 브랜치 이름을 그대로 사용할 때 git checkout -t / 참고 https://git-scm.com/docs/git-checkout Git - git-checkout Documentation When there is only one argument given and it is not -- (e.g. git checkout abc), and when the argument is both a valid (e.g. a branch abc exists) and a valid (e.g. a file or a directory whose name is "a..
-
vscode로 github 시작하기개발 관련/GitHub 2021. 5. 20. 09:43
Working directory에서 git init 명령어를 입력하게 되면 Initialized empty Git repository in C:\Users\DY\Desktop\PythonWorkspace\img\.git/ 이 문장이 출력이 되었다면 해당 Working directory에 .git이라는 폴더가 생성되었다는것을 확인 할 수 있다. 확인한 후에 git config user.name "username" git config user.email "email@email.com" ->git add file or dir -> git commit -m "commit message" -> git remote add origin https://github.com/kangddong/python_moudle.gi..
-
repl.it과 Github 활용 [아이패드]개발 관련/GitHub 2021. 4. 28. 22:23
집에서는 노트북으로 공부를 하는데 학교에서는 노트북을 들고다니기에 2.2kg의 게이밍노트북이라서 ,,,,, 어떻게하면 학교에서 남는 시간에 공부할 수 있을지 고민하던 중 iPad App인 repl.it을 알게되었다. 평소에도 Visual studio의 무거움과 노트북의 발열 등 여러가지 이유로 repl.it를 Web IDE로 가끔 사용해왔는데 iPad에서도 사용 가능할 줄이야 ...! (세상이 참 너무 좋아진거같아요 증말) 제 경우에는 구글 로그인 + Github 연동을 해놓아서 Github Repository에 접근이 용이합니다. 이걸 활용해서 local에서 push했던 내용들을 편집도 가능하며 Console를 이용해서 commit, push 등 전부 가능합니다 !! 전공, 숙련자들에게는 당연하고 쉬운..
-
GitHub 커밋 안 까먹기 위한 포스팅개발 관련/GitHub 2021. 4. 23. 18:39
git config --global user.email "dkanrjskTmrh@naver.com" git config --global user.name "kangddong" 위치가 다른경우 cd c:/users/DY/Desktop/diretory git init git status if commit 할게 있다면 빨간불 들어온다. git add * or git add fileName git remote add origin https://github.com/kangddong/python_study.git git push origin master -END- git commit -m "commit" --commit & push difference-- commit은 로컬저장소의 변경 사항을 최신화 시키는 것? ..