| 2018-06-29 |
| → shinnya joined | 00:00 |
| ← al-damiri left | 00:02 |
| → z|bandito joined | 00:06 |
|
osse
| arooni: The usual thing I think is to run the deploy script automatically when pushing, via a server side hook | 00:07 |
| ← gugit left | 00:13 |
| → nivag joined | 00:13 |
| ← moei left | 00:13 |
| ← orbyt_ left | 00:14 |
| ← cagomez left | 00:14 |
| → RealUnix3385 joined | 00:15 |
| → cagomez joined | 00:16 |
| ← RealUnix28200 left | 00:17 |
| → smallville7123 joined | 00:17 |
|
arooni
| a | 00:19 |
| ← cagomez left | 00:21 |
| → thiago joined | 00:24 |
| → gordonfish joined | 00:24 |
| ← smallville7123 left | 00:25 |
| ← baxx left | 00:25 |
| → andyhuzhill joined | 00:25 |
| → smallville7123 joined | 00:30 |
| → RealUnix28200 joined | 00:30 |
| ← RealUnix3385 left | 00:32 |
| ← FernandoBasso left | 00:34 |
| → pity joined | 00:34 |
| ← ali1234 left | 00:38 |
| → lanlink joined | 00:40 |
| ← kfoonamalik left | 00:40 |
| → orbyt_ joined | 00:45 |
| ← g00s left | 00:45 |
| ← unpythonic left | 00:47 |
| ← lanlink left | 00:47 |
| → durham_ joined | 00:48 |
| → BallChang-CN joined | 00:48 |
| → amirpro joined | 00:49 |
| ← amirpro left | 00:51 |
| ← durham left | 00:51 |
| → fission6 joined | 00:52 |
| ← BallChang-CN left | 00:52 |
| ← fission6 left | 00:52 |
| → dendazen joined | 00:52 |
| ← durham_ left | 00:52 |
| → BallChang-CN joined | 00:52 |
| → ali1234 joined | 00:53 |
| → amirpro joined | 00:53 |
| ← lainon left | 00:56 |
| → raulp joined | 00:59 |
| ← Mattiaslndstrm left | 01:02 |
| → Mattiaslndstrm joined | 01:02 |
| → jottr joined | 01:04 |
| → finalbeta joined | 01:07 |
| ← jottr left | 01:09 |
| → koz_ joined | 01:11 |
| ← koz_ left | 01:12 |
| → nicht joined | 01:13 |
| ← nicht left | 01:13 |
| → Wetmelon joined | 01:13 |
| ← Sasazuka left | 01:13 |
| → supernov2h joined | 01:13 |
| ← supernov2h left | 01:19 |
| → Persondude joined | 01:20 |
| ← tubaman left | 01:20 |
| → ATMunn joined | 01:22 |
| ← Bobguy left | 01:23 |
|
ATMunn
| noob question: so i have a folder with some code in it, and i just made a remote repository, how do i set up this folder to link to that remote and push this code to it | 01:24 |
| → tomfarr joined | 01:24 |
|
ATMunn
| the only thing in the remote is a LICENSE file | 01:24 |
|
parsnip
| ATMunn: i would move what you have locally to a backup folder, then clone your remote to a fresh folder. | 01:26 |
|
ATMunn
| ok | 01:26 |
|
parsnip
| otherwise, it sounds like you were headed for making two initial commits, one locally and one remotely, maybe. | 01:27 |
|
ATMunn
| ¯\_(ツ)_/¯ | 01:27 |
|
parsnip
| this way, your remote commit can be the initial one, clone that, add your local folders to the cloned folder, then commit on top of that. assuming i understood. | 01:27 |
|
| or, you can just commit locally, and force push to remote. | 01:28 |
|
| if you want to make absolutely sure, maybe we can come up with clarifying questions. | 01:29 |
| → Soni joined | 01:29 |
| → RealUnix3385 joined | 01:30 |
| ← RealUnix28200 left | 01:30 |
| ← str left | 01:31 |
| → cagomez joined | 01:32 |
| ← RealUnix3385 left | 01:32 |
| → Lyqyd joined | 01:33 |
|
ATMunn
| nah i just copied files, cloned repo, put files back in, committed, and pushed | 01:33 |
|
| i wasn't sure if there was a simpler way to do that | 01:33 |
|
| but this works thanks :) | 01:33 |
| ← ATMunn left | 01:34 |
| ← tombusby left | 01:34 |
| ← cagomez left | 01:36 |
| → BustyLoli-Chan joined | 01:37 |
|
BustyLoli-Chan
| I'm looking at a stack overflow https://stackoverflow.com/questions/47929881/git-fatal-fsync-error-on-sha1-file-bad-file-descriptor which says "The proper solution is not to store your Git repositories on network drives. (I'm not trying to be snarky. This is explicitly not a supported scenario.)" Is that really true? | 01:38 |
| ← inovas left | 01:39 |
|
BustyLoli-Chan
| I actually get this error a lot when trying to checkout repos to a mapped network drive. I'm wondering if there's a way around this issue. I'd argue that 90% of the time things work great and the other 10% of the time I get this error for seemingly no reason | 01:39 |
| → jottr joined | 01:39 |
| → Vortex34 joined | 01:41 |
| → JrCs joined | 01:41 |
| → tombusby joined | 01:41 |
| ← Vortex35 left | 01:44 |
| → inovas joined | 01:44 |
| ← jottr left | 01:44 |
|
thiago
| BustyLoli-Chan: yes, it's true. | 01:45 |
|
| don't operate on your repositories on a netowrk drive. | 01:45 |
|
| Also, don't use a sharing tool like OneDrive or Dropbox on your repository | 01:46 |
| ← m0viefreak left | 01:47 |
| → moei joined | 01:47 |
| → tubaman joined | 01:48 |
|
BustyLoli-Chan
| so there's just no way to do it? | 01:49 |
|
| or no way around it? | 01:49 |
|
parsnip
| i guess git init, remote add, fetch, could have lead to something idiomatic for ATMunn. | 01:50 |
|
| didn't feel like a good teaching moment though. | 01:50 |
|
| crisis averted^TM | 01:52 |
| → apoll0 joined | 02:02 |
| ← smallville7123 left | 02:02 |
| ← tmsmith left | 02:02 |
| → envex joined | 02:04 |
| → Trieste joined | 02:04 |
| ← apollo left | 02:04 |
| → supernov2h joined | 02:09 |
| → b1p joined | 02:12 |
| → jstimm joined | 02:13 |
| ← supernov2h left | 02:14 |
| ← dviola left | 02:15 |
| ← jstimm left | 02:17 |
| → lagothrix joined | 02:24 |
| ← xPucTu4 left | 02:25 |
| → kozy joined | 02:26 |
| → nicht joined | 02:34 |
| ← nicht left | 02:34 |
| → theseb joined | 02:39 |
| → BallChang-CN_ joined | 02:45 |
| → Puffball joined | 02:46 |
| ← BallChang-CN left | 02:47 |
| → bucketm0use joined | 02:56 |
| → rohitt joined | 02:59 |
| ← shinnya left | 03:03 |
| → dansan joined | 03:04 |
| ← dansan left | 03:07 |
| → dansan joined | 03:07 |
| ← m00sehead left | 03:10 |
| → red82 joined | 03:10 |
| ← red82 left | 03:11 |
| ← mellernoia left | 03:13 |
| → linuxmodder joined | 03:13 |
| → supernov2h joined | 03:14 |
| → Goplat joined | 03:17 |
| ← bolovanos_ left | 03:19 |
| ← supernov2h left | 03:19 |
| → linuxmodder- joined | 03:20 |
| → cp7781 joined | 03:23 |
| ← linuxmodder left | 03:25 |
| ← linuxmodder- left | 03:25 |
| ← tomfarr left | 03:28 |
| → linuxmodder joined | 03:28 |
| → tomfarr joined | 03:28 |
| ← Wetmelon left | 03:29 |
| ← boombatower left | 03:31 |
| ← raven-au left | 03:35 |
| ← RougeR left | 03:36 |
| → jottr joined | 03:40 |
| ← Mattiaslndstrm left | 03:41 |
| ← jottr left | 03:45 |
| → tangmou joined | 03:45 |
| ← BallChang-CN_ left | 03:49 |
| → raven-au joined | 03:49 |
| ← konsolebox left | 03:52 |
| → konsolebox joined | 03:54 |
| ← orbyt_ left | 03:57 |
| → Anaphylaxis joined | 03:58 |
| ← raven-au left | 04:01 |
| → raven-au joined | 04:03 |
| → orbyt_ joined | 04:03 |
| → ferdna joined | 04:03 |
| ← minionofgozer left | 04:06 |
| → minionofgozer joined | 04:07 |
| → supernov2h joined | 04:08 |
| → xPucTu4 joined | 04:10 |
| ← jmnk left | 04:12 |
| ← supernov2h left | 04:13 |
| → phinxy joined | 04:15 |
| → Arcatech joined | 04:15 |
| ← tangmou left | 04:15 |
| ← orbyt_ left | 04:19 |
|
jim
| I got a git project, it's got a submodule... when I pull down the main project as developer, the submodule comes down as developer too... | 04:25 |
|
| thing is, I'd like to be able to choose per clone, which (if any) of the main module and the submodule, are pulled down "anon" or as developer | 04:27 |
|
| should I put the submodule so it comes down anon off of github? | 04:27 |
|
| is there a standard or a best practice for this? | 04:28 |
| → Tobbi joined | 04:29 |
| ← xPucTu4 left | 04:30 |
| → shinnya joined | 04:30 |
| → swalladge joined | 04:38 |
| → jmnk joined | 04:39 |
| → zulutango joined | 04:48 |
| → Mindi joined | 04:53 |
| → supernov2h joined | 04:57 |
|
parsnip
| maybe you can create an extra branch called devel-prod? | 04:59 |
|
| and in that branch, you could go into the submodule, change the branch, then go back to your containing project, and commit that change to devel-prod? | 04:59 |
| → ivokh joined | 05:00 |
|
parsnip
| disclaimer: i have very little experience, just basing that off of skimming the docs for submodule. | 05:00 |
|
| jim: ^ | 05:00 |
|
| doesn't the containing project only see which commit is chosen in submodule? | 05:00 |
|
| and i don't think you want to commit a change to the submodule branch in your devel branch, but rather, some third branch you make for your own purposes. | 05:01 |
| ← pks left | 05:02 |
| ← shinnya left | 05:03 |
| ← supernov2h left | 05:03 |
| → pks joined | 05:04 |
| → acidjnk joined | 05:05 |
| ← theoceaniscool left | 05:06 |
| → _cyril_ joined | 05:06 |
| → jstimm joined | 05:09 |
| ← Lyqyd left | 05:10 |
| → Cthalupa joined | 05:12 |
| → regedit joined | 05:15 |
| → viksss joined | 05:18 |
| ← dendazen left | 05:18 |
| → dendazen joined | 05:19 |
| → sauvin joined | 05:21 |
| ← cp7781 left | 05:23 |
| ← dendazen left | 05:24 |
| ← dc13ff left | 05:26 |
| ← viksss left | 05:27 |
| → igemnace joined | 05:30 |
| → theoceaniscool joined | 05:30 |
|
jim
| parsnip, I didn't even consider the possibility of a different branch... | 05:31 |
|
| yeah, right... the containing project gets to commit the commit hash of the contained project(s) | 05:32 |
|
| which could be a commit along that branch, if not the latest commit along that branch | 05:33 |
| ← ferdna left | 05:37 |
| → BallChang-CN joined | 05:38 |
| → jottr joined | 05:41 |
| ← BallChang-CN left | 05:42 |
|
jim
| also there's a different problem... I want reg anon github users to be able to clone the whole thing including the submodule, but when a not-logged-in user clones the project right now, he has to "log in" in order to clone the submodule | 05:42 |
| → BallChang-CN joined | 05:42 |
|
jim
| would I alter the clone address for the submodule so that it comes in using https? | 05:43 |
|
| I'll check back in a bit... please hilite me to respond (and thanks) | 05:45 |
| ← jottr left | 05:46 |
| → navidr joined | 05:48 |
|
parsnip
| jim: maybe config for submodule can use https for url? | 05:51 |
| → subhojit777 joined | 05:51 |
|
jim
| that's a thought... it might be good if a developer checks out both authed, and a nondev checks both out anon | 05:52 |
|
parsnip
| jim: there's a note, "Since the URL in the .gitmodules file is what other people will first try to clone/fetch from, make sure to use a URL that they can access if possible."... | 05:52 |
|
| at https://git-scm.com/book/en/v2/Git-Tools-Submodules | 05:52 |
|
jim
| right now I'm the only dev | 05:52 |
|
parsnip
| looks like you can override the url locally. | 05:52 |
|
jim
| I'll check that out | 05:53 |
|
parsnip
| ah, you're thinking put the auth only on the dev branch? | 05:53 |
|
| i mean, auth url | 05:53 |
|
jim
| or something like that | 05:53 |
| ← inovas left | 05:54 |
|
jim
| right now what I could do is adjust the submodule url so it only checks out anon with the surrounding project,,, but then if I want to work on it, I can clone it by itself | 05:54 |
| ← veegee left | 05:54 |
|
jim
| back in a few... irl stuff :) | 05:55 |
| ← linuxmodder left | 05:57 |
|
parsnip
| this _is_ real life :) | 05:57 |
|
| but maybe you couldn't use afk either. | 05:57 |
| ← igemnace left | 05:58 |
| → inovas joined | 05:59 |
| ← Guest2049 left | 05:59 |
| → dege joined | 06:00 |
| → ShapeShifter499 joined | 06:00 |
| → freimatz joined | 06:01 |
| → supernov2h joined | 06:04 |
| → kindacheesy joined | 06:06 |
| ← kindacheesy left | 06:06 |
| ← flavius left | 06:08 |
| → chele joined | 06:10 |
| ← jhaenchen left | 06:11 |
| → tangmou joined | 06:16 |
| ← dansan left | 06:17 |
| → dansan joined | 06:17 |
| → chaosruler_ joined | 06:18 |
| → jhaenchen joined | 06:18 |
| → JeroenT joined | 06:23 |
| ← jhaenchen left | 06:23 |
| → MapMan joined | 06:25 |
| → speedmann joined | 06:26 |
| → bachler joined | 06:27 |
| → raymond__ joined | 06:28 |
| ← chaosruler_ left | 06:28 |
| → schleppel joined | 06:29 |
| → pfleck joined | 06:31 |
| raymond__ → raymond | 06:32 |
| → dmc joined | 06:33 |
| ← speedmann left | 06:33 |
| ← MapMan left | 06:33 |
| ← supernov2h left | 06:34 |
| ← thiago left | 06:34 |
| → martinus__ joined | 06:35 |
| ← pfleck left | 06:36 |
| → jhaenchen joined | 06:36 |
| ← jmnk left | 06:38 |
| → cp7781 joined | 06:38 |
| → xPucTu4 joined | 06:41 |
| ← jhaenchen left | 06:41 |
| ← JeroenT left | 06:41 |
| → JeroenT joined | 06:42 |
| → jhaenchen joined | 06:42 |
| → speedmann joined | 06:42 |
| ← bachler left | 06:43 |
| → jmnk joined | 06:43 |
| → Dragon092 joined | 06:44 |
| ← theseb left | 06:44 |
| → bachler joined | 06:50 |
| ← cp7781 left | 06:51 |
| → MapMan joined | 06:51 |
| ← Cthalupa left | 06:51 |
| → Cthalupa- joined | 06:51 |
| → ekleog joined | 06:51 |
| → cp7781 joined | 06:55 |
| → supernov2h joined | 06:55 |
| ← jhaenchen left | 06:55 |
| → Someguy123 joined | 06:57 |
| ← tangmou left | 06:59 |
| → jhaenchen joined | 06:59 |
| → CountryNerd_ joined | 07:00 |
| ← Goplat left | 07:01 |
| ← supernov2h left | 07:01 |
| ← CountryNerd left | 07:02 |
| ← subhojit777 left | 07:03 |
| → leeN joined | 07:05 |
| → Repox joined | 07:05 |
| → rfuentess joined | 07:07 |
| ← jhaenchen left | 07:12 |
| → abba joined | 07:13 |
| → ExeciN joined | 07:14 |
| ← theoceaniscool left | 07:15 |
| → Tobbi_ joined | 07:17 |
| ← chele left | 07:17 |
| → chele joined | 07:17 |
| → gugit joined | 07:20 |
| → skisela joined | 07:21 |
| → TomyWork joined | 07:23 |
| → jhaenchen joined | 07:26 |
| ← chele left | 07:26 |
| → charolastra joined | 07:28 |
|
Chipzz
| is it possible to create a git repo where ppl can only access certain commits when cloning it? lets say I have repo with commits A -> B -> C, and I only wnat to make A available for cloning? | 07:28 |
| ← Arcatech left | 07:28 |
| ← dansan left | 07:29 |
| → dansan_ joined | 07:29 |
|
grawity
| no | 07:30 |
|
parsnip
| Chipzz: i expect a clone can reach any parent of A | 07:30 |
|
grawity
| well, kinda if you make a branch that only has A | 07:30 |
|
| if A is the *root* commit | 07:30 |
|
parsnip
| Chipzz: but if B had another child, maybe you can avoid pushing that to repo. | 07:30 |
|
grawity
| but *not* if A is head and C is root | 07:30 |
|
Chipzz
| to explain why I want this: lets say I'm giving a presentation with examples; I want to public to be able to follow along, but I don't want them distracted | 07:30 |
|
| so the idea is: have a git repo, but only allow them to clone up to A when I haven't explained B | 07:31 |
|
| when I have explained B, I enter a command that modifies some state file | 07:31 |
|
grawity
| clarify 'up to A' | 07:31 |
|
parsnip
| oh, i'm used to arrows the other way. | 07:31 |
|
grawity
| do you mean from the oldest, or from the latest? | 07:31 |
|
Chipzz
| and B "unlocks" | 07:31 |
|
| grawity: A is root commit, B depends on A, C on B, etc... | 07:31 |
|
parsnip
| Chipzz: let's flip arrows for our sake. so A <- B <- C, C is newest? | 07:32 |
|
grawity
| in that direction it's trivial: push A to the master branch, do the explanation, push B to the same branch | 07:32 |
|
Chipzz
| parsnip: yes | 07:32 |
|
| grawity: except that I may want to give the presentation multiple times and not have to push while giving it | 07:32 |
|
grawity
| you still have to do *something* in order to "unlock" | 07:32 |
|
Chipzz
| so prepare git repo up front, have some git hook that limits what you can clone? | 07:32 |
|
grawity
| what difference does it make whether it's `git push` or something else? | 07:33 |
|
Chipzz
| a lot? | 07:33 |
|
grawity
| I don't really see any though | 07:33 |
|
Chipzz
| echo id_of_commit > unlock_stage | 07:33 |
|
| git hook checks unlock_stage file | 07:33 |
|
grawity
| that's practically the same thing ._. | 07:33 |
|
Chipzz
| not it's not? | 07:33 |
|
| not at all | 07:33 |
|
grawity
| it is, because updating a branch head does 'echo id_of_commit > refs/heads/master' | 07:34 |
|
Chipzz
| you can prepare up front by looking up the IDs | 07:34 |
|
| and puttinhg these in a shell script | 07:34 |
|
grawity
| and you can do the same with updating the branch, yes | 07:34 |
|
Chipzz
| pushing to the branch would be much more intensive because you need to keep your local chckout uptodate? | 07:34 |
|
grawity
| uptodate in which sense | 07:35 |
|
| generally if you already have all commits locally anyway, you can do `git push origin id_of_commit:refs/heads/master` | 07:35 |
|
| and, if you have SSH access to the server, | 07:35 |
|
| you can even do "echo id_of_commit > refs/heads/master" | 07:36 |
| → Puffball_ joined | 07:36 |
|
parsnip
| this is like hard reset and push? | 07:36 |
|
grawity
| kinda, except requiring fewer commands | 07:37 |
|
Chipzz
| grawity: but the initial git clone on the audience side would include clone commit B & C too, if I'm not mistaken? | 07:37 |
|
grawity
| no | 07:37 |
| → chele joined | 07:37 |
|
parsnip
| stick branch ref on A | 07:38 |
|
grawity
| if server says that master currently points to commit A, everybody cloning master will get commit A | 07:38 |
|
parsnip
| you can put a local place holder on C | 07:38 |
|
Chipzz
| doesn't git pull in *all* objects when you git clone? | 07:38 |
|
grawity
| no | 07:38 |
|
| I'm assuming we're still talking about the case where A is oldest, B is newer, and C is newest | 07:38 |
|
Chipzz
| yes | 07:38 |
|
parsnip
| git pull refers to a branch ref, and all parents. | 07:38 |
|
| git fetch even. | 07:38 |
|
grawity
| whether you're talking about pull, clone, or fetch, they always work with only the minimum required objects | 07:39 |
| ← Puffball left | 07:39 |
|
Chipzz
| parsnip: so why then can I do git checkout to any branch after I cloned the repo? | 07:39 |
|
grawity
| because a clone downloads all *branches* | 07:39 |
| ← Repox left | 07:39 |
|
grawity
| and those branches *include* all your commits | 07:39 |
|
| don't want those commits? don't include them in any branch | 07:40 |
|
Chipzz
| k that makes sense | 07:40 |
|
grawity
| (you can make the server temporarily hide branches via some-or-other git config option, if it's reasonably recent) | 07:40 |
|
Chipzz
| "progressing" the master ref sounds like what I want, don't think branches would be needed :) | 07:42 |
|
grawity
| master is a branch. | 07:42 |
| → kurkale61 joined | 07:42 |
| → jottr joined | 07:42 |
|
Chipzz
| extra branches :) | 07:42 |
|
grawity
| you said your repo *has* extra branches, and you implied that you don't want clients to be able to clone them | 07:42 |
|
Chipzz
| I did? my bad | 07:42 |
|
| (where?) | 07:43 |
| ← jhaenchen left | 07:43 |
|
grawity
| though of course if master is at A at clone time, users won't see those extra commits in master anyway – unless they (accidentally?) switch branches | 07:43 |
|
Chipzz
| I do assume I would need to configure my repo to disable GC, right? or commit B and C might get gc'ed? | 07:44 |
|
| or am I mistaken on this? | 07:44 |
|
grawity
| well, yes, but an easier way is to point another ref at C | 07:44 |
|
| a clone by default only downloads branch refs (refs/heads/*), and those tags which apply to the downloaded commits | 07:44 |
| → JeroenT_ joined | 07:45 |
|
grawity
| so if you have something like refs/backup/master, it won't be cloned by default, but it will still prevent GC | 07:45 |
| ← nowhere_man left | 07:46 |
|
Chipzz
| ah nice :) | 07:46 |
| ← jottr left | 07:47 |
| ← Praxi left | 07:48 |
| ← JeroenT left | 07:48 |
| → silverballz joined | 07:49 |
| → Krisostoomus joined | 07:51 |
| → xaa joined | 07:52 |
| → tarkus joined | 07:52 |
| → cdown joined | 07:54 |
| ← Krisostoomus left | 07:55 |
| → cdown_ joined | 07:57 |
| ← comps left | 07:57 |
| → deathwishdave joined | 07:58 |
| ← cdown left | 08:00 |
| ← hph^ left | 08:00 |
| → cur8or joined | 08:00 |
| cdown_ → cdown | 08:00 |
| → hph^ joined | 08:00 |
| ← hph^ left | 08:00 |
| ← j7k6 left | 08:00 |
| → hph^ joined | 08:00 |
| ← hph^ left | 08:00 |
| → hph^ joined | 08:01 |
| ← hph^ left | 08:01 |
| → hph^ joined | 08:01 |
| ← hph^ left | 08:01 |
| → hph^ joined | 08:01 |
| ← hph^ left | 08:01 |
| → ruslangaripov joined | 08:02 |
| ← ruslangaripov left | 08:02 |
| → j7k6 joined | 08:02 |
| → komonsterko joined | 08:05 |
| → theoceaniscool joined | 08:08 |
| ← cdown left | 08:09 |
| ← _ADN_ left | 08:10 |
| → joe2 joined | 08:11 |
| → pfleck joined | 08:12 |
| → nowhere_man joined | 08:12 |
| ← deathwishdave left | 08:13 |
| → keepLearning512 joined | 08:14 |
| → comps joined | 08:14 |
| → cdown joined | 08:14 |
| ← keepLearning512 left | 08:15 |
| → keepLearning512 joined | 08:15 |
| ← \void left | 08:15 |
| ← venmx left | 08:16 |
| ← keepLearning512 left | 08:20 |
| → keepLearning512 joined | 08:21 |
| ← raulp left | 08:23 |
| → jsqkldhf joined | 08:30 |
|
jsqkldhf
| Hi, I'm using a git repo in command line on Windows | 08:30 |
|
| Is there a tool that can display commits history *in the browser* | 08:31 |
|
| with differences between commits, like github? | 08:31 |
|
| but a local tool, not requiring a server? | 08:31 |
| ← pity left | 08:32 |
| → manuelschneid3r joined | 08:34 |
|
gurrkiin
| you could use a git tool like sourcetree or something | 08:37 |
| ← cdown left | 08:37 |
| ← dpyro left | 08:38 |
| → dpyro joined | 08:38 |
| ← pfleck left | 08:41 |
| → Darcidride joined | 08:45 |
| → Repox joined | 08:45 |
| → bolovanos_ joined | 08:47 |
|
jsqkldhf
| gurrkiin: is https://www.sourcetreeapp.com/ the most well known tool? | 08:47 |
|
gurrkiin
| i dunno, i do everything via terminal | 08:47 |
|
| most people i work with use sourcetree though | 08:47 |
| → crem joined | 08:48 |
| → dmone joined | 08:49 |
| → pity joined | 08:52 |
| → pnepe6 joined | 08:52 |
| → jottr joined | 08:56 |
| ← keepLearning512 left | 08:56 |
| → g00s joined | 08:58 |
| → deathwishdave joined | 08:59 |
| → cdown joined | 09:00 |
| ← jottr left | 09:00 |
| ← crem left | 09:01 |
| ← jsqkldhf left | 09:03 |
| → crem joined | 09:04 |
| ← goweol left | 09:05 |
| ← apoll0 left | 09:08 |
| ← jmnk left | 09:08 |
| → apollo joined | 09:08 |
| ← cdown left | 09:09 |
| ← beerdrop left | 09:09 |
| ← BallChang-CN left | 09:10 |
| ← scarcry left | 09:11 |
|
qsx
| if jsqkldhf was still here: man git-instaweb | 09:13 |
|
gitinfo
| the git-instaweb manpage is available at https://gitirc.eu/git-instaweb.html | 09:13 |
| → jmnk joined | 09:13 |
|
qsx
| and there exists a git-instacgit somewhere on the internet for those who prefer cgit over gitweb | 09:13 |
| → jhaenchen joined | 09:16 |
| → _ADN_ joined | 09:17 |
| ← dansan_ left | 09:17 |
| ← catsup left | 09:18 |
| → dansan_ joined | 09:18 |
| → catsup joined | 09:18 |
| → XVar joined | 09:18 |
| → lanlink joined | 09:19 |
| ← catsup left | 09:19 |
| ← g00s left | 09:19 |
| → catsup joined | 09:19 |
| → z8z joined | 09:20 |
| ← jmnk left | 09:21 |
| ← kurkale61 left | 09:21 |
| ← jhaenchen left | 09:21 |
| → jmnk joined | 09:22 |
| ← j7k6 left | 09:22 |
| → beerdrop joined | 09:23 |
| → j7k6 joined | 09:23 |
| → RougeR joined | 09:25 |
|
osse
| git-instagram | 09:25 |
| → keepLearning512 joined | 09:25 |
| → pfleck joined | 09:26 |
| → neunon joined | 09:28 |
| → acetakwas joined | 09:28 |
| ← manuelschneid3r left | 09:29 |
| ← baako left | 09:30 |
| → klaidas joined | 09:30 |
| → jhaenchen joined | 09:32 |
| → kurkale61 joined | 09:32 |
| ← andyhuzhill left | 09:35 |
| ← jhaenchen left | 09:36 |
| → duderonomy joined | 09:37 |
| ← keepLearning512 left | 09:39 |
| ← apollo left | 09:43 |
| → keepLearning512 joined | 09:45 |
| → rfuentess_ joined | 09:46 |
| → jhaenchen joined | 09:46 |
| → cdown joined | 09:47 |
| → apollo joined | 09:47 |
| → BallChang-CN joined | 09:47 |
| → mofai joined | 09:49 |
| → jhaenche_ joined | 09:49 |
| ← keepLearning512 left | 09:50 |
| ← jhaenchen left | 09:50 |
| ← rfuentess_ left | 09:51 |
| ← jhaenche_ left | 09:54 |
| ← pandem left | 09:55 |
| → lukas1 joined | 09:59 |
| ← lanlink left | 10:00 |
| → lanlink joined | 10:00 |
| ← lankanmon left | 10:01 |
| → pandem joined | 10:03 |
| → lb joined | 10:06 |
| → keepLearning512 joined | 10:06 |
| ← lb left | 10:06 |
| → lb joined | 10:06 |
| → jhaenchen joined | 10:06 |
| ← DINOWILLIAM left | 10:07 |
| ← lanlink left | 10:07 |
| ← pity left | 10:09 |
| ← keepLearning512 left | 10:10 |
| → rafasc joined | 10:11 |
| ← jhaenchen left | 10:11 |
| ← shabius left | 10:11 |
| → nadley joined | 10:12 |
| ← lukas1 left | 10:13 |
| ← Kaisyu left | 10:13 |
| ← nowhere_man left | 10:13 |
| ← Repox left | 10:17 |
| ← deathwishdave left | 10:22 |
| → jhaenchen joined | 10:22 |
| → jottr joined | 10:24 |
| ← regedit left | 10:24 |
| → buyfn joined | 10:25 |
| → keepLearning512 joined | 10:26 |
| ← jhaenchen left | 10:29 |
| ← cur8or left | 10:30 |
| ← keepLearning512 left | 10:31 |
| ← pfleck left | 10:33 |
| ← ShapeShifter499 left | 10:39 |
| → ilyaigpetrov joined | 10:40 |
| → ShapeShifter499 joined | 10:40 |
| → lankanmon joined | 10:41 |
| → deathwishdave joined | 10:45 |
| → jhaenchen joined | 10:47 |
| → scarcry joined | 10:47 |
| → tvw joined | 10:51 |
| ← jhaenchen left | 10:52 |
| → dustinm joined | 10:53 |
| → supernov2h joined | 10:54 |
| ← dpyro left | 10:54 |
| → romanzolotarev joined | 10:54 |
|
_ikke_
| put your snapshots on social media | 10:56 |
| → CodeSlingerPaul joined | 10:59 |
|
osse
| I imagine git-Instagram would start out with having beautiful visualizations of logs, obviously made by people who know what they're doing, albeit coming off as slightly hipster. | 10:59 |
| → RTZ0x859 joined | 10:59 |
|
davve
| git stash put-on-instagram | 10:59 |
| → kes joined | 10:59 |
|
osse
| Then after about five years of success gradual becomes overrun by memes and jokes | 11:00 |
|
davve
| im sure people would love reading out of context code on instagram :D | 11:00 |
|
| but I suppose, generating an image from a snippet and posting it on instagram could be useful if you find something funny | 11:01 |
|
| would make more sense to have it as an editor plugin rather than coupled to git | 11:01 |
|
| perhaps | 11:01 |
| → nowhere_man joined | 11:02 |
| ← supernov2h left | 11:04 |
| → jhaenchen joined | 11:05 |
| → lanlink joined | 11:06 |
| → pity joined | 11:06 |
| → MarioBranco joined | 11:07 |
| → CountryNerd joined | 11:08 |
| → keepLearning512 joined | 11:09 |
| ← dansan_ left | 11:09 |
| → dansan_ joined | 11:09 |
| ← bolovanos_ left | 11:10 |
| ← jhaenchen left | 11:10 |
| ← CountryNerd_ left | 11:10 |
| ← inovas left | 11:12 |
| ← keepLearning512 left | 11:13 |
| → cur8or joined | 11:14 |
| → inovas joined | 11:14 |
| → BSaboia joined | 11:15 |
| → jhaenchen joined | 11:16 |
| ← pity left | 11:17 |
| ← SkyLeach left | 11:21 |
| → keepLearning512 joined | 11:21 |
| → tijensse joined | 11:22 |
| → crmaurei joined | 11:24 |
| → Kobaz joined | 11:24 |
| ← jhaenchen left | 11:26 |
| → m0viefreak joined | 11:30 |
| → str joined | 11:30 |
| ← kurkale61 left | 11:32 |
| ← buyfn left | 11:38 |
| → pfleck joined | 11:40 |
|
lb
| i'd vote for git-flickr ....stay classy | 11:43 |
| → brokenshakles joined | 11:43 |
| ← pfleck left | 11:44 |
| → plexigras joined | 11:45 |
| → kurkale61 joined | 11:48 |
| → joe3 joined | 11:48 |
| → igemnace joined | 11:49 |
| ← dansan_ left | 11:49 |
| → dansan joined | 11:49 |
| ← joe2 left | 11:50 |
| → gareppa joined | 11:52 |
| ← gareppa left | 11:53 |
| → gareppa joined | 11:54 |
| ← gareppa left | 11:59 |
| → discopatrick joined | 11:59 |
| → m00sehead joined | 12:00 |
| → argoneus joined | 12:01 |
| ← Tobbi_ left | 12:03 |
| ← jmnk left | 12:05 |
| → synthroid joined | 12:06 |
| → buyfn joined | 12:07 |
| → gschwind joined | 12:07 |
| → jmnk joined | 12:08 |
|
gschwind
| hello, what can explain a discrepancy between version ID, I have 3 repository: #1 #2 #3, #3 is remote, #1 and #2 are clone of #3 but #1 and #2 does not share the same head ID | 12:10 |
| → marlinc joined | 12:10 |
| → Gurkenglas joined | 12:12 |
| → chan201 joined | 12:13 |
| ← theoceaniscool left | 12:13 |
| → dcpc007 joined | 12:16 |
| → cagomez joined | 12:16 |
|
gschwind
| I think I found hint for my issue, it seems linked to server setup | 12:17 |
| ← jmnk left | 12:20 |
| ← Gurkenglas left | 12:21 |
| ← cagomez left | 12:21 |
| → eduardas_m joined | 12:21 |
| → jhaenchen joined | 12:22 |
| → nd_ joined | 12:25 |
| → Wetmelon joined | 12:25 |
| → jmnk joined | 12:26 |
| → matsaman joined | 12:27 |
| ← jhaenchen left | 12:28 |
| ← matsaman left | 12:28 |
| → Gurkenglas joined | 12:28 |
| → joe4 joined | 12:28 |
| ← nd left | 12:28 |
| ← CountryNerd left | 12:29 |
| ← chan201 left | 12:31 |
| → enhance joined | 12:32 |
| ← joe3 left | 12:32 |
|
gschwind
| I found that I looked to a diferent repository due to a typo in remote URLs | 12:32 |
| ← jmnk left | 12:32 |
| → theseb joined | 12:33 |
| ← nowhere_man left | 12:33 |
| → nowhere_man joined | 12:34 |
| ← apollo left | 12:34 |
| → jmnk joined | 12:34 |
|
theseb
| test | 12:35 |
| ← theseb left | 12:35 |
| → apollo joined | 12:37 |
| ← ali1234 left | 12:41 |
| ← kiltzman left | 12:45 |
| → jhaenchen joined | 12:49 |
| → manuelschneid3r joined | 12:49 |
| ← jmnk left | 12:50 |
| → kiltzman joined | 12:51 |
| → jmnk joined | 12:51 |
| ← jhaenchen left | 12:53 |
| ← kiltzman left | 12:53 |
| ← pnepe6 left | 12:56 |
| → linuxmodder joined | 12:56 |
| → jhaenchen joined | 12:59 |
| → dendazen joined | 13:00 |
| ← Khisanth left | 13:01 |
| ← klaidas left | 13:01 |
| → Bobguy joined | 13:01 |
| → TheRuckus joined | 13:04 |
| ← Persondude left | 13:05 |
| ← charolastra left | 13:07 |
| → sentriz joined | 13:07 |
| → Tobbi_ joined | 13:08 |
| → psprint joined | 13:09 |
| → stolee joined | 13:11 |
| ← plexigras left | 13:12 |
| ← cur8or left | 13:14 |
| → Khisanth joined | 13:14 |
| → plexigras joined | 13:14 |
|
rafasc
| TIL about rebase.abbreviateCommands | 13:16 |
| ← jhaenchen left | 13:16 |
| → TinkerT joined | 13:16 |
| → tangmou joined | 13:20 |
| → Case_Of joined | 13:21 |
| → jhaenchen joined | 13:25 |
| → AndresInSpace joined | 13:25 |
| → getSomethingGood joined | 13:26 |
| ← keepLearning512 left | 13:30 |
| ← fstd left | 13:31 |
| → fstd joined | 13:31 |
| ← xPucTu4 left | 13:31 |
| ← amirpro left | 13:32 |
| → amirpro joined | 13:33 |
| → vorpalblade77 joined | 13:34 |
| ← jottr left | 13:34 |
| ← enhance left | 13:35 |
| ← jhaenchen left | 13:35 |
| → jhaenchen joined | 13:35 |
| → ablackack joined | 13:36 |
| ← amirpro left | 13:36 |
| → amirpro joined | 13:36 |
| ← amirpro left | 13:37 |
| → amirpro joined | 13:37 |
| ← JeroenT_ left | 13:38 |
| → aananev joined | 13:39 |
| ← jhaenchen left | 13:40 |
| ← sentriz left | 13:41 |
| → baxx joined | 13:45 |
| ← amirpro left | 13:46 |
| → amirpro joined | 13:46 |
| ← j7k6 left | 13:47 |
| ← baxx left | 13:48 |
| ← igemnace left | 13:48 |
| ← brokenshakles left | 13:49 |
| → jhaenchen joined | 13:49 |
| → enhance joined | 13:50 |
| → j7k6 joined | 13:50 |
| → boombatower joined | 13:53 |
| ← guideline left | 13:55 |
| ← lanlink left | 13:57 |
| → permalac joined | 13:57 |
| → xnox joined | 13:57 |
| ← xnox left | 13:57 |
| → xnox joined | 13:57 |
| ← joe4 left | 13:58 |
| ← rfuentess left | 13:58 |
| → joe4 joined | 13:58 |
| → sentriz joined | 13:59 |
| → camsbury joined | 14:03 |
| → keepLearning512 joined | 14:03 |
| ← m00sehead left | 14:03 |
| → jottr joined | 14:04 |
| → rpage joined | 14:05 |
| ← plexigras left | 14:05 |
| ← abba left | 14:05 |
| ← jottr left | 14:09 |
| → jokoon joined | 14:10 |
| ← riemann left | 14:11 |
| → dc13ff joined | 14:11 |
| ← j7k6 left | 14:11 |
| → Raed|Laptop joined | 14:11 |
| → thiago joined | 14:12 |
|
_rgn
| osse: I have a bug with git blamediff where it's not showing commit sha for a line that was removed in working tree | 14:13 |
| → shinnya joined | 14:13 |
| → ferdna joined | 14:13 |
|
rafasc
| In the middle of a rebase, is there a way choose conflicts in favor of ours or theirs? | 14:16 |
| → borkr joined | 14:16 |
| → j7k6 joined | 14:17 |
|
rafasc
| checkout --ours/--theirs -- path; checks out the whole file, I was looking for something similar to how merge -Xours works. | 14:17 |
| → roygbiv joined | 14:18 |
| ← gugit left | 14:19 |
| → monk12 joined | 14:21 |
|
canton7
| rafasc, rebase takes -m, -s and -X options. But no way to change your mind in the middle of a rebase | 14:22 |
| → Duailibe joined | 14:22 |
| ← xaa left | 14:23 |
| → bket joined | 14:23 |
|
rafasc
| canton7: yea, my problem is that I have a series well defined commits where some need ours, but others need theirs. | 14:23 |
|
canton7
| a mergetool might be your best bet | 14:24 |
|
| some of them have options for "take all ours", etc | 14:24 |
| ← acidjnk left | 14:25 |
|
rafasc
| kdiff3, which is the one I use most of the time has options like that.. I was trying to avoid opening guis. | 14:25 |
| ← jmnk left | 14:26 |
|
rafasc
| I guess one option is to manually call git-merge-file, with the files from each stage. | 14:26 |
| → jottr joined | 14:29 |
| ← apollo left | 14:29 |
| → acidjnk joined | 14:29 |
| ← eduardas_m left | 14:30 |
| → jmnk joined | 14:30 |
| → zmt01 joined | 14:31 |
| → apollo joined | 14:32 |
| ← xnox left | 14:33 |
| ← zmt00 left | 14:35 |
| → guideline joined | 14:38 |
| ← guideline left | 14:38 |
| → _aeris_ joined | 14:38 |
| ← roygbiv left | 14:42 |
| ← deathwishdave left | 14:42 |
| ← jhaenchen left | 14:42 |
| → jhaenchen joined | 14:42 |
| ← jhaenchen left | 14:43 |
| → jhaenchen joined | 14:43 |
| ← RougeR left | 14:44 |
| ← chele left | 14:44 |
| ← cp7781 left | 14:46 |
| ← str left | 14:47 |
| ← jhaenchen left | 14:48 |
| ← MarioBranco left | 14:48 |
| → mostlybadfly joined | 14:48 |
| → MarioBranco joined | 14:50 |
| → rishi joined | 14:52 |
| → guideline joined | 14:52 |
| ← pandem left | 14:53 |
| → hdqn joined | 14:58 |
|
hdqn
| hello, is there a way to use my github user/email for all github repos, without having to add them to every damn repo locally? | 14:59 |
| → pandem joined | 14:59 |
| ← skisela left | 14:59 |
|
bremner
| you can configure them globally | 15:00 |
| ← Duailibe left | 15:01 |
| → pfleck joined | 15:01 |
|
bremner
| see man git config --global | 15:01 |
|
gitinfo
| the git-config manpage is available at https://gitirc.eu/git-config.html | 15:01 |
|
bremner
| that will be for all repos though, not just github ones | 15:01 |
| → xnox joined | 15:01 |
| ← xnox left | 15:01 |
| → xnox joined | 15:01 |
|
hdqn
| yeah, hence the question. | 15:01 |
|
bremner
| probably not easily. You could write a script to clone from github and set up the repo | 15:02 |
|
hdqn
| also, `git config --global user.<name|email>` displays the right values for github atm, but git still asks on push | 15:02 |
|
bremner
| ah. that's about authentication / passwords | 15:02 |
|
hdqn
| ah, right. | 15:03 |
|
| thanks | 15:03 |
| → ali1234 joined | 15:03 |
| ← nevodka_ left | 15:04 |
| → reu joined | 15:04 |
|
psprint
| Is it possible to clone recursively, but mute `--progress` for submodules ? | 15:04 |
| ← TomyWork left | 15:04 |
| → hiroki joined | 15:04 |
| ← hiroki left | 15:04 |
| → hiroki joined | 15:04 |
| → pagios joined | 15:05 |
| ← leeN left | 15:05 |
| ← borkr left | 15:05 |
| ← pfleck left | 15:05 |
| → nevodka joined | 15:05 |
| → Mattiaslndstrm joined | 15:08 |
|
hdqn
| still no luck :/ `ssh -T github` auths correctly, `git clone [email@hidden.address] clones fine; renaming ~/.ssh/config breaks the clone ability as expected | 15:10 |
|
| and yet `git push` asks for a user name | 15:10 |
|
| ah, my bad, I forked on gh after cloning, trying to push to the original repo :P | 15:11 |
| ← monk12 left | 15:12 |
| → Alystair joined | 15:13 |
| ← thiago left | 15:13 |
|
Alystair
| how do remove a folder I emptied from repo? | 15:13 |
| ← keepLearning512 left | 15:13 |
|
rafasc
| Alystair: git rm --cached <removed folder> | 15:13 |
|
hdqn
| wish the errors were more informative, even GIT_TRACE=2 isn't very helpful if you don't know what to look for | 15:13 |
| ← linuxmodder left | 15:13 |
|
Alystair
| fatal: pathspec 'json' did not match any files | 15:14 |
|
| I guess the git mv command on sub items already got rid of it for upcoming commit? o_O | 15:14 |
|
gschanuel
| hey | 15:14 |
|
| so, i had a huge repository and I want to split it. I did this https://help.github.com/articles/splitting-a-subfolder-out-into-a-new-repository/ | 15:15 |
|
hdqn
| hmm... updated remote url to my fork, but git still asks for username | 15:15 |
| → jhaenchen joined | 15:15 |
|
gschanuel
| ok, now i want to do the same procedure again with another folder | 15:15 |
| ← j7k6 left | 15:15 |
| ← synthroid left | 15:15 |
| ← jhaenchen left | 15:16 |
|
gschanuel
| I must clone everything again or can i "revert" the files so I can --subdirectory-filter again? | 15:16 |
|
hdqn
| do I have to clone my fork to get rid of this? If so, how do I keep the commit I just made? | 15:16 |
| → jhaenchen joined | 15:16 |
| ← nowhere_man left | 15:16 |
|
grawity
| if it's not in .git/config, it doesn't exist | 15:17 |
|
rafasc
| Alystair: git doesn't record directories, So if you moved all files with git mv, and there's no files left, for git that directory doesn't exist. | 15:17 |
| joe4 → revoltingPeasant | 15:18 |
|
revoltingPeasant
| I make a log of use of `git for-each-ref --sort=-commiterdate` Is there any way to display the time that the branch was commited at along with this information? | 15:19 |
| ← jokoon left | 15:19 |
|
rafasc
| hdqn: user.name/email is used for commits, if you want to automate authentication, with ssh you should configure your .ssh/config properly. | 15:19 |
|
hdqn
| rafasc: I have, `ssh -T github` auths correctly, as I said | 15:20 |
|
| cloning my own repo via [email@hidden.address] works too | 15:20 |
|
rafasc
| hdqn: paste your logs/.ssh/config | 15:20 |
| → fmcgeough joined | 15:21 |
| → fstd_ joined | 15:21 |
| → orbyt_ joined | 15:21 |
|
rafasc
| hdqn: and be sure your got your remotes url with ssh:// instead of https:// | 15:22 |
| → leeN joined | 15:22 |
|
rafasc
| gschanuel: do you have $git subtree available? | 15:22 |
| → plitter joined | 15:22 |
|
gschanuel
| after git filter-branch --prune-empty --subdirectory-filter the other folders were deleted | 15:24 |
|
| even from git subtree | 15:24 |
| ← Raed|Laptop left | 15:24 |
| ← fstd left | 15:24 |
| fstd_ → fstd | 15:24 |
|
gschanuel
| i'm cloning it again and will make a local copy so I can split it multiple times | 15:24 |
|
rafasc
| gschanuel: git subtree split -b <branch> --prefix=<directory> HEAD; will split the subdirectory to a new branch, which you can then push to another repo. | 15:24 |
|
gschanuel
| rafasc, it looks much more practical this way! | 15:25 |
|
rafasc
| gschanuel: it's slower though. | 15:25 |
| ← tangmou left | 15:25 |
| → minionofgozer_ joined | 15:26 |
| → tangmou joined | 15:26 |
|
gschanuel
| rafasc, will it keep the whole history and so on? | 15:26 |
| ← minionofgozer left | 15:26 |
|
rafasc
| gschanuel: git filter-branch operates on the branch you're on. So if you need to run it more than once, you can always make a new branch and filter it; | 15:26 |
|
| gschanuel: git checkout -b <filtered_master> master; git filter-branch etc... | 15:27 |
|
gschanuel
| and then checkout again to master.. hum | 15:27 |
|
rafasc
| yeah, then you can push it to another repo using git push other filtered_master:master; | 15:28 |
| ← Gurkenglas left | 15:29 |
| → pity joined | 15:29 |
| ← rishi left | 15:29 |
| → j7k6 joined | 15:30 |
| ← dmone left | 15:30 |
| → rishi joined | 15:30 |
| → tangmou_ joined | 15:30 |
|
rafasc
| gschanuel: with subtree you can do it in one command: git subtree push --prefix <dir> other master; | 15:31 |
| → synthroid joined | 15:31 |
| ← floppydh left | 15:32 |
| → floppydh joined | 15:33 |
| → crose joined | 15:34 |
| ← orbyt_ left | 15:34 |
| ← pity left | 15:34 |
| ← tangmou left | 15:34 |
| → unpythonic joined | 15:38 |
| ← crose left | 15:39 |
| → orbyt_ joined | 15:39 |
| ← gschwind left | 15:39 |
| → mh_le joined | 15:40 |
| → cagomez joined | 15:40 |
|
hdqn
| rafasc: it was the wrong remote url. thanks. :) | 15:40 |
|
| have a blast day folks | 15:40 |
|
rafasc
| hdqn: you too | 15:40 |
| ← hdqn left | 15:40 |
|
mh_le
| is there a way to for a repository to be on two servers at the same time such that a single push updates them both | 15:41 |
| → DINOWILLIAM joined | 15:42 |
|
mh_le
| ?* | 15:42 |
| ← njbair left | 15:43 |
| → njbair joined | 15:43 |
|
rafasc
| mh_le: git remote set-url --add | 15:44 |
|
| mh_le: that isn't really recommended unless the two urls refer to the same repo. | 15:46 |
|
| you can get weird behaviour if it manages to push to one, but not the other. | 15:46 |
| → gugit joined | 15:47 |
|
mh_le
| rafasc: I see - it's to have some redundancy backups for my repo | 15:47 |
| ← shinnya left | 15:51 |
| → crose joined | 15:54 |
| → thiago joined | 15:54 |
| → Gurkenglas joined | 15:55 |
| ← jmnk left | 15:55 |
| ← komonsterko left | 15:56 |
| → orangePea joined | 15:57 |
| ← dino82 left | 15:58 |
| → Murr- joined | 15:58 |
| → dino82 joined | 15:59 |
| ← dino82 left | 15:59 |
| → dino82 joined | 15:59 |
|
rafasc
| mh_le: I would say for redundancy, you could add a new remote (with --mirror maybe) | 15:59 |
| → pulec_ joined | 16:01 |
| ← argoneus left | 16:02 |
| ← amirpro left | 16:02 |
| ← BSaboia left | 16:02 |
| → jmnk joined | 16:02 |
| ← floppydh left | 16:02 |
| ← reu left | 16:02 |
| → durham joined | 16:02 |
| → reu joined | 16:03 |
| → beaky1 joined | 16:04 |
| ← tangmou_ left | 16:04 |
| → rory_ joined | 16:04 |
| → pasky joined | 16:05 |
| ← gugit left | 16:06 |
| → Redfoxmoon joined | 16:07 |
| → publio joined | 16:07 |
| → arand joined | 16:07 |
| → argoneus joined | 16:08 |
| → hanneso joined | 16:08 |
| ← plitter left | 16:08 |
| → JelmerD joined | 16:09 |
| ← pandem left | 16:09 |
| ← m0viefreak left | 16:09 |
| ← manithree[m] left | 16:09 |
| → tango_ joined | 16:09 |
| → osse joined | 16:09 |
| ← ExeciN left | 16:09 |
| → nyuszika7h_ joined | 16:11 |
| → M6HZ joined | 16:11 |
| ← inovas left | 16:11 |
| → floppydh joined | 16:12 |
| → dopplergange joined | 16:12 |
| → PasiFist joined | 16:14 |
| → pandem joined | 16:14 |
| → m0viefreak joined | 16:14 |
| → manithree[m] joined | 16:14 |
| → midnightmagic joined | 16:14 |
| → Furai joined | 16:14 |
| → Mrdoor joined | 16:14 |
| → beatzz joined | 16:14 |
| → kp__ joined | 16:14 |
| → axisys joined | 16:14 |
| → cttttt joined | 16:14 |
| → sostenuto joined | 16:14 |
| → rafalcpp joined | 16:14 |
| → sonOfRa joined | 16:14 |
| → Calinou joined | 16:14 |
| → Mikaela joined | 16:14 |
| → Cork joined | 16:14 |
| → thnee joined | 16:14 |
| → snits joined | 16:14 |
| → lhx joined | 16:14 |
| → aenesidemus joined | 16:14 |
| → batrick joined | 16:14 |
| → jiffe joined | 16:14 |
| → resoum joined | 16:14 |
| → indieross joined | 16:14 |
| → luckman212 joined | 16:14 |
| → cruxeternus joined | 16:14 |
| → muep_ joined | 16:14 |
| → Cougar joined | 16:14 |
| → quite joined | 16:14 |
| → devster joined | 16:14 |
| → Blkt joined | 16:14 |
| → Live joined | 16:14 |
| → danmackay joined | 16:14 |
| → sim590 joined | 16:14 |
| ← luckman212 left | 16:14 |
| ← danmackay left | 16:14 |
| ← kp__ left | 16:14 |
| ← axisys left | 16:14 |
| ← cruxeternus left | 16:14 |
| ← jiffe left | 16:14 |
| ← rafalcpp left | 16:14 |
| → luckman212 joined | 16:15 |
| → axisys joined | 16:15 |
| → inovas joined | 16:15 |
| → rafalcpp joined | 16:15 |
| → danmackay joined | 16:15 |
| → pity joined | 16:15 |
| → kp__ joined | 16:15 |
| → cruxeternus joined | 16:15 |
| → uso joined | 16:16 |
| → cp7781 joined | 16:16 |
|
mh_le
| rafalcpp: I haven't been able to dechiper what --mirror does | 16:16 |
| ← gordonfish left | 16:17 |
| → jiffe joined | 16:17 |
| ← waltervargas[m] left | 16:17 |
| ← primeos[m] left | 16:17 |
| ← RheaParekh[m] left | 16:17 |
| ← timokoesters[m] left | 16:17 |
| ← massimog[m] left | 16:17 |
| ← abreu[m] left | 16:17 |
| ← manithree[m] left | 16:17 |
| → gordonfish joined | 16:17 |
| ← anomie[m] left | 16:18 |
| ← fjorbit[m] left | 16:18 |
| ← KevinMGranger left | 16:18 |
| ← enckse left | 16:18 |
| → SleePy joined | 16:19 |
| → Polylith joined | 16:19 |
| → tterrag joined | 16:19 |
| → gugit joined | 16:20 |
| ← pity left | 16:20 |
|
rafasc
| mh_le: it has to do where/what refs are stored. When you add a remote, git creates a namespace under refs/remotes/<name of remote> . | 16:21 |
|
| so when you fetch, the branches from that remote are stored under its own namespace. e.g origin/master | 16:22 |
| → enckse joined | 16:22 |
|
rafasc
| What mirror does is to ignore this namespacing, and copy the refs directly as they are in the remote. | 16:23 |
| ← revoltingPeasant left | 16:24 |
|
rafasc
| This is nice to mirror remotes from one place to another, as it doesn't make as much sense having one repo as remote of another. | 16:24 |
| ← z8z left | 16:25 |
| ← raymond left | 16:26 |
| ← synthroid left | 16:26 |
| ← TheRuckus left | 16:26 |
| → synthroid joined | 16:27 |
| ← jmnk left | 16:27 |
| ← troyt left | 16:28 |
| ← dopplergange left | 16:29 |
| ← crose left | 16:30 |
| ← gugit left | 16:30 |
| → TheRuckus joined | 16:30 |
| ← ShapeShifter499 left | 16:30 |
| ← NonParity left | 16:30 |
| ← dc13ff left | 16:30 |
| ← planigan left | 16:30 |
| ← |DM| left | 16:31 |
| → raulp joined | 16:31 |
| → RandomGuyOnIrc joined | 16:32 |
| ← stolee left | 16:32 |
| → ExeciN joined | 16:32 |
| → jmnk joined | 16:34 |
| → gugit joined | 16:35 |
| ← _ADN_ left | 16:35 |
| → plitter joined | 16:36 |
| → xPucTu4 joined | 16:38 |
| → rnsanchez joined | 16:38 |
| → Darcidride_ joined | 16:38 |
| ← kurkale61 left | 16:38 |
| ← buyfn left | 16:39 |
| → str joined | 16:39 |
| → stolee joined | 16:39 |
| → ephemer0l joined | 16:40 |
| → z8z joined | 16:41 |
| ← guideline left | 16:42 |
| → rsrx joined | 16:43 |
| ← gugit left | 16:44 |
| → Rashad joined | 16:46 |
| → nowhere_man joined | 16:47 |
| ← jmnk left | 16:47 |
| → jrnieder joined | 16:47 |
| → amirpro joined | 16:48 |
| → Dro joined | 16:48 |
|
Dro
| Hello | 16:48 |
|
| git status, show all my project files to be commited, or I modified just about 8 files | 16:49 |
|
| how can I fix this please? | 16:49 |
| → dc13ff joined | 16:49 |
| ← jottr left | 16:50 |
| ← synthroid left | 16:50 |
| ← floppydh left | 16:51 |
| → pr0ton joined | 16:53 |
| ← stolee left | 16:54 |
|
rafasc
| Dro: git status tells you how to undo things. | 16:55 |
|
mh_le
| rafasc: ah cool, thanks | 16:55 |
| → jmnk joined | 16:55 |
| → roygbiv joined | 16:55 |
|
rafasc
| mh_le: bit shitty of an explanation, but if you want really good ones, man pages are the way :) | 16:56 |
| → guideline joined | 16:56 |
| → [Brain] joined | 16:58 |
| ← freimatz left | 16:58 |
| → IanLiu joined | 16:58 |
| ← Dro left | 16:59 |
| beaky1 → beaky | 17:00 |
| → mburke05 joined | 17:01 |
|
mburke05
| hi guys; i have a branch that when i checkout on it, for some reason checks out on the not latest commit. is there a way to move to the current commit? i've tried `git checkout hash-of-commit` but that leaves me in a detached head state | 17:02 |
| → botalolo joined | 17:03 |
|
osse
| mburke05: if you check out a branch by name then it is the latest commit. there is no way it cannot be | 17:04 |
| → pity joined | 17:04 |
| ← ferdna left | 17:04 |
|
osse
| mburke05: maybe you're confused because the branch has changed upstream? | 17:04 |
| ← ephemer0l left | 17:04 |
| ← dansan left | 17:05 |
| → dansan joined | 17:05 |
| ← j7k6 left | 17:06 |
| → Miguelngel[m] joined | 17:06 |
| ← Tobbi_ left | 17:07 |
| → j7k6 joined | 17:08 |
| ← pity left | 17:08 |
|
mburke05
| osse: hmm i may be misunderstanding? | 17:08 |
|
osse
| yes I think you are | 17:08 |
|
mburke05
| osse: on checkout, it goes to a commit i made about a month ago, the first commit, not the latest commit (i think) | 17:08 |
| → Tobbi_ joined | 17:08 |
| ← Tobbi_ left | 17:09 |
|
osse
| mburke05: how do you know the hash of what you think is the latest commit? | 17:09 |
|
mburke05
| i'm looking at the record of the commits on the github website | 17:10 |
|
| for the branch | 17:10 |
|
osse
| mburke05: branches on github and branches on your computer are two different things. from your perspective the branch on github is naemd "origin/master" or something like that | 17:11 |
|
| so in that case you want to update master to be equal to origin/master | 17:11 |
| ← Puffball_ left | 17:11 |
|
osse
| !remote_tr > mburke05 | 17:12 |
|
gitinfo
| [!remote_tracking_branch] Remote-tracking branches (branches which start with e.g. 'origin/', listed by 'git branch -r') are read-only mirrors of the branches in another repository. They're updated by 'git fetch'. You can't edit them directly (trying to check them out results in a !detached HEAD), but you can create a local branch based on a remote-tracking branch using e.g. 'git checkout -b <branch> <remote>/<branch>' | 17:12 |
| → Regon joined | 17:14 |
| → bebbet joined | 17:14 |
| → applecrumble joined | 17:14 |
|
mburke05
| so should i delete my local branch and re-fetch it? | 17:15 |
|
| or i guess i'm unsure on what to do | 17:15 |
| → gugit joined | 17:15 |
| → Rashad_ joined | 17:15 |
| ← str left | 17:15 |
|
osse
| mburke05: if I am right you should git checkout foo; git merge origin/foo | 17:16 |
|
mburke05
| i made a PR off of the 2nd commit that its not currently using, could that be why its behaving differently? | 17:16 |
|
osse
| PRs are irrelevant. | 17:16 |
| ← cdown left | 17:16 |
| ← Rashad left | 17:16 |
|
mburke05
| your fix worked perfectly, thank you | 17:17 |
|
| i suppose this happened because i made a commit from a different computer | 17:17 |
|
| and didnt update my local branch | 17:17 |
| ChanServ set mode: +o | 17:17 |
|
mburke05
| thanks so much for the help | 17:17 |
| ← SipriusPT left | 17:18 |
|
osse
| de nada | 17:18 |
| ← botalolo left | 17:18 |
| ← xnox left | 17:18 |
| ← T_UNIX left | 17:19 |
| → ToBeCloud joined | 17:19 |
| gitinfo set mode: +v | 17:20 |
| → jottr joined | 17:21 |
| → orglce joined | 17:25 |
| ← amirpro left | 17:26 |
|
orglce
| hey.. i have a quick noob question | 17:27 |
| ← jottr left | 17:27 |
| ← duderonomy left | 17:27 |
| → Xiti joined | 17:28 |
| ← pulec_ left | 17:28 |
| → SolidState_ joined | 17:29 |
| → str joined | 17:29 |
|
osse
| and I have a quick noob answer. | 17:30 |
| → amirpro joined | 17:30 |
|
osse
| perfect match | 17:30 |
|
orglce
| haha.. when you create a new branch.. should you commit to that branch right away | 17:31 |
| ← Xiti left | 17:31 |
|
osse
| mburke05: btw, understanding master vs origin/master etc. is imho pretty important to grasp git. I suggest you read the stuff above that the bot spit out and understand it, or ask questions about it | 17:31 |
|
| orglce: there's no need for that. commit when you're ready to | 17:32 |
| ← solidstate left | 17:32 |
|
orglce
| but then master and newly created branch are identical | 17:32 |
|
osse
| yes | 17:33 |
|
| they won't be as soon as you make a commit | 17:33 |
| ← jrnieder left | 17:33 |
|
orglce
| but master should stay untouched.. | 17:33 |
|
osse
| but there's no rush in doing that | 17:33 |
|
| master will stay untouched | 17:33 |
| → naoey joined | 17:33 |
| ← xPucTu4 left | 17:33 |
|
orglce
| ok so you create a branch and commit to it when you are ready? | 17:33 |
|
osse
| yep | 17:34 |
|
| make sure you have that branch checked out when you git commit | 17:34 |
|
| after that the branch has a new commit on it, but master will stay exactly as before | 17:34 |
|
orglce
| oh i see.. ok i get it.. thanks :) | 17:34 |
| → dpyro joined | 17:37 |
| ← cagomez left | 17:39 |
| → YuGiOhJCJ joined | 17:40 |
| → cagomez joined | 17:40 |
| → xPucTu4 joined | 17:44 |
| → cagomez_ joined | 17:44 |
| ← cagomez left | 17:45 |
| ← thiago left | 17:46 |
| ← IanLiu left | 17:46 |
| → buyfn joined | 17:46 |
| ← tvw left | 17:47 |
| ← roygbiv left | 17:48 |
| Eugene changed the topic to: Welcome to #git, the place for starting the weekend on-time | First visit? Read: https://gitirc.eu | Current stable version: 2.18.0 | Getting "cannot send to channel"? /msg gitinfo .voice | This channel is logged: https://gitirc.eu/log | 17:49 |
| Eugene set mode: -o | 17:49 |
| ← cagomez_ left | 17:49 |
| ← comptroller left | 17:50 |
| ← jmnk left | 17:52 |
| → Xiti joined | 17:52 |
| ← orglce left | 17:55 |
| → cagomez joined | 17:55 |
| ← z8z left | 17:55 |
| → crose joined | 17:56 |
| ← RTZ0x859 left | 17:56 |
| → graphene joined | 17:58 |
| ← graphene left | 17:59 |
| → kqn joined | 17:59 |
| → jmnk joined | 17:59 |
| → graphene joined | 17:59 |
| ← graphene left | 18:01 |
| ← crose left | 18:01 |
| → graphene joined | 18:01 |
| ← graphene left | 18:02 |
| → ShapeShifter499 joined | 18:02 |
| → netj joined | 18:02 |
| → bitslip joined | 18:02 |
| → jcarpenter2 joined | 18:02 |
| → planigan joined | 18:02 |
| → choscura joined | 18:03 |
| → MACscr joined | 18:03 |
| → graphene joined | 18:03 |
| ← graphene left | 18:03 |
| → oojacoboo joined | 18:03 |
| → troyt joined | 18:03 |
| → jab416171 joined | 18:03 |
| → graphene joined | 18:03 |
| → anomie[m] joined | 18:03 |
| → reactormonk[m] joined | 18:03 |
| → manithree[m] joined | 18:03 |
| → olbat[m] joined | 18:03 |
| → lhunath joined | 18:03 |
| → equalunique[m] joined | 18:03 |
| → greentrophy[m] joined | 18:03 |
| → abreu[m] joined | 18:03 |
| → sho45[m] joined | 18:03 |
| → apurvapavaskar[m joined | 18:03 |
| → primeos[m] joined | 18:03 |
| → massimog[m] joined | 18:03 |
| → timokoesters[m] joined | 18:03 |
| → patrickr[m] joined | 18:03 |
| → flo[m] joined | 18:03 |
| → waltervargas[m] joined | 18:03 |
| → unclechu joined | 18:03 |
| → jothibasu[m] joined | 18:03 |
| → Demos[m] joined | 18:03 |
| → dyce[m] joined | 18:03 |
| → RheaParekh[m] joined | 18:03 |
| → lkurusa joined | 18:03 |
| → hgmnycrkt[m] joined | 18:03 |
| → fjorbit[m] joined | 18:03 |
| → aviraldg joined | 18:03 |
| → oftc_ftw joined | 18:03 |
| → marianab[m] joined | 18:03 |
| → UncleCJ joined | 18:03 |
| → KevinMGranger joined | 18:03 |
| → am2on joined | 18:03 |
| → Guest18568 joined | 18:03 |
| → sweatsuit joined | 18:03 |
| → Techie[m] joined | 18:04 |
| ← Rashad_ left | 18:04 |
| → cespare joined | 18:05 |
| ← graphene left | 18:05 |
| → StrangerVP joined | 18:05 |
| → graphene joined | 18:05 |
| → Random832 joined | 18:05 |
| ← graphene left | 18:06 |
| → graphene joined | 18:06 |
| ← graphene left | 18:06 |
| → dopplergange joined | 18:06 |
| → meLon joined | 18:07 |
| ← argoneus left | 18:07 |
| → zzz joined | 18:08 |
| → argoneus joined | 18:09 |
| ← jmnk left | 18:10 |
| → comptroller joined | 18:10 |
| ← kqn left | 18:11 |
| ← Xiti left | 18:14 |
| ← MarioBranco left | 18:17 |
| → pfleck joined | 18:17 |
| ← vorpalblade77 left | 18:18 |
| → thebope joined | 18:18 |
| → Sasazuka joined | 18:18 |
| → vorpalblade77 joined | 18:18 |
| → jmnk joined | 18:18 |
| → maiz joined | 18:20 |
| ← maiz left | 18:20 |
| ← buyfn left | 18:21 |
| → Xiti joined | 18:21 |
| ← vorpalblade77 left | 18:22 |
| → Eryn_1983_FL joined | 18:22 |
| → vorpalblade77 joined | 18:22 |
| ← acidjnk left | 18:22 |
| → buyfn joined | 18:23 |
| → sh3iny joined | 18:23 |
| → Arcatech joined | 18:23 |
| ← minionofgozer_ left | 18:23 |
| ← cagomez left | 18:25 |
| → jottr joined | 18:26 |
| ← sauvin left | 18:26 |
| ← mostlybadfly left | 18:27 |
| → minionofgozer joined | 18:27 |
| ← enckse left | 18:28 |
| ← tarkus left | 18:29 |
| → enckse joined | 18:30 |
| → thiago joined | 18:30 |
| ← jmnk left | 18:30 |
| → acidjnk joined | 18:30 |
| ← jottr left | 18:30 |
| ← njbair left | 18:34 |
| ← gugit left | 18:34 |
| ← Arcatech left | 18:35 |
| → jmnk joined | 18:35 |
| → Arcatech joined | 18:36 |
| ← buyfn left | 18:37 |
| → ok91 joined | 18:37 |
| → njbair joined | 18:37 |
| ← skered left | 18:39 |
| → cagomez joined | 18:41 |
| ← kes left | 18:41 |
| → pawle joined | 18:43 |
| → duderonomy joined | 18:43 |
| ← Arcatech left | 18:44 |
| → iNCoNFuN joined | 18:44 |
| → \void joined | 18:45 |
| ← cagomez left | 18:46 |
| → jnavila joined | 18:47 |
| → invisbl joined | 18:48 |
| → buyfn joined | 18:48 |
| ← duderonomy left | 18:48 |
| ← npgm left | 18:48 |
| ← invisbl left | 18:49 |
| → xnox joined | 18:50 |
| ← xnox left | 18:50 |
| → xnox joined | 18:50 |
| ← jmnk left | 18:50 |
| ← pfleck left | 18:51 |
| → crose joined | 18:52 |
| LiftLeft2 → LiftLeft | 18:53 |
| → duderonomy joined | 18:54 |
| → pfleck joined | 18:55 |
| → duderono_ joined | 18:55 |
| ← ekleog left | 18:56 |
| → jmnk joined | 18:56 |
| ← pawle left | 18:56 |
| ← ExeciN left | 18:56 |
| → pawle joined | 18:57 |
| → cagomez joined | 18:57 |
| ← crose left | 18:57 |
| ← xnox left | 18:57 |
| ← Someguy123 left | 18:58 |
| ← duderonomy left | 18:59 |
| ← cagomez left | 18:59 |
| ← YuGiOhJCJ left | 18:59 |
| ← MapMan left | 19:00 |
| → cagomez joined | 19:00 |
| ← dendazen left | 19:00 |
| ← speedmann left | 19:00 |
| → ephemer0l_ joined | 19:01 |
| → shabius joined | 19:02 |
| ← duderono_ left | 19:02 |
| ← xcm left | 19:04 |
| → xcm joined | 19:04 |
| → Rashad joined | 19:05 |
| → mizu_no_oto joined | 19:05 |
| → xnox joined | 19:06 |
| ← xnox left | 19:06 |
| → xnox joined | 19:06 |
| → duderonomy joined | 19:07 |
| ← jmnk left | 19:07 |
| ← mizu_no_oto left | 19:09 |
| ← pawle left | 19:09 |
| → jmnk joined | 19:10 |
| ← duderonomy left | 19:12 |
| → iNCoNFuN_ joined | 19:14 |
| ← iNCoNFuN left | 19:14 |
| → iNCoNFuN joined | 19:15 |
| → Rashad_ joined | 19:15 |
| → Narrat joined | 19:17 |
| → duderonomy joined | 19:17 |
| ← Rashad left | 19:18 |
| ← iNCoNFuN_ left | 19:18 |
| ← dc13ff left | 19:20 |
| ← jnavila left | 19:23 |
| ← Eryn_1983_FL left | 19:23 |
| ← planigan left | 19:24 |
| → planigan joined | 19:25 |
| ← mofai left | 19:28 |
| ← nowhere_man left | 19:29 |
| ← duderonomy left | 19:29 |
| → justsurely joined | 19:30 |
| → mostlybadfly joined | 19:32 |
| ← staafl_ left | 19:32 |
| → pawle joined | 19:32 |
| ← justsurely left | 19:33 |
| ← ali1234 left | 19:34 |
| → fr33domlover joined | 19:34 |
| → speedmann joined | 19:35 |
| ← arecaceae left | 19:35 |
| → Someguy123 joined | 19:36 |
| → arecaceae joined | 19:36 |
| → endofexclusive joined | 19:36 |
| → duderonomy joined | 19:38 |
| → roygbiv joined | 19:38 |
| → ekleog joined | 19:38 |
| → MapMan joined | 19:40 |
|
HedgeMage
| Eugene: What is this on-time you speak of? | 19:40 |
| → kurkale61 joined | 19:41 |
| ← jmnk left | 19:42 |
| ← pawle left | 19:42 |
| → shinnya joined | 19:42 |
| kurkale61 → kurkale6ka | 19:43 |
| → skered joined | 19:43 |
| ← iNCoNFuN left | 19:44 |
| → linuxmodder joined | 19:46 |
| ← duderonomy left | 19:47 |
| → Rashad joined | 19:48 |
| ← str left | 19:49 |
| → jmnk joined | 19:49 |
| ← Rashad_ left | 19:49 |
| → duderonomy joined | 19:50 |
| ← duderonomy left | 19:50 |
| ← kurkale6ka left | 19:51 |
| → kurkale6ka joined | 19:52 |
| ← roygbiv left | 19:52 |
| → plexigras joined | 19:53 |
| ← ToBeCloud left | 19:56 |
| ← cagomez left | 19:56 |
|
_ikke_
| HedgeMage: Usually nothing serious, just some light fun in the topic | 20:00 |
| ← fmcgeough left | 20:01 |
| ← Rashad left | 20:01 |
| → str joined | 20:02 |
| → tonyj joined | 20:06 |
| ← jmnk left | 20:06 |
| ← buyfn left | 20:06 |
| → buyfn joined | 20:07 |
| → cagomez joined | 20:08 |
| ← amirpro left | 20:09 |
| ← Darcidride_ left | 20:10 |
| ← buyfn left | 20:11 |
| → ExeciN joined | 20:12 |
| → jmnk joined | 20:17 |
| → Eryn_1983_FL joined | 20:18 |
| ← pr0ton left | 20:18 |
| → ram_ joined | 20:20 |
| ← schleppel left | 20:24 |
| → hexagoxel joined | 20:24 |
| ← inovas left | 20:25 |
| → pr0ton joined | 20:26 |
| ← pr0ton left | 20:26 |
| → msh3iny joined | 20:26 |
| → jottr joined | 20:26 |
| → maryo joined | 20:26 |
| ← sh3iny left | 20:26 |
| → mikeric joined | 20:27 |
| ← str left | 20:27 |
|
maryo
| We are planning to migrate from CVS to GIT.. But not sure about the steps on how to perform the migration. Anyone here has done this migration? | 20:27 |
| → inovas joined | 20:30 |
| ← orangePea left | 20:30 |
| ← kurkale6ka left | 20:31 |
| ← jottr left | 20:31 |
| → nadare joined | 20:34 |
| → JanC joined | 20:36 |
| ← jcarpenter2 left | 20:38 |
| ← MACscr left | 20:39 |
| → jcarpenter2 joined | 20:39 |
|
cbreak
| maryo: do you want to keep history? | 20:40 |
|
| if so, you might have to find a script somewhere that checks out every commit and commits it in git | 20:41 |
| → MACscr joined | 20:41 |
| ← navidr left | 20:42 |
|
maryo
| cbreak, yep we want to keep history. Some said us to migrate first to SVN and then SVN -> GIT.. Is that the case? Or we can directly migrate from CVS to GIT ? | 20:42 |
| ← TheRuckus left | 20:42 |
|
cbreak
| no idea if direct works | 20:42 |
|
| but svn to git is somewhat trivial | 20:42 |
|
| there are at least two ways | 20:43 |
|
cjohnson
| https://git-scm.com/docs/git-cvsimport | 20:43 |
|
osse
| i think this was originally written for this purpose: https://gitlab.com/esr/reposurgeon | 20:43 |
|
cbreak
| git-svn can do it, and there's a direct import script too | 20:43 |
|
cjohnson
| Doing a 2-step transition seems pretty risky | 20:43 |
|
cbreak
| not as risky as using cvs in the first place. | 20:43 |
| ← thebope left | 20:43 |
| → pr0ton joined | 20:43 |
| → str joined | 20:44 |
| → jrnieder joined | 20:44 |
| ← njbair left | 20:44 |
| ← ram_ left | 20:44 |
| → njbair joined | 20:44 |
|
cjohnson
| That isn't the comparison though | 20:44 |
|
| the comparison is, a cvs->git transition, or cvs->svn->git | 20:44 |
|
| and the latter is just inherently riskier | 20:45 |
|
| more surface area for things to go wrong | 20:45 |
| → kerframil joined | 20:45 |
| → jhaenche_ joined | 20:45 |
|
cbreak
| it's not like the conversion to git will consume the cvs repo... | 20:45 |
| ← jhaenchen left | 20:45 |
|
cjohnson
| I don't recall saying it would? | 20:46 |
|
| Not sure where these strawmen are coming from but I'll help you put the hat on if you like | 20:46 |
| ← jhaenche_ left | 20:47 |
| → jhaenchen joined | 20:47 |
| → Xiti` joined | 20:49 |
| ← jhaenchen left | 20:52 |
| ← Xiti left | 20:52 |
| ← pr0ton left | 20:57 |
| → jonasz joined | 20:58 |
| ← mikeric left | 20:59 |
| gitinfo set mode: +v | 20:59 |
|
jonasz
| Hello guys, i currently have a commit where i accidentally pushed a large file, I removed it and recommitted, but for some reason when i push to git, it still blames that the repository is too large | 20:59 |
|
| How can i fix this? | 20:59 |
| → pr0ton joined | 21:00 |
| → Skipp_OSX joined | 21:00 |
|
Skipp_OSX
| is there a way to switch branches and rebase in the same command? | 21:00 |
| ← cp7781 left | 21:00 |
|
Skipp_OSX
| problem is, I checkout an old branch, it touches a bunch of files, then I update, it touches some more, so then I go to compile and it looks at the modification times and a little change turns into a huge compile | 21:01 |
| ← dcpc007 left | 21:01 |
|
Skipp_OSX
| update meaning rebase onto master | 21:01 |
| → wootehfoot joined | 21:01 |
| → thebope joined | 21:02 |
|
Skipp_OSX
| even thought there are only a few net changes, it touches many more files depending on how old the branch is to go back in time then forward again so it makes the compile time go way up | 21:02 |
| ← camsbury left | 21:03 |
|
osse
| Skipp_OSX: there is a syntax for it: git rebase foo bar will be equivalent to git checkout bar; git rebase foo | 21:03 |
|
| but I think it just literally does that | 21:03 |
| ← str left | 21:03 |
|
Skipp_OSX
| really... ok cool thx | 21:04 |
|
| I didn't know that shortcut | 21:04 |
|
gxt
| jonasz: When you say "recommitted", do you mean created a new commit, or edited the commit that introduced the file? | 21:04 |
|
rafasc
| Skipp_OSX: Don't think it solves your issue though. | 21:04 |
|
jonasz
| created a new commit, so i have commit 1 wiht file, commit 2 without file, committ3 small change | 21:04 |
|
Skipp_OSX
| rafasc because it does a checkout followed by a rebase just the same huh | 21:04 |
| → pity joined | 21:04 |
| ← discopatrick left | 21:04 |
|
jonasz
| i just want to push commit 3 i think | 21:04 |
|
rafasc
| Skipp_OSX: consider checking out the old branch on a different worktree. | 21:05 |
|
tabakhase
| cherry-picking seems only way around, and thats some creepy way to say "rebase" ;D | 21:05 |
|
Skipp_OSX
| rafasc unfortunately that is not a great option considering the size of the repo | 21:05 |
|
rafasc
| git woktree add ... ; | 21:05 |
|
| Skipp_OSX: worktrees don't duplicate the size of the repo. | 21:06 |
|
Skipp_OSX
| oooooh ok I didn't know about that | 21:06 |
|
| I thought you just meant make a whole separate instance | 21:06 |
|
gxt
| jonasz: If you do not want commits 1 and 2 at all, just do `git rebase --interactive @~3` and delete the other two commits, else you could try squashing them the same way. | 21:06 |
|
osse
| not sure how worktree solves the timestamp problem. in the new worktree ALL files will have newer timestamps | 21:07 |
|
Skipp_OSX
| ok looking at the docs now this def could be the answer | 21:07 |
|
gxt
| jonasz: The interactive rebase opens your text editor and contains instructions on how to do that. | 21:07 |
|
rafasc
| Skipp_OSX: not sure if it hardlinks the files in the worktree, but it definetly doesn't copy the whole history of objects. | 21:07 |
|
| it just references the original repo. | 21:08 |
|
jonasz
| ok let me google that, thanks | 21:08 |
|
gxt
| Skipp_OSX: If you just want to do some temporary stuff and have enough RAM, add a new worktree under /tmp. | 21:09 |
| ← pity left | 21:09 |
|
rafasc
| osse: I assumed his problem was something like this: working on feature A, need to check old feature 0.1, do something, go back to feature A, huge compile time because the files got touched by 0.1 | 21:09 |
|
gxt
| man git rebase @ jonasz | 21:09 |
|
gitinfo
| the git-rebase manpage is available at https://gitirc.eu/git-rebase.html | 21:09 |
| ← pfleck left | 21:10 |
|
jonasz
| thanks | 21:10 |
| ← cagomez left | 21:10 |
| → duderonomy joined | 21:11 |
| ← rpage left | 21:13 |
| ← martinus__ left | 21:15 |
| ← ShapeShifter499 left | 21:16 |
| ← getSomethingGood left | 21:17 |
| ← ilyaigpetrov left | 21:19 |
| → TheRuckus joined | 21:20 |
| ← Redfoxmoon left | 21:20 |
| → Redfoxmoon joined | 21:20 |
| → ferdna joined | 21:21 |
| ← boombatower left | 21:22 |
| → dendazen joined | 21:22 |
| → daquirk joined | 21:23 |
| ← xcm left | 21:24 |
| → xcm joined | 21:24 |
| → lainon joined | 21:27 |
| ← gschanuel left | 21:31 |
| ← dendazen left | 21:32 |
| ← wootehfoot left | 21:33 |
| ← yates left | 21:35 |
| → cfoch joined | 21:36 |
| ← mostlybadfly left | 21:37 |
| → cagomez joined | 21:42 |
| ← cagomez left | 21:42 |
| → cur8or joined | 21:43 |
| → cagomez joined | 21:43 |
| ← jonasz left | 21:43 |
| ← manuelschneid3r left | 21:45 |
| ← dege left | 21:46 |
| ← Salek left | 21:46 |
| → diginaut joined | 21:51 |
| → x1b4 joined | 21:52 |
| → noteness joined | 21:56 |
| ← Skipp_OSX left | 21:59 |
| ← LionsMane left | 21:59 |
| ← pagios left | 21:59 |
| → pagios joined | 21:59 |
| ← linuxmodder left | 21:59 |
| → qu4ku joined | 22:02 |
| ← dansan left | 22:03 |
| ← AndresInSpace left | 22:04 |
| ← applecrumble left | 22:06 |
| → jnavila joined | 22:07 |
| ← ferdna left | 22:07 |
| → paraxial joined | 22:08 |
|
Eugene
| HedgeMage - never sat on a clock eh? | 22:09 |
| ← nadare left | 22:09 |
| → FernandoBasso joined | 22:09 |
| → cp7781 joined | 22:10 |
| ← daquirk left | 22:12 |
| → Salek joined | 22:12 |
| → matlock joined | 22:13 |
| ← plexigras left | 22:15 |
|
rafasc
| Eugene: digital or analog? | 22:16 |
| → cathedral joined | 22:23 |
| ← Tobbi left | 22:24 |
| → nowhere_man joined | 22:24 |
| → jottr joined | 22:27 |
| → linuxmodder joined | 22:29 |
|
Eugene
| Solar | 22:31 |
| → m00sehead joined | 22:31 |
| ← jottr left | 22:32 |
| ← rsrx left | 22:33 |
| ← jnavila left | 22:34 |
|
rafasc
| Eugene: ok, you won. | 22:34 |
| → kus_ joined | 22:34 |
| ← thiago left | 22:36 |
| → applecrumble joined | 22:41 |
| ← duderonomy left | 22:42 |
| → d-fence joined | 22:42 |
| → graphene joined | 22:43 |
| ← graphene left | 22:43 |
| ← ok91 left | 22:45 |
| → jottr joined | 22:47 |
| ← TheRuckus left | 22:48 |
| → graphene joined | 22:48 |
| ← graphene left | 22:49 |
| → RougeR joined | 22:55 |
| ← RougeR left | 22:55 |
| → RougeR joined | 22:55 |
| ← cur8or left | 22:56 |
| → dre_ joined | 22:58 |
| → qu4ku_ joined | 22:58 |
| ← qu4ku left | 23:00 |
| ← finalbeta left | 23:04 |
| ← Narrat left | 23:05 |
| ← qu4ku_ left | 23:05 |
| → YuGiOhJCJ joined | 23:07 |
| ← netj left | 23:07 |
| → netj joined | 23:08 |
| ← SolidState_ left | 23:11 |
| ← Salek left | 23:11 |
| ← lainon left | 23:12 |
| → rneco joined | 23:13 |
| ← tubaman left | 23:15 |
| → tubaman joined | 23:15 |
| → solidstate joined | 23:15 |
| → pity joined | 23:16 |
| → lainon joined | 23:19 |
| ← pity left | 23:21 |
| → bolovanos_ joined | 23:23 |
| ← Xiti` left | 23:23 |
| → Xiti joined | 23:24 |
|
HedgeMage
| LOL | 23:24 |
| → nvh^ joined | 23:25 |
| ← ming left | 23:26 |
| → cdown joined | 23:28 |
| ← cp7781 left | 23:29 |
| ← bolovanos_ left | 23:30 |
| ← xcm left | 23:31 |
| → xcm joined | 23:31 |
| ← jrnieder left | 23:31 |
| → mikemcowie joined | 23:32 |
| → thiago joined | 23:32 |
| ← acidjnk left | 23:34 |
| → durham_ joined | 23:34 |
| → graphene joined | 23:34 |
|
axisys
| how do I find out when there was a file in git? I do not see it in master | 23:35 |
|
bremner
| git log -- the-file-name | 23:35 |
| ← graphene left | 23:37 |
| → graphene joined | 23:37 |
| ← durham left | 23:38 |
| ← unpythonic left | 23:38 |
|
axisys
| git log -- file-name did not find it .. I am testing with a file that is here | 23:39 |
| ← thebope left | 23:40 |
|
osse
| axisys: is it in a subdir? | 23:41 |
| ← j7k6 left | 23:41 |
|
axisys
| ah.. **/file-name worked .. | 23:42 |
|
| osse: right | 23:42 |
| → j7k6 joined | 23:42 |
| → Salek joined | 23:43 |
| → pi__ joined | 23:43 |
| ← matlock left | 23:44 |
|
axisys
| so it also shows the hash/commit when the file appeared/disappeared.. correct? | 23:45 |
|
osse
| it will show the commit that changed it last | 23:46 |
|
| so if it doesn't exist currently that necessarily has to be where it was removed, yes | 23:46 |
|
axisys
| cool! | 23:46 |
| ← leeN left | 23:47 |
|
axisys
| how do I find out when was the first commit started .. not for a specific file.. but "globally" | 23:49 |
|
osse
| axisys: you can use --diff-filter to get precisely what you're looking for | 23:49 |
|
| git log --reverse, I suppose | 23:49 |
|
parsnip
| commit started? i thought a commit happens exactly once. | 23:51 |
|
axisys
| osse: that worked.. whats the usage for --diff-filter ? | 23:51 |
|
osse
| axisys: it's sort of in the name. | 23:52 |
|
| you can use it to look only for additions or only deletion for example | 23:52 |
|
axisys
| $ git log --diff-filter | 23:52 |
|
| fatal: Option '--diff-filter' requires a value | 23:52 |
| ← durham_ left | 23:53 |
|
axisys
| ah.. git log --diff-filter filename .. gotcha | 23:53 |
|
osse
| no | 23:53 |
|
| --diff-filter=D or --diff-filter=AM or whatever | 23:53 |
| ← watabou_ left | 23:54 |
| → watabou_ joined | 23:54 |
| ← graphene left | 23:56 |
| → durham joined | 23:56 |
| → graphene joined | 23:56 |
| ← RougeR left | 23:57 |
|
axisys
| osse: git log --diff-filter=AM or D only shows commit hash .. not what changed.. I like the log -- **/filename | 23:58 |