簡體   English   中英

使用命令行(終端)通過Github添加現有項目

[英]Adding an existing project through Github using the command line (terminal)

我在使用終端通過Github添加現有項目時遇到問題。 我使用了以下命令:

在終端中,添加將在其中推送本地存儲庫的遠程存儲庫的URL。

# Sets the new remote
git remote add origin remote repository URL

# Verifies the new remote URL
git remote -v

將本地存儲庫中的更改推送到GitHub。

# Pushes the changes in your local repository up to the remote repository 
# you specified as the origin
git push origin master

結果如下:

remote: Permission to Bloc/bloc-jams-student-skeleton.git denied to ynoorstani.
fatal: unable to access 'https://github.com/Bloc/bloc-jams-student-skeleton.git/': The requested URL returned error: 403

任何有用的提示或見解都將非常棒!

僅當您是Bloc組織成員的一部分( 此處是列表 )時,您才能寫此回購(推送)。

由於您不在該列表中,因此需要分叉該存儲庫才能進行推送。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM