| 2019-09-23 |
| → wreed joined | 00:02 |
| ← wgrant left | 00:04 |
| ← wreed left | 00:04 |
| → wreed joined | 00:06 |
| ← AugustusCaesar24 left | 00:06 |
| ← Lucas_Gray left | 00:11 |
| ← dartmouthed left | 00:13 |
| ← wreed left | 00:18 |
| → yash1th joined | 00:18 |
| ← p0a left | 00:19 |
| → wreed joined | 00:19 |
| ← wreed left | 00:22 |
|
howaboutsynergy
| ok I guess it makes sense if those commits are not part of master | 00:25 |
| ← JanC left | 00:26 |
| → JanC joined | 00:26 |
| ← m0viefreak left | 00:27 |
| ← darkbit left | 00:28 |
| → wreed joined | 00:29 |
| ← wreed left | 00:36 |
| ← libertyprime left | 00:39 |
| → wgrant joined | 00:39 |
| ← nic-hartley left | 00:40 |
| → wreed joined | 00:41 |
| ← CryptoDavid left | 00:42 |
| ← batrick left | 00:43 |
| → learningc joined | 00:45 |
| → batrick joined | 00:46 |
| ← yash1th left | 00:47 |
| → bambanx joined | 00:51 |
| ← xcm left | 00:53 |
| → xcm joined | 00:53 |
| ← howaboutsynergy left | 00:54 |
| → gschanuel5 joined | 00:56 |
| ← gschanuel left | 00:57 |
| → cdown joined | 00:59 |
| → gschanuel59 joined | 01:00 |
| ← gschanuel5 left | 01:01 |
| ← wreed left | 01:01 |
| ← Blukunfando left | 01:03 |
| ← kamog left | 01:04 |
| ← gschanuel59 left | 01:04 |
| → gschanuel59 joined | 01:05 |
| ← boombatower left | 01:07 |
| ← learningc left | 01:07 |
| ← bambanx left | 01:09 |
| → nabil__ joined | 01:11 |
| ← nabil_ left | 01:14 |
| → learningc joined | 01:21 |
| ← null1337 left | 01:22 |
| ← learningc left | 01:27 |
| → learningc joined | 01:28 |
| ← lucasb left | 01:34 |
| ← apetresc left | 01:42 |
| → apetresc joined | 01:44 |
| ← F0rTex left | 01:47 |
| → F0rTex joined | 01:48 |
| ← protektwar left | 01:52 |
| → protektwar joined | 01:54 |
| ← usbguy1 left | 02:01 |
| → usbguy1 joined | 02:02 |
| ← Envil left | 02:03 |
| → Wetmelon joined | 02:04 |
| → fenugrec joined | 02:07 |
| → Envil joined | 02:08 |
| ← xcm left | 02:09 |
| → flmbray joined | 02:10 |
| ← Cabanossi left | 02:10 |
| → xcm joined | 02:10 |
|
fenugrec
| Hi, I've just wasted the last 2h trying to cherry-pick a seemingly simple commit from one branch to another; the source branch having diverged a "long time ago". I also tried all the rebase tricks I know. Even tried different --strategy options but with no success. Now I pretty much gave up on cherry / rebase; before I do the damn thing manually, any ideas to generate a patch (git show -p ?), and apply with fuzz ? | 02:11 |
| ← ferdna left | 02:12 |
| → Cabanossi joined | 02:12 |
| ← Wetmelon left | 02:14 |
| → nabil_ joined | 02:15 |
| lagothrix → Guest62337 | 02:16 |
| ← Guest62337 left | 02:16 |
| → lagothrix joined | 02:16 |
| → Wetmelon joined | 02:17 |
| ← nabil__ left | 02:17 |
| → kotisky joined | 02:20 |
| ← amcclure left | 02:21 |
| ← doug16k left | 02:22 |
| → doug16k joined | 02:23 |
| → amcclure joined | 02:24 |
| → pengpengxp joined | 02:24 |
| → vdamewood joined | 02:26 |
| → db joined | 02:30 |
| ← pengpengxp left | 02:30 |
| gitinfo set mode: +v | 02:30 |
| → pengpengxp joined | 02:31 |
| → null1337 joined | 02:31 |
|
fenugrec
| And *every* time I go through a cycle of manual merge conflict resolution, I somehow fail to select the proper hunks and end up with a polluted commit that reverts all kinds of lines | 02:38 |
| → visago joined | 02:38 |
| ← db left | 02:38 |
| ← pengpengxp left | 02:38 |
|
usbguy1
| Oof, I wish I could be more help, but without seeing the hierarchy I don't think I could give any good advice lol | 02:39 |
|
fenugrec
| usbguy1, it's nothing secret, but it's obviously not online because it's an unholy mess | 02:40 |
|
| well part of it is online. let's see | 02:40 |
|
| (I'd even settle for at least a *partial* success, but this is just insane. It takes me 15 min to do the freaking merge every time, and there's always, always something wrong with it | 02:42 |
| ← visago left | 02:42 |
|
usbguy1
| Is it on Github or anything? | 02:42 |
|
fenugrec
| so, it's this one lousy commit , https://github.com/fenugrec/NissanDefs/commit/d1ceb3f8682d4626357a60af6d5f2aac40cc6dd2 , "dc1eb" for short | 02:43 |
|
usbguy1
| And where are you trying to cherrypick it to? | 02:44 |
|
fenugrec
| to another branch that I have locally and is just a fetch'd copy of another dude's fork, https://github.com/a33b/NissanDefs | 02:44 |
|
| the goal is to make a clean PR, because if I submit it as-is, it's guaranteed to go through as the worst, ugliest merge commit conceivable | 02:45 |
|
usbguy1
| So you just wanna take that commit and move it to a new branch? | 02:45 |
|
| entirely? | 02:45 |
|
fenugrec
| move/cherry-pick / rebase, anything | 02:46 |
|
| the complexity of course is due to the fact that our fork's common ancestor is about a dozen commits earlier, and stuff diverged a lot | 02:46 |
|
usbguy1
| Why don't you checkout that commit and then branch off from that one? | 02:47 |
|
| Or are you trying to remove all previous commits? | 02:47 |
|
fenugrec
| can you elaborate ? I think I might have tried already | 02:47 |
|
usbguy1
| like 'git checkout dc1eb' and 'git branch new-branch' | 02:48 |
|
fenugrec
| how would that help ? | 02:48 |
| ← MrC left | 02:49 |
|
usbguy1
| Are you trying to discard all the previous commits? | 02:49 |
|
fenugrec
| sorry, I probably wasn't clear - I want that commit merged in the other guy's repo via a github PR, and I only want the changes from that commit, not the whole diverged-history | 02:50 |
|
usbguy1
| AH, mb, that makes much more sense, I see now... | 02:50 |
|
fenugrec
| so, one thing I did manage to do (not easily) was make a temp branch with just that commit, and rebase it up to the common ancestor | 02:50 |
|
| (its' called test5 at this point). But rebase'ing it onto a33b's HEAD is a resounding failure, every time I try | 02:51 |
|
| here let me push that test5 | 02:51 |
|
| https://github.com/fenugrec/NissanDefs/tree/test5 Actually I lied, I had started rebasing test5 incrementally towards a33b HEAD. Painful every step | 02:55 |
|
usbguy1
| Okay, so just to be 100% clear, that commit and ONLY that commit should be on the new branch? | 03:00 |
|
| No others | 03:00 |
|
| because I have a solution for you that I just tested | 03:00 |
| → ferdna joined | 03:00 |
| ← waveclaw left | 03:03 |
| → waveclaw joined | 03:04 |
|
usbguy1
| If that's the case fenugrec, I believe your issue to be that git maintains parent commits via the reflog | 03:04 |
| → a0s510 joined | 03:04 |
|
fenugrec
| usbguy1, yep I'm interested in what you managed to do ? | 03:05 |
|
usbguy1
| This causes a chain of commits like you see in the log, to correct this and remove the dependency on previous commits you need to orphan a commit | 03:05 |
|
| Sweet | 03:05 |
|
fenugrec
| hmmm | 03:05 |
|
usbguy1
| To do this run "git checkout --orphan d1ceb3f8682d4626357a60af6d5f2aac40cc6dd2" | 03:05 |
|
| Once you completed this | 03:06 |
|
| You will be in a detached state | 03:06 |
|
fenugrec
| (heh, that line confused gitk, which I keep running all the time) | 03:06 |
|
| yep | 03:06 |
|
usbguy1
| lol | 03:06 |
|
| go ahead and make a new commit and name it whatever | 03:06 |
|
fenugrec
| done | 03:07 |
|
usbguy1
| once this is completed, you may now type "git branch nameofnewbranch" and that will create a branch containing only that one singular commit with no parents | 03:07 |
|
| checkout your new branch and push to origin | 03:07 |
| → clime joined | 03:07 |
|
fenugrec
| arg, I took a shortcut with the --orphan line and gave it a short hash. It messes up the next steps, let me redo that | 03:08 |
|
usbguy1
| lol for sure! | 03:08 |
| → MrC joined | 03:08 |
|
fenugrec
| " warning: refname 'd1ceb3f8682d4626357a60af6d5f2aac40cc6dd2' is ambiguous " ? | 03:09 |
| ← kerframil left | 03:09 |
|
usbguy1
| just a warning | 03:09 |
|
fenugrec
| okok | 03:10 |
|
usbguy1
| Letting you know that git is uncomfortable with this lol | 03:10 |
|
fenugrec
| hahaha gitk is going ape | 03:10 |
|
usbguy1
| It's gonna go ham for a minute lol | 03:10 |
|
fenugrec
| hmm I must've done something wrong, there's way too much change https://github.com/a33b/NissanDefs/compare/master...fenugrec:test7?expand=1 | 03:13 |
|
usbguy1
| hmmm | 03:16 |
|
| You know what you can do | 03:16 |
| ← shicks2525 left | 03:16 |
|
usbguy1
| You can go back to the orphaned state | 03:16 |
|
fenugrec
| rm -Rf ? | 03:16 |
|
usbguy1
| LOL | 03:16 |
|
| always | 03:16 |
|
fenugrec
| hehe | 03:16 |
|
usbguy1
| and pick only the files you want included in the commit | 03:16 |
|
| You feel me? | 03:17 |
|
fenugrec
| yea | 03:17 |
| → shicks2525 joined | 03:18 |
|
fenugrec
| at that point I think I'll just edit the damn files by hand, it would've been finished about 3h ago. But I really wanted to find a way to just reuse the chunks, but I never seem to be able to get show/format-patch/apply to work properly, ever | 03:18 |
|
| usbguy1, thanks a lot for giving it a try though, much appreciated | 03:19 |
|
usbguy1
| Absolutely! Sorry a good solution really couldn't be found | 03:19 |
|
| it was only 11 files right? | 03:19 |
|
fenugrec
| yeah thereabouts | 03:19 |
|
usbguy1
| Yeah, when you git checkout --orphan is automatically stages every file for commit...good luck my dude | 03:21 |
|
fenugrec
| it was a bold idea, I had never done that | 03:22 |
| ← yokisuci left | 03:22 |
|
usbguy1
| Same I had to look through the git docs to find that little gem, definitely putting that in my toolbox lol | 03:23 |
| ← thiago left | 03:23 |
| → thiago joined | 03:27 |
| ← thiago left | 03:28 |
| ← crose left | 03:34 |
| → agohoth joined | 03:35 |
|
agohoth
| where do I learn to do branch ing and merging properly? | 03:35 |
|
| someone at work posted some link to 'a successful git merg strategy' but its bloggy and I like to read the actual free software projects docs on howto use it right | 03:35 |
|
| can someone point me in the right direct? | 03:36 |
|
| peez? | 03:36 |
| → thiago joined | 03:37 |
| → Freshnuts joined | 03:42 |
| ← Orbitrix left | 03:42 |
| ← thiago left | 03:43 |
| → Orbitrix joined | 03:43 |
| → shicks_ joined | 03:45 |
| ← ferdna left | 03:48 |
| ← shicks2525 left | 03:49 |
|
fenugrec
| agohoth, you'll need multiple sources | 03:50 |
| → wreed joined | 03:50 |
|
fenugrec
| man pages to refer to, and https://git-scm.com/doc for a friendlier coverage | 03:51 |
|
| and google for the weird problems, and here for the really tough ones | 03:51 |
| → stitched_unicorn joined | 03:52 |
| → rople joined | 03:52 |
| → yokisuci joined | 03:54 |
| → assemblyman joined | 03:54 |
| ← usbguy1 left | 03:57 |
| → thiago joined | 03:57 |
| → usbguy1 joined | 03:57 |
|
nezZario
| Oof, hey guys | 03:58 |
|
| Isn't there a configuration option that will automatically set the upstream to the branch of the same name on the remote 'origin'? | 03:59 |
| ← thiago left | 04:01 |
| ← agohoth left | 04:05 |
| → mrCyborg joined | 04:07 |
| ← donofrio left | 04:07 |
| → thiago joined | 04:07 |
| ← wreed left | 04:10 |
| → ferdna joined | 04:12 |
| ← sunri5e left | 04:21 |
| → sunri5e joined | 04:21 |
| ← assemblyman left | 04:22 |
| ← kotisky left | 04:28 |
| → kotisky joined | 04:28 |
| → nerosnm joined | 04:29 |
| → fattredd joined | 04:30 |
| ← zub1n left | 04:30 |
| ← nerosnm left | 04:34 |
| → dartmouthed joined | 04:34 |
| ← Wetmelon left | 04:39 |
| → g00s joined | 04:40 |
| ← stitched_unicorn left | 04:50 |
| ← Inline left | 04:58 |
| ← bket left | 05:00 |
| → pks_ joined | 05:01 |
| ← pks left | 05:03 |
| pks_ → pks | 05:03 |
| → mszyszko joined | 05:03 |
| → bket joined | 05:03 |
| → bitwinery joined | 05:07 |
| → fphilipe joined | 05:11 |
| → dijitol joined | 05:14 |
| ← thiago left | 05:14 |
| ← toothe left | 05:15 |
| → iam730 joined | 05:16 |
| → toothe joined | 05:19 |
| ← a0s510 left | 05:21 |
| → jottr_ joined | 05:21 |
| ← mszyszko left | 05:22 |
| → Wetmelon joined | 05:24 |
| → fphilipe_ joined | 05:24 |
| ← jottr_ left | 05:26 |
| ← fphilipe left | 05:27 |
| ← fenugrec left | 05:28 |
| ← dijitol left | 05:29 |
| ← hojang left | 05:30 |
| → jottr_ joined | 05:30 |
| → tufteddeer joined | 05:44 |
| ← ferdna left | 05:48 |
| ← jottr_ left | 05:48 |
| ← Wetmelon left | 05:51 |
| → nerosnm joined | 05:54 |
| ← xcm left | 05:56 |
| → xcm joined | 05:57 |
| ← wgrant left | 05:58 |
| ← rafalcpp_ left | 05:58 |
| → rafalcpp_ joined | 05:59 |
| → wgrant joined | 06:01 |
| → Phylock joined | 06:02 |
| ← nerosnm left | 06:02 |
| → Wetmelon joined | 06:03 |
| ← g00s left | 06:05 |
| → TomTom joined | 06:09 |
| ← Wetmelon left | 06:09 |
| ← wgrant left | 06:10 |
| → wgrant joined | 06:12 |
| → gloomy joined | 06:14 |
| ← Orbitrix left | 06:15 |
| → jottr_ joined | 06:15 |
|
j416
| nezZario: that'll happen by default on checkout. | 06:15 |
| → Orbitrix joined | 06:15 |
| → g00s joined | 06:17 |
| → n3wborn joined | 06:20 |
| → Mattiaslndstrm joined | 06:23 |
| → Noti joined | 06:25 |
| ← chachasmooth left | 06:26 |
| → chachasmooth joined | 06:28 |
| ← jottr_ left | 06:29 |
| ← cd left | 06:31 |
| ← [Tux] left | 06:32 |
| ← Joel left | 06:32 |
| ← clime left | 06:33 |
| → gxt joined | 06:34 |
| → oxymoron93 joined | 06:34 |
| → rafalcpp joined | 06:35 |
| ← rafalcpp_ left | 06:35 |
| ← MrC left | 06:36 |
| ← j416 left | 06:36 |
| → j416 joined | 06:40 |
| → arunkumar413 joined | 06:42 |
| → rfuentess joined | 06:45 |
| ← Freshnuts left | 06:50 |
| → thefatma joined | 06:50 |
| ← j416 left | 06:53 |
| → feriman joined | 06:55 |
| ← fphilipe_ left | 06:55 |
| → Joel joined | 06:57 |
| → chele joined | 06:57 |
| ← usbguy1 left | 06:58 |
| → MrC joined | 06:59 |
| ← publio left | 07:00 |
| → stitched_unicorn joined | 07:01 |
| ← roadie left | 07:02 |
| ← Ragnor left | 07:03 |
| → sz0 joined | 07:06 |
| ← Cabanossi left | 07:08 |
| ← Heirlung left | 07:10 |
| ← justanotheruser left | 07:12 |
| → c0c0 joined | 07:13 |
| → Heirlung joined | 07:13 |
| → fphilipe_ joined | 07:15 |
| ← Darcidride left | 07:15 |
| ← lankanmon left | 07:16 |
| ← yokisuci left | 07:18 |
| → roadie joined | 07:19 |
| → mobidrop joined | 07:19 |
| ← nowhere_man left | 07:20 |
| ← mobidrop left | 07:20 |
| → Cabanossi joined | 07:20 |
| → glosoli joined | 07:22 |
| ← kotisky left | 07:24 |
| ← vdamewood left | 07:25 |
| → mobidrop joined | 07:26 |
| ← craftyguy left | 07:30 |
| → j416 joined | 07:30 |
| ← n3wborn left | 07:32 |
| ← j416 left | 07:38 |
| ← stitched_unicorn left | 07:41 |
| → craftyguy joined | 07:41 |
| → j416 joined | 07:43 |
| ← g00s left | 07:44 |
| → MACscr joined | 07:44 |
| → floppydh joined | 07:45 |
| ← gxt left | 07:46 |
| → jguddas-tr2 joined | 07:48 |
| → gxt joined | 07:52 |
| Shentino_ → Shentino | 07:54 |
| ← royal_screwup21 left | 07:54 |
| ← Noti left | 07:55 |
| → nabil__ joined | 07:56 |
| → Noti joined | 07:57 |
| ← nabil_ left | 07:58 |
| → dre_ joined | 08:01 |
| → TomyWork joined | 08:04 |
| → veegee joined | 08:05 |
| → rendar joined | 08:06 |
|
rendar
| this simple function https://bpaste.net/show/SyeT -- makes git to upload files correctly, then to freeze. I have to use ctrl+c to return back to the bash console. How is that? Maybe a git major bug? | 08:07 |
| → SteffanW joined | 08:08 |
| ← Noti left | 08:08 |
| → libertyprime joined | 08:12 |
| ← oxymoron93 left | 08:14 |
| ← wonko7 left | 08:14 |
| → Fischmiep joined | 08:15 |
| → figuinhas joined | 08:19 |
| ← thomasross left | 08:20 |
| → thomasross joined | 08:20 |
| ← Fischmiep left | 08:21 |
| → lankanmon joined | 08:21 |
| → pie__ joined | 08:22 |
| ← pie_ left | 08:25 |
| ← fphilipe_ left | 08:25 |
| → fphilipe_ joined | 08:26 |
| → sQVe joined | 08:28 |
| → cfoch joined | 08:29 |
| ← Goplat left | 08:30 |
| ← veegee left | 08:31 |
|
Habbie
| rendar, in general, it's way more likely for your script to have a bug than for git to have a bug | 08:32 |
|
| rendar, and there is nothing in that snippet that looks like it would hang, so it's quite likely a problem in your script but outside of this function | 08:33 |
|
rendar
| Habbie: i know, but my script just calls git! | 08:33 |
|
| Habbie: man, i call ONLY that script | 08:33 |
| → enoq joined | 08:33 |
|
Habbie
| rendar, please don't "man" me | 08:33 |
|
rendar
| ? | 08:33 |
|
Habbie
| rendar, and if you want help, please show the whole script | 08:33 |
|
rendar
| ok... | 08:33 |
|
| that is the whole script! | 08:33 |
|
| i call just that function with an alias | 08:34 |
|
Habbie
| oh, from a shell prompt? | 08:34 |
|
rendar
| $ alias gu | 08:34 |
|
| alias gu='git_push_branches_and_tags' | 08:34 |
|
| Habbie: yes | 08:34 |
|
Habbie
| try 'set -x' | 08:34 |
|
| to see where it is hanging | 08:34 |
|
rendar
| ok, let's see | 08:34 |
|
| it's hanging on git call | 08:35 |
| ← Rhonda left | 08:35 |
|
rendar
| https://bpaste.net/show/67RJ | 08:35 |
| ← bitwinery left | 08:36 |
|
Habbie
| ah | 08:37 |
|
| you said it uploaded correctly | 08:37 |
|
| did you check that? | 08:37 |
|
rendar
| well, i'm doing that now | 08:37 |
|
| it seems it didn't | 08:37 |
|
Habbie
| ah | 08:37 |
| → veegee joined | 08:37 |
|
rendar
| hmm | 08:39 |
|
| it seems it's a problem of the server, it has readonly filesystem | 08:39 |
|
Habbie
| ah | 08:39 |
|
| weird that it would hang then | 08:39 |
|
| instead of give you an error | 08:39 |
|
rendar
| indeed! | 08:39 |
| ← enoq left | 08:40 |
| → Rhonda joined | 08:40 |
| → Noti joined | 08:40 |
| ← SteffanW left | 08:40 |
| → p0a joined | 08:46 |
|
p0a
| Hello I've been trying to learn git. It seems to me my github.com account has duplication? That is, how many repos/forks would be there normally? | 08:46 |
|
| Say if we have A/A.git and B/A and B/A:fork and then local/A and local/A:fork ? I don't get it | 08:47 |
| → SteffanW joined | 08:47 |
| ← gloomy left | 08:47 |
| ← Noti left | 08:47 |
| → fstd_ joined | 08:52 |
| → jottr_ joined | 08:53 |
| → david2 joined | 08:53 |
|
_ikke_
| p0a: Sorry, your question is not really clear to me | 08:53 |
| → ASDX joined | 08:53 |
|
david2
| hi to everybody just a simple question im trying to create a release on my github repo i need to inject the name of the stream in the .tar.gz but i have no idea how right now its always 1.0.tar.gz for the link thanks a lot for your help | 08:54 |
|
Habbie
| david2, that's a github feature, you'd have to ask them.. | 08:55 |
| ← fstd left | 08:56 |
| fstd_ → fstd | 08:56 |
|
p0a
| _ikke_: Suppose we have github.com/A/A.git. I want to join development and submit some commits to the project. Why can't I just work from my comamnd line? What utility does github.com have and do I have to use the github.com web UI? | 08:56 |
| ← david2 left | 08:57 |
|
Habbie
| p0a, github is not necessary; but if that is where a project decides to get hosted, and you want to submit code, you will also have to use github | 08:57 |
|
jast
| you don't *need* to fork if you get push access to the original repo | 08:57 |
| ← feriman left | 08:57 |
| → Makaveli7 joined | 08:57 |
|
p0a
| honestly I hate the github.com layer. Most tutorials do not mention it | 08:58 |
|
jast
| if you have push access, you can pretty much ignore it | 08:58 |
|
p0a
| I don't have :( | 08:58 |
|
| I'm just trying to submit some commits to an opensource project | 08:58 |
| → fzr joined | 08:58 |
|
jast
| then you can either ask the project owner, or you'll have to make do in some other way | 08:58 |
|
p0a
| it's ok I just wanted to make sure I wasn't missing something but now I realize that github.com is a separate thing | 08:59 |
| ← altendky left | 08:59 |
|
jast
| most projects won't feel like giving random people permission to mess with their repository - so the fork/pull request workflow is the next best thing | 08:59 |
|
p0a
| I just wish it hadn't to do with a website that's all | 08:59 |
|
cdunklau
| p0a: if it's just a question of not being familiar with github, the git !book has a chapter on it | 08:59 |
|
gitinfo
| p0a: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 08:59 |
|
p0a
| gosh it's ridiculous the amount of reading that needs to be done | 09:00 |
|
| for something simple lol | 09:00 |
|
cdunklau
| p0a: but it really depends on the project. some projects are cool with old-school email-a-patch, but a lot prefer one single workflow | 09:00 |
|
| best to consult the project's contributor guide to see what's possible | 09:01 |
|
p0a
| right I am trying to do it the right way but it frustrates me to have to deal with something non-programming related | 09:01 |
|
| yeah I think they prefer github.com like you said | 09:01 |
|
cdunklau
| well, then, get comfy with it if you want to help the project | 09:01 |
|
p0a
| it's more like a barrier to me | 09:01 |
|
| my brain feels so anti-elastic on new information right now lol | 09:02 |
|
cdunklau
| p0a: you deal with non-programming stuff for any kind of OSS contribution though | 09:02 |
|
p0a
| cdunklau: yes -- I've never had one before so i'm trying to get into it | 09:02 |
|
cdunklau
| i understand that different workflows can be frusterating, but well, that's life :) | 09:02 |
| → pi- joined | 09:02 |
| ← Stoot left | 09:03 |
|
p0a
| It just saddens me that there's not a list of commands I can just run and get it going | 09:03 |
|
cdunklau
| p0a: i mean, you might be able to find some command-line github UI | 09:03 |
|
p0a
| I'm pretty sure I actually don't need to understand git for the most part but there's an obsession online with `defining upstream' and `forking' -- it's like, I don't even want to know the terminology, give me a break | 09:03 |
|
| it's made up words jeez | 09:03 |
|
cdunklau
| p0a: to be clear, "git" and "github" are two different things. | 09:04 |
|
p0a
| Yeah that much is clear, but it's not clear what the differences are to me. | 09:04 |
|
| For example, I don't understand why the project has emacs config files (for C style). Their instructions say I should copy them somewhere in the repo | 09:05 |
|
cdunklau
| p0a: git is a VCS software suite. github is a service that hosts git repositories and provides associated project management features | 09:05 |
|
p0a
| Does that mean git knows to setup a programming environment for me? I dn't understand that | 09:05 |
| ← dre_ left | 09:05 |
|
cdunklau
| p0a: if you're new to _git_, well, i'd suggest starting with chapter 1 of the book https://git-scm.com/book/en/v2 | 09:06 |
|
p0a
| yeah I don't want to read a book on using git I will forget everything tomorrow | 09:06 |
|
| and it will be painful to read about sth like that gosh im so frustrated | 09:06 |
| steven- → steven | 09:07 |
|
cdunklau
| p0a: maybe you need some tree time | 09:07 |
|
p0a
| yeah definitely | 09:07 |
|
cdunklau
| p0a: are you a software developer? | 09:07 |
|
p0a
| I made my first commit from my :master and they gave me instructions to fork it and commit again and force a pull or whatever | 09:07 |
|
| cdunklau: hobbyist for over 10 years, alone | 09:08 |
| → Fischmiep joined | 09:08 |
|
pi-
| I am maintaining a code component (multi platform C++ library). Currently we are using githubflow. For each task/feature the assigned developer creates a local branch, and when the branch is working and tested, creates a PR. Component lead squash merges it into master. Every few weeks we publish a new version (minor/point). Publishing is done via artifactory, and master is tagged at point. | 09:08 |
|
| We are running into some workflow difficulty when we discover a bug in a published release. | 09:08 |
|
cdunklau
| p0a: i mean, git is a _very_ widespread VCS. if you're considering getting a dev job, the overwhelming likelyhood is that you'll be using git, so it's definitely worth learning | 09:09 |
|
p0a
| cdunklau: but I am not! lol | 09:09 |
|
pi-
| Our devops lead is pushing strongly for a workflow revision whereby EVERY commit to master represents a published version (and associated tag). | 09:09 |
|
cdunklau
| p0a: what do you use for VCS on your hobby projects? | 09:09 |
|
pi-
| Does this sound healthy? | 09:09 |
|
p0a
| cdunklau: I typically have a few copies of the file laying around, version 1, version 2. Honestly it never reaches that point most of the time | 09:10 |
|
| cdunklau: as whatever it is I'm doing is done within a week or two | 09:10 |
|
cdunklau
| p0a: okay, well, even then VCS is a great tool | 09:10 |
|
p0a
| cdunklau: so is gdb but I never used it :P | 09:10 |
|
cdunklau
| ¯\_(ツ)_/¯ | 09:10 |
|
pi-
| p0a: this should be your first challenge, get a simple project up on GitHub, and use it to teach yourself the basics of git. | 09:11 |
|
p0a
| pi-: problem is, I can't "teach" myself because I will forget everything | 09:11 |
|
| my memory is just not there for this kind of stuff | 09:11 |
|
pi-
| Luckily you are entering the arena after the battle of the VCS has been fought and won (by git). | 09:11 |
|
| p0a: your words could be my own -- this is also my experience has my memory is terrible. I don't have the autism streak for memorising commands. I spider-learn. So getting comfortable with git has been a real challenge for me this last year. | 09:12 |
|
p0a
| or patience. I mean, there has to be a total of 6 commands I have to learn for this. Something like `setup the origin/upstream thingie locally (and github.com account?) ; pull code ; hack ; submit' | 09:12 |
|
rendar
| if i do a git push --all when there are unstaged files or modified files, what happens? | 09:13 |
|
p0a
| pi-: thanks, there's some comfort in knowing that I am not alone | 09:13 |
|
pi-
| I think the first thing to accept is that it's not a simple thing you're going to learn over a weekend. I still get flummoxed as soon as we get nontrivial situations. | 09:13 |
| ← Fischmiep left | 09:13 |
|
pi-
| I had a similar experience with Python. In the beginning it was so easy, I lulled myself into a full sense of security. Because it is so powerful, enormous complexity is possible. there's a reasonable parallel with git here. | 09:14 |
|
p0a
| I will in fact try your advice and get a bit comfy with the account | 09:14 |
| → Fischmiep joined | 09:15 |
|
pi-
| I will quote/paraphrase from my DSP guru (aimed at understanding Digital filters but it applies): "You're not going to master this by running at it. Discipline is required. You have to train. You have to write things down. You have to experiment methodically. You have to do exercises." | 09:16 |
|
p0a
| quoting my guru: "You bang the coconut and it cracks open." | 09:18 |
| ← jottr_ left | 09:18 |
|
p0a
| :P | 09:18 |
|
pi-
| How's that working out for you? :p | 09:18 |
|
| rendar: Do `git log`. Notice all of the local commits AFTER remote-head. When you do `git push`, it is these that are pushed. | 09:19 |
|
| i.e. only commits | 09:19 |
| → howdoi joined | 09:20 |
|
pi-
| staged/unstaged -- it makes no difference. Both are ignored. | 09:20 |
|
rendar
| ok thanks | 09:20 |
|
pi-
| `git add` to stage a bunch of files. | 09:20 |
|
| `git commit` to bag them into a commit | 09:20 |
| ← Fischmiep left | 09:21 |
|
pi-
| `git push` to push all unpushed commits upstream. | 09:21 |
|
| "You bang the coconut and it cracks open." <-- this depends upon which is harder: the coconut or your head. Maybe it is your head which cracks first. In this case you need to harden your head ;) | 09:23 |
| → jottr_ joined | 09:29 |
| ← figuinhas left | 09:30 |
| → Lucas_Gray joined | 09:30 |
| → figuinhas joined | 09:31 |
| ← lupine left | 09:35 |
| → lupine joined | 09:36 |
| → T_UNIX joined | 09:39 |
| → royal_screwup21 joined | 09:42 |
| → Fischmiep joined | 09:42 |
| ← fphilipe_ left | 09:45 |
| → fphilipe_ joined | 09:45 |
| ← Lucas_Gray left | 09:46 |
| ← Fischmiep left | 09:47 |
| → Lucas_Gray joined | 09:48 |
| ← rafalcpp left | 09:50 |
| → rafalcpp_ joined | 09:50 |
| → moldy joined | 09:51 |
|
moldy
| hi | 09:51 |
|
| if ``git blame --ignore-rev $rev`` still shows me $rev, what's the cause of this? | 09:52 |
| → gloomy joined | 09:53 |
| ← zamba left | 09:55 |
| → mimajof joined | 09:56 |
| ← catsup left | 09:58 |
| → catsup joined | 09:59 |
| ← nuala2 left | 09:59 |
| ← jguddas-tr2 left | 10:00 |
| → jguddas-tr2 joined | 10:01 |
| → zamba joined | 10:03 |
| ← zamba left | 10:11 |
| → oxymoron93 joined | 10:11 |
| → zamba joined | 10:14 |
| → Fischmiep joined | 10:14 |
| ← jguddas-tr2 left | 10:15 |
| ← sz0 left | 10:15 |
| → kes joined | 10:16 |
|
kes
| Hi. May someone help me with this question? | 10:17 |
|
| https://stackoverflow.com/q/58060172/4632019 | 10:17 |
| ← Fischmiep left | 10:19 |
| → jottr joined | 10:19 |
| → vdamewood joined | 10:19 |
| ← jottr_ left | 10:22 |
|
oxymoron93
| kes you need to !rewrite history | 10:23 |
|
gitinfo
| Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 10:23 |
|
kes
| oxymoron93: thank for the link | 10:25 |
| ← fphilipe_ left | 10:26 |
| ← vdamewood left | 10:27 |
| → jackkall joined | 10:30 |
| → jottr_ joined | 10:30 |
| ← jottr left | 10:33 |
| → jottr joined | 10:35 |
| ← jottr_ left | 10:38 |
| → jottr_ joined | 10:40 |
| ← learningc left | 10:42 |
| ← jottr left | 10:43 |
| vals_ → tango_ | 10:43 |
| ← oatmealraisin left | 10:45 |
| ← gloomy left | 10:45 |
| → bs joined | 10:46 |
| ← Lucas_Gray left | 10:46 |
| → gloomy joined | 10:47 |
| ← pi- left | 10:47 |
| → Lucas_Gray joined | 10:48 |
| → feriman joined | 10:50 |
| → JanC_ joined | 10:51 |
| ← JanC left | 10:51 |
| ← bs left | 10:51 |
| JanC_ → JanC | 10:52 |
| → jguddas-tr2 joined | 10:54 |
| ← gloomy left | 10:56 |
| ← p0a left | 10:58 |
| → gloomy joined | 10:59 |
| ← gloomy left | 10:59 |
| ← cdown left | 11:02 |
| ← jackkall left | 11:03 |
| → e^1 joined | 11:05 |
| → bs joined | 11:07 |
| ← rafalcpp_ left | 11:08 |
|
e^1
| is it possible to check what files have changed between master and the branch that i created ? | 11:08 |
| → hojang joined | 11:08 |
| → rafalcpp_ joined | 11:08 |
| → emsjessec joined | 11:09 |
|
Habbie
| e^1, 'git diff master...' (or two dots? i always forget) | 11:10 |
|
e^1
| Habbie: just need your 2 cents, is it good to start with a git GUI to understand things more better or cli will suffice ? | 11:11 |
|
Habbie
| e^1, i did it without a gui, but don't take that as advice | 11:12 |
|
e^1
| Habbie: okay :) | 11:12 |
| ← Kingsy left | 11:14 |
| → altendky joined | 11:15 |
| → agg joined | 11:16 |
| → nerosnm joined | 11:18 |
|
e^1
| Habbie: Also when i am pushing my changes both the branches are getting updated, master as well as the branch i created | 11:18 |
| ← tango_ left | 11:18 |
| → tango_ joined | 11:19 |
|
Habbie
| e^1, that sounds weird | 11:19 |
|
e^1
| Habbie: wait, my bad.. | 11:19 |
| ← Spr0cket left | 11:19 |
|
e^1
| i messing up things | 11:19 |
| ← |Tux| left | 11:20 |
| ← Karyon left | 11:20 |
| ← bs left | 11:20 |
| → Spr0cket joined | 11:20 |
| → Karyon joined | 11:22 |
| → reallymemorable joined | 11:22 |
|
reallymemorable
| im sure im doing something really stupid: why when i `git push` a repo is it saying everything is up to date, but when I go into the corresponding github repo, the timestamp is not updated and teh code is not updated? | 11:24 |
|
| I even do this: `git remote set-url origin [email@hidden.address] | 11:24 |
|
| did* | 11:24 |
| ← glosoli left | 11:24 |
| → learningc joined | 11:25 |
| ← e^1 left | 11:26 |
| → Fischmiep joined | 11:28 |
| → igemnace joined | 11:29 |
|
mSSM
| Does someone know if I can push directly to a PR on my github repo? The PR was created by another user. | 11:30 |
| ← reallymemorable left | 11:30 |
|
mSSM
| What git allows me to do is a) add the other user's repo as a new remote, b) fetch the branch the PR was made from, and c) push directly to that remote branch. | 11:31 |
| → fphilipe_ joined | 11:32 |
| ← Fischmiep left | 11:32 |
|
mSSM
| I wonder if I can circumvent the dance that is steps a) and b), similar to how I can “git fetch pull/4/head:LOCALBRANCH” | 11:32 |
| → e^1 joined | 11:33 |
| → bs joined | 11:33 |
| ← rafalcpp_ left | 11:35 |
| → rafalcpp_ joined | 11:36 |
| ← bs left | 11:36 |
| → clime joined | 11:36 |
| ← nerosnm left | 11:37 |
| ← hojang left | 11:38 |
| → oatmealraisin joined | 11:38 |
| → acebrianjuan joined | 11:39 |
|
acebrianjuan
| Hi all | 11:39 |
|
| This question may be a little bit off-topic but one user that made a pull-request to my repo is not appearing in the GitHub contributors list | 11:40 |
|
| and I would like to make sure that he is credited there | 11:41 |
|
| He authored a few commits which are part of the master branch | 11:41 |
|
| but for some reason GitHub is not reporting him as a contributor | 11:42 |
|
| this is my repo: https://github.com/acebrianjuan/gnss-sdr-monitor | 11:42 |
|
| and this is the merged pull-request: https://github.com/acebrianjuan/gnss-sdr-monitor/pull/1 | 11:43 |
|
Luyin
| !github | 11:43 |
|
gitinfo
| GitHub is a !3rdparty commercial service offering freemium !hosting services for repositories & projects. https://github.com/features | 11:43 |
| → glosoli joined | 11:43 |
|
acebrianjuan
| Luyin: indeed | 11:44 |
| ← rafalcpp_ left | 11:44 |
| → bs joined | 11:44 |
|
e^1
| if i have dotfiles that need to be version, what's the good idea to have master ( which will be used for desktop ) and laptop branch seperate ? | 11:46 |
| ← bs left | 11:47 |
|
Luyin
| I think the good idea would it not to be branches but two repos, because they'll not be merged, will they? | 11:47 |
|
e^1
| Luyin: I might keep them seperate i guess, simply clone laptop branch for laptop and master branch for desktop ? | 11:48 |
|
cdunklau
| acebrianjuan: the email they used in the commit isn't registered to their github account | 11:48 |
|
e^1
| Luyin: what you are saying is a good idea as well, less complications | 11:48 |
|
cdunklau
| e^1: i wouldn't use branches for this | 11:48 |
|
| i'd just use separate directories for the different things | 11:48 |
|
| persumably you'll have a lot of commonality between them, yes? | 11:49 |
|
e^1
| cdunklau: yes correct | 11:49 |
|
| only few things here and there changes... | 11:49 |
| → Stummi joined | 11:49 |
|
cdunklau
| e^1: right, so those aren't two different paths of development | 11:50 |
|
| they're two closely-related implementations of the same thing | 11:50 |
|
| so i'd suggest using the same repo, same branch, and just organize the differences however you need | 11:51 |
|
e^1
| cdunklau: taking an example, polybar, I have 2 different configs for laptop and desktop, I am using stow to manage them, If i keep in same directory i can't keep both the configs at once | 11:51 |
|
cdunklau
| e^1: sure you can | 11:51 |
|
acebrianjuan
| cdunklau: can I do something about it? | 11:51 |
| → crose joined | 11:51 |
| → bs joined | 11:51 |
|
cdunklau
| well, i don't know what stow is, but you just need to figure out how to e.g. load a different config based on where you are | 11:51 |
|
e^1
| cdunklau: making 2 distinct dir would be good, polybar_desktop and polybar_laptop | 11:52 |
|
acebrianjuan
| cdunklau: like can I somehow tell git to map it to his registered email address? | 11:52 |
|
cdunklau
| e^1: say, you have a "dotfiles config" thing that declares which "role", or even just hardcodes the name of the appropriate config | 11:52 |
|
| acebrianjuan: that's a github thing, not git. the contributor needs to change it in their account | 11:53 |
|
e^1
| cdunklau: let me merge my laptop branch with desktop and create distinct dir | 11:53 |
| ← bs left | 11:54 |
|
cdunklau
| acebrianjuan: if you look at the commit with git log, you can see what email they put | 11:54 |
|
| acebrianjuan: but they can tell github about their email address, it will accept multiple ones | 11:54 |
|
| like, i have my github set up to know about my personal and work email address | 11:54 |
| ← rople left | 11:55 |
| → zou8944_ joined | 11:55 |
|
acebrianjuan
| cdunklau: ok, so there's nothing I cand do from my side I believe | 11:55 |
|
e^1
| cdunklau: on github pull request is what's needed to done to merge a branch to master ? | 11:56 |
| → gloomy joined | 11:56 |
|
Luyin
| hi, I'm getting this output when I try running "git stash": https://paste.xinu.at/iBJDq/ | 11:57 |
|
| I have no idea why it's doing that | 11:57 |
|
cdunklau
| acebrianjuan: nope. the github api lets you see it too https://api.github.com/repos/acebrianjuan/gnss-sdr-monitor/commits/ddc11bc53129678e34ff6d38f6249757cd155b39 | 11:57 |
|
Luyin
| (git st == alias for git status) | 11:57 |
|
cdunklau
| acebrianjuan: so i bet that's his work email, but he only has github set up to know about his personal | 11:57 |
|
| probably just send him a message and let him know that you'd like to make sure he gets credit | 11:58 |
| → bs joined | 11:58 |
| → YuGiOhJCJ joined | 11:59 |
| → pi- joined | 11:59 |
| → escherial joined | 12:00 |
|
acebrianjuan
| cdunklau: thank you very much :) | 12:00 |
| ← jguddas-tr2 left | 12:02 |
|
cdunklau
| acebrianjuan: ah, there it is https://help.github.com/en/articles/adding-an-email-address-to-your-github-account | 12:02 |
| ← bs left | 12:03 |
| ← xcm left | 12:03 |
| → xcm joined | 12:03 |
| → dodobrain__ joined | 12:04 |
| ← feriman left | 12:05 |
| ← dodobrain_ left | 12:06 |
| → abraxxas joined | 12:07 |
| → bs joined | 12:09 |
| ← bs left | 12:11 |
|
e^1
| cdunklau: what should i enter, git status states -> git branch --set-upstream-to=origin/<branch> laptop | 12:12 |
|
| here origin is the url to the repo ? | 12:12 |
|
cdunklau
| e^1: it appears i've set a bad precedent :) | 12:13 |
|
| wrt github support | 12:14 |
|
e^1
| okay sorry, but i guess it's nothing github specific i have asked | 12:15 |
| → bs joined | 12:16 |
| → deathwishdave joined | 12:16 |
|
e^1
| let me talk in terms of git | 12:18 |
| ← bs left | 12:18 |
|
e^1
| When i am executing git pull, it complains about 'there is no tracking information for this branch' how can i can't pull but push to that specific branch ? | 12:19 |
| ← acebrianjuan left | 12:21 |
| → bs joined | 12:22 |
| ← bs left | 12:22 |
|
cdunklau
| e^1: can you pastebin your terminal session? | 12:23 |
| → howaboutsynergy joined | 12:27 |
|
howaboutsynergy
| Hi all. Suppose I have staged and unstaged modified files and I want to restore the workdir / lose all changes, to HEAD. Should I use `git restore --staged --worktree` ? | 12:28 |
|
| or rather `git restore --staged --worktree .` assuming I'm in root dir of the repo | 12:28 |
|
_ikke_
| " Specifying both restores both" | 12:29 |
| → jguddas-tr2 joined | 12:29 |
|
howaboutsynergy
| may I also get rid of the untracked files? | 12:29 |
|
| should 'git clean' be used for that? | 12:30 |
|
_ikke_
| yes | 12:30 |
|
howaboutsynergy
| sweet, thanks! | 12:30 |
| ← fphilipe_ left | 12:31 |
| → Kaivo joined | 12:32 |
| ← zou8944_ left | 12:32 |
| → fphilipe_ joined | 12:32 |
| ← crose left | 12:34 |
| ← gloomy left | 12:35 |
| ← fzr left | 12:36 |
| → justanotheruser joined | 12:38 |
| → donofrio joined | 12:39 |
| → tmager joined | 12:41 |
| → feriman joined | 12:43 |
| ← magic_ninja_work left | 12:43 |
| → Noti joined | 12:45 |
| ← SteffanW left | 12:46 |
| ← tufteddeer left | 12:47 |
| ← royal_screwup21 left | 12:48 |
| → CodeSlingerPaul joined | 12:50 |
| ← Cabanossi left | 12:53 |
| → lucasb joined | 12:58 |
| ← jguddas-tr2 left | 12:58 |
| → Stoot joined | 12:59 |
| → royal_screwup21 joined | 13:00 |
| ← Phylock left | 13:03 |
| ← oxymoron93 left | 13:06 |
| ← jottr_ left | 13:06 |
| ← plasticle left | 13:07 |
|
e^1
| cdunklau: i solved that issue, thanks :) | 13:07 |
| → plasticle joined | 13:09 |
| → macaronus joined | 13:10 |
| ← yonder left | 13:11 |
| → is_null joined | 13:13 |
| → yonder joined | 13:14 |
| → Phylock joined | 13:16 |
| ← howaboutsynergy left | 13:16 |
| → jguddas-tr2 joined | 13:20 |
| ← abraxxas left | 13:20 |
| → jottr_ joined | 13:21 |
| → malina joined | 13:25 |
| ← bigfondue left | 13:28 |
| → Fischmiep joined | 13:28 |
| → gloomy joined | 13:30 |
| ← zulutango left | 13:31 |
| ← Xeyame left | 13:32 |
| → zulutango joined | 13:33 |
| ← Fischmiep left | 13:33 |
| ← fphilipe_ left | 13:41 |
| → hojang joined | 13:42 |
| ← glosoli left | 13:43 |
| → czart joined | 13:45 |
| ← Makaveli7 left | 13:46 |
| → Inline joined | 13:48 |
| → bigfondue joined | 13:49 |
| → Dougie187 joined | 13:50 |
| ← Dougie187 left | 13:53 |
| ← c0c0 left | 13:53 |
| → Dougie187 joined | 13:54 |
| ← Kaivo left | 13:54 |
| → c0c0 joined | 13:55 |
| → kotisky joined | 13:57 |
| ← floppydh left | 13:58 |
| → fphilipe_ joined | 14:03 |
| → ed_peguillan joined | 14:07 |
| ← Dougie187 left | 14:08 |
| → Dougie187 joined | 14:09 |
| → catbusters joined | 14:12 |
| → fahadash joined | 14:14 |
| → ericfreese joined | 14:15 |
| ← Dougie187 left | 14:15 |
| → Dougie187 joined | 14:16 |
| ← _xor left | 14:16 |
| → ExeciN joined | 14:21 |
| ← omnireq left | 14:24 |
| ← quackgyver left | 14:26 |
| → SkarmoutsosV joined | 14:28 |
| → turbofoxen joined | 14:28 |
| ← im0nde1 left | 14:29 |
| → im0nde_ joined | 14:29 |
| → stitched_unicorn joined | 14:30 |
| ← mobidrop left | 14:33 |
| ← macaronus left | 14:39 |
| ← malina left | 14:40 |
| → Fischmiep joined | 14:40 |
| → nika joined | 14:41 |
| ← SkarmoutsosV left | 14:44 |
| ← Fischmiep left | 14:44 |
| ← gloomy left | 14:45 |
| → malina joined | 14:46 |
| → yokisuci joined | 14:49 |
| → greggerz joined | 14:49 |
| ← greggerz left | 14:51 |
| → boombatower joined | 14:54 |
| ← clime left | 14:56 |
| ← sQVe left | 14:58 |
| → omnireq joined | 14:59 |
| → gloomy joined | 14:59 |
| ← chele left | 15:00 |
| → Cabanossi joined | 15:00 |
| → teward joined | 15:01 |
| ← Noti left | 15:01 |
| ← mojisun_ left | 15:01 |
| ← royal_screwup21 left | 15:05 |
| → blackmesa joined | 15:05 |
| ← malina left | 15:12 |
| → mojisun_ joined | 15:13 |
| → royal_screwup21 joined | 15:13 |
| im0nde_ → im0nde1 | 15:15 |
| → flow2019 joined | 15:18 |
| ← thefatma left | 15:23 |
| → greggerz joined | 15:25 |
| → AtumT joined | 15:28 |
| ← howdoi left | 15:32 |
| ← flow2019 left | 15:33 |
| ← fphilipe_ left | 15:36 |
| → nabil_ joined | 15:36 |
| ← yokisuci left | 15:38 |
| ← nabil__ left | 15:40 |
| → SkarmoutsosV joined | 15:43 |
| ← shored1 left | 15:44 |
| cjohnson_ → cjohnson | 15:44 |
| → shored joined | 15:44 |
| → dijitol joined | 15:45 |
| ← blackmesa left | 15:45 |
| → bs joined | 15:47 |
| → fphilipe_ joined | 15:48 |
| ← hojang left | 15:48 |
| ← gloomy left | 15:48 |
| ← bs left | 15:50 |
| ← AtumT left | 15:50 |
| → glosoli joined | 15:52 |
| → bs joined | 15:53 |
| → yokisuci joined | 15:55 |
| → crose joined | 15:56 |
| ← bs left | 15:57 |
| ← rfuentess left | 15:58 |
| ← deathwishdave left | 15:58 |
| → usbguy1 joined | 16:00 |
| → deathwishdave joined | 16:00 |
| → magic_ninja_work joined | 16:00 |
| ← arunkumar413 left | 16:01 |
| ← glosoli left | 16:01 |
| ← jguddas-tr2 left | 16:02 |
| ← mimajof left | 16:02 |
| → glosoli joined | 16:03 |
| ← royal_screwup21 left | 16:04 |
| ← Lucas_Gray left | 16:04 |
| ← learningc left | 16:04 |
| → learningc joined | 16:05 |
| → Lucas_Gray joined | 16:06 |
| ← Phylock left | 16:08 |
| → flow2019 joined | 16:12 |
| ← glosoli left | 16:13 |
| ← xcm left | 16:17 |
| ← hussam left | 16:17 |
| → xcm joined | 16:17 |
| → thiago joined | 16:20 |
| → Phylock joined | 16:22 |
| ← Lucas_Gray left | 16:25 |
| → Lucas_Gray joined | 16:29 |
| → mjacob joined | 16:30 |
| → mszyszko joined | 16:31 |
| ← stitched_unicorn left | 16:31 |
|
mjacob
| is there a way to show how many objects of which type there are? | 16:31 |
| → nabil__ joined | 16:31 |
|
mjacob
| `git count-objects -v` shows the number, but not grouped for type | 16:32 |
| ← flow2019 left | 16:33 |
| ← TomyWork left | 16:34 |
| ← nabil_ left | 16:34 |
| → philipoakley joined | 16:36 |
| ← nabil__ left | 16:37 |
| → glosoli joined | 16:37 |
| → malina joined | 16:37 |
| → nabil__ joined | 16:37 |
| ← glosoli left | 16:39 |
| → enoq joined | 16:39 |
| ← yonder left | 16:39 |
| → flow2019 joined | 16:39 |
| → rsrx joined | 16:39 |
| → anddam joined | 16:39 |
| → nateriver joined | 16:40 |
| → tchan joined | 16:41 |
|
nateriver
| i tried to create a bitbucket | 16:42 |
| ← deathwishdave left | 16:42 |
| ← enoq left | 16:42 |
|
nateriver
| but then when i clone the bitbucket to my project it says "Unauthorized | 16:42 |
|
| fatal: Could not read from remote repository." | 16:42 |
| → localhorse joined | 16:43 |
|
nateriver
| i wish stuff had instructions | 16:43 |
|
| instead of assuming we know everything | 16:44 |
| ← justanotheruser left | 16:44 |
| ← tchan left | 16:45 |
|
nateriver
| like "oh there's .00001% chance you get some attack, lets make everyone do crazy ssh stuff just to upload" | 16:45 |
|
| and then not explain how to do it | 16:45 |
|
bremner
| don't hold back, tell us what you really think :P | 16:46 |
| ← fructose left | 16:46 |
|
bremner
| nateriver: what url did you pass to clone? | 16:46 |
| → fructose joined | 16:46 |
|
anddam
| hello, is there a dry-run option for rebase, to see what would happen with a non-interactive rebase? | 16:47 |
| ← dijitol left | 16:47 |
|
anddam
| ah jeez, https://stackoverflow.com/questions/29517440/is-there-some-kind-of-git-rebase-dry-run-which-would-notify-me-of-conflicts | 16:47 |
| → royal_screwup21 joined | 16:48 |
| ← ExeciN left | 16:48 |
| ← xcm left | 16:48 |
| → xcm joined | 16:49 |
|
anddam
| btw fiddling with a test repo for trying out https://www.atlassian.com/git/tutorials/merging-vs-rebasing I _just_ figure git log will only print out history of current branch, unless --all is used | 16:50 |
|
| this was a big "woa!" moment | 16:50 |
| ← Phylock left | 16:50 |
| ← magic_ninja_work left | 16:50 |
| ← flow2019 left | 16:53 |
| → oxymoron93 joined | 16:56 |
|
anddam
| ohh now I see why I was creating all those duplicated commit when pulling other people changes, I was rebasing wrong | 16:57 |
|
| now I know what I want from git and have a semi-idea of how to get it | 16:57 |
| → justanotheruser joined | 16:58 |
| ← catbusters left | 17:01 |
| → gloomy joined | 17:01 |
| ← Stoot left | 17:02 |
| → alonkli joined | 17:02 |
| → Phylock joined | 17:03 |
| → tsaka__ joined | 17:05 |
| → glosoli joined | 17:07 |
|
tsaka__
| I created a new local branch. Git status shows modified, uncommitted files. How can I get a clean working tree, while not discarding unstaged changes in the master branch (which I branched from)? | 17:07 |
|
_ikke_
| commit them in the master branch | 17:08 |
| ← Cabanossi left | 17:08 |
|
tsaka__
| so the working tree is not specific to the branch? | 17:09 |
| ← figuinhas left | 17:09 |
|
tsaka__
| if I discard the changes in this branch, they will be discarded in the other? | 17:09 |
| ← geek1011 left | 17:09 |
|
_ikke_
| tsaka__: correct, the working tree does not belong to any branch | 17:10 |
| → geek1011 joined | 17:10 |
| → Stoot joined | 17:15 |
| → Cabanossi joined | 17:16 |
| ← royal_screwup21 left | 17:17 |
| → clime joined | 17:17 |
| → nabil_ joined | 17:17 |
| ← philipoakley left | 17:19 |
| ← nabil__ left | 17:19 |
| → cdown joined | 17:22 |
| ← gloomy left | 17:22 |
| ← midnightmagic left | 17:26 |
| → hussam joined | 17:29 |
| → gareppa joined | 17:30 |
| → Ragnor joined | 17:31 |
| → Raging_Hog joined | 17:31 |
| → philipoakley joined | 17:32 |
| → czart_ joined | 17:33 |
| ← gareppa left | 17:33 |
| → gareppa joined | 17:33 |
| ← comptroller left | 17:34 |
| ← czart left | 17:36 |
|
astronavt
| during an octopus merge, if i know which version of a file i need, can i just 'checkout' that version from the right branch | 17:38 |
| → midnightmagic joined | 17:39 |
| → cd joined | 17:40 |
|
astronavt
| yep, that worked | 17:40 |
| → dijitol joined | 17:40 |
| ← gareppa left | 17:44 |
| → mowcat joined | 17:44 |
| ← nateriver left | 17:44 |
| ← xcm left | 17:45 |
| → xcm joined | 17:46 |
| ← TomTom left | 17:46 |
| → comptroller joined | 17:46 |
| → nerosnm joined | 17:46 |
| → Blukunfando joined | 17:48 |
|
mns
| How do I find out what are the files that were deleted between the last tag and the current HEAD ? | 17:48 |
| → dboso joined | 17:48 |
| ← learningc left | 17:49 |
| ← nika left | 17:53 |
|
oxymoron93
| mns check `--diff-filter` option to git log | 17:53 |
| ← tribly left | 17:56 |
| → tribly joined | 17:57 |
| → clime1 joined | 17:58 |
| ← clime1 left | 17:58 |
| ← YuGiOhJCJ left | 17:59 |
| → magic_ninja_work joined | 18:00 |
| ← Orbitrix left | 18:01 |
| ← fphilipe_ left | 18:02 |
| ← czart_ left | 18:03 |
| → gloomy joined | 18:04 |
| → Orbitrix joined | 18:06 |
| ← oatmealraisin left | 18:08 |
| ← kotisky left | 18:08 |
| → yonder joined | 18:08 |
| ← cfoch left | 18:09 |
| ← usbguy1 left | 18:09 |
| → Sasazuka joined | 18:11 |
| ← Stoot left | 18:13 |
| ← Lucas_Gray left | 18:16 |
| ← T_UNIX left | 18:21 |
| → jackkall joined | 18:21 |
| → troulouliou_dev joined | 18:25 |
| ← rendar left | 18:25 |
| ← troulouliou_dev left | 18:31 |
| ← glosoli left | 18:33 |
| ← Raging_Hog left | 18:33 |
| ← is_null left | 18:33 |
| → royal_screwup21 joined | 18:35 |
| ← nerosnm left | 18:36 |
| → fphilipe_ joined | 18:38 |
| ← jackkall left | 18:38 |
| ← gloomy left | 18:40 |
| ← xcm left | 18:41 |
| → xcm joined | 18:41 |
| ← fphilipe_ left | 18:44 |
| → gareppa joined | 18:45 |
| ← dboso left | 18:46 |
| → nerosnm joined | 18:48 |
| ← oxymoron93 left | 18:48 |
| ← khisanth_ left | 18:48 |
| → Stoot joined | 18:48 |
| → steven__ joined | 18:50 |
| ← nerosnm left | 18:52 |
| ← gareppa left | 18:52 |
| → gareppa joined | 18:53 |
| ← gxt left | 18:53 |
| ← shicks_ left | 18:54 |
| → beastd joined | 18:59 |
| → is_null joined | 18:59 |
| → khisanth_ joined | 19:02 |
| → blackmesa joined | 19:07 |
| → CtrlC joined | 19:07 |
|
CtrlC
| I | 19:08 |
|
| I've made a commit that is lost now. :D I don't know which branch it was on. | 19:08 |
|
| And I don't seem to pushed the branch. | 19:08 |
|
| Is there any way to find it? | 19:08 |
|
bin_bash
| rip | 19:09 |
|
CtrlC
| :( | 19:09 |
|
_ikke_
| CtrlC: git reflog | 19:09 |
|
CtrlC
| oh cool/ | 19:10 |
|
| thank you! | 19:10 |
|
| well grep can't seem to find it! | 19:11 |
|
| maybe I've deleted it?:/ | 19:11 |
|
| nope found it. thank you! | 19:12 |
| ← realies left | 19:13 |
| → nabil__ joined | 19:14 |
| ← malina left | 19:14 |
| ← Mattiaslndstrm left | 19:17 |
| ← nabil_ left | 19:17 |
| → nabil_ joined | 19:18 |
| ← jrnieder left | 19:19 |
| ← nabil__ left | 19:21 |
| → enoq joined | 19:21 |
| → jrnieder joined | 19:21 |
| → hojang joined | 19:27 |
| ← nuc left | 19:30 |
| → nuc joined | 19:31 |
| ← emsjessec left | 19:31 |
| → realies joined | 19:35 |
| → g00s joined | 19:38 |
| → bitwinery joined | 19:40 |
| ← bitwinery left | 19:41 |
| → bitwinery joined | 19:42 |
| ← rsrx left | 19:42 |
|
mns
| so I'm using this: git log --name-status --diff-filter=D tag1..HEAD | 19:42 |
|
| to get a list of files that were deleted between tag1 to HEAD. | 19:43 |
|
| but I don't want the commit hash or commit summary in the output, just the file list is all I'm looking for. | 19:43 |
| ← cbreak left | 19:43 |
|
mns
| how would I do tha t? | 19:43 |
|
_ikke_
| add -s | 19:44 |
|
| git log -s --name-only --diff-filter=D tag1..HEAD | 19:44 |
| ← clime left | 19:45 |
| → cbreak joined | 19:45 |
| → nerosnm joined | 19:46 |
|
osse
| mns: how about git diff ... tag1 HEAD ? | 19:47 |
|
mns
| osse: that works. thanks | 19:48 |
|
| _ikke_: -s and --name-only are mutually exclusive | 19:49 |
| ← gareppa left | 19:49 |
| ← bitwinery left | 19:49 |
|
_ikke_
| then use --format="" | 19:50 |
|
| but git diff like osse said is better | 19:50 |
|
| git log in that way could return duplicate names | 19:50 |
|
mns
| _ikke_: ahhh ok I was just about to ask why I get twice the files with git log vs git diff | 19:51 |
|
_ikke_
| because git log will list the changed files for each commit | 19:52 |
|
| so if two commits both change the same file, the file would be listed for both commits | 19:52 |
|
mns
| well seeing that I'm dealing with 'deletes' I would think that you wont have two commits that delete the same file, but yeah git-diff seems cleaner | 19:54 |
|
_ikke_
| yes, git diff is definitely what you should use | 19:54 |
| ← kes left | 19:55 |
| → macaronus joined | 19:55 |
| ← e^1 left | 19:58 |
| ← fling left | 20:00 |
| → SmashingX joined | 20:02 |
|
SmashingX
| how can I see what has changed in my repo? | 20:03 |
| ← shabius left | 20:03 |
| ← shored left | 20:03 |
| → shored joined | 20:04 |
| ← dmc left | 20:04 |
| ← philipoakley left | 20:05 |
|
bin_bash
| git status | 20:05 |
|
_ikke_
| git log | 20:05 |
|
SmashingX
| nope | 20:05 |
|
| it doesn't show the changes | 20:06 |
|
| and git log only shows past commits | 20:06 |
|
bin_bash
| what changes? | 20:06 |
|
SmashingX
| I haven't commited the changes yert | 20:06 |
|
bin_bash
| then they'd be shown in git status | 20:06 |
|
SmashingX
| the changes I did in this tracking file | 20:06 |
| → shabius joined | 20:10 |
| ← is_null left | 20:12 |
| → is_null joined | 20:13 |
| ← jottr_ left | 20:14 |
| → dmc joined | 20:18 |
| → dege joined | 20:19 |
| → clime joined | 20:20 |
|
SmashingX
| when I execute "git status" I get the files that have been modified, how can I see the exact modifications | 20:23 |
|
_ikke_
| git diff | 20:23 |
|
SmashingX
| and also how can I see how many lines have been added/deleted | 20:23 |
|
_ikke_
| git diff --stat | 20:23 |
|
SmashingX
| _ikke_: thank you | 20:24 |
| ← is_null left | 20:25 |
| → nowhere_man joined | 20:28 |
| → Lucas_Gray joined | 20:31 |
| → is_null joined | 20:31 |
| ← nerosnm left | 20:34 |
| → jguddas-tr2 joined | 20:40 |
| ← xcm left | 20:40 |
| → xcm joined | 20:41 |
| ← jguddas-tr2 left | 20:44 |
| → n3wborn joined | 20:48 |
| ← hojang left | 20:48 |
| ← xcm left | 20:51 |
| → xcm joined | 20:51 |
| ← misuto left | 20:52 |
| → greatgatsby joined | 20:52 |
| → |aaron joined | 20:55 |
|
|aaron
| Hi all. What LFS server implementations are people using these days? I just need a standalone LFS backend that supports local disk storage. | 20:56 |
| ← greatgatsby left | 20:57 |
| → misuto joined | 20:57 |
| ← SkarmoutsosV left | 20:58 |
| → m0viefreak joined | 21:08 |
| → Heirlung- joined | 21:09 |
| ← Phylock left | 21:09 |
| ← is_null left | 21:09 |
| ← Heirlung left | 21:10 |
| ← feriman left | 21:17 |
| → tgunr joined | 21:20 |
| ← tmager left | 21:22 |
| → jottr_ joined | 21:24 |
| → chris11 joined | 21:25 |
| → Wryhder joined | 21:27 |
| ← Lucas_Gray left | 21:27 |
| Wryhder → Lucas_Gray | 21:28 |
| → leeN joined | 21:30 |
| ← jottr_ left | 21:30 |
| ← thiago left | 21:31 |
|
chris11
| I'm looking at using git as part of the backend of the feature flag system. I'm wanting easily done reverts and logs. I'm thinking of git, because I think the view that includes the entire workspace, with changes saved by diffs is what I want. I want the view of the feature flag system to be whole, and changes just be diffs. | 21:41 |
|
| My problem is that I'm having trouble automatically reverting commits when I test it out. I want to do this: https://paste.ofcode.org/xvePAzkMcx9aUGzats3RvJ | 21:41 |
| → jottr_ joined | 21:41 |
|
chris11
| But it seems like if devA and then devB make a change on the same flag, then reverting devA's work will cause a conflict on the shared flag. | 21:42 |
| → greatgatsby joined | 21:43 |
|
chris11
| Is there anyway to automatically resolve conflicts during reverts? | 21:43 |
| ← Xiti` left | 21:46 |
| ← jottr_ left | 21:46 |
| oprypin_ → oprypin | 21:47 |
| ← g00s left | 21:48 |
| ← grumble left | 21:48 |
| → grumble joined | 21:50 |
| → g00s joined | 21:50 |
|
foo
| Is there a way to merge a specific commit from a specific branch into my staging branch? | 21:52 |
|
| oh, it might be as simple as git merge other-branch [commit-id] | 21:52 |
| → Xiti joined | 21:53 |
| ← dijitol left | 21:55 |
| → fphilipe_ joined | 21:59 |
|
foo
| actually, it doesn't look to be that simple... unless I'm mis-reading these results | 22:00 |
|
| foo investigates | 22:00 |
| → Mattiaslndstrm joined | 22:00 |
|
foo
| ah, looks like I want git cherry-pick | 22:01 |
| ← ed_peguillan left | 22:02 |
| ← Mattiaslndstrm left | 22:03 |
| ← fphilipe_ left | 22:04 |
| ← c0c0 left | 22:04 |
| → Fernando-Basso joined | 22:07 |
| → FernandoBasso joined | 22:09 |
| ← steven left | 22:10 |
| ← Ragnor left | 22:11 |
| → steven joined | 22:13 |
| ← leeN left | 22:14 |
| → Ragnor joined | 22:18 |
| → jottr_ joined | 22:18 |
| → thiago joined | 22:19 |
| ← greggerz left | 22:22 |
| ← Rhonda left | 22:24 |
| → ed_peguillan joined | 22:29 |
| → nic-hartley joined | 22:32 |
| ← cdown left | 22:33 |
| ← enoq left | 22:34 |
| ← CodeSlingerPaul left | 22:34 |
| → enoq joined | 22:35 |
| ← jottr_ left | 22:36 |
| ← fahadash left | 22:36 |
| ← yokisuci left | 22:39 |
| → Rhonda joined | 22:40 |
| ← royal_screwup21 left | 22:45 |
| ← g00s left | 22:45 |
| ← alexandre9099 left | 22:47 |
| → alexandre9099 joined | 22:49 |
| → royal_screwup21 joined | 22:51 |
| ← Fernando-Basso left | 22:51 |
| ← Revan- left | 22:52 |
| → nerosnm joined | 22:54 |
| → bambanx joined | 22:57 |
| ← magic_ninja_work left | 22:58 |
| ← nerosnm left | 22:59 |
| ← CtrlC left | 23:00 |
| ← surfist left | 23:00 |
| → surfist joined | 23:00 |
| → g00s joined | 23:00 |
| → nerosnm joined | 23:01 |
| ← macaronus left | 23:01 |
| ← omnireq left | 23:03 |
| ← ericfreese left | 23:04 |
| ← beastd left | 23:04 |
| ← nerosnm left | 23:06 |
| → publio joined | 23:06 |
| → jottr_ joined | 23:07 |
| → nerosnm joined | 23:09 |
| ← greatgatsby left | 23:09 |
| ← royal_screwup21 left | 23:14 |
| ← nerosnm left | 23:14 |
| ← g00s left | 23:14 |
| → AtumT joined | 23:14 |
| ← jottr_ left | 23:16 |
| → perrier-jouet joined | 23:16 |
| → bitwinery joined | 23:18 |
| ← enoq left | 23:24 |
| → xall joined | 23:24 |
| ← Lucas_Gray left | 23:26 |
| → veremitz joined | 23:27 |
| ← chris11 left | 23:29 |
| ← Giant81 left | 23:29 |
| ← clime left | 23:30 |
| → xall_ joined | 23:31 |
| → ferdna joined | 23:32 |
| ← xall left | 23:34 |
| ← n3wborn left | 23:34 |
| ← AtumT left | 23:36 |
| → budonyc joined | 23:36 |
| ← dege left | 23:38 |
| ← agg left | 23:42 |
| → Wetmelon joined | 23:44 |
| ← Dougie187 left | 23:45 |
| ← mowcat left | 23:45 |
| ← cbreak left | 23:45 |
| → nuala joined | 23:46 |
| → cbreak joined | 23:47 |
| → is_null joined | 23:51 |
| ← Murr left | 23:53 |