how to push git branch -


i need git branches. not think understand procedure @ all, keep getting confused.

what want make simple branch, can fix issue on website without erasing things i've worked on far. have moved far away have on production server, cant tidy code prevent breaking site.

so have tried in several ways make new branch, things keep giving me errors , such. example, saw somewhere can create tag, , turn branch. have. tagged commit wanted branch work from, made new branch, , sure enough have 2 heads "master" , new branch. however, in gitlab page, cannot see new branches... , pushing server gives me errors can't figure out why occur.

it gives me log when try push:

counting objects: 97, done. delta compression using 2 threads. compressing objects: 100% (25/25), done. writing objects: 100% (51/51), 21.31 kib | 0 bytes/s, done. total 51 (delta 39), reused 35 (delta 25) remote: /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/dsl.rb:33:in `eval_gemfile': gemfile syntax error: (bundler::gemfileerror) remote: /home/git/gitlab/gemfile:14: syntax error, unexpected ':', expecting $end remote: gem "mysql2", group: :mysql remote:                     ^ remote:     /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/dsl.rb:9:in `evaluate' remote:     /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/definition.rb:19:in `build' remote:     /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler.rb:148:in `definition' remote:     /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler.rb:116:in `setup' remote:     /usr/local/lib/ruby/gems/1.9.1/gems/bundler-1.3.5/lib/bundler/setup.rb:17 remote: error: hook declined update refs/heads/master https://gitlab.repo.com/repo.git  ! [remote rejected] master -> master (hook declined) error: failed push refs 'https://gitlab.repo.com/repo.git' 

will please me? couldn't find specific situation, im sorry if have missed out on duplicates , such.

update no longer have problem, , way solved rather irrelevant current question. commented :)


Comments

Popular posts from this blog

java - Intellij Synchronizing output directories .. -

git - Initial Commit: "fatal: could not create leading directories of ..." -