- This workshop is conducted for the hands-on learning of the best Clean Coding practices.
- overview and explanation
- break
- practical via gitlab code in small groups
- coming back to discuss learnings.
Installing gh cli link
curl -fsSL https://cli.github.com/packages/githubcli-archive-keyring.gpg | sudo gpg --dearmor -o /usr/share/keyrings/githubcli-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/githubcli-archive-keyring.gpg] https://cli.github.com/packages stable main" | sudo tee /etc/apt/sources.list.d/github-cli.list > /dev/null
sudo apt update
sudo apt install gh
gh auth login# Clone the repo
git clone https://github.com/Imsurajkr/cleancodeworkshop.git
cd cleancodeworkshop
gh repo fork
parentBranch=GroupName # Replace Group Name with your group
candidateName=MemberName # Replace MemberName with your Name
branchName="$parentBranch-$candidateName"
git checkout -b $branchName
# Add Your magic When done
git pull
git add <FilesChanged>
git commit -m "Customized Message"
git push
gh pr create --title "I did some changes" --body "And it works"
# All the best :-)





