Thread (10 messages) 10 messages, 5 authors, 2023-10-30

Re: please add link / url to remote - when - git push

From: Torsten Bögershausen <hidden>
Date: 2023-10-30 06:36:49

On Sun, Oct 29, 2023 at 06:15:35PM -0500, Alexander Mills wrote:
When a feature branch is pushed, we get a link in the console to go to
remote, however when I push directly to main/master, no such link, eg:
alex.mills@alex node-be % git push
Enumerating objects: 20, done.
Counting objects: 100% (20/20), done.
Delta compression using up to 12 threads
Compressing objects: 100% (10/10), done.
Writing objects: 100% (11/11), 1.56 KiB | 799.00 KiB/s, done.
Total 11 (delta 7), reused 0 (delta 0), pack-reused 0
remote: Resolving deltas: 100% (7/7), completed with 7 local objects.
remote: Bypassed rule violations for refs/heads/main:
remote:
remote: - Changes must be made through a pull request.
remote:
To github.com:elx-onlinx/beautychat-chatcards.git
   ffe1e05..bb7b0ef  main -> main
Having the link in the console saves me tremendous time and is
extremely effective/efficient. Can we get links in the console plz?
If we look very carfully at the log, we see that all the messages prefixed
with "remote:" come from the remote (git server).
In your case github. Other "Git repo servers" like gitlab or bitbucket have
the same feature.

Git itself, running on your local computer, does not produce this links.
If you really want to push directly to the main branch and want to see the
a link, then you better talk to the gihub folks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help