kpi-web-guild / django-girls-blog-l1storez

django-girls-blog-l1storez created by GitHub Classroom
MIT License
0 stars 0 forks source link

Create an empty commit on master (and push nothing else there!) #5

Closed webknjaz closed 3 years ago

webknjaz commented 4 years ago
git commit --allow-empty -m 'Initial commit'
git push origin master

And report here after that.

l1storez commented 3 years ago

fatal: 'origin' does not appear to be a git repository

webknjaz commented 3 years ago

@l1storez

This probably means that you've created a local git repository with git init and didn't add a remote called origin. If you were to clone it from GitHub, the origin would point there by default.

There's instructions for these two cases right at the repo front page: https://github.com/kpi-web-guild/django-girls-blog-l1storez.

l1storez commented 3 years ago

Add a remote called origin, but authentication to origin master failed

webknjaz commented 3 years ago

Check that you've added your currently used SSH key to GitHub. (The auth can be checked as described in #3)

webknjaz commented 3 years ago

I've enabled branch protection for master. You won't be able to push there directly anymore. This part of the task has been completed.

The only mistake is that you've made 9 different commits, some of which modify README. The task was to create just one empty commit, not touching any files.