Skip to content

Instantly share code, notes, and snippets.

@sharunkumar
Created October 16, 2023 04:28
Show Gist options
  • Save sharunkumar/4f372889fd0feec01a96fa1f13b4708f to your computer and use it in GitHub Desktop.
Save sharunkumar/4f372889fd0feec01a96fa1f13b4708f to your computer and use it in GitHub Desktop.
Merge the latest tag from upstream
merge-release() {
git pull --all
TAG=$(git describe --tags $(git rev-list --tags --max-count=1))
git merge $TAG -m "Merge Release $TAG"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment