diff options
author | Adam Spiers <git@adamspiers.org> | 2018-05-17 14:12:23 +0100 |
---|---|---|
committer | Adam Spiers <git@adamspiers.org> | 2018-05-17 14:12:23 +0100 |
commit | f0085ea2c477f5a09197a92e38bad9b4aaa2ac50 (patch) | |
tree | 483929e8e4d94a37869fee8c4dbe93ca10b7661d /tests/create-repo.sh | |
parent | 2f0a8a258ef8d4b2e8c787a565c0d9e2ac24697c (diff) | |
download | git-deps-f0085ea2c477f5a09197a92e38bad9b4aaa2ac50.tar.gz |
create-repo.sh: add a feature branch
Diffstat (limited to 'tests/create-repo.sh')
-rwxr-xr-x | tests/create-repo.sh | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tests/create-repo.sh b/tests/create-repo.sh index 9c84150..0159b13 100755 --- a/tests/create-repo.sh +++ b/tests/create-repo.sh @@ -54,6 +54,15 @@ main () { edit file-a three foo # depends on file-a tag edit file-b three bar # depends on file-b tag + # Start a feature branch + git checkout -b feature + new_file file-c + edit file-c four foo + edit file-c ten qux + + # Switch back to master + git checkout master + # Change non-overlapping part of previously changed file edit file-a eight foo # depends on file-a tag |