Skip to content

Commit

Permalink
Add script to quickly checkout main and pull
Browse files Browse the repository at this point in the history
  • Loading branch information
zkovari committed Aug 2, 2023
1 parent 563c67d commit 2feaf15
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions co_main.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/bash

# exit when any command fails
set -e

if git checkout main; then
git pull
fi

0 comments on commit 2feaf15

Please sign in to comment.