내가 원격 서버에 밀어 싶은 것을, 나 혼자 작업 봤는데 내 로컬 컴퓨터에 프로젝트를위한 새 프로젝트를 밀어 GIT는처음
에 (우분투에게 & gitosis를 실행) 원격 서버 나 로컬로 git status
git status
# On branch master
# Untracked files:
# (use "git add <file>..." to include in what will be committed)
#
# .DS_Store
# .travis.yml
# license.txt
# nbproject/
# bla/.DS_Store
# bla/cache/
nothing added to commit but untracked files present (use "git add" to track)
나는 또한 짓을 말한다
git init
Initialized empty Git repository in /home/stefan/.git/
했다
git remote add origin [email protected]:psdemo.git
지금 : 내가 밀어하려고 할 때, 다음은 그냥 빈 자식의 repo이 있기 때문에 그것은 방법으로 의미가
git push origin master
fatal: 'psdemo.git' does not appear to be a git repository
fatal: The remote end hung up unexpectedly
발생합니다.
파일을이 원격 서버로 푸시하려면 어떻게해야합니까? 내가 필요로하는 것은 내 로컬 컴퓨터에서 원격 컴퓨터로 복제하는 것입니다.