我是git
世界新人,最近我開始部署木偶。我打算在git
版本控制中放置傀儡。我下面木偶的食譜,做以下git回購問題相關傀儡
[email protected]:/etc/puppet# git init
Initialized empty Git repository in /etc/puppet/.git/
[email protected]:/etc/puppet# git add manifests/ modules/
[email protected]:/etc/puppet# git commit -m "initial commit"
[master (root-commit) c7a24cf] initial commit
59 files changed, 1790 insertions(+), 0 deletions(-)
create mode 100644 manifests/site.pp
create mode 100644 manifests/utils.pp
當我運行以下命令,我得到這個錯誤。什麼是命令要做?
[email protected]:/etc/puppet# git push -u origin master
fatal: 'origin' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
我該如何連接到git並在我的客戶端或其他地方簽出我的回購?
'git remote -v'輸出什麼? – Agis
git remote -v'empty'輸出 – Satish