nolsilang

  • Lurking <i class=
  • Posts: 106
Re: Github & stuff
« Reply #60, on April 5th, 2013, 01:02 AM »
Quote from MultiformeIngegno on April 5th, 2013, 12:57 AM
Yesterday I created an account on GH... I needed to submit a pull request. It's rather expensive though to have a paid account (private repos)!
If you have an education/academic email you can apply for education account : https://github.com/edu

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Github & stuff
« Reply #61, on April 5th, 2013, 01:02 AM »
The question is whether you need private repos or not. If you don't, and most people don't, it's not a problem.

But this is why I use RepositoryHosting ;)
When we unite against a common enemy that attacks our ethos, it nurtures group solidarity. Trolls are sensational, yes, but we keep everyone honest. | Game Memorial

MultiformeIngegno

  • Posts: 1,337
Re: Github & stuff
« Reply #62, on April 5th, 2013, 01:10 AM »
I need a private repo because I want to try to have a script on my VPS that automatically pulls updated files from gh for a static website I have.
@0x: thanks!! :) it worked!!

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Github & stuff
« Reply #63, on April 5th, 2013, 01:15 AM »
Eh, can do that quite happily with RH ;)

MultiformeIngegno

  • Posts: 1,337
Re: Github & stuff
« Reply #64, on April 5th, 2013, 01:17 AM »
I'm new to git in general, so for me it's quite the same... Luckily I got the GH edu account so it should be ok. RH seems paid too though.

Arantor

  • As powerful as possible, as complex as necessary.
  • Posts: 14,278
Re: Github & stuff
« Reply #65, on April 5th, 2013, 01:20 AM »
I never said it wasn't paid... but it is cheaper than Github. I have several more than 5 private repos for my $6 a month.

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Github & stuff
« Reply #66, on April 5th, 2013, 06:47 AM »
Meh, been paying 12$/mo since forever and love it :P
The way it's meant to be

MultiformeIngegno

  • Posts: 1,337
Re: Github & stuff
« Reply #67, on April 5th, 2013, 02:15 PM »
Uhm, this is weird. I can't find a button to revert a commit on GH website. Is only possible via command line?

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Github & stuff
« Reply #68, on April 5th, 2013, 04:09 PM »
Quote from MultiformeIngegno on April 5th, 2013, 02:15 PM
Uhm, this is weird. I can't find a button to revert a commit on GH website. Is only possible via command line?
Yeah

MultiformeIngegno

  • Posts: 1,337
Re: Github & stuff
« Reply #69, on April 5th, 2013, 04:27 PM »
I'm becoming mad.

I forked a repo. Created a new branch from website (named "anythingslider").
Then:
cd /home/multiformeingegno
git clone git@github.com:multiformeingegno/cdnjs.git
Enter passphrase for key '/root/.ssh/id_rsa': (done)
I do the changes I need to do on /home/multiformeingegno/cdnjs
Then I'd like to push my changes to anythingslider (not to master).
cd /home/multiformeingegno/cdnjs
git add ajax/libs/anythingslider/*
git commit -m "Updated AnythingSlider to reflect original dir structure and added missing default.png"
git push origin anythingslider
Enter passphrase for key '/root/.ssh/id_rsa': (done)

But I get a:
error: src refspec anythingslider does not match any.
error: failed to push some refs to 'git@github.com:multiformeingegno/cdnjs.git'

 <_<

Nao

  • Dadman with a boy
  • Posts: 16,082
Re: Github & stuff
« Reply #70, on April 5th, 2013, 04:30 PM »
Welcome to the madness that is called git... :lol:

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Github & stuff
« Reply #71, on April 5th, 2013, 04:51 PM »
If you do a git remote show origin, is anythingslider tracked?

MultiformeIngegno

  • Posts: 1,337
Re: Github & stuff
« Reply #72, on April 5th, 2013, 04:55 PM »Last edited on April 5th, 2013, 05:27 PM
Here you are @Dragooon

Code: [Select]
* remote origin
  Fetch URL: git@github.com:multiformeingegno/cdnjs.git
  Push  URL: git@github.com:multiformeingegno/cdnjs.git
  HEAD branch (remote HEAD is ambiguous, may be one of the following):
    anythingslider
    master
  Remote branches:
    anythingslider tracked
    master         tracked
  Local branch configured for 'git pull':
    master merges with remote master
  Local ref configured for 'git push':
    master pushes to master (fast-forwardable)

Dragooon

  • I can code! Really!
  • polygon.com has to be one of the best sites I've seen recently.
  • Posts: 1,841
Re: Github & stuff
« Reply #73, on April 5th, 2013, 05:38 PM »
Well I'm not sure, you sure your working branch is anythingslider and not master?

MultiformeIngegno

  • Posts: 1,337
Re: Github & stuff
« Reply #74, on April 5th, 2013, 05:44 PM »
Quote from Dragooon on April 5th, 2013, 05:38 PM
Well I'm not sure, you sure your working branch is anythingslider and not master?
Even if my working branch is master I should be able to push changes to another branch...