| 2019-10-26 |
| → doug16k joined | 00:00 |
| → Wetmelon joined | 00:02 |
| → raven-au joined | 00:04 |
| → YuGiOhJCJ joined | 00:06 |
| ← yawkat left | 00:10 |
| ← thebope left | 00:10 |
| ← dartmouthed left | 00:13 |
| ← jrnieder left | 00:18 |
| ← yonder left | 00:19 |
| ← lucasb left | 00:28 |
| Hoffmanbearpig → Jesus_Christ | 00:28 |
| ← bitwinery left | 00:28 |
| ← leeN left | 00:29 |
| → bitwinery joined | 00:31 |
| ← dionysus69 left | 00:32 |
| ← Sasazuka left | 00:33 |
| → Codaraxis_ joined | 00:35 |
| → yawkat joined | 00:36 |
| ← Codaraxis left | 00:39 |
| ← VladGh left | 00:41 |
| → sz0 joined | 00:49 |
| → gxt joined | 00:55 |
| ← Levin^2 left | 00:58 |
| → jstimm joined | 00:58 |
| ← igemnace left | 00:59 |
| → HumanGeek joined | 01:01 |
| ← Brainium left | 01:03 |
| ← lacrymology left | 01:03 |
| ← Human_G33k left | 01:04 |
| ← Codaraxis_ left | 01:04 |
| ← lankanmon left | 01:06 |
| → lankanmon joined | 01:09 |
| ← oxymoron93 left | 01:09 |
| ← m0viefreak left | 01:10 |
| → orbyt_ joined | 01:11 |
| ← F0rTex left | 01:11 |
| → F0rTex joined | 01:12 |
|
b0nn
| git standards | 01:14 |
|
| are there any, should there be some? | 01:14 |
|
rafasc
| what do you mean by that? | 01:16 |
|
b0nn
| (I'm sick of moving to a new team only to have to spend n time coming to grips with whatever git policies they've cooked up | 01:16 |
| → Ori_B joined | 01:16 |
|
rafasc
| that's one of the strengths of git. It doesn't force you to adopt any particular workflow. | 01:17 |
| → matheusm1reira joined | 01:18 |
|
b0nn
| ITYM weakness | 01:18 |
| ← matheusmoreira left | 01:19 |
| ← dijitol left | 01:19 |
|
rafasc
| I meant what I said. | 01:19 |
|
| b0nn: what is the policy that is pissing you off? | 01:24 |
|
| or is it just the adapting between policies? | 01:24 |
|
| also: https://colabti.org/irclogger/irclogger_log/git?date=2019-10-24#l86 :^) | 01:26 |
|
rustyshackleford
| so imagine a branch, lets call it sandbox, that many people are working in. When a specific feature is done, I want to yank all relevant commits out of sandbox and into staging | 01:36 |
|
| but they are interleaved with the rest of the work going on | 01:36 |
|
| can anyone explain how this works? | 01:36 |
| ← edwardly left | 01:36 |
| ← bvdw left | 01:38 |
| → bvdw joined | 01:39 |
|
rafasc
| rustyshackleford: only merge in one direction: feature->"sandbox" Then feature itself remains its own thing. | 01:39 |
|
rustyshackleford
| i think theres some value in working on a shared branch | 01:40 |
|
| knowing which other work will conflict with yours and working those out | 01:40 |
|
| the problem then is selectively pulling work out of sandbox, and into staging | 01:41 |
|
| all that work is interleaved with other work basically. But i'll bet git rebase can work its magic here | 01:41 |
|
rafasc
| You don't need to work on a shared branch to know that. | 01:41 |
|
rustyshackleford
| i mean what do you suggest then | 01:42 |
|
| reviewing other team's feature branches? | 01:42 |
| → Goplat joined | 01:42 |
|
rafasc
| That's one way to do it. | 01:42 |
|
rustyshackleford
| other ideas? | 01:42 |
|
rafasc
| https://colabti.org/irclogger/irclogger_log/git?date=2019-10-24#l272 | 01:43 |
|
rustyshackleford
| how did you do that? cool | 01:43 |
|
rafasc
| this one ^ someone mentioned yesterday. | 01:43 |
|
rustyshackleford
| I was trying to scroll back in the logs but irccloud is slow | 01:43 |
|
| "When they're done, they rebase their work off the current state of feature1 and create a PR" | 01:44 |
|
| how would that work in practice? thats not like a standard rebase is it? | 01:44 |
|
| we need to grab specific commits which are all interleaved into other work | 01:44 |
|
rafasc
| what they describe doesn't "interleave" | 01:46 |
|
rustyshackleford
| how would this rebase go? | 01:46 |
|
rafasc
| it's a simple rebase. | 01:46 |
|
rustyshackleford
| type that rebase command for me then? I am not seeing it | 01:47 |
|
rafasc
| git rebase | 01:47 |
|
| git rebase feature1 x; | 01:47 |
|
| for example | 01:47 |
|
rustyshackleford
| where x is a commit hash? | 01:47 |
|
rafasc
| No, did you read the message? | 01:48 |
|
rustyshackleford
| rereading | 01:49 |
|
| so they're all on separate branches. I misread earlier | 01:50 |
|
| features X, Y and Z branch off of feature1 | 01:50 |
| → Codaraxis joined | 01:51 |
|
rustyshackleford
| X1 - Z1 - X2 - Y1 - X3 - Y2 | 01:53 |
|
| lets say history looks something like that. I want to yank out all of the X's | 01:54 |
|
rafasc
| because what he described doesn't even result in something like that. | 01:55 |
|
| you can git checkout -b new Y2; git rebase -i X1; and drop z1 y1 y2; | 01:56 |
| → oatmealraisin joined | 01:56 |
|
rafasc
| or create a branch on x1, then cherry-pick x2 and x3. | 01:56 |
|
| But this will be a nightmare to do it on a regular basis. | 01:57 |
|
rustyshackleford
| yup sure seems like it | 01:57 |
|
rafasc
| Just don't create a situation where you'll interleave unrelated commits like that. | 01:57 |
|
rustyshackleford
| i don't know then. that many feature branches seems like a disaster as well | 01:57 |
|
| this is what happens when you have like twice as many developers as you need lmao | 01:58 |
|
rafasc
| git history should tell the history of the software, not how devs struggled with git. | 01:58 |
|
| keep x1,x2,x3 together. Same for y and z. | 01:59 |
|
rustyshackleford
| I do think it is helpful for X, Y, and Z to work together | 01:59 |
|
| its mostly non overlapping but they might be in some of the same files. Helpful to work out those details | 01:59 |
|
| and still somehow selectively merge them into the next release | 02:00 |
|
rafasc
| The issues you describe are a pattern when people use git as a "quick save". To get the full benefits of git, you need to compose your history like you're telling a story. | 02:01 |
| dviola → Guest81850 | 02:01 |
|
rustyshackleford
| and i'm trying to fix that by rewriting history basically | 02:01 |
| → dviola joined | 02:02 |
|
rafasc
| the colaboration can be done by merging or rebasing into a shared branch. | 02:02 |
|
| That should be enough to see if they're touching conflicting areas. | 02:02 |
|
| and as long as you don't merge back from this shared branch. You x,y,z remain completely function. | 02:03 |
|
rustyshackleford
| are you interested enough to draw me a diagram? | 02:03 |
|
rafasc
| of what? | 02:04 |
|
rustyshackleford
| actually no I get it | 02:04 |
|
| well its more than 3 teams/features | 02:04 |
|
rafasc
| could be 100 | 02:04 |
|
rustyshackleford
| does it scale well? | 02:05 |
|
rafasc
| what doesn't scale is having interleaved commits. | 02:05 |
|
| how do you even debug something like that? | 02:05 |
|
rustyshackleford
| haha i don't know! | 02:06 |
| lagothrix → Guest92312 | 02:06 |
| ← Guest92312 left | 02:06 |
| → lagothrix joined | 02:06 |
|
rustyshackleford
| you don't think you could script it or whatever | 02:09 |
|
| given a complete list of commits (you would have to identify them too) | 02:09 |
|
| I don't see a way where its not a ton of overhead | 02:09 |
|
rafasc
| I don't know why you keep insisting in the workflow that is causing you trouble. | 02:10 |
| → beastDiv_ joined | 02:12 |
| → nurdie joined | 02:13 |
|
rafasc
| What you're saying it's like: It hurts when I poke my finger into my eye. Does anyone know if wrapping my finger in rubber will stop the hurting? | 02:13 |
| ← F0rTex left | 02:14 |
|
rafasc
| when the answer is: stop poking your eye. | 02:14 |
| ← AtumT left | 02:14 |
| → F0rTex joined | 02:14 |
| ← nurdie left | 02:17 |
| → Codaraxis_ joined | 02:18 |
| → edwardly joined | 02:19 |
| ← Codaraxis left | 02:22 |
|
rustyshackleford
| rafasc: well i'm not trying to be stubborn | 02:24 |
| ← Cabanossi left | 02:24 |
|
rustyshackleford
| you also have to sell it well right? and make it work for our other processes like CI tools, automated builds for QA, testing | 02:25 |
|
| shared sandbox branch works very nicely for QA builds | 02:25 |
|
rafasc
| You're aware that people have QA/CI/CD without having a shared branch with commits from different features all interleaved. | 02:26 |
|
| if you want to test them all, do: git merge X, git merge Y, git merge Z, test the result. | 02:27 |
|
rustyshackleford
| i'm so jealous of where you work | 02:27 |
|
rafasc
| use literally any popular branching workflow, and not one will suggest that interleaving commits is a good idea. | 02:28 |
|
rustyshackleford
| I can't redo the whole program you know? Its not only my decision | 02:28 |
|
| if its disruptive, people will claim that this new way of doing things is worse. "well we never had this probably with the old way" | 02:29 |
|
| ignoring that our current system is a disaster haha | 02:29 |
|
rafasc
| You asked for an opinion, I gave you my sincere one. | 02:29 |
|
| Those are the kind of answers people that poke themselves in the eye usually give. | 02:30 |
|
rustyshackleford
| i've got our release train engineer on board so thats good | 02:30 |
|
| that is a good metaphor haha | 02:31 |
|
| it was like a week long fire I put out this week, related to branches and CI tools | 02:31 |
|
| I did finally fix it, woo | 02:32 |
| ← ricks_ left | 02:33 |
|
rafasc
| https://www.endoflineblog.com/oneflow-a-git-branching-model-and-workflow | 02:33 |
|
| This is more or less what I use, and what the other person described | 02:33 |
|
rustyshackleford
| the other group I have to sell is our business | 02:34 |
|
| thanks for the link, checking it out now | 02:35 |
| → Cabanossi joined | 02:35 |
|
rustyshackleford
| "If your project needs to maintain multiple simultaneous yet incompatible release versions that way, then OneFlow won't work for you out of the box" | 02:35 |
| → ricks_ joined | 02:36 |
|
rafasc
| it's not complicated to adapt it. Basically make hotfixes in the oldest release branch you care about, then cascade merge it until the current release. | 02:38 |
|
| make hotfix for 2.21.0, tag 2.21.1, merge the result into 2.22.0, bump to 2.22.2, .... merge the result into master | 02:39 |
| ← rafasc left | 02:48 |
| → xelxebar_ joined | 02:48 |
| ← xelxebar left | 02:48 |
| → n3wborn joined | 02:52 |
| ← dviola left | 02:55 |
| → vdamewood joined | 02:55 |
| → nav2002 joined | 02:58 |
| ← sz0 left | 02:59 |
| ← ferdna left | 03:02 |
| → zonixo joined | 03:04 |
| ← Eugene left | 03:07 |
| → natechan joined | 03:10 |
| ← sgn left | 03:17 |
| lagothrix → Guest65185 | 03:17 |
| → lagothrix joined | 03:17 |
| ← Guest65185 left | 03:20 |
| ← LearnAllTheTime left | 03:21 |
| ← Cabanossi left | 03:24 |
| → Eugene joined | 03:27 |
| → Cabanossi joined | 03:29 |
| → SleePy joined | 03:31 |
| ← Newami left | 03:32 |
| ← vdamewood left | 03:37 |
| matheusm1reira → matheusmoreira | 03:42 |
| ← cd left | 03:44 |
| ← beastDiv_ left | 03:55 |
| → ferdna joined | 04:01 |
| → null1337 joined | 04:01 |
| → LearnAllTheTime joined | 04:02 |
| ← kjartan left | 04:10 |
| → kjartan_ joined | 04:11 |
| ← donofrio left | 04:17 |
| → fstd_ joined | 04:19 |
| ← fstd left | 04:23 |
| fstd_ → fstd | 04:23 |
| Jesus_Christ → Hoff | 04:36 |
| ← nav2002 left | 04:38 |
| → jokester joined | 04:45 |
| → g00s joined | 04:52 |
| ← theoceaniscool left | 04:53 |
| ← orbyt_ left | 04:54 |
| → nurdie joined | 04:57 |
| → nurdie_ joined | 04:58 |
| → pks_ joined | 05:01 |
| ← nurdie left | 05:01 |
| ← pks left | 05:03 |
| pks_ → pks | 05:03 |
| ← bket left | 05:05 |
| ← ricks_ left | 05:05 |
| → ricks_ joined | 05:05 |
| ← ricks_ left | 05:05 |
| → ricks_ joined | 05:05 |
| ← crose left | 05:06 |
| ← g00s left | 05:07 |
| → bket joined | 05:07 |
| ← nurdie_ left | 05:10 |
| → libertyprime joined | 05:11 |
| ← omnireq left | 05:18 |
| → omnireq joined | 05:18 |
| → Mo joined | 05:22 |
| → sauvin joined | 05:22 |
| ← Shentino_ left | 05:31 |
| → Shentino_ joined | 05:31 |
| ← zonixo left | 05:37 |
| ← gxt left | 05:37 |
| → nav2002 joined | 05:56 |
| ricks_ → rick_polly | 05:58 |
| ← xelxebar_ left | 06:04 |
| → xelxebar joined | 06:04 |
| ← natechan left | 06:07 |
| ← thiago left | 06:10 |
| ← gpanders left | 06:16 |
| → g00s joined | 06:18 |
| → deltam joined | 06:18 |
| ← Wetmelon left | 06:21 |
| ← oatmealraisin left | 06:22 |
| ← ferdna left | 06:25 |
| → gloomy joined | 06:26 |
| ← licnep left | 06:29 |
| ← libertyprime left | 06:35 |
| ← Goplat left | 06:40 |
| → libertyprime joined | 06:42 |
| → Mattiaslndstrm joined | 06:45 |
| ← kleisli left | 06:47 |
| ← libertyprime left | 06:57 |
| ← Heirlung left | 07:00 |
| → Heirlung joined | 07:01 |
| ← g00s left | 07:03 |
| ← nav2002 left | 07:04 |
| ← bambanx left | 07:04 |
| → g00s joined | 07:05 |
| ← akemhp_ left | 07:07 |
| → akemhp_ joined | 07:08 |
| → leprechau joined | 07:09 |
| → nurdie joined | 07:10 |
| → SilentGhost joined | 07:12 |
| → kjartan joined | 07:12 |
| ← kjartan_ left | 07:12 |
| ← nurdie left | 07:15 |
| ← akemhp_ left | 07:17 |
| → akemhp joined | 07:21 |
| → duderonomy joined | 07:22 |
| → akemhp_ joined | 07:26 |
| → dartmouthed joined | 07:27 |
| ← nabil_ left | 07:28 |
| → nabil joined | 07:28 |
| ← gloomy left | 07:33 |
| ← cbreak left | 07:35 |
| → cbreak joined | 07:35 |
| ← bvdw left | 07:38 |
| → bvdw joined | 07:39 |
| → beastDivision joined | 07:39 |
| → clime1 joined | 07:42 |
| ← leprechau left | 07:45 |
| → gxt joined | 07:46 |
| ← YuGiOhJCJ left | 07:48 |
| ← clime1 left | 07:52 |
| → feriman joined | 07:56 |
| → hqdruxn08 joined | 08:03 |
| ← hqdruxn08 left | 08:03 |
| → hqdruxn08 joined | 08:04 |
| ← hqdruxn08__ left | 08:04 |
| ← LearnAllTheTime left | 08:14 |
| → gloomy joined | 08:15 |
| ← gloomy left | 08:26 |
| ← duderonomy left | 08:29 |
| ← roadie left | 08:30 |
| → leeN joined | 08:31 |
| → gloomy joined | 08:34 |
| → Tahvok joined | 08:43 |
| ← akemhp_ left | 08:47 |
| → Fernando-Basso joined | 08:48 |
| ← akemhp left | 08:48 |
| → akemhp joined | 08:48 |
| → akemhp_ joined | 08:48 |
| ← gloomy left | 08:55 |
| → oxymoron93 joined | 08:56 |
| → gloomy joined | 08:56 |
| ← gloomy left | 08:56 |
| → Wizek joined | 08:58 |
| → lacrymology joined | 09:01 |
| → dijitol joined | 09:03 |
| ← akemhp left | 09:04 |
| ← akemhp_ left | 09:04 |
| → akemhp joined | 09:04 |
| → akemhp_ joined | 09:05 |
| ← akemhp left | 09:06 |
| → akemhp joined | 09:06 |
| ← bitwinery left | 09:14 |
| → akem__ joined | 09:19 |
| ← akemhp_ left | 09:22 |
| ← akemhp left | 09:22 |
| → akemhp joined | 09:22 |
| ← Codaraxis_ left | 09:22 |
| → Codaraxis_ joined | 09:23 |
| ← steven__ left | 09:28 |
| → steven__ joined | 09:29 |
| ← bvdw left | 09:30 |
| → bvdw joined | 09:30 |
| ← oxymoron93 left | 09:32 |
| → ThiefMaster joined | 09:33 |
| → enoq joined | 09:34 |
| ← tryte_ left | 09:34 |
| → tryte joined | 09:36 |
| → mika joined | 09:36 |
| → gpanders joined | 09:36 |
| ← ThiefMaster left | 09:38 |
| → nika joined | 09:40 |
| → ThiefMaster joined | 09:40 |
| ← lmariscal left | 09:45 |
| → lmariscal joined | 09:46 |
| ← rick_polly left | 09:50 |
| → Learath2 joined | 09:50 |
| ← Codaraxis_ left | 09:52 |
| → Codaraxis_ joined | 09:52 |
| → xall joined | 09:53 |
| → ricks_ joined | 09:54 |
| ← Eryn_1983_FL left | 09:54 |
| → xall_ joined | 09:55 |
| ← xall left | 09:58 |
| → kimamb joined | 10:00 |
| → m0viefreak joined | 10:00 |
| → nioncode joined | 10:01 |
| → oxymoron93 joined | 10:04 |
| → zonixo joined | 10:04 |
| → theoceaniscool joined | 10:05 |
| ← zonixo left | 10:09 |
| → nabil_ joined | 10:09 |
| ← g00s left | 10:10 |
| ← nabil left | 10:12 |
| → royal_screwup21 joined | 10:14 |
| → Eryn_1983_FL joined | 10:14 |
| ← alexandre9099 left | 10:14 |
| ← xall_ left | 10:23 |
| → agowa338 joined | 10:24 |
| ← jstimm left | 10:25 |
| ← akem__ left | 10:27 |
| ← akemhp left | 10:28 |
| ← beastDivision left | 10:31 |
| ← caskd left | 10:31 |
| → dionysus69 joined | 10:31 |
| → caskd joined | 10:32 |
| ← SCHAPiE left | 10:34 |
| → RhineDevil joined | 10:35 |
|
RhineDevil
| How can I get remote.*.fetch from a file by using `git config --file`? | 10:36 |
| → remedan joined | 10:43 |
| → SCHAPiE joined | 10:44 |
| ← lacrymology left | 10:45 |
| ← escherial left | 10:47 |
| → escherial joined | 10:49 |
|
_ikke_
| RhineDevil: Do you want fetch a specific setting from a specific file? | 10:52 |
| → akemhp joined | 10:58 |
| ← akemhp left | 10:58 |
| → akemhp joined | 10:59 |
| ← royal_screwup21 left | 11:02 |
|
RhineDevil
| _ikke_, I meant remote.*.url | 11:02 |
|
| I want to get all remotes url | 11:02 |
|
_ikke_
| but why --file? | 11:03 |
|
RhineDevil
| _ikke_, commodity | 11:03 |
|
_ikke_
| git config --file <..> --get-regex remote\..*\.url | 11:03 |
|
| (with the necessary quoting / escaping | 11:04 |
|
| ) | 11:04 |
| → AtumT joined | 11:05 |
| → nabil__ joined | 11:08 |
| → akemhp_ joined | 11:10 |
| ← nabil_ left | 11:10 |
| → nabil_ joined | 11:11 |
| ← akemhp left | 11:13 |
| → jstimm joined | 11:13 |
| ← nabil__ left | 11:14 |
| → nabil joined | 11:14 |
| ← oxymoron93 left | 11:16 |
| ← nabil_ left | 11:16 |
| ← akemhp_ left | 11:18 |
| → royal_screwup21 joined | 11:22 |
| → mArtale joined | 11:23 |
| ← dionysus69 left | 11:27 |
| ← learning1 left | 11:27 |
| → learning1 joined | 11:31 |
| → soju joined | 11:32 |
| → xall_ joined | 11:34 |
| ← dartmouthed left | 11:36 |
| ← mArtale left | 11:39 |
| ← xall_ left | 11:39 |
| ← soju left | 11:45 |
| → akemhp joined | 11:48 |
| → soju joined | 11:48 |
| → dionysus69 joined | 12:05 |
| ← tsujp left | 12:18 |
| → oxymoron93 joined | 12:19 |
| ← akemhp left | 12:21 |
| → CryptoDavid joined | 12:22 |
| → dartmouthed joined | 12:22 |
| → tsujp_ joined | 12:24 |
| ← royal_screwup21 left | 12:26 |
| ← n3wborn left | 12:28 |
| → VLetrmx joined | 12:28 |
|
VLetrmx
| Hi | 12:28 |
| ← dijitol left | 12:29 |
| → tsujp joined | 12:31 |
| ← leeN left | 12:31 |
| ← tsujp_ left | 12:32 |
|
VLetrmx
| nevermind fixed it | 12:33 |
|
_ikke_
| You're welcome ;-) | 12:33 |
|
VLetrmx
| default advice colour is yellow, which means it's invisible on a light coloured term | 12:33 |
|
| I don't know who came up with that as a default, but I don't think it's a sensible default really | 12:33 |
|
_ikke_
| on a black background it makes a lot of sense | 12:34 |
|
| there is more output in git that is yellow by default | 12:34 |
|
VLetrmx
| yeah but you shouldn't assume a black background | 12:34 |
| ← oxymoron93 left | 12:35 |
|
_ikke_
| Anything that outputs colors has to assume some color, unless you restrict the output to a very small subset of colors (and even that might cause issues) | 12:35 |
|
| But you can either at the terminal level, or in gits case, program level override the colors to make sense for you | 12:36 |
|
| putty's default blue color is very hard to read on a black background, so I always change it | 12:36 |
|
| And I guess not only for putty | 12:37 |
|
| I override it for urxvt as well | 12:37 |
|
VLetrmx
| most of the other colours used are fine on both light and dark terms | 12:38 |
| → Nokurn joined | 12:39 |
| → zonixo joined | 12:40 |
| → gareppa joined | 12:43 |
| ← gareppa left | 12:44 |
| → akemhp joined | 12:49 |
| ← dionysus69 left | 12:51 |
| → alexandre9099 joined | 12:52 |
| → royal_screwup21 joined | 12:55 |
| ← zonixo left | 12:55 |
| → lucasb joined | 12:59 |
| → FernandoBasso joined | 13:02 |
| ← Fernando-Basso left | 13:04 |
| → gareppa joined | 13:10 |
| ← akemhp left | 13:10 |
| → akemhp joined | 13:12 |
| ← akemhp left | 13:14 |
| ← Phylock left | 13:15 |
| ← royal_screwup21 left | 13:24 |
| → igemnace joined | 13:28 |
| ← agowa338 left | 13:30 |
| → dijitol joined | 13:34 |
| ← gxt left | 13:38 |
| ← bvdw left | 13:38 |
| → bvdw joined | 13:39 |
| ← gareppa left | 13:39 |
| → crose joined | 13:54 |
| ← MACscr left | 13:54 |
| ← nika left | 13:59 |
| → yonder joined | 14:01 |
| → fuzzface joined | 14:04 |
| ← Mattiaslndstrm left | 14:11 |
| → Phylock joined | 14:24 |
| ← rustyshackleford left | 14:27 |
| ← fuzzface left | 14:34 |
| ← feriman left | 14:44 |
| → Wetmelon joined | 14:45 |
| → thebope joined | 14:47 |
| ← Inline left | 14:49 |
| → perrier-jouet joined | 14:51 |
| → natechan joined | 14:54 |
| ← justanotheruser left | 14:54 |
| → kp__ joined | 14:57 |
|
nikivi
| If I by accident deleted .git/index file | 14:58 |
|
| is it okay? | 14:58 |
|
| or I need to do something like reclone the repo | 14:58 |
| → agowa338 joined | 14:58 |
| ← crose left | 14:59 |
|
nikivi
| ok I `git reset --hard origin/master` and its back | 14:59 |
| ← kp__ left | 14:59 |
|
_ikke_
| yeah, indeed | 15:00 |
|
| just git reset woudl work | 15:00 |
|
| would | 15:00 |
| → alfredb joined | 15:04 |
| ← Phylock left | 15:10 |
| → royal_screwup21 joined | 15:10 |
| → f1x joined | 15:16 |
| → n000g joined | 15:16 |
| → m3pow joined | 15:17 |
| → LimitlessGreen joined | 15:17 |
| → justanotheruser joined | 15:17 |
| ← RhineDevil left | 15:19 |
| ← thebope left | 15:22 |
| → Mattiaslndstrm joined | 15:23 |
| → thiago joined | 15:34 |
| → ferdna joined | 15:36 |
| → nightduck joined | 15:38 |
| ← alfredb left | 15:39 |
| → lupine joined | 15:39 |
| ← Mattiaslndstrm left | 15:40 |
| → Mattiaslndstrm joined | 15:43 |
| → nika joined | 15:46 |
| → Brainium joined | 15:47 |
| ← nika left | 15:51 |
| → Goplat joined | 15:52 |
| → zonixo joined | 15:54 |
| → freedom joined | 15:54 |
| ← zonixo left | 15:58 |
|
cbreak
| or git read-tree HEAD? :) | 16:00 |
| → sentriz joined | 16:04 |
| ← f1x left | 16:04 |
| ← Mattiaslndstrm left | 16:05 |
| ← Heirlung left | 16:06 |
| → Heirlung joined | 16:10 |
| → gareppa joined | 16:14 |
| ← m1dnight1 left | 16:15 |
| → crose joined | 16:17 |
| → m1dnight1 joined | 16:17 |
| → Dreadnaught joined | 16:19 |
| → duderonomy joined | 16:20 |
| → im0nde_ joined | 16:21 |
| ← Kulrak left | 16:23 |
| → nika joined | 16:23 |
| ← im0nde left | 16:23 |
| ← duderonomy left | 16:25 |
| ← nika left | 16:28 |
| → f1x joined | 16:29 |
| ← natechan left | 16:35 |
| → natechan joined | 16:37 |
| → Mattiaslndstrm joined | 16:38 |
| → thebope joined | 16:43 |
| ← thebope left | 16:47 |
| ← iam730 left | 16:48 |
| ← perrier-jouet left | 16:54 |
| → ExeciN joined | 16:56 |
| ← Mattiaslndstrm left | 16:58 |
| → durham joined | 16:59 |
| ← gareppa left | 16:59 |
| → nyxyn joined | 17:02 |
| ← ferdna left | 17:03 |
| ← nyxyn left | 17:05 |
| ← Codaraxis_ left | 17:07 |
| → Codaraxis_ joined | 17:07 |
| → LearnAllTheTime joined | 17:08 |
| ← LearnAllTheTime left | 17:08 |
| ← f1x left | 17:11 |
| → f1x joined | 17:13 |
| → gareppa joined | 17:13 |
| → clime1 joined | 17:15 |
| → thebope joined | 17:19 |
| ← natechan left | 17:19 |
| → awer joined | 17:20 |
|
awer
| hi, new to git. I cant update changes to a 'dev' branch. i switched branches 'git checkpout dev' | 17:21 |
|
| then checked and looked good 'git branch -a' | 17:21 |
|
| then 'git add .' | 17:21 |
|
| 'git commit -m 'first commit' | 17:21 |
|
| and i get "On branch dev - Your branch is up to date with 'origin/dev' - nothing to commit, working tree clean ' | 17:22 |
|
cbreak
| awer: pastebin the result of !lol | 17:22 |
|
gitinfo
| awer: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 17:23 |
|
awer
| when ilook on git hub i dont see the files | 17:23 |
| → multiproc joined | 17:23 |
|
awer
| cbreak: just trying to learn bro... | 17:23 |
|
cbreak
| yes | 17:23 |
|
| and seeing the output of that will help me explain to you what is wrong | 17:24 |
|
| I can't mind read | 17:24 |
|
awer
| cbreak: please clairfy your message | 17:24 |
|
cbreak
| awer: pastebin the result of !lol | 17:24 |
|
gitinfo
| awer: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 17:24 |
|
cbreak
| that means you have to copy the command | 17:24 |
|
awer
| !lol | 17:24 |
|
cbreak
| that the bot gave you | 17:24 |
|
| git log --oneline --graph --decorate --all | 17:24 |
|
awer
| ah.. | 17:25 |
|
cbreak
| and paste it into a gist | 17:25 |
|
| or something similar | 17:25 |
|
| seeing git status helps too | 17:25 |
|
awer
| https://paste.ee/p/ykfDX | 17:26 |
|
| On branch dev | 17:27 |
|
cbreak
| it says indeed that your dev branch is in sync with origin/dev | 17:27 |
|
awer
| Your branch is up to date with 'origin/dev'. | 17:27 |
|
cbreak
| git remote -v will tell you where origin is | 17:27 |
|
| probably points at the repo on github you mentioned | 17:27 |
|
awer
| yes it does | 17:27 |
|
cbreak
| that's where your dev branch should be | 17:27 |
|
| git ls-remote origin should show that commit as being in dev | 17:28 |
| ← offby1 left | 17:28 |
|
awer
| it is there though | 17:28 |
|
cbreak
| e0c5546 | 17:28 |
| → natechan joined | 17:28 |
|
cbreak
| awer: here it is: https://github.com/sp00ks-git/hat/commit/e0c5546d89a05da5220937419440e4642a34a4f9 | 17:29 |
|
| you seem to work as root... don't do that :D | 17:29 |
| ← clime1 left | 17:29 |
|
cbreak
| anyway, the commit is there | 17:29 |
|
awer
| https://paste.ee/p/2AHua | 17:29 |
|
| this is where im wanting to see it - https://github.com/sp00ks-git/hat/tree/dev | 17:30 |
| → clime1 joined | 17:32 |
|
awer
| cbreak: sometimes i do sometimes nto depends what im doing | 17:36 |
|
| cbreak: so why does it not update there? | 17:37 |
|
cbreak
| did you push? | 17:41 |
|
awer
| yes | 17:42 |
|
| 'git push .' -> Everything up-to-date | 17:42 |
|
cbreak
| not . | 17:43 |
|
| just git push | 17:43 |
|
awer
| also tried with --all | 17:43 |
|
cbreak
| anyway, it says that branch is at the commit you want to | 17:43 |
|
| so it worked | 17:43 |
|
| and you have what you want | 17:43 |
|
awer
| i dont have what i want | 17:43 |
|
| i dont see it on the gui | 17:43 |
|
| thats the problem | 17:43 |
|
cbreak
| it is there | 17:43 |
|
| "Latest commit e0c5546 7 days ago " | 17:44 |
|
| that's what it says | 17:44 |
|
awer
| exactly | 17:44 |
|
| i updated 5 minutes ago | 17:44 |
|
| and have changes from 5 minutes ago | 17:44 |
|
cbreak
| the branch you want is from back then | 17:44 |
|
awer
| i want that branch that was last updated 7 days ago to be updated again now with my new changes | 17:45 |
|
cbreak
| it is already updated with everything on dev | 17:45 |
| → duderonomy joined | 17:45 |
|
cbreak
| if you made a commit recently | 17:45 |
|
| then it's not on dev | 17:45 |
|
| e0c5546d89a05da5220937419440e4642a34a4f9 is from last week | 17:45 |
|
| and that's what dev is on | 17:45 |
| ← agowa338 left | 17:46 |
| ← ExeciN left | 17:46 |
|
cbreak
| awer: take a look again at what you posted in your lol output | 17:46 |
|
| it shows that you made more commits after the commit on dev | 17:47 |
|
awer
| e0c5546 (HEAD -> dev, origin/dev) re-design | 17:47 |
|
cbreak
| yes. | 17:47 |
|
| re-design is from 7 days ago | 17:47 |
|
awer
| that was when i managed t get it to work last time | 17:47 |
| → rindolf joined | 17:47 |
|
cbreak
| that is the newest commit | 17:47 |
|
| you did not make any commits on dev since last week | 17:47 |
|
awer
| yes correct | 17:48 |
|
rindolf
| hi all, where can i find esr? | 17:48 |
|
cbreak
| so if you are looking for new commits, they should be on master | 17:48 |
|
_ikke_
| https://pkgs.alpinelinux.org/packages?name=esr&branch=edge ? | 17:48 |
|
| ugh | 17:48 |
|
| sorry | 17:48 |
|
j416
| rindolf: what is esr? | 17:48 |
|
awer
| but now, i have made changes on master and want them on dev | 17:48 |
|
| i guess thats the issue? | 17:48 |
|
cbreak
| you can merge them | 17:48 |
|
| it'll be fast-forward | 17:48 |
|
awer
| right | 17:48 |
|
cbreak
| git merge master | 17:48 |
|
rindolf
| j416: https://en.wikipedia.org/wiki/Eric_S._Raymond | 17:49 |
|
j416
| I see | 17:49 |
|
| hey, you found him. | 17:49 |
|
| gj | 17:49 |
|
rindolf
| j416: heh | 17:49 |
|
| j416++ | 17:49 |
|
j416
| \^^/ | 17:50 |
|
awer
| cbreak: thanks bro | 17:51 |
| → Mattiaslndstrm joined | 17:52 |
| ← thebope left | 17:52 |
| ← Brainium left | 17:56 |
| ← gareppa left | 17:59 |
| → ricks__ joined | 18:00 |
| ← thiago left | 18:01 |
| → nika joined | 18:01 |
| ← nika left | 18:01 |
| ← durham left | 18:02 |
| → durham joined | 18:02 |
| ← ricks_ left | 18:02 |
| ← staafl_r19 left | 18:11 |
| → oatmealraisin joined | 18:13 |
| ← Cabanossi left | 18:15 |
| → mischief joined | 18:16 |
| → Cabanossi joined | 18:19 |
| ← Heirlung left | 18:20 |
| ← CryptoDavid left | 18:23 |
| → Heirlung joined | 18:24 |
| ← natechan left | 18:26 |
| → orbyt_ joined | 18:26 |
| → fuzzface joined | 18:26 |
| ← fuzzface left | 18:40 |
| → akemhp joined | 18:43 |
| ← ricks__ left | 18:44 |
| → gareppa joined | 18:46 |
| ← gareppa left | 18:55 |
| → rustyshackleford joined | 19:00 |
| → magic_ninja_work joined | 19:08 |
| → Brainium joined | 19:09 |
| ← jelmer left | 19:10 |
| → akemhp_ joined | 19:13 |
| → nowhere_man joined | 19:14 |
| → jelmer joined | 19:14 |
| → natechan joined | 19:15 |
| ← akemhp left | 19:15 |
| ← waveclaw left | 19:19 |
| ← mrCyborg left | 19:21 |
| → akem__ joined | 19:21 |
| ← dijitol left | 19:23 |
| ← akemhp_ left | 19:24 |
| → ricks_ joined | 19:24 |
| → dijitol joined | 19:25 |
| → st-gourichon-fid joined | 19:30 |
| ← natechan left | 19:32 |
| → gloomy joined | 19:36 |
| ← bvdw left | 19:38 |
| → bvdw joined | 19:39 |
| → thiago joined | 19:39 |
| → waveclaw joined | 19:46 |
| ← clime1 left | 19:46 |
| ← kimamb left | 19:50 |
| ← jstimm left | 19:51 |
| → akemhp_ joined | 19:57 |
| ← Codaraxis_ left | 19:59 |
| → Codaraxis_ joined | 20:00 |
| ← akem__ left | 20:00 |
| ← gloomy left | 20:01 |
| → greatgatsby joined | 20:02 |
| ← multiproc left | 20:02 |
| → LimitlessGreen2 joined | 20:02 |
| ← LimitlessGreen left | 20:03 |
| → perrier-jouet joined | 20:05 |
| → MACscr joined | 20:07 |
| ← thiago left | 20:15 |
| → thiago joined | 20:15 |
| → de-vri-es joined | 20:15 |
| → feriman joined | 20:18 |
| → clime1 joined | 20:20 |
| → roadie joined | 20:21 |
| ← Codaraxis_ left | 20:27 |
| ← kreyren left | 20:27 |
| → Codaraxis_ joined | 20:27 |
| → crispydrone joined | 20:28 |
|
crispydrone
| Hi, can someone explain this behavior to me? | 20:29 |
|
| mkdir worktree | 20:29 |
|
| why does "git worktree list" list an incorrect worktree | 20:30 |
| ← theoceaniscool left | 20:30 |
| → kreyren joined | 20:30 |
|
orbyt_
| crispydrone You're creating a directory called "worktree"? | 20:34 |
|
| What are you expecting `git worktree list` to show? | 20:34 |
|
crispydrone
| i would expect it to show nothing, or to show worktree | 20:35 |
|
| And yeah, I create a directory called worktree | 20:35 |
|
orbyt_
| What is the output? | 20:35 |
|
crispydrone
| the exact output is `<path>/git_dir 0000000 [master] | 20:36 |
|
| where path is wherever i put `git_dir` | 20:36 |
|
orbyt_
| That output sounds normal | 20:38 |
|
crispydrone
| why? Consider the output of `git status` which then says it isn't a worktree. That seems confusing to me | 20:38 |
| → beastDivision joined | 20:39 |
| → KeyJoo joined | 20:40 |
| → thebope joined | 20:41 |
| ← beastDivision left | 20:42 |
|
orbyt_
| crispydrone What does `git status` say? | 20:44 |
|
crispydrone
| `fatal: this operation must be run in a work tree`, which is expected. The confusing thing to me is just that running `git worktree list` in the same location outputs the current directory | 20:45 |
| ← kreyren left | 20:48 |
| → kreyren joined | 20:48 |
| → staafl_r19 joined | 20:50 |
| ← freedom left | 20:51 |
| → Inline joined | 20:53 |
| ← gordonfish left | 20:53 |
| ← royal_screwup21 left | 20:55 |
| → leprechau joined | 20:55 |
| → cd joined | 20:59 |
| → bitwinery joined | 21:00 |
| ← BonusPlay left | 21:00 |
| → BonusPlay joined | 21:00 |
| → wildlander joined | 21:00 |
| ← bitwinery left | 21:02 |
| → bitwinery joined | 21:02 |
| ← m3pow left | 21:03 |
| ← khisanth_ left | 21:18 |
| ← crispydrone left | 21:20 |
| → SupaHam joined | 21:23 |
| ← clime1 left | 21:24 |
| ← enoq left | 21:25 |
| → g00s joined | 21:27 |
| ← greatgatsby left | 21:34 |
| ← thiago left | 21:37 |
| → khisanth_ joined | 21:43 |
| → kjartan_ joined | 21:44 |
| ← kjartan left | 21:45 |
| → thiago joined | 21:47 |
|
snappy
| note to self: don't name branches as filenames contained in a tree, makes it difficult to do a git checkout to the branch. | 21:51 |
|
BtbN
| That's why switch is a thing now. | 21:51 |
| ← Guest81850 left | 21:54 |
|
snappy
| ahh that's actually a good point. | 21:54 |
|
cbreak
| snappy: tip: -- | 21:54 |
|
snappy
| cbreak: so that's great if you want to specify a file instead of a branch, but not the other way around? | 21:55 |
|
cbreak
| git checkout x -- | 21:55 |
|
| git checkout -- x | 21:55 |
| → SuperL4g joined | 21:55 |
|
snappy
| ohhh i se | 21:55 |
|
| i see | 21:55 |
|
| got it. | 21:55 |
| → dviola joined | 21:55 |
|
snappy
| nice, i don't think i'll switch to switch, so just need to be on the right side of -- :) | 21:55 |
|
cbreak
| git checkout ./x | 21:55 |
|
| git checkout refs/heads/x | 21:55 |
|
snappy
| (or do i mean the left) | 21:55 |
| ← SuperLag left | 21:57 |
| ← feriman left | 21:57 |
| → SuperLag joined | 22:00 |
| ← SuperL4g left | 22:01 |
| ← thebope left | 22:02 |
| ← magic_ninja_work left | 22:14 |
| → macaronus joined | 22:28 |
| → LimitlessGreen26 joined | 22:29 |
| ← LimitlessGreen2 left | 22:30 |
| ← duderonomy left | 22:32 |
| → Newami joined | 22:33 |
| ← Newami left | 22:33 |
| → royal_screwup21 joined | 22:34 |
| ← royal_screwup21 left | 22:35 |
| → thomasross joined | 22:36 |
| → duderonomy joined | 22:36 |
| → thebope joined | 22:41 |
| ← gpanders left | 22:45 |
| → gpanders joined | 22:45 |
| → skered joined | 22:46 |
| ← rindolf left | 22:55 |
| ← dijitol left | 22:56 |
| ← cbreak left | 22:58 |
| → cbreak joined | 22:59 |
| ← thebope left | 23:03 |
| → Case_Of joined | 23:04 |
| → rafasc joined | 23:09 |
| ← dviola left | 23:20 |
| ← ricks_ left | 23:21 |
| → ricks_ joined | 23:22 |
| ← Wizek left | 23:27 |
| → bambanx joined | 23:29 |
| → thebope joined | 23:32 |
| → n3wborn joined | 23:32 |
| ← thebope left | 23:32 |
| → thebope joined | 23:33 |
| ← KeyJoo left | 23:42 |
| ← wildlander left | 23:43 |
| ← m0viefreak left | 23:48 |
| ← lucasb left | 23:48 |
| → Ignacy joined | 23:50 |
| ← Heirlung left | 23:51 |
|
skered
| This might bleed into more of an ssh question but is it possible to limit an ssh to a given git repo? I know you can apply ForceCommands to given ssh keys but don't know if that helps in this case. | 23:52 |
|
| I'd rather not create a new user for this. | 23:52 |
| → dviola joined | 23:53 |
|
Ignacy
| What do you mean by this skered? | 23:55 |
|
skered
| Sorry ssh-key. | 23:55 |
| → kleisli joined | 23:55 |
|
skered
| So you can access a git repo via ssh://. Can you control auth via ssh-keys. | 23:55 |
|
| I have a user where I'm using this and this user has multiple git repos behind their user account. | 23:56 |
|
Ignacy
| i'm not familiar enough with git | 23:56 |
|
| hmm | 23:56 |
|
| and you want to limit privilege of certain keys | 23:56 |
|
skered
| Yeah. | 23:56 |
|
rafasc
| Have you considered using gitolite? | 23:57 |
|
skered
| I just started reading about that. | 23:57 |
| → kleisli_ joined | 23:58 |
| ← ricks_ left | 23:59 |