Today I Learned
Blog
Newsletter
Twitter
More
Blog
Newsletter
Twitter
Ask or search...
Ctrl + K
Git
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
3 years ago