This project is created to demonstrate basic Git workflow.
-
Clone the repository:
git clone <repository URL>
-
Switch to the development branch:
git checkout development
-
Make necessary changes in the README.md file using your preferred text editor.
-
Add changes to the staging area:
git add README.md
-
Commit the changes with a descriptive message:
git commit -m "Commit description" -
Push the changes to the remote repository:
git push origin development
-
Check the status and ensure everything is up to date:
git status
-
Switch back to the main branch and merge the changes:
git checkout main git merge development
-
Again, check the status and commit the changes:
git status git commit -m "Merge changes from development branch" -
Push the changes to the remote repository:
git push origin main
-
Your changes are successfully uploaded and merged with the main branch. Enjoy