简体   繁体   中英

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

I am having issues with adding an existing project through Github using terminal. I used the following commands:

In Terminal, add the URL for the remote repository where your local repository will be pushed.

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

# Verifies the new remote URL
git remote -v

Push the changes in your local repository to GitHub.

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

It came with the following results:

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

Any helpful tips or insight would be awesome!

You could write to this repo (push) only if you were part of the Bloc organization members ( here is the list ).

Since you are not in that list, you would need to fork that repo in order to push to it.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM