Skip to content

Instantly share code, notes, and snippets.

View maximianodev's full-sized avatar
🚀

Lucas Maximiano maximianodev

🚀
View GitHub Profile
@maximianodev
maximianodev / automatization.sh
Created February 16, 2023 15:00
BASH - VTEX Workspace and Git automatization.
# Paste on ~/
# Run with bash ~./automatization.sh
#! usr/bin/bash
bold=$(tput bold)
echo "🌌 ${bold}VTEX: Workspace ?"
read workspace
echo "🌌 ${bold}GIT: Branch ?"

GitFlow & Vtex IO - Workflow commands

  1. All PRs approved to branch develop and then Deleted from remote after approval

  2. Update develop locally

    git checkout develop && git pull origin develop