Author Topic: Git Repository Information  (Read 15152 times)

0 Members and 1 Guest are viewing this topic.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Git Repository Information
« on: February 23, 2011, 01:39:08 am »
What?! The project isn't dead?! No you fool! At least not this week!

I'm using Git for all of my school stuff and I like the system a lot better than SVN. Therefore, if I want to work on JavaOp without SCM getting in the way (at least, as little as possible), I need to use Git. K? K.

Github is a site that offers free hosting of public repositories, or for-pay hosting of private repositories. You can find JavaOp2 here, with instructions to check it out. As usual, if you feel you should have commit rights to the project, contact me.

The SVN repository will remain available as long as Google exists.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Git Repository Information
« Reply #1 on: February 23, 2011, 02:57:11 pm »
You can also use git to clone an SVN repo..
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Git Repository Information
« Reply #2 on: February 23, 2011, 04:58:13 pm »
I found that to be particularly neat. All the commits were saved from Google Code. :)
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Git Repository Information
« Reply #3 on: February 24, 2011, 01:27:25 am »
I found that to be particularly neat. All the commits were saved from Google Code. :)

You're misunderstanding. The syntax is "git svn init <svn-url>"  and then you can use git without making a new repository. It's pretty handy because you can work it with both svn and git.
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Git Repository Information
« Reply #4 on: February 24, 2011, 05:13:21 pm »
Ooh! I like.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline deadly7

  • 42
  • x86
  • Hero Member
  • *****
  • Posts: 6496
    • View Profile
Re: Git Repository Information
« Reply #5 on: February 24, 2011, 06:53:58 pm »
Ooh! I like.
Yeah. Git is ridiculously powerful. Just has funny syntax.
svn update === git svn rebase

and to commit you do the usual
"git add"
"git commit" [or git commit -m]
"git dcommit" to submit things on your local branch to the master.

Branching with git/svn is much more a PITA and usually not worthwhile, in my experience
[17:42:21.609] <Ergot> Kutsuju you're girlfrieds pussy must be a 403 error for you
 [17:42:25.585] <Ergot> FORBIDDEN

on IRC playing T&T++
<iago> He is unarmed
<Hitmen> he has no arms?!

on AIM with a drunk mythix:
(00:50:05) Mythix: Deadly
(00:50:11) Mythix: I'm going to fuck that red dot out of your head.
(00:50:15) Mythix: with my nine

Offline Sidoh

  • x86
  • Hero Member
  • *****
  • Posts: 17634
  • MHNATY ~~~~~
    • View Profile
    • sidoh
Re: Git Repository Information
« Reply #6 on: February 24, 2011, 08:10:34 pm »
If you're working alone, branching is awesome.  If you're starting on something you know could fuck things up, it makes it easy to revert to a stable state.  Of course you can do that without branching, but it certainly makes it a little easier.

I've also had a little experience using branching with subversion on a project with about half a dozen developers.  It works really well, as long as there aren't too many changes to the same file.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: Git Repository Information
« Reply #7 on: August 08, 2012, 03:14:50 pm »
Is it safe to delete my old javaop svn stuff? I'm cleaning up my svn server right now, will get rid of it if it's safely in git.

Offline Joe

  • B&
  • Moderator
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: Git Repository Information
« Reply #8 on: August 12, 2012, 01:45:52 pm »
Yep
I'd personally do as Joe suggests

You might be right about that, Joe.