리눅스 썸네일형 리스트형 git 명령어 git config --list 새로운 저장소 초기화하기 mkdir /path/newDir cd /path/newDir git init 저장소 복제하기 git clone 새로운 원격 저장소 추가하기 git remote add ) git remote add origin https://github.com/holystar97/java.git git remote remove origin 새로운 파일을 추가하거나 존재하는 파일 스테이징하고 커밋하기 git add git add . git add --all git commit -m “” 지역 브랜치를 동일한 이름의 원격 브랜치에 푸싱하기 git push git push origin master 새로운 로컬 브랜치를 원격 저장소에 푸싱하기 git push git 잘못.. 더보기 non-fast-forward 에러 / ![rejected] master -> master (fetch first) 1. $ git push origin master > To https://github.com/USERNAME/REPOSITORY.git > ! [rejected] master -> master (non-fast-forward) > error: failed to push some refs to 'https://github.com/USERNAME/REPOSITORY.git' > To prevent you from losing history, non-fast-forward updates were rejected > Merge the remote changes (e.g. 'git pull') before pushing again. See the > 'Note about fast-forwards' section .. 더보기 이전 1 다음