1
0
Fork 0
This commit is contained in:
ayatalkayed 2023-12-28 11:35:27 +03:00
parent f5888c05e2
commit 51600ab0ab
1 changed files with 7 additions and 0 deletions

View File

@ -13,13 +13,20 @@ git submodule update --remote Common_Library
## Push from the local repo to the remote repo ## 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 switch main
git pull origin main git pull origin main
git submodule update --remote Common_Library git submodule update --remote Common_Library
//sync your branch with the main branch
git switch Dev-DeveloperName git switch Dev-DeveloperName
git pull origin main git pull origin main
git submodule update --remote Common_Library git submodule update --remote Common_Library
//Slove any conflict locally //Slove any conflict locally
//push your work
git add . git add .
git commit -m "representative commit for what you do" git commit -m "representative commit for what you do"
git push origin Dev-DeveloperName git push origin Dev-DeveloperName