Jump to content
  • 0

Download previous GITHUB revision


Lord Ganja

Question


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

Is there anyway to download the previous GIT revison?

I need to so I can match it with my SVN revision rA'17697' before switching to git..

 

Anyone knows how can I download it?

 

EDIT:

 

So im trying to download a repo of github but couldn't download it..

I tried tortoiseSVN check out but still can't download the repo.

it's says url doesn't exist.. I'm trying to download this repo..

Edited by Lord Ganja
Link to comment
Share on other sites

5 answers to this question

Recommended Posts


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

17697 = 5beaa7ea0939ea44e33f71f848d92e8afd9f5ae9

 

 

So im trying to download a repo of github but couldn't download it..

I tried tortoiseSVN check out but still can't download the repo.

it's says url doesn't exist.. I'm trying to download this repo..

 

u can't do that.

use git, clone https://github.com/rathena/rathena.gitfirst, then checkout the hash u want 3f4c389cefae28e83e72af375303e00be7c3374d.

except u want use SVN, checkout https://github.com/rathena/rathena/trunkwith revision that u want

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

17697 = 5beaa7ea0939ea44e33f71f848d92e8afd9f5ae9

 

 

So im trying to download a repo of github but couldn't download it..

I tried tortoiseSVN check out but still can't download the repo.

it's says url doesn't exist.. I'm trying to download this repo..

 

u can't do that.

use git, clone https://github.com/rathena/rathena.gitfirst, then checkout the hash u want 3f4c389cefae28e83e72af375303e00be7c3374d.

except u want use SVN, checkout https://github.com/rathena/rathena/trunkwith revision that u want

 

Thanks Cydh!! you're a savior!! /no1  been looking for this all along. lol  /thx

Is there any list so we can see the versions of SVN = Github? like svn 17697 =  github 5beaa7ea0939ea44e33f71f848d92e8afd9f5ae9

 

and last, after I merge my custom changes from my svn 17697 to git 5beaa7ea0939ea44e33f71f848d92e8afd9f5ae9.

how can I update it to the latest rev so I can see the conflicts and easily manage to fix them?

 

Should I use pull?  /hmm  is git pull like SVN update? I really don't know how to use github. so i'm just relying on guides. /sry

 

EDIT:

 So after I copy & paste the files from my ra 17697 svn (except .svn folder) and paste it to  git 5beaa7ea0939ea44e33f71f848d92e8afd9f5ae9

 I click stash save, then after I click pull.. after pulling it always says git did not exit cleanly (exit code 1)..

 

and from what i've read, I need to commit first before pull.. But I couldn't commit. I mean I don't know how to do it.

whenever I clicked the folder then click Git Commit... I don't know what to do next, plus the Ok button cannot be clicked.

any help please??

Edited by Lord Ganja
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  7
  • Topics Per Day:  0.00
  • Content Count:  118
  • Reputation:   17
  • Joined:  01/29/15
  • Last Seen:  

Might want to have a look here: https://rathena.org/board/topic/86913-pull-request-qa

 

I'm stuck at the same part as you (updating/merging), so let me know how it goes  /no1

Link to comment
Share on other sites


  • Group:  Developer
  • Topic Count:  153
  • Topics Per Day:  0.04
  • Content Count:  2285
  • Reputation:   745
  • Joined:  06/16/12
  • Last Seen:  

Is there any list so we can see the versions of SVN = Github?

I was looking the log, when rA was using SVN, there's msg log on github commit which SVN rev it's merged, and when rA started use Github, since 17704 there's git hash on SVN log.

 

first, after u done merge u're custom, make the diff first

git diff HEAD > mycustom.diff

 

then, u can try

git stash && git pull && git stash pop

 

PS:

- I never update using command line, I always use UI/3rd party (SmartGit)

- When got stuck if using command while updating because "file xxx need to be merged", use "git add --force <filepath>", OR u can reset the local by using "git reset HEAD && git stash && git pull", but after this u need to re-apply ur 'mycustom.diff' using "patch -p1 < mycustom.diff" or add it manually, since u'll meet many conflicted files.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  141
  • Topics Per Day:  0.03
  • Content Count:  444
  • Reputation:   22
  • Joined:  06/18/12
  • Last Seen:  

Might want to have a look here: https://rathena.org/board/topic/86913-pull-request-qa

 

I'm stuck at the same part as you (updating/merging), so let me know how it goes  /no1

I really don't know what happened but it seems I get through. What I did is I use stash save then git clean up then git pull then stash pop. and it goes well :)

 

 

 

Is there any list so we can see the versions of SVN = Github?

I was looking the log, when rA was using SVN, there's msg log on github commit which SVN rev it's merged, and when rA started use Github, since 17704 there's git hash on SVN log.

 

first, after u done merge u're custom, make the diff first

git diff HEAD > mycustom.diff

then, u can try

git stash && git pull && git stash pop

PS:

- I never update using command line, I always use UI/3rd party (SmartGit)

- When got stuck if using command while updating because "file xxx need to be merged", use "git add --force <filepath>", OR u can reset the local by using "git reset HEAD && git stash && git pull", but after this u need to re-apply ur 'mycustom.diff' using "patch -p1 < mycustom.diff" or add it manually, since u'll meet many conflicted files.

 

Thanks Cydh! I can now use it :)

  • Upvote 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...