tekkaman@tekkaman-desktop:~/development/research/git/test1_g.git$git branch
master
no_remote
* tekkaman_b2
tekkaman@tekkaman-desktop:~/development/research/git/test1_g.git$ git fetch origin
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (2/2), done.
remote: Total 3 (delta 1), reused 0 (delta 0)
Unpacking objects: 100% (3/3), done.
From /home/tekkaman/development/research/git/test1
e3030a6..ba86b38 tekkaman_b2 -> origin/tekkaman_b2
tekkaman@tekkaman-desktop:~/development/research/git/test1_g.git$git remote show origin
* remote origin
Fetch URL: /home/tekkaman/development/research/git/test1
Push URL: /home/tekkaman/development/research/git/test1
HEAD branch: tekkaman_b2
Remote branches:
master tracked
no_remote tracked
tekkaman_b1 tracked
tekkaman_b2 tracked
Local branch configured for 'git pull':
tekkaman_b2 merges with remote tekkaman_b2
Local refs configured for 'git push':
master pushes to master (up to date)
no_remote pushes to no_remote (up to date)
tekkaman_b2 pushes to tekkaman_b2(local out of date)
tekkaman@tekkaman-desktop:~/development/research/git/test1_g.git$ git fetch origin tekkaman_b2:tekkaman_b2
fatal: Refusing to fetch into current branch refs/heads/tekkaman_b2 of non-bare repository
fatal: The remote end hung up unexpectedly
tekkaman@tekkaman-desktop:~/development/research/git/test1_g.git$git checkout master
Switched to branch 'master'
tekkaman@tekkaman-desktop:~/development/research/git/test1_g.git$ git fetch origin tekkaman_b2:tekkaman_b2
From /home/tekkaman/development/research/git/test1
e3030a6..ba86b38 tekkaman_b2 -> tekkaman_b2
tekkaman@tekkaman-desktop:~/development/research/git/test1_g.git$ git remote show origin
* remote origin
Fetch URL: /home/tekkaman/development/research/git/test1
Push URL: /home/tekkaman/development/research/git/test1
HEAD branch: tekkaman_b2
Remote branches:
master tracked
no_remote tracked
tekkaman_b1 tracked
tekkaman_b2 tracked
Local branch configured for 'git pull':
tekkaman_b2 merges with remote tekkaman_b2
Local refs configured for 'git push':
master pushes to master (up to date)
no_remote pushes to no_remote (up to date)
tekkaman_b2 pushes to tekkaman_b2(up to date)