본문 바로가기

개발환경22

기본적인 git 사용법 cd PycharmProjects/cnn_kfold/cnn_slowScan # Git Hub 에 저장할 파일이 있는 디렉토리로 이동 git init # .git 을 만들어주기 위해 설정 후 ls -a로 .git의 생성을 확인한다. git add . #파일들의 추적을 위해 모든 파일을 add 한다. git commit -m "first commit" # 파일들을 commit 한다. git remote add origin https://github.com/ksm619/multi-channel_CAE.git # hub에 저장할 수 있도록 remote 한다 git remote -v # remote 결과를 확인한다. git push origin master # master 폴더로 push 한다. (최종 uploa.. 2020. 8. 25.
Ubuntu 18.04 고정 IP 설정 글 시작에 앞서 다음 블로그에 대한 내용을 보고 참고했다. 출처 : https://hanseokhyeon.tistory.com/entry/Ubuntu-1804-%EA%B3%A0%EC%A0%95-IP-%EC%84%A4%EC%A0%95%ED%95%98%EA%B8%B0?category=830462 1. IP 확인 ifconfig result: enp2s0: flags=4163 mtu 1500 inet xxx.xxx.xx.xx netmask 255.255.255.0 broadcast xxx.xxx.xx.255 inet6 fe80::7285:c2ff:fe69:98df prefixlen 64 scopeid 0x20 ether 70:85:c2:69:98:df txqueuelen 1000 (Ethernet) RX pa.. 2020. 4. 28.
zsh 와 oh-my-zsh로 Shell 사용하기 / 테마 바꾸기 ubuntu 18.04에서 설치하기 sudo apt-get install zsh sudo sh -c "echo 'deb http://download.opensuse.org/repositories/shells:/zsh-users:/zsh-completions/xUbuntu_18.04/ /' > /etc/apt/sources.list.d/shells:zsh-users:zsh-completions.list" wget -nv https://download.opensuse.org/repositories/shells:zsh-users:zsh-completions/xUbuntu_18.04/Release.key -O Release.key sudo apt-key add - < Release.key sudo apt-get.. 2020. 4. 18.
내 컴퓨터에서 Git 시작하기 Git의 장점 중 하나는 대부분의 명령을 로컬에서 실행한다는 것이다. 원격 저장소(remote repository)정보가 필요할때만 (pull push 등) 네트워크가 필요하고 그 외에는 오프라인 환경에서도 commit이 가능하다. Git 저장소 생성 · 기존 디렉토리를 Git 저장소로 만들기 -먼저 로컬 저장소로 사용할 폴더를 생성하여 해당 폴더로 이동한다. *데스크탑으로 이동하여 git_save라는 폴더를 생성하고 git_save폴더로 이동한다. cd Desktop/ mkdir git_save cd git_save -해당 폴더에서 git init을 실행한다. git init .git 이라는 하위 디렉토리를 만든다. .git 디렉토리에는 저장소에 필요한 skeleton 파일이 들어있다. 파일 상태 확인.. 2020. 4. 17.