Skip to content

Latest commit

 

History

History
16 lines (11 loc) · 573 Bytes

File metadata and controls

16 lines (11 loc) · 573 Bytes

git_sync.sh

CodeFactor

A script to synchronise local branch(es) with the latest changes from remote repository.


Usage

  • ./git_sync.sh – updates current branch with changes from remote/master/remote/main
  • ./git_sync.sh all – updates all branches with changes from remote/master/remote/main
  • ./git_sync.sh push – updates remote/master/remote/main with changes from current branch