Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

Can the command line highlight errors more elegantly?

Deleted user September 3, 2018

Hello,

After a merge conflict I went to resolve on the CLI.

Once it was resolved I pushed up to the target branch which gave me this output:

Counting objects: 54, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (19/19), 267.17 KiB | 0 bytes/s, done.
Total 19 (delta 18), reused 0 (delta 0)
remote: permission denied to update branch xxxx
To git@bitbucket.org:xxx/xxx.git
! [remote rejected] HEAD -> xxxx(pre-receive hook declined)
error: failed to push some refs to 'git@bitbucket.org:xxx/xxx.git'

I missed the error because I did not have permission to write to the target branch.

Note: Once the permissions were updated - I got this output:

Counting objects: 54, done.
Delta compression using up to 2 threads.
Compressing objects: 100% (19/19), done.
Writing objects: 100% (19/19), 267.17 KiB | 0 bytes/s, done.
Total 19 (delta 18), reused 0 (delta 0)
remote:
remote: Create pull request for xxxx:
remote: https://bitbucket.org/xxx/xxx/pull-requests/new?source=xxxx&t=1
remote:
To git@bitbucket.org:xxx/xxx.git
d3cd0e2..d4d0d0c HEAD -> xxxx

 As you can see at a quick glance the text is very similar.

What would have been nice would be a final line coloured red or green to determine the status of the command.

1 answer

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 17, 2018

Hi Mark, welcome to the Community!

This is not something that can be addressed from the Community side, but you can submit your ideas and feature requests at Site/master. The rest of the users will be able to vote for it if they find it useful and our developers might consider it as a future improvement. 

Hope that helps :) 

Ana

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events