Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What does this human drawing returned by git in terminal mean?

Tags:

git

bitbucket

Git showed me this:

enter image description here

I made mistake of not having changed the branch to the correct branch before I started adding files and pushing them up. But that aside, what does this ASCII drawing of a human mean?

like image 793
quantum231 Avatar asked Nov 15 '25 13:11

quantum231


2 Answers

Everything prefixed with remote: is what the remote server answered. It looks like the admin of said server likes to bring their point across through ASCII art.

like image 200
Quentin Avatar answered Nov 18 '25 13:11

Quentin


Looks like your upstream branch is protecting main branch with stable code only from random pushes.

It's standard practice to have one stable branch that can only be pushed to via pull requests, so no random pushes appear.

And what you are seeing is just custom message of admin of server which hosts the repository.

You need to create new branch, and commit all changes there and then create pull request. You may need to use git reset command which is able to revert changes from commits back to stage/index.

like image 25
Michał Turczyn Avatar answered Nov 18 '25 13:11

Michał Turczyn



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!