Make RFD number one-liner more resistant to typos (#28280)

This commit is contained in:
Rafał Cieślak
2023-06-27 22:11:44 +00:00
committed by GitHub
parent 2b0fb80733
commit b278d87de3
+1 -1
View File
@@ -61,7 +61,7 @@ in the main Teleport branch.
Use this one-liner to get the highest-numbered RFD branch that's been pushed:
```bash
git fetch --quiet && git branch -r -v | grep origin/rfd/ | awk '{print $1}' | sort | tail -n 1
git fetch --quiet && git branch -r -v | grep origin/rfd/ | awk -F'[/,-]' '{ n=$3+0; print n }' | sort -n | tail -n 1
```
1. make a branch off of `master` called `rfd/$number-your-title`