Created
October 4, 2019 15:22
-
-
Save douglasnaphas/a3c6d27838c99323a5f8a3b19d77f227 to your computer and use it in GitHub Desktop.
Two different remote tracking branches, same name
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:17:29] master Δ | |
| 4013 => git add f1 | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:17:31] master Δ | |
| 4014 => git commit | |
[master f4cd5ac] Add a file to be committed on origin/abc b1 | |
1 file changed, 1 insertion(+) | |
create mode 100644 f1 | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:18:00] master | |
| 4015 => git push origin/abc master:b1 | |
Enumerating objects: 4, done. | |
Counting objects: 100% (4/4), done. | |
Delta compression using up to 12 threads | |
Compressing objects: 100% (3/3), done. | |
Writing objects: 100% (3/3), 339 bytes | 339.00 KiB/s, done. | |
Total 3 (delta 1), reused 0 (delta 0) | |
remote: Resolving deltas: 100% (1/1), completed with 1 local object. | |
To github.com:douglasnaphas/remote2.git | |
60f579b..f4cd5ac master -> b1 | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:18:31] master | |
| 4016 => git branch -r -vvv | |
origin/HEAD -> origin/master | |
origin/abc/b1 f4cd5ac Add a file to be committed on origin/abc b1 | |
origin/b2 60f579b Initial commit | |
origin/master 60f579b Initial commit | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:18:36] master | |
| 4017 => echo "this will be committed to remote origin, branch abc/b1" > f2 | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:19:06] master Δ | |
| 4018 => git add f2 | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:19:08] master Δ | |
| 4019 => git commit | |
[master b36fcc2] Add a file for remote origin, branch abc/b1 | |
1 file changed, 1 insertion(+) | |
create mode 100644 f2 | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:19:43] master | |
| 4020 => git push origin master:abc/b1 | |
Enumerating objects: 7, done. | |
Counting objects: 100% (7/7), done. | |
Delta compression using up to 12 threads | |
Compressing objects: 100% (6/6), done. | |
Writing objects: 100% (6/6), 699 bytes | 699.00 KiB/s, done. | |
Total 6 (delta 1), reused 0 (delta 0) | |
remote: Resolving deltas: 100% (1/1), done. | |
To github.com:douglasnaphas/remote1.git | |
60f579b..b36fcc2 master -> abc/b1 | |
________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ | |
| ~/repos/remote1 @ Dougs-MacBook-Pro (dougnaphas) [11:19:57] master | |
| 4021 => git branch -r -vvv | |
origin/HEAD -> origin/master | |
origin/abc/b1 b36fcc2 Add a file for remote origin, branch abc/b1 | |
origin/b2 60f579b Initial commit | |
origin/master 60f579b Initial commit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment