Skip to content

Add hello-world file - #1

Open
Holzhaus wants to merge 1 commit into
mainfrom
hello
Open

Add hello-world file#1
Holzhaus wants to merge 1 commit into
mainfrom
hello

Conversation

@Holzhaus

Copy link
Copy Markdown
Member

I made a commit on main, then tried to push:

$ git push origin main
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 16 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 296 bytes | 296.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote: error: GH013: Repository rule violations found for refs/heads/main.
remote: Review all repository rules at https://github.com/mixxxdj/playground/rules?ref=refs%2Fheads%2Fmain
remote:
remote: - Changes must be made through a pull request.
remote:
To github.com:mixxxdj/playground.git
 ! [remote rejected] main -> main (push declined due to repository rule violations)
error: failed to push some refs to 'github.com:mixxxdj/playground.git'

Fix:

$ git branch -m hello
$ git push origin hello
Enumerating objects: 4, done.
Counting objects: 100% (4/4), done.
Delta compression using up to 16 threads
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 296 bytes | 296.00 KiB/s, done.
Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 (from 0)
remote:
remote: Create a pull request for 'hello' on GitHub by visiting:
remote:      https://github.com/mixxxdj/playground/pull/new/hello
remote:
To github.com:mixxxdj/playground.git
 * [new branch]      hello -> hello

@Swiftb0y Swiftb0y left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Test approval

@Swiftb0y

Copy link
Copy Markdown
Member

ah, don't have the rights here I guess...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants