chalie001
asked on
branch not showing in github
hi new branch not showing in github but showing in command line
C:\cake>git branch
dev
* master
C:\cake>git remote -v
origin https://github.com/chalie86/cakeapp.git (fetch)
origin https://github.com/chalie86/cakeapp.git (push)
django@django-VirtualBox:~/cakeapp$ git pull origin master
Username for 'https://github.com': chalie86
Password for 'https://chalie86@github.com':
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (85/85), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 58 (delta 18), reused 58 (delta 18), pack-reused 0
Unpacking objects: 100% (58/58), done.
From https://github.com/chalie86/cakeapp
* branch master -> FETCH_HEAD
af13c56..cb193ca master -> origin/master
hint: Waiting for your editor to close the file...
* | 6804acb fix
|\ \
| |/
| * 6d1bf0e Relases 3
| * 70de3d4 edit nav-bar
| * e7b8536 order relase
* | f96995f (heroku/master) edit django deploy
* | edc6ad0 edit django deploy
* | f106a4d edit django deploy
* | f97ff35 edit django deploy
* | 4b1e730 edit django deploy
* | efeb09d edit django deploy
* | fa2a08f edit django deploy
* | 7a1161e edit django deploy
* | fdf979d Add deploy files
* | ff68c52 Add deploy files
* | dcbc1fb Add deploy files
* | 29ad481 heroku
|/
* 59a4547 Add runtime, req text files
* 14a4413 Verstion 1.5.3
* 76a5b0b fix deploy be url
* 60cfe82 Remove .diea files
* 94d339d init
* c505c06 init
* 9483f02 init
(END)
=================
django@django-VirtualBox:~/cakeapp$ git push origin master
Username for 'https://github.com': chalie86
Password for 'https://chalie86@github.com':
To https://github.com/chalie86/cakeapp.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/chalie86/cakeapp.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
django@django-VirtualBox:~/cakeapp$ git pull origin master
Username for 'https://github.com': chalie86
Password for 'https://chalie86@github.com':
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (85/85), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 58 (delta 18), reused 58 (delta 18), pack-reused 0
Unpacking objects: 100% (58/58), done.
From https://github.com/chalie86/cakeapp
* branch master -> FETCH_HEAD
af13c56..cb193ca master -> origin/master
hint: Waiting for your editor to close the file...
* 8890578 (master) init
* 6524abf (HEAD -> dev, origin) init
* 7497161 base
|\
* \ 227ca31 init
|\ \
| | | * cb193ca (origin/master) backend
| | | * 90bb6d8 Merge branch 'master' of https://github.com/chalie86/cakeapp
| | | |\
| | | |/
| | |/|
| | * | af13c56 init
| |/ /
| * | 3e776f1 init
| | * 29bbb7d Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\
| | |/
| |/|
| | * 139dc28 Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\
| | * \ 6d07afa Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\ \
| | * \ \ 17007fe Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\ \ \
| | * | | | 4660d07 first commit
| | / / /
:
C:\cake>git branch
dev
* master
C:\cake>git remote -v
origin https://github.com/chalie86/cakeapp.git (fetch)
origin https://github.com/chalie86/cakeapp.git (push)
django@django-VirtualBox:~/cakeapp$ git pull origin master
Username for 'https://github.com': chalie86
Password for 'https://chalie86@github.com':
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (85/85), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 58 (delta 18), reused 58 (delta 18), pack-reused 0
Unpacking objects: 100% (58/58), done.
From https://github.com/chalie86/cakeapp
* branch master -> FETCH_HEAD
af13c56..cb193ca master -> origin/master
hint: Waiting for your editor to close the file...
* | 6804acb fix
|\ \
| |/
| * 6d1bf0e Relases 3
| * 70de3d4 edit nav-bar
| * e7b8536 order relase
* | f96995f (heroku/master) edit django deploy
* | edc6ad0 edit django deploy
* | f106a4d edit django deploy
* | f97ff35 edit django deploy
* | 4b1e730 edit django deploy
* | efeb09d edit django deploy
* | fa2a08f edit django deploy
* | 7a1161e edit django deploy
* | fdf979d Add deploy files
* | ff68c52 Add deploy files
* | dcbc1fb Add deploy files
* | 29ad481 heroku
|/
* 59a4547 Add runtime, req text files
* 14a4413 Verstion 1.5.3
* 76a5b0b fix deploy be url
* 60cfe82 Remove .diea files
* 94d339d init
* c505c06 init
* 9483f02 init
(END)
=================
django@django-VirtualBox:~/cakeapp$ git push origin master
Username for 'https://github.com': chalie86
Password for 'https://chalie86@github.com':
To https://github.com/chalie86/cakeapp.git
! [rejected] master -> master (fetch first)
error: failed to push some refs to 'https://github.com/chalie86/cakeapp.git'
hint: Updates were rejected because the remote contains work that you do
hint: not have locally. This is usually caused by another repository pushing
hint: to the same ref. You may want to first integrate the remote changes
hint: (e.g., 'git pull ...') before pushing again.
hint: See the 'Note about fast-forwards' in 'git push --help' for details.
django@django-VirtualBox:~/cakeapp$ git pull origin master
Username for 'https://github.com': chalie86
Password for 'https://chalie86@github.com':
remote: Enumerating objects: 93, done.
remote: Counting objects: 100% (85/85), done.
remote: Compressing objects: 100% (37/37), done.
remote: Total 58 (delta 18), reused 58 (delta 18), pack-reused 0
Unpacking objects: 100% (58/58), done.
From https://github.com/chalie86/cakeapp
* branch master -> FETCH_HEAD
af13c56..cb193ca master -> origin/master
hint: Waiting for your editor to close the file...
* 8890578 (master) init
* 6524abf (HEAD -> dev, origin) init
* 7497161 base
|\
* \ 227ca31 init
|\ \
| | | * cb193ca (origin/master) backend
| | | * 90bb6d8 Merge branch 'master' of https://github.com/chalie86/cakeapp
| | | |\
| | | |/
| | |/|
| | * | af13c56 init
| |/ /
| * | 3e776f1 init
| | * 29bbb7d Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\
| | |/
| |/|
| | * 139dc28 Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\
| | * \ 6d07afa Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\ \
| | * \ \ 17007fe Merge branch 'master' of https://github.com/chalie86/cakeapp
| | |\ \ \
| | * | | | 4660d07 first commit
| | / / /
:
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.