GitHub and GitLab both give a very similar output after a git push
command has been executed. Hence, we can construct an alias that allows us to push and automatically open Chrome to create a PR.
This is what GitHub outputs after git push
has been executed:
Counting objects: 4, done.
Delta compression using up to 12 threads.
Compressing objects: 100% (4/4), done.
Writing objects: 100% (4/4), 3.01 KiB | 3.01 MiB/s, done.