Skip to content

Instantly share code, notes, and snippets.

View shakurt's full-sized avatar

Mohammad Shakur Tousian shakurt

View GitHub Profile
@shakurt
shakurt / best_practice.txt
Last active October 10, 2025 13:57
Git commands and descriptions
create a branch and work on a feature
after completing the feature on the branch us pull request(pr)
after merging successfully on github, click the button that says "now you can delete the branch safely"
on local, switch to main branch and pull the updates from remote
-WORKFLOW AFTER SUCCESSFUL PR
git fetch --prune
git checkout main
git pull origin main