View Single Post
  #5  
Old 02-29-2016, 02:45 PM
ub.ch ub.ch is offline
 
Join Date: Jul 2010
Posts: 49
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for the very quick reply!

I am not sure I understand correctly.
the dev repo has the vb repo as remote, so all changes that are pushed will land there?

Right now I can't push any changes made in dev:

PHP Code:
root@wheezy:/var/www/test.site/docs# git status
# On branch master
# Your branch is ahead of 'origin/master' by 2 commits.
#   (use "git push" to publish your local commits)
#
nothing to commitworking directory clean



root
@wheezy:/var/www/test.site/docs# git push
warningpush.default is unset; its implicit value is changing in
Git 2.0 from 
'matching' to 'simple'To squelch this message
and maintain the current behavior after the default changes, use:

  
git config --global push.default matching

To squelch this message 
and adopt the new behavior now, use:

  
git config --global push.default simple

When push
.default is set to 'matching'git will push local branches
to the remote branches that already exist with the same name
.

In Git 2.0Git will default to the more conservative 'simple'
behaviorwhich only pushes the current branch to the corresponding
remote branch that 
'git pull' uses to update the current branch.

See 'git help config' and search for 'push.default' for further information.
(
the 'simple' mode was introduced in Git 1.7.11. Use the similar mode
'current' instead of 'simple' if you sometimes use older versions of Git)

Counting objects11497done.
Delta compression using up to 3 threads.
Compressing objects100% (8366/8366), done.
Writing objects100% (11158/11158), 442.61 MiB 14.21 MiB/sdone.
Total 11158 (delta 3073), reused 10446 (delta 2574)
remoteerrorrefusing to update checked out branchrefs/heads/master
remote
errorBy default, updating the current branch in a non-bare repository
remote
erroris deniedbecause it will make the index and work tree inconsistent
remote
errorwith what you pushed, and will require 'git reset --hard' to match
remote
errorthe work tree to HEAD.
remoteerror:
remoteerrorYou can set 'receive.denyCurrentBranch' configuration variable to
remote
error'ignore' or 'warn' in the remote repository to allow pushing into
remote
errorits current branchhoweverthis is not recommended unless you
remote
errorarranged to update its work tree to match what you pushed in some
remote
errorother way.
remoteerror:
remoteerrorTo squelch this message and still keep the default behaviourset
remote
error'receive.denyCurrentBranch' configuration variable to 'refuse'.
To /usr/src/vbulletin/.git
 
! [remote rejectedmaster -> master (branch is currently checked out)
errorfailed to push some refs to '/usr/src/vbulletin/.git' 
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03988 seconds
  • Memory Usage 1,808KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete