Today I Learned
Blog
Newsletter
Twitter
More
Blog
Newsletter
Twitter
Ask or Search
Ctrl + K
Find default git branch name
Copy
git
remote
show
origin
|
awk
'/HEAD/ {print $3}'
Previous
Auto-correct Git commands
Next
Get current branch name
Last updated
2 years ago