mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 18:12:48 +03:00
19 lines
336 B
Bash
19 lines
336 B
Bash
#!/usr/bin/env bash
|
|
set -eu -o pipefail
|
|
|
|
git init remote
|
|
(cd remote
|
|
echo first > file
|
|
git add . && git commit -m "init"
|
|
)
|
|
|
|
git clone remote single-branch-no-vbranch
|
|
|
|
git clone remote single-branch-no-vbranch-multi-remote
|
|
(cd single-branch-no-vbranch-multi-remote
|
|
git remote add other-origin ../remote
|
|
git fetch other-origin
|
|
)
|
|
|
|
|