Why is this git push not allowing me to do this? -


so tried following in git:

username '##### - site': user password '##### - site': https://comtech.git.beanstalkapp.com/ong-sis.git  ! [rejected]        master -> master (non-fast-forward) error: failed push refs '##### - site' hint: updates rejected because pushed branch tip behind remote hint: counterpart. check out branch , merge remote changes hint: (e.g. 'git pull') before pushing again. hint: see 'note fast-forwards' in 'git push --help' details. 

so like, ok - lets try , force - bad know read on - reasoning because master of branch trying push has code no longer care - , 1 pushes repo.

so tried this:

$ git push --force sisong master username '##### - site': user password '##### - site': counting objects: 190, done. delta compression using 8 threads. compressing objects: 100% (110/110), done. writing objects: 100% (111/111), 599.75 kib | 0 bytes/s, done. total 111 (delta 60), reused 40 (delta 1) remote: error: denying non-fast-forward refs/heads/master (you should pull first ) https://comtech.git.beanstalkapp.com/ong-sis.git  ! [remote rejected] master -> master (non-fast-forward) error: failed push refs '##### - site' 

so decided, ya know - lets pull - lets , deal merge issues.

$ git pull sisong master username '##### - site': user password '##### - site': ##### - site  * branch            master     -> fetch_head up-to-date. 

i'm sorry what?! date? ok fine push damn stuff....

now company not allow non-fast-forward pushes, , cannot ahold of admin repo - ideas?

you can't git push because remote branch has diverged should according computer. else has pushed code too. in order resolve it, need git pull first , git push again.


Comments

Popular posts from this blog

html - How to style widget with post count different than without post count -

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

javascript - storing input from prompt in array and displaying the array -