Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FR: Print "remote:" messages when pushing new branch to git repo #3236

Closed
NoahTheDuke opened this issue Mar 6, 2024 · 2 comments · Fixed by #3243
Closed

FR: Print "remote:" messages when pushing new branch to git repo #3236

NoahTheDuke opened this issue Mar 6, 2024 · 2 comments · Fixed by #3243
Labels
polish🪒🐃 Make existing features more convenient and more consistent

Comments

@NoahTheDuke
Copy link

Is your feature request related to a problem? Please describe.
When using git, if I create a new branch and say git push, some forges will send back messages that allow me to open a new PR/MR on the forge for that branch. For example:

noah ~/personal/temp
$ git switch -c nb/example
Switched to a new branch 'nb/example'
noah ~/personal/temp
$ touch example
noah ~/personal/temp
$ git add example
noah ~/personal/temp
$ git commit -m 'ignore me'
[nb/example 571c1446] ignore me
 1 file changed, 0 insertions(+), 0 deletions(-)
 create mode 100644 example
noah ~/personal/temp
$ git push
Enumerating objects: 45, done.
Counting objects: 100% (43/43), done.
Delta compression using up to 11 threads
Compressing objects: 100% (25/25), done.
Writing objects: 100% (29/29), 3.54 KiB | 3.54 MiB/s, done.
Total 29 (delta 20), reused 4 (delta 2), pack-reused 0
remote:
remote: To create a merge request for nb/example, visit:
remote:   https://gitlab.com/crossbeam/temp/-/merge_requests/new?merge_request%5Bsource_branch%5D=nb%2Fexample
remote:
To gitlab.com:crossbeam/temp.git
 * [new branch]        nb/example -> nb/example
branch 'nb/example' set up to track 'origin/nb/example'.

At the end, there's the 3 lines starting with remote:, and the middle one is a link generated by Gitlab that I can copy-paste to automatically open an MR for this new branch.

Describe the solution you'd like
Display those messages somehow.

Describe alternatives you've considered
Do nothing.

@PhilipMetzger PhilipMetzger added the polish🪒🐃 Make existing features more convenient and more consistent label Mar 7, 2024
@julienvincent
Copy link
Collaborator

julienvincent commented Mar 13, 2024

I would also like! I think this is also a duplicate of #1967 where there was some additional commentary

@NoahTheDuke
Copy link
Author

Oh good find, i didn't see that one

bnjmnt4n added a commit to bnjmnt4n/jj that referenced this issue Mar 15, 2024
bnjmnt4n added a commit to bnjmnt4n/jj that referenced this issue Mar 16, 2024
bnjmnt4n added a commit that referenced this issue Mar 17, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 17, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 20, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 20, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 20, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 20, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 20, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 22, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 22, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit to bnjmnt4n/jj that referenced this issue Mar 22, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes martinvonz#3236.
bnjmnt4n added a commit that referenced this issue Mar 23, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 23, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
bnjmnt4n added a commit that referenced this issue Mar 23, 2024
The implementation of sideband progress message printing is aligned with
Git's implementation. See
https://github.com/git/git/blob/43072b4ca132437f21975ac6acc6b72dc22fd398/sideband.c#L178.

Closes #3236.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
polish🪒🐃 Make existing features more convenient and more consistent
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants