From 3c5ee44cfb62172dfa6712ba4b2ca84199c04a7a Mon Sep 17 00:00:00 2001 From: ayatalkayed Date: Thu, 28 Dec 2023 11:37:56 +0300 Subject: [PATCH] commands --- README.md | 22 +++++++++++++++++----- 1 file changed, 17 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index aca3c4c..3ac4a9f 100644 --- a/README.md +++ b/README.md @@ -12,23 +12,35 @@ git submodule update --remote Common_Library ``` ## Push from the local repo to the remote repo + +#### save your work ``` -//save your work git switch Dev-DeveloperName git add . git commit -m "representative commit for what you do" -//update the local main branch +``` + +#### update the local main branch +``` git switch main git pull origin main git submodule update --remote Common_Library -//sync your branch with the main branch +``` + +#### sync your branch with the main branch +``` git switch Dev-DeveloperName git pull origin main git submodule update --remote Common_Library -//Slove any conflict locally -//push your work +// Slove any conflict locally +``` + +#### push your work to the remote repo +``` git add . git commit -m "representative commit for what you do" git push origin Dev-DeveloperName //create a pull request from your branch to the main branch ``` + +