Skip to content

Commit

Permalink
fixed pull command
Browse files Browse the repository at this point in the history
  • Loading branch information
shitwolfymakes committed Mar 31, 2022
1 parent 8ba2fbc commit ba8216e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .githooks/post-update
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh
#!/bin/bash

# shellcheck disable=SC2164
cd arm-dependencies
git pull
git pull origin main
cd ..

if ! [[ -z $(git diff arm-dependencies) ]]; then
Expand Down
5 changes: 3 additions & 2 deletions .githooks/pre-push
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
#!/bin/sh
#!/bin/bash

# shellcheck disable=SC2164
cd arm-dependencies
git pull
git pull origin main
cd ..

if ! [[ -z $(git diff arm-dependencies) ]]; then
Expand Down

0 comments on commit ba8216e

Please sign in to comment.