Skip to content

Commit

Permalink
Add sync.sh bash script to automatically sync with gitlab repo
Browse files Browse the repository at this point in the history
  • Loading branch information
ravi688 committed Aug 15, 2024
1 parent b16549f commit b231170
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions sync.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

git pull origin main --ff
git fetch gitlab
git rebase gitlab/main
git rebase origin/main
git submodule update --recursive
git push

0 comments on commit b231170

Please sign in to comment.