Git Workflow
The basic workflow in Git involves creating a branch, making changes to your code, and then committing those changes to your branch. Once you're happy with your changes, you can merge your branch back into the main branch.
perl
git branch my-branch
git checkout my-branch
# make changes to your code
git add .
git commit -m "My commit message"
git checkout main
git merge my-branch
No comments:
Post a Comment