티스토리 뷰

 

  1. Delete the .git directory locally.

  2. Recreate the git repostory:
$ cd (project-directory)
$ git init
$ (add some files)
$ git add .
$ git commit -m 'Initial commit'

    3. Push to remote server, overwriting. Remember you're going to mess everyone else up doing this … you better be the only client.

 

$ git remote add origin <url>
$ git push --force --set-upstream origin master

 

'Programming > Tools' 카테고리의 다른 글

google spread sheet에서 다른 파일의 내용을 import할 때  (0) 2018.11.24
docker-machine boot2docker sudo  (0) 2018.07.23
docker redis  (836) 2018.07.09
docker commands basic II  (0) 2018.07.09
docker command basic  (756) 2018.07.09
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
«   2024/05   »
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함