mirror of
https://github.com/gravitational/teleport.git
synced 2026-10-12 02:15:01 +00:00
Make RFD number one-liner more resistant to typos (#28280)
This commit is contained in:
+1
-1
@@ -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`
|
||||
|
||||
Reference in New Issue
Block a user