Git > developer settings > Personal access tokens > Generate new token The personal access token can be your plain text password but it is not recommended. This turned in another problem: bad follower token 'editor' ( /Users/my.user/.netrc, line 2) So i threw in 'editor nano' to make it go away. I tried it without editor and it kept throwing some error: $EDITOR is unset, you will not be able to edit the pull-request message This command line tool needs a config file `.netrc` placed in user path `~/ ` * But it worked for me because I already had Python3 installed during a weekend Hackaton :) that also took some focus to set up correctly. Installation - this went like a charm: `pip3 install git-pull-request` # Setup shenanigansīelow I will detail some of the steps to setup that worked for me on mac. In this case, after a break I returned to the screen and found clarity. Especially if it would increase productivity and remove manual input. time out.īeyond a point I get to involved in the activity, or rather too attached to the idea to give up. Now I told myself: ok, if it takes me more than 10 minutes to get this pull-request from the command line working I will skip this experiment and move ahead with more important stuff on my 'To learn list' (darn list, it's starting to look like a sky scraper).ġ6 minutes later. Naturally like any experiment i try, it is too good to be true when it works just by copy-pasting the commands from the instructions, because i don't understand a lot of stuff in those instructions. Git-pull-request is a command line tool to send GitHub pull-request from your terminal Getting frustrated with my forgetfulness i searched for a more convenient, alternative way to send pull requests from the command line. It just felt like it would stay set on same branch once i created a PR with that setting.silly me. For whatever reason I kept forgetting to set this to develop branch. One of the projects I was working on has the default pull-request option set to master.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. Archives
January 2023
Categories |