목록Development (7)
블로그 옮겼습니다
그냥 pip install 로 하면 현재 쓰고있는 파이썬 버전과 다른 버전의 패키지가 받아져서 계속 패키지가 없다고 나오는 경우가 있음 python -m pip install 패지명 으로 하면됨
git rm -r --cached some-directory git commit -m 'Remove the now ignored directory "some-directory"' git push origin master
command-line$ sudo apt install python3.6$ mkdir djangogirls $ cd djangogirls$ python3 -m venv myvenv$ source myvenv/bin/activate혹은$ . myvenv/bin/activate(myvenv) ~$ pip install --upgrade pip(myvenv) ~$ pip install django~=1.11.0 Collecting django~=1.11.0 Downloading Django-1.11.3-py2.py3-none-any.whl (6.8MB) Installing collected packages: django Successfully installed django-1.11.3(myvenv) ~/dja..
remote 저장소 보기git remote -v origin git@github.com:USERNAME/REPOSITORY.git (fetch) origin git@github.com:USERNAME/REPOSITORY.git (push) remote 저장소 url 변경하기git remote set-url origin https://github.com/USERNAME/REPOSITORY.git remote 저장소에 push 하기git push remote 저장소에 push 할때 다른 브랜치 명으로 올리기git push :
출처 : https://gist.github.com/niksumeiko/8972566 Moving git repository and all its branches, tags to a new remote repository keeping commits history git clone --mirror cd git remote add new-origin git push new-origin --mirror
git status하면 충돌난거 빨간색으로 쭉 뜸. 그럼 하나 하나 vim으로 열어보면base 브랜치(머지하는 destination 브랜치)인 branch-a까지랑 충돌난다는뜻 충돌나는부분 적절히 수정해주고 git add .git commit -m 'asdf' 해주면 됨