Open a pull request from command line
When ready working on a feature branch in a project that uses GitHub, GitLab or anything else like them, one generally do git push -u origin <branch_name> and then goes to the web interface to open a pull request. Pretty much all of these platforms provide the URL to go in order to spare a few clicks. For instance: ❯ git push -u origin baba Enumerating objects: 1, done. Counting objects: 100% (1/1), done. Writing objects: 100% (1/1), 181 bytes | 181.00 KiB/s, done. Total 1 (delta 0), reused 0 (delta 0), pack-reused 0 remote: remote: Create a pull request for 'baba' on GitHub by visiting: remote: https://github.com/user/project_name/pull/new/baba remote: To github.com:user/project_name.git * [new branch] baba -> baba A few years ago Rado Stankov wrote a great post about a few git aliases and scripts he uses to automate things: Git Tricks . I took literally all of the tricks he shows there in my dotfiles and strongly suggest for you to do the same. ...