DEV Community

How to Create a GitHub Pull Request from the Terminal (opens in new tab)

Discussed on DEV

Pull Requests are a normal part of working with GitHub. You write code in a branch, push it to GitHub, then open a Pull Request so your team can review and merge it. Most developers create Pull Requests from the GitHub website. That works fine. But once you get comfortable with the terminal, you can do the whole flow without leaving your editor or command line. In this post, we will go through a simple and practical workflow: update your local main branch create a new feature branch commit yo...

Read the original article
Sign in to keep reading the full article.

Keyboard Shortcuts

Navigation

Next / previous post
j/k
Open post
oorEnter
Preview post
v

Post Actions

Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Save / unsave
s

Recommendations

Add interest / feed
Enter
Not interested
x

Go to

Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Discover
gb
Search
/

General

Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help