-
Open your terminal or Git Bash.
-
Clone the repository using the command:
git clone https://github.com/viacheslav-diachenko/new-project
-
Navigate into the cloned repository directory using 'cd new-project'
-
To create a new branch named 'development', use:
git branch development
-
Switch to the 'development' branch:
git checkout development
-
Add your changes to the staging area:
git add
-
Commit your changes with a descriptive message:
git commit -m "Your commit message"
-
Push your changes to the 'development' branch:
git push origin development
-
Switch to the 'main' branch:
git checkout main
-
Merge changes from 'development':
git merge development
-
Push the merged changes to GitHub:
git push origin main