From 51600ab0abde8b58a94aab5d128be8c580ea7bf8 Mon Sep 17 00:00:00 2001 From: ayatalkayed Date: Thu, 28 Dec 2023 11:35:27 +0300 Subject: [PATCH] commands --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 59fbb3d..aca3c4c 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,20 @@ git submodule update --remote Common_Library ## Push from the local repo to the remote repo ``` +//save your work +git switch Dev-DeveloperName +git add . +git commit -m "representative commit for what you do" +//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 git switch Dev-DeveloperName git pull origin main git submodule update --remote Common_Library //Slove any conflict locally +//push your work git add . git commit -m "representative commit for what you do" git push origin Dev-DeveloperName