mirror of
https://github.com/syncthing/syncthing-android.git
synced 2024-11-29 15:51:17 +00:00
9 lines
137 B
Bash
9 lines
137 B
Bash
|
#!/bin/sh
|
||
|
#
|
||
|
# Syntax:
|
||
|
# git_fetch_branch.sh [BRANCH_NAME_TO_FETCH]
|
||
|
#
|
||
|
git fetch --all
|
||
|
git fetch origin "${1}":"${1}"
|
||
|
git checkout "${1}"
|