linux
[Git] Git / Ubuntu 설치
royleej9
2019. 5. 29. 23:38
git-scm 설치
sudo apt-get install git
계정 등록
git config --global user.name "이름"
git config --global user.email "email@test.net"
설정 확인
git config --list
저장소 등록
- git remote add [단축이름] [url]
git remote add origin https://github.com/user/repo.git
저장소 삭제
- git remote remove [단축이름]
git remote add origin
clone
git clone https://github.com/user/repo.git
삭제
git add -u
git commit -m "커밋 메세지"
git push
[git-scm] : https://git-scm.com/book/ko/v1/%EC%8B%9C%EC%9E%91%ED%95%98%EA%B8%B0-Git-%EC%84%A4%EC%B9%98