git 1.0
git clean repository working tree 샬라블라~~
git clean -d -x -f 를 사용했다..
** git repository 연결
git remote add origin {repository 주소}
** 새로운 브런치 만들기
git checkout -b {브런치 이름}
** 브런치 이동
git switch {브런치 이름}
** 브런치 리스트
git branch
** 브런치 삭제
git branch -- delete {브런치 이름}
*** 강제로 branch를 삭제
git branch -D {브런치 이름}
*** 원격 remote branch를 삭제
이거 아닌듯 -- git push origin :{브런치 이름}
** commit
git commit -m "{comment}"
** push
git push origin {브런치 이름}
*** warning: LF will be replaced by CRLF in src/App.js.
-- 리눅스/유닉스 와 Windows 의 줄바꿈 때문에 일어나는 일인듯...
git config --global core.autocrlf true
** git add 로 commit/push할 파일 및 디렉토리를 선택할 수 있다.
git add {폴더경로 및 파일경로}
add 후에는 commit -> push 순으로 서버에 올려주어야 함..
** git clone : git local에 다운로드
git clone {repository 주소}
git clean -d -x -f 를 사용했다..
** git repository 연결
git remote add origin {repository 주소}
** 새로운 브런치 만들기
git checkout -b {브런치 이름}
** 브런치 이동
git switch {브런치 이름}
** 브런치 리스트
git branch
** 브런치 삭제
git branch -- delete {브런치 이름}
*** 강제로 branch를 삭제
git branch -D {브런치 이름}
*** 원격 remote branch를 삭제
이거 아닌듯 -- git push origin :{브런치 이름}
** commit
git commit -m "{comment}"
** push
git push origin {브런치 이름}
*** warning: LF will be replaced by CRLF in src/App.js.
-- 리눅스/유닉스 와 Windows 의 줄바꿈 때문에 일어나는 일인듯...
git config --global core.autocrlf true
** git add 로 commit/push할 파일 및 디렉토리를 선택할 수 있다.
git add {폴더경로 및 파일경로}
add 후에는 commit -> push 순으로 서버에 올려주어야 함..
** git clone : git local에 다운로드
git clone {repository 주소}
댓글
댓글 쓰기