DEV Community

Cover image for The SIMPLEST way to make a pull request ๐ŸŒฒโœ”๏ธ

The SIMPLEST way to make a pull request ๐ŸŒฒโœ”๏ธ

Luke Garrigan on October 13, 2019

I'm sure many of you have done the following: Google: "How to make make a pull request" Cry when you see the long string of commands that need to...
Collapse
 
anthonywebdev profile image
Anthony R.

Better than GitHub Desktop you have GitKraken :D Available on Windows, Mac & Linux.

Good post by the way.

Collapse
 
lukegarrigan profile image
Luke Garrigan • Edited

ooh It looks really good, and a 3-way merge tool built-in! ๐Ÿš€ Thank you

Collapse
 
anthonywebdev profile image
Anthony R.

You're welcome ๐Ÿ˜‡

Thread Thread
 
lukegarrigan profile image
Luke Garrigan • Edited

I will say though, It's a little less beginner-friendly than Github desktop there are many, many more options for things which may be a little daunting for newcomers!

Thread Thread
 
anthonywebdev profile image
Anthony R.

Personally since a friend of me made me discovered GitKraken I am in love with it.
Before, I was commiting only with terminal commands, but I found the GUI way more convenient. It's easy to see the last commits, branches etc ...

Collapse
 
shostarsson profile image
Rรฉmi Lavedrine

I really love Gitkraken. Must say that I took it because of its Linux compatibility but it is my go-to Git client (when not using the CLI) because of all the features it has and the design that makes everything pretty clear.

Nevertheless, some VSCode add-on are pretty good as well.
Git File History => marketplace.visualstudio.com/items...
and
Git Graph => marketplace.visualstudio.com/items...

Collapse
 
chadkouse profile image
Chad Kouse • Edited

The GitHub hub command line tool is much simpler. github.com/github/hub

hub pull-request --no-edit -p -o -b master

Pushes your branch to remote (-p), makes the PR using your commit messages (--no-edit), asks to pull the changes into the master branch (-b master), and even opens it in the browser once done (-o).

Collapse
 
fabian_muema profile image
Fabian Muema

Thanks for this command. Been using hub but didn't know it can do that.

Collapse
 
iamkirillart profile image
Kirill

I think, you should add one step โ€” create branch for your commits. 1 branch โ€” 1 PR for 1 issue. It will be better, than a lot of commits in 1 PR with different issues.

Collapse
 
shadowwarior5 profile image
Konstantin Meiklyar • Edited

Nice post!
Isn't the easiest way is still to create in on GitHub from branch?

Collapse
 
schnipdip profile image
schnipdip

This is good! You can use the desktop app too. Since I work in Linux using the CLI is the best choice.

sudo git clone --single-branch -b Dev git@github.com:UserName/gitRepo.git

Collapse
 
seanmclem profile image
Seanmclem

I usually just make github PRs right on Github.com