Comments (5)
I am surprised that the git clone
levels worked in this instance.
Could you please run the following two commands and paste the output?
Command 1: ssh
git clone [email protected]:Gazler/githug.git
Command 2: https
git clone https://github.com/Gazler/githug.git
from githug.
tyler@xutop:~/testdir$ git clone [email protected]:Gazler/githug.git
Cloning into 'githug'...
Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
tyler@xutop:~/testdir$ git clone https://github.com/Gazler/githug.git
Cloning into 'githug'...
remote: Counting objects: 1711, done.
remote: Compressing objects: 100% (1037/1037), done.
remote: Total 1711 (delta 677), reused 1581 (delta 558)
Receiving objects: 100% (1711/1711), 250.12 KiB | 0 bytes/s, done.
Resolving deltas: 100% (677/677), done.
Checking connectivity... done
tyler@xutop:~/testdir$
I know that when I did the git clone levels I used https and it worked fine, seems like SSH is the problem.
In case there's a platform difference, I'm using command line git on Xubuntu 13.10
from githug.
That's good to know. The fix should be as simple as changing it to use the https protocol.
from githug.
I'm not sure that will fully solve the problem, because in order to submit a pull request on github, one needs to fork the repository, and work on their own fork. Instructing users to clone your repo and then git push
isn't going to work without your password - regardless of whether HTTPS or SSH is used. I propose a reworking of the level to point users to the website to fork the repo rather than a simple clone.
from githug.
@tyler569 - The solution for this level requires a valid (merged into the repo) contribution to the Githug project. The reason it clones is to iterate over the commits to check if you match as an author of one of the commits.
All that is failing in your case is the clone to see if you have any contributions because there is no SSH key set up.
Thanks.
from githug.
Related Issues (20)
- Level 10 wrong number off files to be committed
- Can I switch to a specific level? HOT 1
- Scoop安装失败 HOT 1
- GitHug gem on rubygems.org is extremely outdated!
- Several levels don't recognize default branch not named `master` HOT 1
- Level 28, behaving not as expected
- Stage 14 not accepting the answer even though it's presumably correct HOT 2
- Change delete branch hint
- Level 4 not working as expected in Ubuntu 18.04 HOT 4
- Support using GitHug in the classroom HOT 1
- DISCUSSION: New level-set branch based on Git Immersion by Jim Weirich HOT 1
- Enhance Dockerfile classroom functionality
- Potential issue in checkout_tag.rb (level 34)
- Issu in levels 4, 16 and so: what you should do HOT 3
- Problem in level 37
- Githug doesnt work HOT 3
- level 28 cannot pass HOT 2
- will there be an update to rubygem? HOT 10
- git switches branches but the directory remains the same
- trava_format,celulr
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from githug.