summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-03-27 11:22:16 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-27 14:58:20 +1100
commit2b3d457aa44821a7d0c1705a510a5567e44a07da (patch)
tree5f1ef9c80993827811431db0785e3bcf8bc43c28 /test
parentae10a5ea8865e04b6369f6a0f9cd8a554ca6cac1 (diff)
honour push.default matching config value
Diffstat (limited to 'test')
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/COMMIT_EDITMSG1
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/FETCH_HEAD2
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/HEAD1
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/ORIG_HEAD1
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/config21
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/description1
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/indexbin0 -> 209 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/info/exclude7
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/logs/HEAD10
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/master4
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/other_branch3
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/master3
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/other_branch3
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52bin0 -> 52 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb42
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827bin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bcebin0 -> 103 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/42/d408cffcc087da21115f9ebc29e9765a2beb833
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5bin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/a7/341a59f0ddeef969e69fb6368266d22b0f2416bin0 -> 77 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/b8/2ed4a67bef9ef50807adf409f103ef7b0832abbin0 -> 149 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/ce/0848710343a75263ea72cb5bdfa666b9ecda68bin0 -> 103 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54bin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/d3/708eeec2b9d69acbe87862330e844e85f77de1bin0 -> 149 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41bbin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/refs/heads/master1
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/refs/heads/other_branch1
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/master1
-rw-r--r--test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/other_branch1
-rw-r--r--test/integration/forcePushMultiple/expected/myfile11
-rw-r--r--test/integration/forcePushMultiple/expected/myfile21
-rw-r--r--test/integration/forcePushMultiple/expected_remote/HEAD1
-rw-r--r--test/integration/forcePushMultiple/expected_remote/config8
-rw-r--r--test/integration/forcePushMultiple/expected_remote/description1
-rw-r--r--test/integration/forcePushMultiple/expected_remote/info/exclude7
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52bin0 -> 52 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb42
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827bin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bcebin0 -> 103 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/42/d408cffcc087da21115f9ebc29e9765a2beb833
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5bin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/a7/341a59f0ddeef969e69fb6368266d22b0f2416bin0 -> 77 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/b8/2ed4a67bef9ef50807adf409f103ef7b0832abbin0 -> 149 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/ce/0848710343a75263ea72cb5bdfa666b9ecda68bin0 -> 103 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54bin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/d3/708eeec2b9d69acbe87862330e844e85f77de1bin0 -> 149 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41bbin0 -> 21 bytes
-rw-r--r--test/integration/forcePushMultiple/expected_remote/packed-refs3
-rw-r--r--test/integration/forcePushMultiple/expected_remote/refs/heads/master1
-rw-r--r--test/integration/forcePushMultiple/expected_remote/refs/heads/other_branch1
-rw-r--r--test/integration/forcePushMultiple/recording.json1
-rw-r--r--test/integration/forcePushMultiple/setup.sh54
-rw-r--r--test/integration/forcePushMultiple/test.json4
53 files changed, 154 insertions, 0 deletions
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/COMMIT_EDITMSG b/test/integration/forcePushMultiple/expected/.git_keep/COMMIT_EDITMSG
new file mode 100644
index 000000000..51be8ec3d
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/COMMIT_EDITMSG
@@ -0,0 +1 @@
+myfile4
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/FETCH_HEAD b/test/integration/forcePushMultiple/expected/.git_keep/FETCH_HEAD
new file mode 100644
index 000000000..d56304e09
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/FETCH_HEAD
@@ -0,0 +1,2 @@
+b82ed4a67bef9ef50807adf409f103ef7b0832ab branch 'master' of ../actual_remote
+d3708eeec2b9d69acbe87862330e844e85f77de1 not-for-merge branch 'other_branch' of ../actual_remote
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/HEAD b/test/integration/forcePushMultiple/expected/.git_keep/HEAD
new file mode 100644
index 000000000..cb089cd89
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/HEAD
@@ -0,0 +1 @@
+ref: refs/heads/master
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/ORIG_HEAD b/test/integration/forcePushMultiple/expected/.git_keep/ORIG_HEAD
new file mode 100644
index 000000000..3774ff3d1
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/ORIG_HEAD
@@ -0,0 +1 @@
+d3708eeec2b9d69acbe87862330e844e85f77de1
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/config b/test/integration/forcePushMultiple/expected/.git_keep/config
new file mode 100644
index 000000000..740ff301f
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/config
@@ -0,0 +1,21 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = false
+ logallrefupdates = true
+ ignorecase = true
+ precomposeunicode = true
+[user]
+ email = CI@example.com
+ name = CI
+[push]
+ default = matching
+[remote "origin"]
+ url = ../actual_remote
+ fetch = +refs/heads/*:refs/remotes/origin/*
+[branch "master"]
+ remote = origin
+ merge = refs/heads/master
+[branch "other_branch"]
+ remote = origin
+ merge = refs/heads/other_branch
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/description b/test/integration/forcePushMultiple/expected/.git_keep/description
new file mode 100644
index 000000000..498b267a8
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/description
@@ -0,0 +1 @@
+Unnamed repository; edit this file 'description' to name the repository.
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/index b/test/integration/forcePushMultiple/expected/.git_keep/index
new file mode 100644
index 000000000..375819d60
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/index
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/info/exclude b/test/integration/forcePushMultiple/expected/.git_keep/info/exclude
new file mode 100644
index 000000000..8e9f2071f
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/info/exclude
@@ -0,0 +1,7 @@
+# git ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
+.DS_Store
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/logs/HEAD b/test/integration/forcePushMultiple/expected/.git_keep/logs/HEAD
new file mode 100644
index 000000000..476f234fd
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/logs/HEAD
@@ -0,0 +1,10 @@
+0000000000000000000000000000000000000000 16d8875e19987b16f1991a41fd3f4536d16f7cb4 CI <CI@example.com> 1648340487 +1100 commit (initial): myfile1
+16d8875e19987b16f1991a41fd3f4536d16f7cb4 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 commit: myfile2
+42d408cffcc087da21115f9ebc29e9765a2beb83 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 checkout: moving from master to other_branch
+42d408cffcc087da21115f9ebc29e9765a2beb83 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 checkout: moving from other_branch to master
+42d408cffcc087da21115f9ebc29e9765a2beb83 b82ed4a67bef9ef50807adf409f103ef7b0832ab CI <CI@example.com> 1648340487 +1100 commit: myfile3
+b82ed4a67bef9ef50807adf409f103ef7b0832ab 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 reset: moving to HEAD^
+42d408cffcc087da21115f9ebc29e9765a2beb83 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 checkout: moving from master to other_branch
+42d408cffcc087da21115f9ebc29e9765a2beb83 d3708eeec2b9d69acbe87862330e844e85f77de1 CI <CI@example.com> 1648340487 +1100 commit: myfile4
+d3708eeec2b9d69acbe87862330e844e85f77de1 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 reset: moving to HEAD^
+42d408cffcc087da21115f9ebc29e9765a2beb83 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 checkout: moving from other_branch to master
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/master b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/master
new file mode 100644
index 000000000..15de170c8
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/master
@@ -0,0 +1,4 @@
+0000000000000000000000000000000000000000 16d8875e19987b16f1991a41fd3f4536d16f7cb4 CI <CI@example.com> 1648340487 +1100 commit (initial): myfile1
+16d8875e19987b16f1991a41fd3f4536d16f7cb4 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 commit: myfile2
+42d408cffcc087da21115f9ebc29e9765a2beb83 b82ed4a67bef9ef50807adf409f103ef7b0832ab CI <CI@example.com> 1648340487 +1100 commit: myfile3
+b82ed4a67bef9ef50807adf409f103ef7b0832ab 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 reset: moving to HEAD^
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/other_branch b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/other_branch
new file mode 100644
index 000000000..78ea80b06
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/heads/other_branch
@@ -0,0 +1,3 @@
+0000000000000000000000000000000000000000 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 branch: Created from HEAD
+42d408cffcc087da21115f9ebc29e9765a2beb83 d3708eeec2b9d69acbe87862330e844e85f77de1 CI <CI@example.com> 1648340487 +1100 commit: myfile4
+d3708eeec2b9d69acbe87862330e844e85f77de1 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 reset: moving to HEAD^
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/master b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/master
new file mode 100644
index 000000000..dd0a1b736
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/master
@@ -0,0 +1,3 @@
+0000000000000000000000000000000000000000 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 fetch origin: storing head
+42d408cffcc087da21115f9ebc29e9765a2beb83 b82ed4a67bef9ef50807adf409f103ef7b0832ab CI <CI@example.com> 1648340487 +1100 update by push
+b82ed4a67bef9ef50807adf409f103ef7b0832ab 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340489 +1100 update by push
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/other_branch b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/other_branch
new file mode 100644
index 000000000..ca4e1389e
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/logs/refs/remotes/origin/other_branch
@@ -0,0 +1,3 @@
+0000000000000000000000000000000000000000 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340487 +1100 fetch origin: storing head
+42d408cffcc087da21115f9ebc29e9765a2beb83 d3708eeec2b9d69acbe87862330e844e85f77de1 CI <CI@example.com> 1648340487 +1100 update by push
+d3708eeec2b9d69acbe87862330e844e85f77de1 42d408cffcc087da21115f9ebc29e9765a2beb83 CI <CI@example.com> 1648340489 +1100 update by push
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52 b/test/integration/forcePushMultiple/expected/.git_keep/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52
new file mode 100644
index 000000000..7f2ebf4ee
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb4 b/test/integration/forcePushMultiple/expected/.git_keep/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb4
new file mode 100644
index 000000000..b72fd3fa1
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb4
@@ -0,0 +1,2 @@
+xÍA
+ƒ0@Ñ®sŠÙÊŒN'))¸òc2¡‚!")ØÛ×#tûyðc-ei@,—¶›šÄŒ*³XHÌFAR N){ž¹OÂYã½súiïºÃ8Ásœ^vhÙV»ÅZ áÐ3rðp%Btg='Íþä®|ó²¹3,Ó \ No newline at end of file
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 b/test/integration/forcePushMultiple/expected/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827
new file mode 100644
index 000000000..f74bf2335
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bce b/test/integration/forcePushMultiple/expected/.git_keep/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bce
new file mode 100644
index 000000000..0a734f981
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bce
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/42/d408cffcc087da21115f9ebc29e9765a2beb83 b/test/integration/forcePushMultiple/expected/.git_keep/objects/42/d408cffcc087da21115f9ebc29e9765a2beb83
new file mode 100644
index 000000000..31d3fad7a
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/42/d408cffcc087da21115f9ebc29e9765a2beb83
@@ -0,0 +1,3 @@
+xŽA
+à E»öî ÅÑɨJ!«Cã Ä& ííëºû<þûüe¯um"^Úɬ“wiˆbJa–H‘)J&GÁk³‹@êH'¿ºH%?0Ä|’ !Hq‚ƒ£Ò‘_2ªônÏýÔÓ¬Çi~ð'ÕcãÛ²×{ßÀàÐ`ðú
+`Œê´Ÿjüg]Õ¯¬[õŒá9· \ No newline at end of file
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 b/test/integration/forcePushMultiple/expected/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5
new file mode 100644
index 000000000..285df3e5f
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/a7/341a59f0ddeef969e69fb6368266d22b0f2416 b/test/integration/forcePushMultiple/expected/.git_keep/objects/a7/341a59f0ddeef969e69fb6368266d22b0f2416
new file mode 100644
index 000000000..96d2e71a6
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/a7/341a59f0ddeef969e69fb6368266d22b0f2416
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/b8/2ed4a67bef9ef50807adf409f103ef7b0832ab b/test/integration/forcePushMultiple/expected/.git_keep/objects/b8/2ed4a67bef9ef50807adf409f103ef7b0832ab
new file mode 100644
index 000000000..55c8270da
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/b8/2ed4a67bef9ef50807adf409f103ef7b0832ab
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/ce/0848710343a75263ea72cb5bdfa666b9ecda68 b/test/integration/forcePushMultiple/expected/.git_keep/objects/ce/0848710343a75263ea72cb5bdfa666b9ecda68
new file mode 100644
index 000000000..5e9361d35
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/ce/0848710343a75263ea72cb5bdfa666b9ecda68
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54 b/test/integration/forcePushMultiple/expected/.git_keep/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54
new file mode 100644
index 000000000..d39fa7d2f
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/d2/34c5e057fe32c676ea67e8cb38f4625ddaeb54
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/d3/708eeec2b9d69acbe87862330e844e85f77de1 b/test/integration/forcePushMultiple/expected/.git_keep/objects/d3/708eeec2b9d69acbe87862330e844e85f77de1
new file mode 100644
index 000000000..e36f500bd
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/d3/708eeec2b9d69acbe87862330e844e85f77de1
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41b b/test/integration/forcePushMultiple/expected/.git_keep/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41b
new file mode 100644
index 000000000..9b771fc2f
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/objects/df/6b0d2bcc76e6ec0fca20c227104a4f28bac41b
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/refs/heads/master b/test/integration/forcePushMultiple/expected/.git_keep/refs/heads/master
new file mode 100644
index 000000000..f9339e7e2
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/refs/heads/master
@@ -0,0 +1 @@
+42d408cffcc087da21115f9ebc29e9765a2beb83
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/refs/heads/other_branch b/test/integration/forcePushMultiple/expected/.git_keep/refs/heads/other_branch
new file mode 100644
index 000000000..f9339e7e2
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/refs/heads/other_branch
@@ -0,0 +1 @@
+42d408cffcc087da21115f9ebc29e9765a2beb83
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/master b/test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/master
new file mode 100644
index 000000000..f9339e7e2
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/master
@@ -0,0 +1 @@
+42d408cffcc087da21115f9ebc29e9765a2beb83
diff --git a/test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/other_branch b/test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/other_branch
new file mode 100644
index 000000000..f9339e7e2
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/.git_keep/refs/remotes/origin/other_branch
@@ -0,0 +1 @@
+42d408cffcc087da21115f9ebc29e9765a2beb83
diff --git a/test/integration/forcePushMultiple/expected/myfile1 b/test/integration/forcePushMultiple/expected/myfile1
new file mode 100644
index 000000000..a5bce3fd2
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/myfile1
@@ -0,0 +1 @@
+test1
diff --git a/test/integration/forcePushMultiple/expected/myfile2 b/test/integration/forcePushMultiple/expected/myfile2
new file mode 100644
index 000000000..180cf8328
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected/myfile2
@@ -0,0 +1 @@
+test2
diff --git a/test/integration/forcePushMultiple/expected_remote/HEAD b/test/integration/forcePushMultiple/expected_remote/HEAD
new file mode 100644
index 000000000..cb089cd89
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/HEAD
@@ -0,0 +1 @@
+ref: refs/heads/master
diff --git a/test/integration/forcePushMultiple/expected_remote/config b/test/integration/forcePushMultiple/expected_remote/config
new file mode 100644
index 000000000..c51ded5d7
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/config
@@ -0,0 +1,8 @@
+[core]
+ repositoryformatversion = 0
+ filemode = true
+ bare = true
+ ignorecase = true
+ precomposeunicode = true
+[remote "origin"]
+ url = /Users/jesseduffieldduffield/go/src/github.com/jesseduffield/lazygit/test/integration/forcePushMultiple/./actual
diff --git a/test/integration/forcePushMultiple/expected_remote/description b/test/integration/forcePushMultiple/expected_remote/description
new file mode 100644
index 000000000..498b267a8
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/description
@@ -0,0 +1 @@
+Unnamed repository; edit this file 'description' to name the repository.
diff --git a/test/integration/forcePushMultiple/expected_remote/info/exclude b/test/integration/forcePushMultiple/expected_remote/info/exclude
new file mode 100644
index 000000000..8e9f2071f
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/info/exclude
@@ -0,0 +1,7 @@
+# git ls-files --others --exclude-from=.git/info/exclude
+# Lines that start with '#' are comments.
+# For a project mostly in C, the following would be a good set of
+# exclude patterns (uncomment them if you want to use them):
+# *.[oa]
+# *~
+.DS_Store
diff --git a/test/integration/forcePushMultiple/expected_remote/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52 b/test/integration/forcePushMultiple/expected_remote/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52
new file mode 100644
index 000000000..7f2ebf4ee
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/objects/0e/6cf0a6b79e8d44e186d812a1f74b43d64fac52
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected_remote/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb4 b/test/integration/forcePushMultiple/expected_remote/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb4
new file mode 100644
index 000000000..b72fd3fa1
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/objects/16/d8875e19987b16f1991a41fd3f4536d16f7cb4
@@ -0,0 +1,2 @@
+xÍA
+ƒ0@Ñ®sŠÙÊŒN'))¸òc2¡‚!")ØÛ×#tûyðc-ei@,—¶›šÄŒ*³XHÌFAR N){ž¹OÂYã½súiïºÃ8Ásœ^vhÙV»ÅZ áÐ3rðp%Btg='Íþä®|ó²¹3,Ó \ No newline at end of file
diff --git a/test/integration/forcePushMultiple/expected_remote/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827 b/test/integration/forcePushMultiple/expected_remote/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827
new file mode 100644
index 000000000..f74bf2335
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/objects/18/0cf8328022becee9aaa2577a8f84ea2b9f3827
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected_remote/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bce b/test/integration/forcePushMultiple/expected_remote/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bce
new file mode 100644
index 000000000..0a734f981
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/objects/2b/173c861df433fa43ffad13f80c8b312c5c8bce
Binary files differ
diff --git a/test/integration/forcePushMultiple/expected_remote/objects/42/d408cffcc087da21115f9ebc29e9765a2beb83 b/test/integration/forcePushMultiple/expected_remote/objects/42/d408cffcc087da21115f9ebc29e9765a2beb83
new file mode 100644
index 000000000..31d3fad7a
--- /dev/null
+++ b/test/integration/forcePushMultiple/expected_remote/objects/42/d408cffcc087da21115f9ebc29e9765a2beb83
@@ -0,0 +1,3 @@
+xŽA
+à E»öî ÅÑɨJ!«Cã Ä& ííëºû<þûüe¯um"^Úɬ“wiˆbJa–H‘)J&GÁk³‹@êH'¿ºH%?0Ä|’ !Hq‚ƒ£Ò‘_2ªônÏýÔÓ¬Çi~ð'ÕcãÛ²×{ßÀàÐ`ðú
+`Œê´Ÿjüg]Õ¯¬[õŒá9· \ No newline at end of file
diff --git a/test/integration/forcePushMultiple/expected_remote/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5 b/test/integration/forcePushMultiple/expected_remote/objects/a5/bce3fd2565d8f458555a0c6f42d0504a848bd5
new file mode 100644
index 000000000..285df3e5f
--- /dev/null