| 2017-09-14 |
| ← himanshijain left | 00:00 |
| ← stutter left | 00:00 |
| ← menip left | 00:01 |
| → stutter joined | 00:02 |
| ← orbyt_ left | 00:02 |
| ← cagomez left | 00:05 |
| → cagomez joined | 00:06 |
| ← kerrick left | 00:06 |
| ← cbd_ left | 00:06 |
| → kerrick joined | 00:06 |
| → cbd_ joined | 00:06 |
| ← Cabanossi left | 00:09 |
| ← cagomez left | 00:10 |
| → chrisshattuck joined | 00:10 |
| → Cabanossi joined | 00:11 |
| ← cbd_ left | 00:11 |
| ← leeN left | 00:11 |
| → justanotheruser joined | 00:11 |
| → EricPoe joined | 00:14 |
| → bronson joined | 00:14 |
| ← lxnr left | 00:15 |
| ← sleepingforest left | 00:15 |
| ← kerrick left | 00:16 |
| ← xaa left | 00:17 |
| ← chrisshattuck left | 00:18 |
| → igemnace joined | 00:18 |
| → kerrick joined | 00:19 |
| ← bronson left | 00:20 |
| ← cdown left | 00:21 |
| → tangerinecandida joined | 00:24 |
|
tangerinecandida
| t | 00:24 |
| ← EvilPenguin left | 00:24 |
| ← m0viefreak left | 00:24 |
| ← vjacob left | 00:27 |
|
tangerinecandida
| I’m learning about git. The documentation is thorough & I appreciate that. I’ve a question, though, regarding best practice. If a project runs on a remote device and is being debugged remotely (Eclipse + PyDev). The source code’s copy that’s being executed therefore resides on the device, not on the computer that’s doing the editing/rewriting/etc. Would it make more sense to keep a copy of the repo on | 00:27 |
|
| the software designer’s computer and one on the device as well, and then synchronize them both with the repo on GitHub? … Or would it make more sense to have *one* pulled copy, keep it on the device, and edit it remotely on the designer’s computer? | 00:27 |
|
| I’m leaning towards keeping one copy on the device and then committing changes *from* the device to the GitHub repo… but I’m accustomed to committing from within the Eclipse development environment. That’s not a technical reason to keep doing it. It’s merely what I’m accustomed to doing. :) | 00:29 |
| ← multi_io left | 00:29 |
| → renarc joined | 00:31 |
| → manuelschneid3r joined | 00:32 |
| → vjacob joined | 00:33 |
|
rewt
| tangerinecandida, i'd look at having the repo locally, and pushing the code to the device to test/debug | 00:35 |
| ← justanotheruser left | 00:36 |
| ← adgtl left | 00:36 |
| → steeze joined | 00:38 |
| → lxnr joined | 00:41 |
| → edvb joined | 00:43 |
| ← durham left | 00:44 |
| → durham joined | 00:44 |
| ← durham left | 00:44 |
| → durham joined | 00:45 |
| ← durham left | 00:45 |
| → durham joined | 00:47 |
| ← durham left | 00:47 |
| → durham joined | 00:47 |
| ← ArcaTech left | 00:47 |
| ← durham left | 00:48 |
| → xaa joined | 00:49 |
| ← acidjnk left | 00:49 |
|
thiago
| tangerinecandida: first of all, I wouldn't put the source code on the device | 00:53 |
| ← jameser left | 00:53 |
|
thiago
| that's not efficient | 00:53 |
|
| use a remote debugger so that the source code resides on the developer's computer | 00:53 |
|
| but regardless, sincronising via GitHub is slow and inefficient too. Just synchronise locally. | 00:53 |
|
| I would also skip git and synchronise with rsync | 00:53 |
| ← svm_invictvs left | 00:55 |
| ← ahr3n left | 00:56 |
|
bitmod
| join ##javascript | 01:01 |
|
bremner
| no! | 01:02 |
|
| just kidding, I'm sure they're lovely people. | 01:03 |
| ← dsop left | 01:04 |
| → dsop joined | 01:04 |
| → cbd_ joined | 01:06 |
| → finalbeta joined | 01:06 |
| → mizu_no_oto joined | 01:07 |
| ← mikecmpbll left | 01:07 |
| → multi_io joined | 01:07 |
| → rchavik joined | 01:07 |
| → dsdeiz joined | 01:08 |
| ← dsdeiz left | 01:08 |
| → dsdeiz joined | 01:08 |
| ← Cabanossi left | 01:09 |
| ← d^sh left | 01:09 |
| → YuGiOhJCJ joined | 01:10 |
| ← cbd_ left | 01:11 |
| → Cabanossi joined | 01:11 |
| → bambs joined | 01:12 |
| ← dsdeiz left | 01:12 |
| → Nizumzen joined | 01:14 |
| → justanotheruser joined | 01:15 |
| ← leprechau left | 01:18 |
| ← fscala left | 01:20 |
| → cagomez joined | 01:21 |
| → leprechau joined | 01:21 |
| → EvilPenguin joined | 01:21 |
| → nd joined | 01:23 |
| ← kfoonamalik left | 01:24 |
| ← DIDAVISION left | 01:24 |
| ← nd- left | 01:25 |
| ← cagomez left | 01:25 |
| → DIDAVISION joined | 01:26 |
| ← Murr left | 01:28 |
| → Murr joined | 01:28 |
| → fscala joined | 01:29 |
| ← hash-z3r_ left | 01:29 |
| → dsdeiz joined | 01:29 |
| ← dsdeiz left | 01:29 |
| → dsdeiz joined | 01:29 |
| → czart__ joined | 01:30 |
| ← Solvaring left | 01:30 |
| ← sunri5e left | 01:31 |
| → Solvaring joined | 01:32 |
| ← CussBot left | 01:32 |
| → CussBot_ joined | 01:32 |
| CussBot_ → CussBot | 01:32 |
| ← czart_ left | 01:33 |
| ← dsdeiz left | 01:35 |
| ← chriys left | 01:35 |
| ← j08nY left | 01:35 |
| ← blackwell left | 01:35 |
| → sunri5e joined | 01:36 |
| → cagomez joined | 01:36 |
| → blackwell joined | 01:36 |
| ← michelangelo left | 01:36 |
| → Elon_Satoshi joined | 01:37 |
| → cdg joined | 01:37 |
| ← bambs left | 01:38 |
| → chrisshattuck joined | 01:38 |
| ← dirtyroshi__ left | 01:38 |
| ← duckydan left | 01:39 |
| → chriys joined | 01:39 |
| ← chriys left | 01:39 |
| → chriys joined | 01:39 |
| → pharma_joe joined | 01:39 |
| ← chriys left | 01:40 |
| → dirtyroshi joined | 01:42 |
| ← cdg left | 01:42 |
| → hash-z3r0 joined | 01:43 |
| → duckydan joined | 01:44 |
| ← ilbot3 left | 01:44 |
| ← mostlybadfly left | 01:46 |
| → cqi joined | 01:46 |
| → watabou joined | 01:47 |
| → jameser joined | 01:48 |
| ← Sasazuka left | 01:48 |
| → fstd_ joined | 01:49 |
| ← watabou_ left | 01:50 |
| ← hdqn left | 01:51 |
| → PresidentBiscuit joined | 01:52 |
| kadoban_ → kadoban | 01:52 |
| ← ResidentBiscuit left | 01:52 |
| PresidentBiscuit → ResidentBiscuit | 01:53 |
| → holodoc joined | 01:53 |
| → ForeignBiscuit joined | 01:53 |
| ← fstd left | 01:53 |
| fstd_ → fstd | 01:53 |
| ← thiago left | 01:53 |
| ← EvilPenguin left | 01:54 |
| → thiago joined | 01:54 |
| ← msonntag left | 01:54 |
| ← str left | 01:55 |
| ← tisquib left | 01:55 |
| → ilbot3 joined | 01:55 |
| → sleepingforest joined | 01:57 |
| ← holodoc left | 01:59 |
| → holodoc joined | 01:59 |
| ← pharma_joe left | 02:00 |
| ← chrisshattuck left | 02:01 |
| ← salamanderrake left | 02:01 |
| ← mizu_no_oto left | 02:04 |
| ← petersaints left | 02:04 |
| → pharma_joe joined | 02:05 |
| → msonntag joined | 02:06 |
| → cbd_ joined | 02:06 |
| → svm_invictvs joined | 02:07 |
| ← Cabanossi left | 02:08 |
| ← sleepingforest left | 02:09 |
| → dsdeiz joined | 02:10 |
| → Cabanossi joined | 02:10 |
| ← batrick left | 02:10 |
| ← cbd_ left | 02:11 |
| → menip joined | 02:12 |
| → petersaints joined | 02:13 |
| ← dviola left | 02:13 |
| ← pharma_joe left | 02:14 |
| ← cagedwisdom left | 02:15 |
| → bronson joined | 02:15 |
| → batrick joined | 02:19 |
| ← svm_invictvs left | 02:19 |
| ← YuGiOhJCJ left | 02:20 |
| ← Gustavo6046 left | 02:20 |
| ← Solvaring left | 02:20 |
| ← akushner___ left | 02:20 |
| ← bronson left | 02:20 |
| ← dsdeiz left | 02:20 |
| ← manuelschneid3r left | 02:21 |
| ← kerrick left | 02:21 |
| → justan0theruser joined | 02:23 |
| ← justan0theruser left | 02:23 |
| → justan0theruser joined | 02:23 |
| → Orbixx[m] joined | 02:24 |
| ← cagomez left | 02:25 |
| ← elsevero left | 02:25 |
| ← justanotheruser left | 02:26 |
| ← Gurkenglas left | 02:26 |
| → hanthings_ joined | 02:27 |
| → orbyt_ joined | 02:27 |
| linuxmodder → kn4fto | 02:27 |
| → cagedwisdom joined | 02:28 |
| → tunekey joined | 02:28 |
| ← Mattiaslndstrm left | 02:30 |
| ← hanthings left | 02:31 |
| → jstimm joined | 02:33 |
| → nandi_ge___ joined | 02:34 |
| ← traveler left | 02:34 |
| ← hanthings_ left | 02:37 |
| ← ResidentBiscuit left | 02:37 |
| → lxnr_ joined | 02:38 |
| ← Cabanossi left | 02:38 |
| ← misosoup left | 02:39 |
| ← dre_ left | 02:39 |
| → cdg joined | 02:40 |
| ← CussBot left | 02:40 |
| ← Jon31 left | 02:40 |
| → Cabanossi joined | 02:40 |
| → CussBot joined | 02:41 |
| ← lxnr left | 02:41 |
| → lagothrix joined | 02:41 |
| → chachasmooth joined | 02:41 |
| ← chachasmooth_ left | 02:42 |
| ← a3Dman left | 02:42 |
| → Vortex35 joined | 02:43 |
| ← lafleurdubien left | 02:43 |
| ← lagothri1 left | 02:44 |
| ← cdg left | 02:44 |
| ← Vortex34 left | 02:47 |
| → d^sh joined | 02:47 |
| ← menip left | 02:47 |
| → a3Dman joined | 02:50 |
| ← CubiK left | 02:50 |
| ← Plouescat left | 02:51 |
| → EvilPenguin joined | 02:51 |
| → Plouescat joined | 02:51 |
| → CubiK joined | 02:51 |
| ← Noldorin left | 02:53 |
| ← raijin left | 02:54 |
| → dre_ joined | 02:55 |
| ← pks left | 03:00 |
| → svm_invictvs joined | 03:03 |
| → pks joined | 03:04 |
|
tangerinecandida
| thiago: Thank you. | 03:07 |
| → cbd_ joined | 03:07 |
|
tangerinecandida
| thiago: That’s good advice. I appreciate your time and your insight. | 03:08 |
| ← tangerinecandida left | 03:12 |
| ← DIDAVISION left | 03:13 |
| ← igemnace left | 03:13 |
| → igemnace_ joined | 03:13 |
| ← Plouescat left | 03:15 |
| → kfoonamalik joined | 03:16 |
| ← pR0Ps left | 03:18 |
| → pharma_joe joined | 03:19 |
| → diqidoq_ joined | 03:20 |
| ← diqidoq_ left | 03:20 |
| ← tinanoo left | 03:21 |
| → pR0Ps joined | 03:23 |
| ← diqidoq left | 03:23 |
| ← stutter left | 03:23 |
| ← EvilPenguin left | 03:24 |
| → mizu_no_oto joined | 03:27 |
| ← Murr left | 03:28 |
| → Murr joined | 03:28 |
| ← orbyt_ left | 03:28 |
| → michelangelo joined | 03:33 |
| ← MACscr left | 03:34 |
| → bongo joined | 03:35 |
| → Joel joined | 03:36 |
|
Joel
| somewhat unrelated to git, github, is showing two committers, both are me, I only want to show one, any ideas where it's pul;ling the second user from? https://github.com/joelcontrastthrowaway/ops-hire-project/commit/03f9e667070fa6677c0fe582745a10f8f2d9f58a | 03:36 |
| ← Cabanossi left | 03:39 |
| → Cabanossi joined | 03:39 |
|
Joel
| git log 03f9e667070fa6677c0fe582745a10f8f2d9f58a -n1 --dense --full-diff --format='%ae %ce' [email@hidden.address] [email@hidden.address] | 03:39 |
|
| looks like I need to figure out how to change that | 03:39 |
| ← Nizumzen left | 03:40 |
| igemnace_ → igemnace | 03:44 |
| ← CubiK left | 03:44 |
| → akushner___ joined | 03:45 |
| ← hash-z3r0 left | 03:45 |
| ← lxnr_ left | 03:46 |
| → chrisshattuck joined | 03:46 |
|
Joel
| managed to work it out | 03:46 |
| ← akushner___ left | 03:46 |
| → hash-z3r0 joined | 03:46 |
| → Bock joined | 03:47 |
| → mkali joined | 03:50 |
| → zumba_addict joined | 03:51 |
| ← hash-z3r0 left | 03:51 |
|
zumba_addict
| i'm working on an application. I have commits. I also ran `npm version patch' which created a different commit as shown by git log. Can I combine these 2 commits into 1 before I push my feature-branch? | 03:52 |
| ← jimmyrcom_ left | 03:55 |
|
Joel
| zumba_addict git rebase -i HEAD~<number of commits to go back> | 03:55 |
|
zumba_addict
| right now, the last commit shown was done by `npm version patch`. It just updated the version number in package.json file. My commit was the one before it | 03:55 |
|
Joel
| I ttypically do something like git rebease -i HEAD~2 | 03:55 |
|
| then you have to squash them. | 03:55 |
|
zumba_addict
| ok. I haven't push this feature branch yet | 03:56 |
|
Joel
| this is a common thing. google can provide plenty of help | 03:56 |
| ← mizu_no_oto left | 03:56 |
|
zumba_addict
| yup, i'm reading this - https://stackoverflow.com/questions/12522565/how-can-i-combine-two-commits-into-one-commit | 03:56 |
| ← bitmod left | 03:57 |
| ← hahuang65 left | 03:57 |
| → BSaboia joined | 03:59 |
| ← pharma_joe left | 04:00 |
| ← EricPoe left | 04:02 |
| → xaxxon_ joined | 04:02 |
| ← xaxxon left | 04:02 |
|
zumba_addict
| it worked! Thanks :) | 04:04 |
|
| i need to do it often so it becomes part of my memory | 04:05 |
| ← cagedwisdom left | 04:07 |
| ← netj left | 04:08 |
| → netj joined | 04:08 |
| → cagedwisdom joined | 04:08 |
| ← Cabanossi left | 04:08 |
| → Cabanossi joined | 04:09 |
| → pharma_joe joined | 04:14 |
| ← pharma_joe left | 04:14 |
| ← kfoonamalik left | 04:15 |
| → pharma_joe joined | 04:15 |
| → bronson joined | 04:17 |
| → kfoonamalik joined | 04:18 |
| → EvilPenguin joined | 04:21 |
| ← bronson left | 04:21 |
| → jkadaver joined | 04:21 |
| ← Elon_Satoshi left | 04:24 |
| ← chrisshattuck left | 04:25 |
| → bayman joined | 04:25 |
| ← atomi_ left | 04:25 |
| → Elon_Satoshi joined | 04:26 |
| → jimmyrcom_ joined | 04:26 |
|
bayman
| I enabled pipelines in my bitbucket repo and it added a yml file to my source. i made some changes on my local source, exec git push and it says Updates were rejected because the remote contains work that you do not have locally. | 04:27 |
|
| what do i do? | 04:27 |
| → stutter joined | 04:28 |
|
igemnace
| just fetch the new yml file | 04:28 |
| ← stutter left | 04:28 |
|
igemnace
| if that was the only change from bitbucket, a git pull should handle it cleanly | 04:29 |
|
bayman
| ok just ran git fetch | 04:29 |
|
igemnace
| you did? check git log HEAD..@{u} | 04:29 |
| ← jkadaver left | 04:29 |
|
bayman
| Your branch and 'origin/master' have diverged, | 04:29 |
|
| and have 1 and 1 different commits each, respectively. | 04:29 |
|
| (use "git pull" to merge the remote branch into yours) | 04:29 |
| ← ForeignBiscuit left | 04:29 |
|
igemnace
| can git merge, can git rebase | 04:30 |
|
| doesn't really matter where it goes into history, since it's just a config file for your pipelines | 04:30 |
|
bayman
| git log HEAD ... -> bitbucket-pipelines.yml edited online with Bitbucket | 04:30 |
|
igemnace
| yup | 04:31 |
|
| run git merge to get that commit into your local master | 04:31 |
| → atomi joined | 04:31 |
|
bayman
| ok i think it's fixed | 04:32 |
|
| thanks | 04:33 |
| ← matoro_ left | 04:35 |
| → matoro joined | 04:36 |
| ← Cabanossi left | 04:37 |
| ← watabou left | 04:39 |
| → Cabanossi joined | 04:39 |
|
bayman
| i have another issue | 04:40 |
| ← steeze left | 04:40 |
| ← Guma left | 04:41 |
|
bayman
| i made some source code changes on a server that and now when i git pull from repo, it says Please, commit your changes or stash them before you can merge. | 04:41 |
| → lxnr_ joined | 04:42 |
|
bayman
| i don't care about the changes i made and i want the repo source to overwrite the changes, what should i do? | 04:42 |
|
igemnace
| that message hints at the solution: either git commit or git stash | 04:42 |
|
ti2
| A 'git reset --hard HEAD' throws away all local non-committed changes. | 04:43 |
|
bayman
| do i git stash then git reset -hard HEAD ? | 04:43 |
|
igemnace
| one of the two | 04:43 |
|
| git stash keeps it for later, git reset --hard HEAD discards it completely | 04:44 |
| → geoid joined | 04:45 |
|
bayman
| thanks | 04:45 |
| ← lxnr_ left | 04:46 |
| → rkta_ joined | 04:46 |
| ← abithvijayan[m] left | 04:47 |
| ← dikiaap left | 04:47 |
| ← cbd_ left | 04:48 |
| ← rcn left | 04:48 |
| ← Neic0 left | 04:49 |
| → Neico joined | 04:49 |
| → Nizumzen joined | 04:49 |
| ← atomi left | 04:49 |
| ← rkta left | 04:49 |
| rkta_ → rkta | 04:49 |
| → jkadaver joined | 04:51 |
| → abithvijayan[m] joined | 04:51 |
| → dikiaap joined | 04:51 |
| ← Nizumzen left | 04:52 |
| → Nizumzen joined | 04:52 |
| → rcn joined | 04:52 |
| → AnujSharma joined | 04:53 |
| ← jkadaver left | 04:54 |
| ← EvilPenguin left | 04:54 |
| ← _28_ria left | 04:55 |
| → cdg joined | 04:56 |
| ← rchavik left | 04:57 |
| → _28_ria joined | 04:57 |
| → atomi joined | 05:00 |
| ← cdg left | 05:00 |
| → _ng joined | 05:06 |
| ← doppo left | 05:06 |
| → cbd_ joined | 05:06 |
| ← xPucTu4 left | 05:06 |
| ← xkr47 left | 05:06 |
| ← boombatower left | 05:07 |
| → dec0n joined | 05:07 |
| → doppo joined | 05:07 |
| → boombatower joined | 05:07 |
| → xkr47 joined | 05:08 |
| ← Cabanossi left | 05:09 |
| → Cabanossi joined | 05:09 |
| ← cbd_ left | 05:11 |
| ← safe left | 05:11 |
| → atesc joined | 05:14 |
| → xPucTu4 joined | 05:14 |
| → czart_ joined | 05:14 |
| ← denimsoft left | 05:14 |
| → fatihgenc joined | 05:16 |
| ← pharma_joe left | 05:16 |
| → freimatz joined | 05:16 |
| ← boombatower left | 05:17 |
| → roygbiv joined | 05:17 |
| ← czart__ left | 05:18 |
| → imack joined | 05:18 |
| → rchavik joined | 05:18 |
| → cagomez joined | 05:21 |
| → ZyX-I joined | 05:21 |
| ← bayman left | 05:22 |
| → MrMojit0 joined | 05:23 |
| → boombatower joined | 05:23 |
| → thierryp joined | 05:24 |
| ← atesc left | 05:24 |
| → pharma_joe joined | 05:24 |
| ← boombatower left | 05:25 |
| ← cagomez left | 05:25 |
| → dreiss joined | 05:25 |
| ← ZyX-I left | 05:26 |
| ← dzho left | 05:26 |
| ← rkta left | 05:27 |
| ← armenb left | 05:27 |
| ← dsnow left | 05:27 |
| → armenb joined | 05:27 |
| ← Oatmeal left | 05:27 |
| ← Puffball left | 05:27 |
| ← shakalaka_ left | 05:27 |
| ← vdl left | 05:27 |
| ← samlisl_ left | 05:27 |
| → Puffball joined | 05:28 |
| → dzho joined | 05:28 |
| → dsnow joined | 05:28 |
| → tsunamie joined | 05:28 |
| → jkadaver joined | 05:28 |
| → shakalaka joined | 05:28 |
| → vdl joined | 05:29 |
| → durham joined | 05:29 |
| ← AnujSharma left | 05:29 |
| → howdoi joined | 05:29 |
| ← geoid left | 05:30 |
| ← thierryp left | 05:30 |
| → jkadaver_ joined | 05:31 |
| → ljc joined | 05:31 |
| ← jkadaver left | 05:33 |
| → thierryp joined | 05:35 |
| ← jkadaver_ left | 05:35 |
|
parsnip
| hmm, after i git submodule add mathjax --depth 1, make starts running at 99% CPU | 05:39 |
| ← thierryp left | 05:39 |
|
parsnip
| hmm, it's ruby fsevent_watch | 05:40 |
| → lss8_ joined | 05:40 |
|
parsnip
| oh, it's the `jekyll serve` i left running | 05:41 |
| → roelmonnens joined | 05:42 |
| → lxnr_ joined | 05:43 |
| ← lss8 left | 05:43 |
| ← madewokherd left | 05:44 |
| → zefferno joined | 05:45 |
| ← roelmonnens left | 05:47 |
| ← lxnr_ left | 05:47 |
| ← _28_ria left | 05:48 |
| → Raging_Hog joined | 05:49 |
| ← freimatz left | 05:49 |
| → freimatz joined | 05:49 |
| ← Kavothe left | 05:50 |
| → thierryp joined | 05:51 |
| → EvilPenguin joined | 05:51 |
| → _28_ria joined | 05:51 |
| → atesc joined | 05:53 |
| ← thierryp left | 05:55 |
| → dege joined | 05:56 |
| → Kavothe joined | 05:56 |
| → qwedfg joined | 05:58 |
| → JeroenT joined | 05:58 |
| → MACscr joined | 05:58 |
| ← _ng left | 05:58 |
| → _ng joined | 05:59 |
| → Oatmeal joined | 05:59 |
| → neil_cn joined | 05:59 |
| ← roygbiv left | 05:59 |
| ← thiago left | 06:01 |
| ← JeroenT left | 06:02 |
| → JeroenT joined | 06:02 |
| → thierryp joined | 06:03 |
| ← imack left | 06:04 |
| ← guardian left | 06:04 |
| → imack joined | 06:05 |
| → cdown joined | 06:05 |
| → cbd_ joined | 06:06 |
| → high_fiver joined | 06:07 |
| ← JeroenT left | 06:07 |
| → govg joined | 06:07 |
| → tarkus joined | 06:07 |
| ← pharma_joe left | 06:09 |
| ← thierryp left | 06:10 |
| ← cbd_ left | 06:10 |
| → ppang joined | 06:10 |
| → LeBlaaanc joined | 06:11 |
| ← bongo left | 06:11 |
| ← Raging_Hog left | 06:12 |
| → ronskisika joined | 06:12 |
| → JeroenT joined | 06:14 |
| ← ExeciN left | 06:14 |
| ← Bock left | 06:14 |
| → pharma_joe joined | 06:17 |
| ← TomyLobo left | 06:17 |
| → bronson joined | 06:18 |
| ← edvb left | 06:18 |
|
osse
| When I run git fsck I see a lot of "danglnig tag", but when I run cat-file -t on them a bunch of them are blobs, trees and commits. How is that possible? | 06:19 |
| ← ShalokShalom left | 06:20 |
| ← \drew left | 06:20 |
| → roelmonnens joined | 06:22 |
| ← bronson left | 06:22 |
| ← ljc left | 06:23 |
| ← tarkus left | 06:24 |
| → bayman joined | 06:24 |
| → horpoppy[m] joined | 06:24 |
| ← EvilPenguin left | 06:24 |
| ← ash_workz left | 06:26 |
| → thierryp joined | 06:27 |
| ← svm_invictvs left | 06:29 |
| → ash_workz joined | 06:30 |
|
parsnip
| because git fsck sees all objects, and those are all objects? | 06:31 |
| ← thierryp left | 06:31 |
|
parsnip
| "Verifies the connectivity and validity of the objects in the database." | 06:31 |
| → jknetl joined | 06:31 |
| → overlord_tm joined | 06:32 |
|
osse
| But why does it think a commit is a tag ? | 06:33 |
|
parsnip
| what are you seeing? | 06:34 |
|
| strange, i don't think a tag is an object, so i'm wondering how to interpret the manual | 06:35 |
| ← MrMojit0 left | 06:35 |
|
parsnip
| i guess git fsck can additionally show tags, but i think that's a ref not an object, and not a commit. | 06:36 |
| → \drew joined | 06:37 |
| ← Nizumzen left | 06:37 |
| ← atesc left | 06:38 |
| ← dreiss left | 06:39 |
| → tkore joined | 06:39 |
| ← tkore left | 06:39 |
| → tkore joined | 06:39 |
| → abba joined | 06:40 |
| → AnujSharma joined | 06:40 |
| → Solvaring joined | 06:40 |
| → navidr joined | 06:43 |
| → lxnr_ joined | 06:43 |
| → Bock joined | 06:44 |
|
osse
| There is an object type called tag. One issue created when you do git tag -a | 06:44 |
|
| s/issue/is/ | 06:44 |
| ← Solvaring left | 06:44 |
| ← _28_ria left | 06:46 |
| ← bayman left | 06:47 |
| ← lxnr_ left | 06:48 |
| → jsears joined | 06:50 |
| ← cdown left | 06:50 |
| ← pharma_joe left | 06:51 |
| ← \drew left | 06:51 |
| → Commander_Cody joined | 06:51 |
|
parsnip
| ah, tags are objects | 06:52 |
| → ShalokShalom joined | 06:52 |
|
Commander_Cody
| Upon request, I'd like to create one patch file via `git format-patch` with several commits squashed, not losing their commit messages. | 06:52 |
| → cdown joined | 06:52 |
|
Commander_Cody
| How can I accomplish this without soiling my commit history by *actually* squashing all those commits? I just want a patch file that looks as though I did that. | 06:53 |
|
parsnip
| you could make a new branch ref, check that out, and squash that | 06:54 |
|
| that will leave the old branch ref still pointing at original commit, and thus the sequence. | 06:54 |
| ← Ratler left | 06:55 |
| ← Thunderfunk left | 06:56 |
| → Ratler joined | 06:56 |
| → _28_ria joined | 06:56 |
|
parsnip
| osse: okay, but why do you say "23:33 <osse> But why does it think a commit is a tag ?", care to share? | 06:57 |
| → Thunderfunk joined | 06:58 |
| ← durham left | 06:58 |
| ← Soni left | 07:01 |
|
parsnip
| osse: this might be interesting to you at the moment http://eagain.net/articles/git-for-computer-scientists/ | 07:01 |
|
| they do say tags are a "node", i'm not sure wht | 07:01 |
|
| *why | 07:01 |
| → TomyWork joined | 07:01 |
| ← foodSurprise left | 07:02 |
|
parsnip
| maybe in the sense that fsck sees them as objects? | 07:02 |
| ← cdown left | 07:02 |
| ← kfoonamalik left | 07:03 |
| → Soni joined | 07:03 |
| → cbd_ joined | 07:06 |
|
Commander_Cody
| parsnip: Your suggestion worked fine, thanks. | 07:06 |
| ← jimmyrcom_ left | 07:06 |
| → luc4 joined | 07:07 |
| ← Cabanossi left | 07:07 |
|
parsnip
| Commander_Cody: nice, i thought of it, wasn't sure if it was the right approach, but googling suggested it was the popular approach. | 07:07 |
| → wandering_vagran joined | 07:09 |
| → Cabanossi joined | 07:09 |
| ← cbd_ left | 07:10 |
| → juniper joined | 07:12 |
|
jast
| tags are two things, kind of. generally, a tag *name* is a ref (like a branch name). the ref can point directly to a commit (which makes it a non-annotated tag) or a tag *object* (which points to another object, usually a commit) and has some metadata. tags involving tag objects are called annotated tags. | 07:12 |
|
| 'node' is not official terminology | 07:12 |
| juniper → Guest14827 | 07:12 |
| → Tobbi joined | 07:13 |
| ← Commander_Cody left | 07:14 |
| → EvilPenguin joined | 07:14 |
|
parsnip
| it's as if he thought the hashed part of a tag was more like a commit object than a tree object is. | 07:14 |
|
| perhaps if we assume he was narrowing his focus to commits and refs, than sure. | 07:15 |
|
| which is not an impractical thing to do. | 07:15 |
| → Commander_Cody joined | 07:15 |
|
parsnip
| oh, can non-annotated tags and annotated tags be moved to other commits, say upon rebasing for example? | 07:16 |
| → rscata joined | 07:16 |
| ← Guest14827 left | 07:16 |
| → dsdeiz joined | 07:17 |
| → iambiglooser2022 joined | 07:17 |
|
jast
| tags are never changed automatically | 07:17 |
|
| filter-branch has an option to rewrite tags... rebase doesn't | 07:18 |
| ← iambiglooser2022 left | 07:18 |
| ← qwedfg left | 07:18 |
|
jast
| osse: are there any replaced objects? that's the only potentially relevant thing I can see in the code at a glance | 07:18 |
|
parsnip
| if annotated tags are hashed, than you can't move them, perhaps that's what the author was getting at. | 07:18 |
| ← EvilPenguin left | 07:18 |
|
jast
| not sure what you mean by 'hashed' | 07:19 |
|
parsnip
| oh, like how commits, trees and blobs are hashed | 07:19 |
|
jast
| tag objects are content-addressed like all other objects, so if you change where a tag object points to, the tag's SHA1 changes, too | 07:19 |
| → iambiglooser2022 joined | 07:19 |
| → theoceaniscool joined | 07:19 |
| → valhalla_22 joined | 07:20 |
| ← valhalla_22 left | 07:20 |
| → valhalla_22 joined | 07:20 |
| ← dsdeiz left | 07:21 |
|
valhalla_22
| I was updating local dev branch with respect to master but i found i cam across some glitch , which is stopping the updation of branch , I want to understand why this is happening and how can i resolve it . here is the paste | 07:21 |
|
| https://paste.pound-python.org/show/1KtDReOUZElstPZA1tMf/ | 07:21 |
| → jceb joined | 07:22 |
| ← Commander_Cody left | 07:22 |
|
parsnip
| valhalla_22: open those files in your text editor, they will have some funny lines indicating where the merge conflic occurred. | 07:25 |
|
valhalla_22
| yeah | 07:25 |
| ← overlord_tm left | 07:25 |
|
valhalla_22
| they had | 07:25 |
|
parsnip
| valhalla_22: do you know what happens after that? | 07:26 |
| → overlord_tm joined | 07:26 |
| → dka joined | 07:26 |
|
valhalla_22
| not exactly but some has to be removed and some has to be left | 07:26 |
| → cagomez joined | 07:26 |
| ← Murr left | 07:28 |
| → Murr joined | 07:28 |
| → ExeciN joined | 07:29 |
|
parsnip
| valhalla_22: you consider the merge conflict, that is, each branch has two stories on what should be there. the merge needs a decision. | 07:31 |
| ← cagomez left | 07:31 |
|
valhalla_22
| hmm i want to forgo the local one | 07:31 |
|
parsnip
| valhalla_22: once you edit those lines to indicate the new end result, you remove the special markup. | 07:31 |
|
valhalla_22
| i just want to get updated with master one , | 07:32 |
|
parsnip
| ah, you could probably reset. | 07:32 |
|
valhalla_22
| how | 07:32 |
|
parsnip
| hmm | 07:32 |
|
| um, checkout your local branch | 07:33 |
|
valhalla_22
| ok done | 07:33 |
|
parsnip
| then `git reset origin/<branch>` | 07:33 |
|
valhalla_22
| what will this do | 07:33 |
|
parsnip
| valhalla_22: you might be curious what reset does. | 07:33 |
|
| :) | 07:33 |
|
valhalla_22
| no | 07:33 |
|
parsnip
| ? | 07:34 |
|
valhalla_22
| it reset the pointer to HEAD | 07:34 |
|
parsnip
| you're telling me? or asking me? | 07:34 |
|
valhalla_22
| i have used this a lot git reset --hard | 07:34 |
|
| but never used git reset origin/master | 07:34 |
|
parsnip
| valhalla_22: lets focus on `git reset --soft`, it's easier to explain this way. | 07:34 |
|
valhalla_22
| ok | 07:35 |
|
parsnip
| the sequence is `--soft, --mixed, --hard` | 07:35 |
|
| the default is --mixed | 07:35 |
|
valhalla_22
| hmm so this is the philosphy | 07:35 |
|
| ok | 07:35 |
|
| i get it | 07:35 |
|
parsnip
| they all do what --soft does, plus a little more | 07:35 |
|
| so the real idea is in --soft | 07:35 |
|
| `git reset --soft` moves a branch ref. | 07:36 |
|
| that is, it moves the branch ref that you are checked out on. | 07:36 |
|
| so if you are checked out on local branch, it will move that ref. | 07:36 |
|
| valhalla_22: does that make sense, then i say what --mixed and --hard do in addition? | 07:37 |
|
valhalla_22
| hmm little bit | 07:37 |
|
parsnip
| so if you don't pass it another commit as an argument, the ref doesn't actually move. | 07:37 |
|
| so, now on to --mixed and --hard | 07:38 |
|
valhalla_22
| k | 07:38 |
|
parsnip
| --mixed overwrites the index with whatever is in the commit we are at now | 07:39 |
|
| --hard additionally overwrites the working directory. | 07:39 |
|
valhalla_22
| oops but for my perscpectve ,git reset --hard works fine , is that ok with it . | 07:40 |
|
parsnip
| valhalla_22: you could, no harm in it i think | 07:40 |
|
| valhalla_22: you could always git stash if you're nervous | 07:40 |
| → sarri joined | 07:41 |
| ← sarri left | 07:41 |
| → sarri joined | 07:41 |
|
parsnip
| git stash just puts current status of working directory and index into a special kind of commit in a special "stash" storage. | 07:41 |
|
| !lol | 07:41 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 07:41 |
|
valhalla_22
| yeah , parsnip that sound great but how to overcome my problem | 07:41 |
|
parsnip
| valhalla_22: do you know git pull is really just git fetch and git merge? | 07:42 |
|
valhalla_22
| yes | 07:42 |
|
| it fectes and do the merge | 07:42 |
| → Noodlewitt joined | 07:42 |
|
parsnip
| okay, so git fetch is done, and you had problem at git merge | 07:42 |
|
valhalla_22
| yeah | 07:42 |
|
parsnip
| i think you can undo the partial merge by doing `git reset --hard` on your local branch | 07:43 |
|
| i think that's still not quite what you want, but it won't hurt anything | 07:43 |
|
valhalla_22
| i did | 07:43 |
|
parsnip
| `git reset --hard origin/<branch>`, no? | 07:43 |
|
| that will move the local ref | 07:44 |
|
valhalla_22
| git reset --hard commithash | 07:44 |
|
parsnip
| `git reset --hard origin/commithash`, no? | 07:44 |
|
valhalla_22
| till here i had beautiful memory | 07:44 |
|
| after that things got messy | 07:44 |
|
parsnip
| i don't understand that. | 07:44 |
| → lxnr_ joined | 07:45 |
|
valhalla_22
| git reset --hard 0553ac2 | 07:45 |
|
parsnip
| i'm lost | 07:45 |
|
valhalla_22
| why | 07:46 |
| → ahr3n joined | 07:46 |
|
valhalla_22
| its just additional git reset -hard with specific cmmit number | 07:46 |
|
| parsnip: i think you told me solution but i have fear to implement it | 07:46 |
|
parsnip
| :) | 07:46 |
|
| valhalla_22: i have an idea | 07:47 |
|
valhalla_22
| git reset --hard origin/dev_branch what it will do | 07:47 |
| ← Tobbi left | 07:47 |
|
igemnace
| what was the original problem again? wasn't it just a merge conflict? | 07:49 |
| ← lxnr_ left | 07:49 |
|
parsnip
| valhalla_22: it will move the branch ref | 07:49 |
|
| valhalla_22: if you replace --hard with --soft, that's _all_ it will do. | 07:50 |
|
valhalla_22
| i wont be loosing any code | 07:50 |
|
| na | 07:50 |
|
| i can loose this one but not 6 mnths back | 07:50 |
|
| one | 07:50 |
|
parsnip
| valhalla_22: here's an idea to make possible issues less difficult: | 07:51 |
|
valhalla_22
| ok | 07:51 |
| ← ahr3n left | 07:51 |
|
parsnip
| valhalla_22: create a temporary branch name for where local branch ref is now. | 07:51 |
|
valhalla_22
| ok | 07:51 |
| ← Thunderfunk left | 07:51 |
|
parsnip
| valhalla_22: that way, when you move your local branch ref to remote branch HEAD, you can still see full commit graph easily with `git lol`. | 07:52 |
| → Tobbi joined | 07:52 |
|
valhalla_22
| ok | 07:52 |
| ← aFeijo left | 07:52 |
|
parsnip
| you can _see_ what happened, and know if you're comfortable with removing the temporary branch name. | 07:52 |
|
valhalla_22
| tnks but i have got the idea | 07:53 |
| ← theoceaniscool left | 07:53 |
|
valhalla_22
| git is all about trees and branch | 07:53 |
|
| so i want to do this | 07:53 |
| ← high_fiver left | 07:54 |
| → Thunderfunk joined | 07:55 |
|
parsnip
| valhalla_22: yeah, to me, most of my thinking is based on the commit graph, and refs, and how commits aren't really deleted (at least not immediately), you can find them if you move a branch ref. if a commit isn't pointed to by ref or a descendant that has a ref, it won't appear in git log, but you can still find it other ways. | 07:59 |
| ← xaxxon_ left | 07:59 |
|
parsnip
| refs move around, but commits don't really. | 08:00 |
|
| the diffs sort of do. | 08:00 |
|
valhalla_22
| ok | 08:00 |
|
parsnip
| :) | 08:00 |
| → EvilDMP joined | 08:00 |
|
valhalla_22
| i am newbie to git | 08:00 |
|
| i went to tour on himalya for 3 months | 08:00 |
| → noyb joined | 08:00 |
|
valhalla_22
| so i forgot many things :-( | 08:00 |
| ← Thunderfunk left | 08:01 |
| → mostlybadfly joined | 08:01 |
| → Thunderfunk joined | 08:02 |
| → pinux joined | 08:02 |
|
EvilDMP
| Is there some way to break apart a commit into two commits? I submitted a PR containing some new material and some refactoring, and I have been asked to submit this as two commits for easier reviewing. | 08:02 |
|
selckin
| rebase -i & edit, or git reset HEAD^, to remove the commit and then you can git add -p parts | 08:03 |
|
jast
| EvilDMP: so I'm guessing it's the topmost commit on that branch? | 08:03 |
|
EvilDMP
| jast: yes | 08:03 |
| → King_Hual joined | 08:03 |
|
EvilDMP
| git add -p is new to me, I will investigate | 08:04 |
|
jast
| yeah, I'd go with 'git reset HEAD^' and stage the two sets of changes separately with add -p | 08:04 |
|
EvilDMP
| Thanks jast selckin! | 08:04 |
|
jast
| add -p is one of the features I use pretty much every day :) | 08:04 |
|
| I actually use 'git commit -p' most of the time but it amounts to the same thing | 08:05 |
| ← ppang left | 08:06 |
|
osse
| jast: yes, I made some replacements. that could be it | 08:07 |
|
| manually stitching together something resembling a history from zip archives \o/ | 08:07 |
| → Solvaring joined | 08:08 |
| ← ertes left | 08:08 |
|
jast
| the type output does honour replace, the object name being output is the original | 08:08 |
| → acidjnk joined | 08:10 |
| → CheckDavid joined | 08:10 |
| ← valhalla_22 left | 08:10 |
| ← LeBlaaanc left | 08:13 |
| → Murii joined | 08:13 |
| ← jameser left | 08:14 |
| → jameser_ joined | 08:14 |
| ← Murii left | 08:14 |
| → Murii joined | 08:15 |
| → EvilPenguin joined | 08:15 |
| → LeBlaaanc joined | 08:15 |
| ← fatalhalt left | 08:17 |
| → lxnr_ joined | 08:17 |
| → bronson joined | 08:19 |
| ← Murii left | 08:19 |
| → Nizumzen joined | 08:19 |
| ← lxnr_ left | 08:21 |
| → fatalhalt joined | 08:22 |
| ← Cabanossi left | 08:22 |
| ← jnewt left | 08:24 |
| ← bronson left | 08:24 |
| → Cabanossi joined | 08:25 |
| ← frsk left | 08:25 |
| ← Tobbi left | 08:26 |
| → schleppel joined | 08:27 |
| ← Noodlewitt left | 08:27 |
| → Tobbi joined | 08:28 |
| → frsk joined | 08:29 |
| → Borg- joined | 08:31 |
| gitinfo set mode: +v | 08:31 |
| ← noyb left | 08:32 |
| → ertes-w joined | 08:33 |
| ← _ADN_ left | 08:34 |
| ← vjacob left | 08:37 |
| → dimi1947 joined | 08:41 |
| ← gusnan left | 08:41 |
| ← diogenese left | 08:42 |
| → jlebrech joined | 08:43 |
|
jlebrech
| morning all | 08:43 |
| ← mkali left | 08:43 |
|
jlebrech
| can I ignore my dist/ folder for every user except for the CI server? | 08:43 |
| → diogenese joined | 08:44 |
|
kadoban
| jlebrech: What would that mean? | 08:45 |
|
| In git, ignore rules only have any effect on untracked content | 08:45 |
|
jlebrech
| https://help.github.com/articles/ignoring-files/ like the 3rd section | 08:45 |
|
kadoban
| That is a place you can put rules, in .git/info/exclude, but unless I'm misunderstanding the question, I'm having a hard time imagining how it'll be useful? | 08:46 |
|
jlebrech
| we seem to be generating slightly different compiled files, because we have windows and mac. and it should just look the same. and only want the CI server to compile the dist folder | 08:47 |
|
| we're always getting merge conflict for nothing | 08:47 |
| → vjacob joined | 08:48 |
| ← EvilPenguin left | 08:48 |
| → pbandark joined | 08:49 |
| → _ADN_ joined | 08:49 |
|
jlebrech
| I want devs to have that folder ignored, but it to be generate by CI. but it don't think it's an issue actually, I could configure CI to compile and scp, so from the CI end it won't be using git | 08:50 |
| → thierryp joined | 08:50 |
| ← fatihgenc left | 08:50 |
| ← thierryp left | 08:51 |
| → thierryp_ joined | 08:51 |
|
igemnace
| jlebrech: you *will* have to do that | 08:51 |
|
kadoban
| You usually shouldn't be tracking generated files, so any way you can avoid that would be good. | 08:52 |
|
igemnace
| jsyk you can actually just git add --force anything regardless of .gitignore | 08:52 |
|
jlebrech
| oh, alright. seemed like a sound plan | 08:52 |
|
igemnace
| but once you track the thing, changes will be tracked regardless of .gitignore | 08:52 |
|
kadoban
| For pretty much the reason you're seeing, merges get weird and it'll get randomly out of sync from the codebase and etc. | 08:53 |
|
jlebrech
| so should I remove dist first? | 08:53 |
| → fatihgenc joined | 08:53 |
| ← iambiglooser2022 left | 08:54 |
|
igemnace
| well, yeah. much easier for everyone to just remove dist from the repo and ignore it moving forward | 08:54 |
|
jlebrech
| ah yeah | 08:55 |
| ← fatihgenc left | 08:55 |
|
igemnace
| have the CI server deploy dist/ not using git, because it'll ruin the idea of ignoring it | 08:55 |
| ← dre_ left | 08:55 |
|
jlebrech
| haha of course, I remembered at the last minute git isn't use to deploy :D | 08:56 |
| → cdg joined | 08:56 |
| → FilipNortic joined | 08:56 |
| → dre_ joined | 08:57 |
| → tvw joined | 08:57 |
| → fatihgenc joined | 08:57 |
| ← _ADN_ left | 08:59 |
| → qwedfg joined | 08:59 |
| ← Kavothe left | 09:00 |
| ← cdg left | 09:01 |
| → cstratak joined | 09:01 |
| ← venmx_ left | 09:02 |
| ← venmx left | 09:02 |
| → venmx joined | 09:02 |
| → venmx_ joined | 09:02 |
| ← dave0x6d left | 09:03 |
| → cy1 joined | 09:06 |
| → Chuguniy joined | 09:06 |
| → Kavothe joined | 09:06 |
| ← JeroenT left | 09:07 |
| ← Cabanossi left | 09:09 |
| → Cabanossi joined | 09:10 |
| ← venmx_ left | 09:10 |
| ← venmx left | 09:10 |
| ← AnujSharma left | 09:10 |
| → gxt joined | 09:11 |
| → chll_ joined | 09:11 |
| ← imack left | 09:11 |
| → achadwick joined | 09:12 |
| → _ADN_ joined | 09:12 |
|
cy1
| I go "git log -p" and it skips showing some patches. Like when I do "git show SHA" it shows a patch (a bad merge commit of a bad merge commit), but when I do "git log -p" and go to that SHA, it says no files modified, no patch... | 09:13 |
| → venmx joined | 09:15 |
| → venmx_ joined | 09:15 |
|
jast
| cy1: as briefly mentioned in the manpage, 'git show' defaults to using --cc which affects how merge commits are displayed. by default (with -p which doesn't automatically imply -c or --cc), merges don't display a diff. | 09:15 |
|
cy1
| Oh, I thought --cc was more terse, though? | 09:16 |
|
| Am I getting that backwards? | 09:16 |
|
osse
| jast: goddammit | 09:16 |
|
| git fsck | awk '$2 = "tag" {print $3}' | 09:17 |
|
| git fsck | awk '$2 == "tag" {print $3}' | 09:17 |
|
| (also parsnip) | 09:17 |
| → dsdeiz joined | 09:17 |
|
jast
| hah | 09:17 |
| → lxnr_ joined | 09:18 |
|
cy1
| well, adding --cc seems to show the patches in git log. Thank you! | 09:18 |
| ← cagedwisdom left | 09:18 |
|
jast
| cy1: terser than -c, not terser than the default (nothing) :) | 09:18 |
| → wxg joined | 09:19 |
| → ahr3n joined | 09:21 |
| ← dsdeiz left | 09:22 |
| → hanthings_ joined | 09:22 |
| → JeroenT joined | 09:22 |
| ← dimi1947 left | 09:22 |
| ← lxnr_ left | 09:22 |
| → lxnr_ joined | 09:25 |
| ← nandi_ge___ left | 09:25 |
| → imack joined | 09:25 |
| ← lxnr_ left | 09:25 |
| ← Murr left | 09:28 |
| ← belmoussaoui_ left | 09:28 |
| → Murr joined | 09:28 |
| → kurkale6ka joined | 09:29 |
| → gusnan joined | 09:29 |
| ← gusnan left | 09:29 |
| → gusnan joined | 09:29 |
| → bergice_ joined | 09:30 |
| → belmoussaoui_ joined | 09:31 |
| → freimatz3 joined | 09:32 |
| → czart__ joined | 09:32 |
| ← venmx_ left | 09:32 |
| → magicturtle joined | 09:33 |
| ← venmx left | 09:33 |
| → mkali joined | 09:34 |
| → Floflobel joined | 09:35 |
| ← freimatz left | 09:35 |
| ← czart_ left | 09:36 |
| → cagedwisdom joined | 09:36 |
| ← kurkale6ka left | 09:39 |
| ← wxg left | 09:41 |
| → kurkale6ka joined | 09:41 |
| ← energizer left | 09:42 |
| → cagomez joined | 09:42 |
| → freimatz joined | 09:43 |
| → AnujSharma joined | 09:43 |
| → ArcaTech joined | 09:44 |
| ← freimatz3 left | 09:44 |
| → EvilPenguin joined | 09:45 |
| ← [worksti] left | 09:46 |
| ← vjacob left | 09:46 |
| ← cagomez left | 09:46 |
| → wxg joined | 09:47 |
| ← igemnace left | 09:47 |
| ← enkrypt_ left | 09:48 |
| → enkrypt joined | 09:48 |
| → hash-z3r0 joined | 09:49 |
| ← Tobbi left | 09:49 |
| ← wxg left | 09:50 |
| ← rchavik left | 09:51 |
| ← Oatmeal left | 09:52 |
| → freimatz3 joined | 09:52 |
| ← freimatz left | 09:54 |
| ← cstratak left | 09:56 |
| → cagomez joined | 09:58 |
| ← cqi left | 10:00 |
| ← Nizumzen left | 10:01 |
| ← cagomez left | 10:02 |
| → cstratak joined | 10:04 |
| ← JeroenT left | 10:04 |
| → bybb joined | 10:05 |
|
Richard_Cavell
| Hello all. I have a git repo. I see that I can get a commit ID from git log. I want to see all the changes made to a file between one commit and another commit. How do I do that? | 10:06 |
|
jast
| git diff commit1 commit2 -- file | 10:06 |
|
Richard_Cavell
| And in git log where it says "commit d462e84181c534d73658b367f872628f7dc36994 | 10:07 |
|
| " is that the string that I'm looking for? | 10:07 |
|
jast
| or as separate diffs for each commit in the range: git log -p commit1..commit2 -- file | 10:07 |
|
| that's the commit ID, yes. you can often shorten it to a few characters (e.g. d462e) and get the same result | 10:08 |
|
| depends on how big your repo is, a prefix of eight characters will work virtually all the time and 4-5 characters are typically fine for smaller repos | 10:08 |
| → rchavik joined | 10:08 |
| → manuelschneid3r joined | 10:12 |
| pinux → ppang | 10:14 |
| → mentazoom joined | 10:15 |
| ← sarri left | 10:16 |
| ← EvilPenguin left | 10:18 |
| → someone235 joined | 10:19 |
| → sarri joined | 10:19 |
| ← sarri left | 10:19 |
| → sarri joined | 10:19 |
| → bronson joined | 10:20 |
| ← enkrypt left | 10:20 |
|
someone235
| Hi, I did a "git clone [email@hidden.address] but I want to switch to branch 0.10. I did "git branch -a", but I can't see it, although it appears in the branch list here: https://github.com/bitcoin/bitcoin/ | 10:21 |
|
| someone knows what am I doing wrong? | 10:21 |
| ← Cabanossi left | 10:23 |
|
maxb
| Having cloned, it'll be there as "remotes/origin/0.10" | 10:23 |
| ← bronson left | 10:25 |
| → Cabanossi joined | 10:25 |
|
someone235
| maxb, "git checkout remotes/origin/0.10" doesn't work | 10:25 |
| ← Anja left | 10:26 |
| → Nizumzen joined | 10:26 |
| → ShalokShalom_ joined | 10:26 |
|
maxb
| "doesn't work" is not very descriptive, if you give the exact error message, it would make it easier to help you | 10:26 |
| → freimatz joined | 10:27 |
| ← freimatz3 left | 10:29 |
| ← ShalokShalom left | 10:29 |
|
someone235
| maxb, error: pathspec 'remotes/origin/0.10' did not match any file(s) known to git. | 10:29 |
| ← Solvaring left | 10:30 |
| → HolodocPrime joined | 10:31 |
| ← King_Hual left | 10:31 |
|
maxb
| I'm not sure what you're doing then, because running the exact commands you've given above in double-quotes works for me | 10:32 |
| ← holodoc left | 10:33 |
| → ljc joined | 10:33 |
| → venmx joined | 10:33 |
| → venmx_ joined | 10:34 |
| → enkrypt joined | 10:34 |
|
jast
| try a 'git fetch', maybe the clone was incomplete for some weird reason | 10:34 |
| → j08nY joined | 10:35 |
| → JeroenT joined | 10:35 |
| ← Borg- left | 10:35 |
| → Oatmeal joined | 10:36 |
| ← thinkpad left | 10:37 |
| → Anja_ joined | 10:38 |
| → bitmod joined | 10:39 |
| ← mkali left | 10:39 |
| → thinkpad joined | 10:39 |
| ← mostlybadfly left | 10:40 |
| → Anticom joined | 10:42 |
| ← venmx left | 10:42 |
|
osse
| someone235: what does 'git config remote.origin.fetch' print ? | 10:42 |
| ← venmx_ left | 10:43 |
|
someone235
| osse, +refs/heads/master:refs/remotes/origin/master | 10:43 |
|
osse
| someone235: run git config remote.origin.fetch "+refs/heads/*:refs/remotes/origin/*" | 10:44 |
|
| then git fetch. now you'll see it | 10:44 |
| ← bybb left | 10:46 |
| ← Elon_Satoshi left | 10:46 |
| → bybb joined | 10:46 |
| ← Anticom left | 10:47 |
| ← hash-z3r0 left | 10:47 |
| → Elon_Satoshi joined | 10:47 |
| ← Soni left | 10:48 |
| → rnsanchez joined | 10:49 |
| → bomb-on joined | 10:51 |
| ← bybb left | 10:51 |
| → Anticom joined | 10:51 |
|
jast
| the situation looks as though --single-branch was passed when cloning | 10:51 |
|
osse
| I concur with this assessment | 10:54 |
|
| Furthermore, Carthage must burn. | 10:54 |
|
someone235
| thx | 10:55 |
| → venmx joined | 10:56 |
| → venmx_ joined | 10:56 |
|
Celelibi
| Is there an efficient way to version large binary objects and tie them to commits? | 11:00 |
| → cagomez joined | 11:00 |
|
osse
| git-annex, git-lfs, git-slave | 11:00 |
|
Celelibi
| Thanks, I'll look at that. | 11:00 |
|
| I tried to just commit my sqlite database, but some simple git commands take very long. | 11:00 |
|
jast
| !annex | 11:04 |
|
gitinfo
| git-annex, git-media, and Git LFS are some solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. http://git-annex.branchable.com https://github.com/alebedev/git-media http://git.io/git-lfs | 11:04 |
| ← magicturtle left | 11:04 |
|
jast
| gitslave is for managing groups of repos, not related to this IMO | 11:04 |
| ← cagomez left | 11:05 |
| → SteffanW joined | 11:07 |
| ← Cabanossi left | 11:08 |
| → Cabanossi joined | 11:10 |
| ← ahr3n left | 11:11 |
| ← neil_cn left | 11:13 |
|
osse
| Ah, my bad | 11:14 |
| → EvilPenguin joined | 11:15 |
| ← nahtnam left | 11:15 |
| ← Chuguniy left | 11:15 |
| ← JeroenT left | 11:16 |
| → cagomez joined | 11:16 |
| → kurkale61 joined | 11:17 |
| → dsdeiz joined | 11:18 |
| ← thierryp_ left | 11:18 |
| → thierryp joined | 11:18 |
| ← raynold left | 11:19 |
| ← kurkale6ka left | 11:19 |
| ← cagomez left | 11:20 |
| ← Anticom left | 11:21 |
| → theoceaniscool joined | 11:21 |
| ← dsdeiz left | 11:22 |
| → Chuguniy joined | 11:23 |
| → arbes joined | 11:24 |
| ← arbes left | 11:25 |
| → adioe3 joined | 11:25 |
|
adioe3
| hi folks | 11:25 |
|
| somebody seems to have mucked up my repo, when i clone it i get: | 11:25 |
|
| fatal: Invalid revision range 0000000000000000000000000000000000000000..53441323826d5d716274f6a79063e4b2081e952a | 11:25 |
|
| any idea how to fix that or what the problem is? | 11:26 |
| → watabou joined | 11:26 |
| → clmsy joined | 11:26 |
| ← Murr left | 11:28 |
| → kurkale6ka joined | 11:28 |
| → Murr joined | 11:28 |
| ← kurkale61 left | 11:29 |
| ← theoceaniscool left | 11:29 |
| → Soni joined | 11:30 |
| → JeroenT joined | 11:31 |
| ← bitmod left | 11:32 |
| ← SteffanW left | 11:32 |
| → Darcidride joined | 11:33 |
| → jmccarthy joined | 11:33 |
|
jmccarthy
| If I have a list of old commits (non-contiguous) which are missing a Change-Id - what is a handy way to script running the commit hook against them to add one in ? Can this be done in some way that doesn't require a force push ? | 11:36 |
| → bybb joined | 11:38 |
|
grawity
| no, it cannot | 11:38 |
| → sekmo joined | 11:38 |
|
jmccarthy
| May with some sort of rebase magic ? no ? | 11:40 |
| ← jeffreylevesque left | 11:40 |
|
grawity
| no | 11:40 |
| ← qwedfg left | 11:40 |
|
grawity
| changing old commits requires a force push, end of story | 11:40 |
| ← dan2k3k4 left | 11:41 |
| ← ppang left | 11:41 |
| → ppang joined | 11:42 |
|
jmccarthy
| :/ | 11:42 |
| → glad joined | 11:43 |
| → peff joined | 11:45 |
| ← Chuguniy left | 11:45 |
| → Chuguniy joined | 11:46 |
| → bayman joined | 11:46 |
|
jmccarthy
| Is filter-branch really that bad ? It says 'don't use it' - but in a test I did, I was able to doctor up the commits just fine (in my local workspace) | 11:46 |
| ← ArcaTech left | 11:47 |
|
sonOfRa
| You will still need to force-push | 11:47 |
| ← EvilPenguin left | 11:49 |
|
jmccarthy
| Ok, yep I have read that in many places - just checking :) ! Or if maybe there is a preferred way besides filter-branch ? | 11:49 |
| → dan2k3k4 joined | 11:50 |
| ← ShalokShalom_ left | 11:51 |
| ← bayman left | 11:51 |
| → ShalokShalom joined | 11:51 |
|
jast
| not for the kind of thing you're trying to do... and even if there were, it would still be impossible to do it without a force push | 11:52 |
|
jmccarthy
| Ok, I believe ye :) | 11:52 |
|
| Thanks :) ! | 11:54 |
| → dave0x6d joined | 11:58 |
| ← JeroenT left | 11:59 |
| ← jameser_ left | 12:00 |
| → synthroid joined | 12:02 |
|
jmccarthy
| Follow up question: How does this differ from 'reword', if I do interactively, I think I can add Change-Ids and push up a review ok, is that right ? | 12:03 |
|
jast
| sure... but if you pushed the original commit earlier, it requires a force push | 12:03 |
| ← inovas left | 12:04 |
| ← jceb left | 12:04 |
|
jast
| the main difference between filter-branch and rebase is that rebase works on patches, i.e. when re-creating the commit it re-applies the corresponding patch | 12:04 |
|
| when all you're doing is changing the commit message, that difference is mostly irrelevant | 12:04 |
| → str joined | 12:05 |
| → sz0 joined | 12:06 |
| ← Cabanossi left | 12:08 |
| ← dzho left | 12:09 |
| → dzho joined | 12:09 |
| → Cabanossi joined | 12:10 |
| → JeroenT joined | 12:11 |
| → Gurkenglas joined | 12:13 |
| → Acerific joined | 12:13 |
| ← Acerific left | 12:13 |
| → Acerific joined | 12:13 |
| ← kadoban left | 12:15 |
| → epta joined | 12:16 |
| → sucode_ joined | 12:16 |
|
sucode_
| Hi! everyone, I want to apply for co-mentor in the outreachy program. | 12:17 |
| → jceb joined | 12:17 |
|
epta
| Why do git ask for password when doing 'git clone https://github.com/a/b' even if the repo is public? | 12:18 |
|
tobiasvl
| epta: are you sure you're using the HTTPS URL for cloning? | 12:19 |
| → kurkale61 joined | 12:19 |
|
tobiasvl
| epta: if you're using an SSH URL instead (or [email@hidden.address] with no protocol in front) it probably doesn't ask for a password, but your SSH key's passphrase? | 12:19 |
|
dzho
| epta: I often encounter that error when I have a typo in my URL. It can't find the project, and so then must authenticate me to check to see if a private repo of that name exists. | 12:20 |
|
jast
| sucode_: probably a typo in the URL. on github, trying to clone a non-existing repo results in a password prompt | 12:20 |
|
| whoops | 12:20 |
|
| epta: probably a typo in the URL. on github, trying to clone a non-existing repo results in a password prompt | 12:21 |
|
tobiasvl
| aah, good call. | 12:21 |
| → bronson joined | 12:21 |
|
epta
| jast: whoa, it was a typo, thanks | 12:22 |
|
jast
| happens to the best of us :) | 12:22 |
| ← kurkale6ka left | 12:22 |
| → YuGiOhJCJ joined | 12:22 |
| ← epta left | 12:22 |
| → Paker joined | 12:24 |
| ← sucode_ left | 12:25 |
| ← Acerific left | 12:25 |
| → plexigras joined | 12:25 |
| ← bronson left | 12:26 |
| → bongo joined | 12:26 |
| → kurkale6ka joined | 12:26 |
| → noecc joined | 12:27 |
| ← a3Dman left | 12:28 |
| ← kurkale61 left | 12:28 |
|
plexigras
| how can i set the default merge message? | 12:29 |
| → jeffreylevesque joined | 12:30 |
| → jkadaver joined | 12:30 |
| ← Led_Zeppelin left | 12:31 |
| ← jknetl left | 12:31 |
| ← cagedwisdom left | 12:34 |
| ← cstratak left | 12:35 |
| → hash-z3r0 joined | 12:35 |
| → cstratak joined | 12:35 |
| → southernirc joined | 12:36 |
| → lempface joined | 12:36 |
| ← ShalokShalom left | 12:37 |
|
jast
| plexigras: I think the only way to override it is the '-m' command line option | 12:37 |
|
| which I guess will skip the message editor, too... | 12:38 |
| → a3Dman joined | 12:38 |
|
lempface
| So I've had this repository for a couple years, and no issues. I created a feature branch and made one commit just fine. I've made a bunch more changes and want to start adding commits but now when I try to git add any files I get an error: "fatal: internal error: ce_mode is 0" I can't seem to find a whole lot related to this error. Any ideas? I'm a little nervous my repo is borked! | 12:38 |
| ← kurkale6ka left | 12:38 |
| → ShalokShalom joined | 12:38 |
| ← hash-z3r0 left | 12:40 |
| ← up_the_irons left | 12:40 |
| → kurkale6ka joined | 12:40 |
| ← Fissure left | 12:41 |
| → up_the_irons joined | 12:41 |
|
jast
| lempface: your index may be corrupt, try 'git reset' -- this will forget which changes you have staged | 12:41 |
| → Fissure joined | 12:41 |
|
lempface
| any risk of losing my work with that? | 12:41 |
|
| I'll back it up first | 12:41 |
| → sucode_ joined | 12:42 |
|
jast
| it affects only git's knowledge of what is staged and what isn't. commits and your working tree are left alone if you don't add any more options | 12:42 |
|
| but a backup never hurts :) | 12:42 |
| sucode_ → Guest16340 | 12:42 |
| ← MoaMoaK left | 12:42 |
| ← ShalokShalom left | 12:42 |
| → ShalokShalom joined | 12:43 |
|
lempface
| @jast - much love friend, that fixed it WHEW! | 12:43 |
|
jast
| great | 12:43 |
| ← mrkake left | 12:43 |
| ← MattMaker left | 12:44 |
| → MattMaker joined | 12:44 |
| ← MattMaker left | 12:45 |
| → MattMaker joined | 12:45 |
| → EvilPenguin joined | 12:45 |
| ← MattMaker left | 12:46 |
| → MattMaker joined | 12:46 |
| ← MattMaker left | 12:46 |
| ← dre_ left | 12:49 |
|
plexigras
| i want the default merege message of branch `hotfix/something` to be `fix: something` and of `feature/something`, `feat: something` | 12:50 |
| → mrkake joined | 12:50 |
| ← Guest16340 left | 12:51 |
|
jlebrech
| how do i checkout a branch of the same project into a submodule? | 12:51 |
| → diqidoq joined | 12:52 |
| ← mrkake left | 12:54 |
| ← ljc left | 12:54 |
| → rawste joined | 12:55 |
| → mkali joined | 12:56 |
| → renarcii joined | 12:58 |
| → bruce_lee joined | 12:58 |
| ← bruce_lee left | 12:58 |
| → bruce_lee joined | 12:58 |
| → mrkake joined | 12:59 |
| ← str left | 13:00 |
| → pinux joined | 13:01 |
| ← renarc left | 13:02 |
| renarcii → renarc | 13:02 |
| ← ppang left | 13:03 |
|
lempface
| @jast - After I committed my changes, somehow one of my submodules was deleted. Best route to fix? | 13:04 |
| ← renarc left | 13:04 |
|
lempface
| should just reinit be fine? | 13:04 |
| → renarc joined | 13:05 |
|
jast
| huh. worth a try, certainly... | 13:06 |
|
lempface
| I have no idea how it became all wonky, I didn't do anything out of the ordinary and I'm the sole author on this project | 13:06 |
| ← Cabanossi left | 13:07 |
|
lempface
| Reinit seems to have brought it back but it is set to HEAD instead of master. Still fairly new to submodules so maybe this is expected | 13:08 |
|
| Nevermind, that is a tag gitkraken auto created | 13:09 |
| → Cabanossi joined | 13:09 |
| → str joined | 13:12 |
| → chriys joined | 13:12 |
| ← YuGiOhJCJ left | 13:13 |
| → murii joined | 13:14 |
| → cdg joined | 13:15 |
| ← synthroid left | 13:15 |
| ← renarc left | 13:15 |
| ← AnujSharma left | 13:15 |
| → igemnace joined | 13:16 |
| ← EvilPenguin left | 13:18 |
| → dsdeiz joined | 13:18 |
| ← dsdeiz left | 13:18 |
| → dsdeiz joined | 13:18 |
| ← str left | 13:19 |
| → FatKiwi joined | 13:21 |
| → cdg_ joined | 13:21 |
| pinux → ppang | 13:21 |
| → gugah joined | 13:22 |
| ← Anja_ left | 13:22 |
| ← dsdeiz left | 13:23 |
| → jeffreylevesque_ joined | 13:25 |
| ← cdg left | 13:25 |
| ← jeffreylevesque left | 13:26 |
| ← Murr left | 13:28 |
| ← j08nY left | 13:28 |
| → Murr joined | 13:28 |
| → Anticom joined | 13:29 |
| → Tobbi joined | 13:29 |
| ← govg left | 13:30 |
| → govg joined | 13:31 |
| → str joined | 13:31 |
|
plexigras
| how do i change the default merge message | 13:33 |
| ← Nizumzen left | 13:34 |
| ← ronskisika left | 13:34 |
| ← chll_ left | 13:34 |
| → Cavallari joined | 13:34 |
| → tinanoo joined | 13:35 |
| → Es0teric joined | 13:35 |
| → Anja_ joined | 13:36 |
| ← sekmo left | 13:36 |
| → mescalinum joined | 13:36 |
| → bybb_ joined | 13:37 |
| ← bybb left | 13:37 |
| ← Cabanossi left | 13:37 |
| ← peff left | 13:38 |
| → peacememories joined | 13:38 |
|
jast
| plexigras: I've already answered... | 13:38 |
|
| about an hour ago | 13:39 |
| → Cabanossi joined | 13:39 |
|
osse
| prepare-commit-msg would do the trick | 13:40 |
| ← Tobbi left | 13:40 |
|
plexigras
| no -m changes the merege messeage i want to change the default merge message | 13:40 |
|
| ok i will take a look at that | 13:40 |
| → Tobbi joined | 13:41 |
| → ahr3n joined | 13:42 |
| → bitonic joined | 13:44 |
|
jast
| man githooks for reference | 13:45 |
|
gitinfo
| the githooks manpage is available at https://gitirc.eu/githooks.html | 13:45 |
|
bitonic
| is it possible to check if there are any conflicts between two branches without attempting a merge? | 13:45 |
|
| i need this to perform some sanity checks in a ci script | 13:45 |
|
jast
| bitonic: not really | 13:45 |
|
bitonic
| jast: that's a bummer | 13:45 |
|
jast
| about the best you can do is redirect the index and working tree to a temporary location to try the merge | 13:45 |
|
osse
| how about checking if merge-tree prints anythign | 13:46 |
| → nettoweb__ joined | 13:46 |
|
osse
| (haven't done this myself. it's just as much a question as an answer) | 13:46 |
|
jast
| I think merge-tree doesn't run the whole gamut of automatic merging | 13:47 |
| → MattMaker joined | 13:47 |
|
jast
| it does a trivial merge, meaning it doesn't perform automatic merging within a file | 13:47 |
| → lebwoski joined | 13:47 |
|
osse
| ah | 13:47 |
| ← ahr3n left | 13:47 |
| ← lebwoski left | 13:47 |
| → balance joined | 13:48 |
|
balance
| hi | 13:48 |
|
jast
| but doing this and then trying manual merges on individual stages in the index would remove the requirement of creating a complete temporary working tree | 13:48 |
| → lebwoski joined | 13:48 |
| → bayman joined | 13:49 |
|
jast
| so I guess you can do a decently efficient job simulating a merge but it takes a fair bit of familiarity with the concepts | 13:49 |
| → ahr3n joined | 13:49 |
|
balance
| How come that git pull origin master doesn't actually "update" a file? I cloned the repo, made a change to file X but didn't commit it and then just wanted to get to the newest state by doing pull origin master but the file keeps the same. | 13:49 |
|
osse
| balance: because if it did then it would wipe your uncommitted changes | 13:49 |
|
| git doesn't like that | 13:50 |
|
jast
| 'git pull' is for fetching updates, it doesn't overwrite your changes because it considers them valuable | 13:50 |
|
| if you want to get rid of uncommitted changes, check the output of 'git status' for useful hints | 13:50 |
|
tobiasvl
| balance: git should have told you this when pulling | 13:50 |
|
rewt
| it should tell you what it's doing ... yes, it's a lot of text, but it has important info | 13:50 |
|
jast
| or use 'git reset --hard' for tabula rasa | 13:50 |
|
balance
| osse so what happens in this case and why do I get "already up to date"? | 13:50 |
|
jast
| because 'git pull' didn't have any updates to give you | 13:51 |
|
rewt
| what does `git status` say? | 13:51 |
|
jast
| you're already up-to-date, you just have some uncommitted changes | 13:51 |
| ← justan0theruser left | 13:51 |
|
jast
| pulling never means "throw away things I did", it means "combine my things with upstream things" | 13:51 |
| ← MattMaker left | 13:51 |
| → robotroll joined | 13:52 |
|
balance
| jast osse tobiasvl ok thanks - gonna reread some tutorial about it. status shows the uncommited changes. | 13:52 |
| → AaronMT joined | 13:53 |
|
rewt
| pull = fetch + merge | 13:53 |
| ← bayman left | 13:53 |
|
jast
| yeah, and it also shows you how to get rid of your changes :) | 13:53 |
| → JeroenT_ joined | 13:53 |
|
balance
| jast yeah, solved it. thanks! | 13:54 |
| ← someone235 left | 13:55 |
| gitinfo set mode: +v | 13:55 |
|
lebwoski
| Hi, I want to rebase a fork to the original vanilla repository, but I only have a snapshot(not git files). I tried to create a repository with git init and rebase with adding a new remote (upstream) and 'git rebase' but I get conflicts with two files 'both added' by both repositories. Is there a way around patching the files manually? Thx! | 13:55 |
| → bitmod joined | 13:55 |
| → schasi joined | 13:56 |
| ← dec0n left | 13:56 |
| → Guest16340 joined | 13:57 |
| ← JeroenT left | 13:57 |
| ← manuelschneid3r left | 13:57 |
| → seds joined | 13:57 |
| ← LeBlaaanc left | 13:58 |
| ← JeroenT_ left | 13:58 |
| ← seds left | 13:58 |
| ← zefferno left | 13:59 |
| → JeroenT joined | 13:59 |
| ← Thunderfunk left | 13:59 |
|
schasi
| Can anyone tell me why there is no "force" switch to clone into an non-empty directory? | 13:59 |
| → zefferno joined | 13:59 |
|
osse
| My guess is that no one has bothered making it | 14:00 |
| ← lebwoski left | 14:01 |
|
schasi
| Hm. But the bothered not allowing cloning into non-empty directories. | 14:01 |
| → seds joined | 14:01 |
|
osse
| because that's easier to implement :p | 14:01 |
|
| git init && git remote add origin .... && git fetch origin && git checkout -b master origin/master | 14:02 |
|
| there. dirty clone | 14:02 |
| ← seds left | 14:02 |
|
schasi
| Heh. Well thanks X) | 14:02 |
| → seds joined | 14:03 |
| → NeverTired joined | 14:04 |
| ← noecc left | 14:04 |
| → snowkidind joined | 14:04 |
| ← Rubin left | 14:05 |
| → manuelschneid3r joined | 14:06 |
| ← erhandsome left | 14:06 |
| → freimatz3 joined | 14:06 |
| ← nettoweb__ left | 14:07 |
| → nettoweb__ joined | 14:08 |
| ← dave0x6d left | 14:08 |
| → stutter joined | 14:08 |
| → phluks joined | 14:09 |
| ← freimatz left | 14:09 |
| → erhandsome joined | 14:09 |
| ← Es0teric left | 14:10 |
| ← JeroenT left | 14:10 |
| ← robotroll left | 14:10 |
| ← erhandsome left | 14:11 |
| ← howdoi left | 14:11 |
| → Es0teric joined | 14:11 |
| → guardian joined | 14:12 |
| ← imack left | 14:12 |
| ← stutter left | 14:13 |
| ← abba left | 14:13 |
| → Thunderfunk joined | 14:14 |
| → kpease joined | 14:14 |
| ← ShalokShalom left | 14:15 |
| → EvilPenguin joined | 14:15 |
| ← sz0 left | 14:16 |
| → erhandsome joined | 14:16 |
| ← erhandsome left | 14:17 |
| → MattMaker joined | 14:17 |
| → dsdeiz joined | 14:18 |
| → erhandsome joined | 14:18 |
| → cbd_ joined | 14:19 |
| ← _ADN_ left | 14:19 |
| ← erhandsome left | 14:19 |
| → synthroid joined | 14:20 |
| ← navidr left | 14:20 |
| → erhandsome joined | 14:20 |
| → kurkale61 joined | 14:21 |
| ← bladdezz left | 14:22 |
| → bronson joined | 14:22 |
| ← MattMaker left | 14:22 |
| ← dsdeiz left | 14:22 |
| ← Cabanossi left | 14:23 |
| → hash-z3r0 joined | 14:23 |
| → nick-mbp joined | 14:23 |
| → Gustavo6046 joined | 14:23 |
| ← kurkale6ka left | 14:24 |
| → Cabanossi joined | 14:25 |
| → dsdeiz joined | 14:25 |
| → FrostCandy joined | 14:25 |
| → ForeignBiscuit joined | 14:25 |
| ← erhandsome left | 14:25 |
| → Plouescat joined | 14:25 |
| ForeignBiscuit → ResidentBiscuit | 14:25 |
| → al-damiri joined | 14:26 |
| → JanC_ joined | 14:26 |
| → erhandsome joined | 14:26 |
| → cagomez joined | 14:26 |
| ← bronson left | 14:27 |
| ← fatihgenc left | 14:27 |
| ← JanC left | 14:27 |
| JanC_ → JanC | 14:27 |
| → LeBlaaanc joined | 14:27 |
| ← hash-z3r0 left | 14:28 |
| ← Jokler left | 14:28 |
| → knudLeopold joined | 14:29 |
| → Jokler joined | 14:29 |
| ← nettoweb__ left | 14:31 |
| → kurkale6ka joined | 14:31 |
| ← cagomez left | 14:31 |
| ← kurkale61 left | 14:34 |
| ← nick-mbp left | 14:34 |
| → Prisoner-2460_1 joined | 14:34 |
|
Prisoner-2460_1
| how might you go about dropping multiple stashes at once? | 14:34 |
| ← dsdeiz left | 14:34 |
| ← knudLeopold left | 14:35 |
| ← Calinou left | 14:35 |
| ← seds left | 14:35 |
| → Rubin joined | 14:36 |
| → dsdeiz joined | 14:36 |
| ← bsanford left | 14:36 |
| ← jsears left | 14:37 |
| → dsdeiz_ joined | 14:37 |
| ← jlebrech left | 14:38 |
| ← ahr3n left | 14:38 |
| → cha18 joined | 14:38 |
| ← bomb-on left | 14:39 |
| → stutter joined | 14:41 |
| ← freimatz3 left | 14:41 |
| → freimatz joined | 14:41 |
| ← Thunderfunk left | 14:41 |
| → Thunderfunk joined | 14:42 |
| ← chriys left | 14:42 |
| ← bybb_ left | 14:42 |
| ← AfroThundr left | 14:42 |
| → AfroThundr joined | 14:43 |
| → chriys joined | 14:43 |
|
jast
| Prisoner-2460_1: I don't think there's a friendly way to do it, but you can manually edit .git/logs/refs/stash (newest stashes at the bottom) | 14:43 |
| ← peacememories left | 14:45 |
| → sz0 joined | 14:45 |
| → peacememories joined | 14:46 |
| ← zefferno left | 14:46 |
| → thiago joined | 14:47 |
|
Prisoner-2460_1
| jast: lovely! also seems handy for renaming | 14:47 |
| ← chriys left | 14:47 |
| ← EvilPenguin left | 14:48 |
| → chriys joined | 14:49 |
| ← peacememories left | 14:49 |
| → jesst joined | 14:49 |
| ← overlord_tm left | 14:50 |
| → Gsham joined | 14:50 |
| → npgm joined | 14:52 |
| ← rchavik left | 14:53 |
| → crose joined | 14:55 |
| ← netj left | 14:56 |
| → netj joined | 14:56 |
| ← jesst left | 14:57 |
| → peacememories joined | 14:58 |
| ← ppang left | 15:01 |
| ← TomyWork left | 15:02 |
| → roelmonn_ joined | 15:02 |
| → Vortex34 joined | 15:02 |
| ← roelmonn_ left | 15:02 |
| ← rscata left | 15:02 |
| ← mkali left | 15:02 |
| → marinin joined | 15:02 |
| ← peacememories left | 15:02 |
| → roelmonn_ joined | 15:03 |
| → mkali joined | 15:03 |
| → shdw joined | 15:04 |
| ← Vortex35 left | 15:04 |
| ← Cavallari left | 15:04 |
| ← clmsy left | 15:04 |
| ← roelmonnens left | 15:05 |
| ← thiago left | 15:06 |
| ← dsdeiz_ left | 15:07 |
| ← roelmonn_ left | 15:07 |
| → Phylock joined | 15:08 |
| → steeze joined | 15:09 |
| ← jceb left | 15:09 |
| ← synthroid left | 15:10 |
| ← chriys left | 15:10 |
| ← Es0teric left | 15:10 |
| → jceb joined | 15:11 |
| → chriys joined | 15:12 |
| → chrisshattuck joined | 15:12 |
| → nettoweb__ joined | 15:15 |
| ← wandering_vagran left | 15:16 |
| → kurkale61 joined | 15:17 |
| → MattMaker joined | 15:18 |
| ← kurkale6ka left | 15:19 |
| ← Phylock left | 15:20 |
| → roelmonnens joined | 15:20 |
| ← sunri5e left | 15:22 |
| ← MattMaker left | 15:23 |
| ← tkore left | 15:24 |
| → freimatz3 joined | 15:24 |
| ← meLon left | 15:24 |
| ← Guest16340 left | 15:25 |
| ← roelmonnens left | 15:25 |
| → synthroid joined | 15:25 |
| → synthroi_ joined | 15:26 |
| → seds joined | 15:26 |
| ← Murr left | 15:27 |
| → imack joined | 15:28 |
| ← imack left | 15:28 |
| ← freimatz left | 15:29 |
| → inovas joined | 15:29 |
| ← synthroid left | 15:30 |
| → Murr joined | 15:30 |
| ← SerusWork left | 15:30 |
| ← seds left | 15:31 |
| → kerrick joined | 15:31 |
| → dviola joined | 15:32 |
| → cagomez joined | 15:32 |
| → Es0teric joined | 15:33 |
| ← nettoweb__ left | 15:33 |
| ← vush left | 15:33 |
| → meLon joined | 15:34 |
| ← meLon left | 15:34 |
| → meLon joined | 15:34 |
| → edvb joined | 15:34 |
| ← cagomez left | 15:34 |
| → seds joined | 15:35 |
| → sunri5e joined | 15:35 |
| ← mescalinum left | 15:35 |
| → boombatower joined | 15:35 |
| → SwiftMatt joined | 15:36 |
| → imrg90 joined | 15:37 |
| ← stutter left | 15:37 |
| ← Cabanossi left | 15:37 |
| ← chriys left | 15:38 |
| → kurkale6ka joined | 15:39 |
| ← Gurkenglas left | 15:39 |
| ← igemnace left | 15:40 |
| → Cabanossi joined | 15:40 |
| → igemnace joined | 15:40 |
| → dreiss joined | 15:41 |
| ← cstratak left | 15:41 |
| ← kaldoran left | 15:41 |
| ← sim590 left | 15:41 |
| ← kurkale61 left | 15:42 |
| → nettoweb__ joined | 15:42 |
| ← inovas left | 15:43 |
| → sim590 joined | 15:43 |
| ← imrg left | 15:43 |
| → kaldoran joined | 15:43 |
| ← imrg90 left | 15:43 |
| → chriys joined | 15:44 |
| → imrg90 joined | 15:44 |
| → vush joined | 15:46 |
| → bomb-on joined | 15:46 |
| → madewokherd joined | 15:47 |
| ← murii left | 15:47 |
| → SerusWork joined | 15:47 |
| ← Chuguniy left | 15:47 |
| ← Plouescat left | 15:48 |
| ← a3Dman left | 15:48 |
| ← antfoo left | 15:50 |
| ← nettoweb__ left | 15:50 |
| ← imrg90 left | 15:50 |
| ← idlemind left | 15:50 |
| ← noobineer left | 15:50 |
| → imrg90 joined | 15:51 |
| → gugah_ joined | 15:51 |
| ← jceb left | 15:52 |
| ← jstimm left | 15:52 |
| → antfoo joined | 15:52 |
| ← gugah left | 15:53 |
| ← musicmatze[m] left | 15:54 |
| → robotroll joined | 15:54 |
| → Plouescat joined | 15:55 |
| → j08nY joined | 15:55 |
| → a3Dman joined | 15:56 |
| → deepakbndeepu joined | 15:56 |
| ← synthroi_ left | 15:56 |
| → overlord_tm joined | 15:57 |
| → EvilPenguin joined | 15:57 |
| → qpdb joined | 15:57 |
| → Gurkenglas joined | 15:57 |
| → TomyLobo joined | 15:57 |
| → nettoweb__ joined | 15:58 |
| ← Gustavo6046 left | 15:58 |
| ← imrg90 left | 15:58 |
| ← CheckDavid left | 15:58 |
| ← deepakbndeepu left | 15:59 |
| → cstratak joined | 15:59 |
| → murii joined | 15:59 |
| ← cstratak left | 16:00 |
| → cstratak joined | 16:00 |
| → navidr joined | 16:02 |
| ← Thunderfunk left | 16:02 |
| → CheckDavid joined | 16:05 |
| → inovas joined | 16:07 |
| ← Cabanossi left | 16:08 |
| → Cabanossi joined | 16:10 |
| ← Tobbi left | 16:10 |
| → balance1 joined | 16:10 |
| ← Kavothe left | 16:11 |
| → hash-z3r0 joined | 16:11 |
| → Guest16340 joined | 16:12 |
| ← balance left | 16:13 |
| → z1haze joined | 16:13 |
| → durham joined | 16:13 |
|
z1haze
| when doing an interactive rebase.. what is the 'onto' and what is the 'from'? I have done them before from the command line (still not really knowing what im doing) but these terms confuse me. My goal is to take this branch im working on, and squash a few commits that are stupid insignificant changes. Can anyone advise? | 16:14 |
| ← Guest16340 left | 16:16 |
| → imack joined | 16:16 |
| ← hash-z3r0 left | 16:16 |
| → shdw- joined | 16:16 |
| → Kavothe joined | 16:16 |
| ← marinin left | 16:17 |
| ← shdw- left | 16:17 |
| ← shdw left | 16:19 |
| ← luc4 left | 16:19 |
| → EricPoe joined | 16:19 |
| → MattMaker joined | 16:19 |
| → aFeijo joined | 16:19 |
| → Tobbi joined | 16:19 |
| → synthroid joined | 16:20 |
| ← upperdeck left | 16:20 |
| → qwedfg joined | 16:20 |
| ← nettoweb__ left | 16:21 |
| → orbyt_ joined | 16:21 |
| ← SwiftMatt left | 16:21 |
| ← erhandsome left | 16:21 |
| ← wcpan_ left | 16:21 |
| ← Plouescat left | 16:22 |
| ← Anticom left | 16:22 |
| → thiago_ joined | 16:22 |
| ← LeBlaaanc left | 16:22 |
| → wcpan joined | 16:22 |
| → SwiftMatt joined | 16:23 |
| → erhandsome joined | 16:23 |
| → bronson joined | 16:23 |
| ← MattMaker left | 16:23 |
| ← crose left | 16:24 |
| → tarkus joined | 16:24 |
| → LeBlaaanc joined | 16:25 |
| ← Gsham left | 16:27 |
| ← bronson left | 16:27 |
| → Plouescat joined | 16:27 |
| → upperdeck joined | 16:28 |
| thiago_ → thiago | 16:29 |
| → Brain joined | 16:30 |
| ← tunekey left | 16:32 |
| → Noldorin joined | 16:34 |
| ← Noldorin left | 16:35 |
| → Noldorin joined | 16:36 |
| → cdown joined | 16:37 |
| ← dreiss left | 16:38 |
| ← igemnace left | 16:39 |
| ← Es0teric left | 16:40 |
| ← SwiftMatt left | 16:40 |
| ← durham left | 16:40 |
| → hash-z3r0 joined | 16:42 |
| → hdqn joined | 16:42 |
|
hdqn
| how do I gitignore a whole directory except a chose few files? | 16:42 |
| ← kerrick left | 16:43 |
| ← rk left | 16:43 |
| → theoceaniscool joined | 16:44 |
| ← Gurkenglas left | 16:44 |
| ← kurkale6ka left | 16:44 |
| → kfoonamalik joined | 16:45 |
| → bayman joined | 16:45 |
| → Es0teric joined | 16:45 |
| ← sz0 left | 16:46 |
| → mostlybadfly joined | 16:46 |
|
Seveas
| hdqn: something like this in .gitignore: | 16:49 |
|
| foo/ | 16:49 |
|
| !foo/bar | 16:49 |
|
gitinfo
| bar | 16:49 |
| ← Zoxc left | 16:49 |
|
parsnip
| !ssh | 16:49 |
|
gitinfo
| Please use SSH to talk to remote repos. http:// and git:// are completely unsecured and http:// suffers from smart webservers trying to implement policy. You can try to do "smart" https://, but it can be troublesome to configure if you do not know how (see !web_repos for simple instructions) unless your company implements a MITM attack and prevents end-to-end crypto. | 16:49 |
| ← bayman left | 16:49 |
| → rk joined | 16:50 |
|
Seveas
| https is just fine, gitinfo | 16:50 |
| ← imack left | 16:50 |
|
Seveas
| z1haze: https://git.seveas.net/rebasing-illustrated.html#rebasing-illustrated may help | 16:50 |
| → jstimm joined | 16:50 |
| ← gxt left | 16:51 |
| ← schasi left | 16:53 |
| ← bomb-on left | 16:53 |
| ← cdown left | 16:54 |
| → hahuang65 joined | 16:55 |
| → v4ult joined | 16:56 |
| → durham joined | 16:56 |
| → Gurkenglas joined | 16:56 |
| ← chriys left | 16:57 |
| → noecc joined | 16:57 |
| → cdown joined | 16:57 |
| → chriys joined | 16:58 |
|
z1haze
| I'm just trying to understand some terminology Seveas : normally if I rebase interactively i do 'git rebase -i master' and then i pick/squash my commits, whatever .. my question is though for terminology on my GUI thing.. it has dropdown for branches labeled 'onto' and 'from' | 16:58 |
| ← a3Dman left | 17:00 |
| ← Es0teric left | 17:00 |
| ← ertes-w left | 17:01 |
|
Seveas
| z1haze: 'from' is the oldest commit to be rebased, 'onto' the commit to transplant them onto | 17:01 |
|
z1haze
| so i guess in translating 'git rebase -i master' what would be onto what what would be from? Nice website btw | 17:02 |
| → dsdeiz_ joined | 17:03 |
| ← cdown left | 17:03 |
| → imack joined | 17:04 |
| → roelmonnens joined | 17:05 |
| → bronson joined | 17:05 |
| ← robotroll left | 17:05 |
| → a3Dman joined | 17:07 |
| → peacememories joined | 17:07 |
| → cdown joined | 17:08 |
| ← dsdeiz_ left | 17:08 |
| ← chriys left | 17:08 |
| ← Cabanossi left | 17:08 |
| → ArcaTech joined | 17:08 |
| → Cabanossi joined | 17:10 |
| → Zoxc joined | 17:10 |
| ← qwedfg left | 17:11 |
| ← balance1 left | 17:11 |
| ← Paker left | 17:12 |
| → iNCoNFuN joined | 17:13 |
| ← noecc left | 17:14 |
| ← Gurkenglas left | 17:15 |
| ← feodaron left | 17:15 |
| ← manuelschneid3r left | 17:16 |
| → feodaron joined | 17:16 |
| ← cyberz left | 17:17 |
| → ShalokShalom joined | 17:18 |
| → cyberz joined | 17:19 |
| → MattMaker joined | 17:20 |
| → kyan joined | 17:20 |
| → UrsoBranco joined | 17:20 |
| ← gugah_ left | 17:22 |
| ← Floflobel left | 17:23 |
| ← kyan left | 17:23 |
| ← a3Dman left | 17:23 |
| → high_fiver joined | 17:24 |
| ← cstratak left | 17:24 |
| ← roelmonnens left | 17:24 |
| → manuelschneid3r joined | 17:24 |
| ← MattMaker left | 17:24 |
| → roelmonnens joined | 17:26 |
| → Mattiaslndstrm joined | 17:26 |
|
Seveas
| onto would be master@{u}, from would be the first commit after that and to would be master | 17:26 |
| ← synthroid left | 17:27 |
| ← roelmonnens left | 17:27 |
| → aard_ joined | 17:27 |
| → Paker joined | 17:28 |
| → svm_invictvs joined | 17:28 |
| → kerrick joined | 17:31 |
| → a3Dman joined | 17:33 |
| → stutter joined | 17:34 |
|
parsnip
| on mnemonic i have is, the branch that is currently checked out, is the only ref that will move. | 17:34 |
| → fahadash joined | 17:34 |
|
parsnip
| that seems to be true for many git commands, like [commit, rebase, cherry-pick, merge, reset] | 17:35 |
| ← cyberz left | 17:35 |
|
parsnip
| s/^on /one / | 17:35 |
| ← konsolebox left | 17:35 |
| ← Plouescat left | 17:36 |
| → cyberz joined | 17:37 |
| ← FatKiwi left | 17:38 |
| ← a3Dman left | 17:38 |
| → hgrall joined | 17:39 |
| → a3Dman joined | 17:39 |
| ← a3Dman left | 17:39 |
| → a3Dman joined | 17:39 |
| → glad_ joined | 17:39 |
|
Seveas
| yup | 17:41 |
| ← glad left | 17:41 |
|
z1haze
| thanks Seveas | 17:41 |
|
Seveas
| I think only push and fetch update multiple refs at once | 17:41 |
| ← hgrall left | 17:42 |
| → konsolebox joined | 17:42 |
|
parsnip
| okay, fetch updates multiple remotely controlled branches | 17:42 |
|
| doesn't the merge part of pull only act on currently checked out branch? | 17:43 |
|
| s/branches/refs/ | 17:43 |
| ← tvw left | 17:45 |
|
grawity
| it does | 17:45 |
| ← orbyt_ left | 17:45 |
| ← manuelschneid3r left | 17:46 |
| ← a3Dman left | 17:46 |
| → somiaj joined | 17:46 |
| → fatihgenc joined | 17:47 |
|
somiaj
| I can't seem to figure out what changed, but on repos that were working fine (and work fine from antother computer) when I try 'git pull' or 'git fetch' (which use to work) I get the following error and nto finding much info on google about it. "fatal: Malformed response in ref list: <html>" | 17:47 |
| → retropikzel joined | 17:47 |
|
APic
| Can You name the affected Repositories? | 17:48 |
|
OMGOMG
| are you by any chance on a free wifi | 17:48 |
| ← phluks left | 17:49 |
|
Seveas
| somiaj: that smells like http:// cloning and a bad MITM proxy. Try https:// or ssh:// cloning | 17:49 |
| ← seds left | 17:50 |
|
Seveas
| or a git host that's broken and serves error responses as html without giving it a non-200 return code | 17:50 |
|
somiaj
| I'm using https://, I upgraded the git server I was using, and it has caused a few other problems, maybe I should download it. | 17:50 |
|
Seveas
| yeah, broken git server. Check the logs | 17:50 |
|
somiaj
| I can't seem to clone any repos either. The machine that is having troulbe is centos6, using git 1.7, the machine that works has git 2.1.4, think I just need to downgrade the gitserver I'm using. | 17:51 |
| → a3Dman joined | 17:51 |
| ← nuked0ne left | 17:53 |
| → nuked0ne joined | 17:53 |
| → Gurkenglas joined | 17:53 |
| → bayman joined | 17:54 |
|
somiaj
| don't see anything unsual in the logs. Anyways, I will just have to downgrade...thanks | 17:55 |
| → orbyt_ joined | 17:57 |
| ← murii left | 17:57 |
| ← kerrick left | 17:58 |
| ← venmx left | 17:59 |
| ← bayman left | 17:59 |
| ← venmx_ left | 17:59 |
| → Es0teric joined | 18:00 |
| → manuelschneid3r joined | 18:01 |
| → Sasazuka joined | 18:02 |
| → kerrick joined | 18:02 |
| → venmx joined | 18:03 |
| → venmx_ joined | 18:03 |
| ← Cabanossi left | 18:08 |
| → chriys joined | 18:09 |
| → Cabanossi joined | 18:10 |
| → seds joined | 18:10 |
| → Argylelabcoat joined | 18:13 |
| ← rk left | 18:13 |
| → rk joined | 18:13 |
| ← chriys left | 18:13 |
| ← nezylop left | 18:14 |
| → dmc joined | 18:15 |
| → m0viefreak joined | 18:15 |
| → upperdeck_ joined | 18:16 |
| ← venmx_ left | 18:17 |
| → chriys joined | 18:17 |
| ← venmx left | 18:17 |
| → rkta joined | 18:17 |
| ← selckin left | 18:18 |
| ← upperdeck left | 18:18 |
| → selckin joined | 18:18 |
| → hash-z3r_ joined | 18:19 |
| ← hash-z3r0 left | 18:19 |
| → def_jam joined | 18:19 |
| ← eblip left | 18:20 |
| → MattMaker joined | 18:20 |
| → cdg joined | 18:23 |
| ← stutter left | 18:25 |
| ← MattMaker left | 18:25 |
| ← cdg_ left | 18:26 |
| ← achadwick left | 18:27 |
| ← upperdeck_ left | 18:28 |
| → upperdeck joined | 18:29 |
| ← iNCoNFuN left | 18:29 |
| ← netj left | 18:31 |
| → basiclaser joined | 18:31 |
| → netj joined | 18:31 |
| → dersand joined | 18:34 |
| ← peacememories left | 18:35 |
| ← Bock left | 18:35 |
| ← mkali left | 18:35 |
| ← Gurkenglas left | 18:35 |
| → grazfather joined | 18:36 |
|
grazfather
| hey guys, how can I create a branch without checking it out? I just want to make a new branch point to a certain commit, but not suffer the time it takes to change over to it | 18:36 |
|
grawity
| `git branch <name> <base>` | 18:37 |
|
grazfather
| wow | 18:38 |
|
| ty | 18:38 |
| → peacememories joined | 18:38 |
| → cdg_ joined | 18:38 |
| → ankit01ojha joined | 18:38 |
|
grazfather
| oh you can even move the branch you're not on | 18:39 |
|
| i assumed it was always working on your current branch | 18:39 |
| ← Brain left | 18:39 |
| → cdg__ joined | 18:40 |
| ← hash-z3r_ left | 18:40 |
| ← peacememories left | 18:40 |
| → phluks joined | 18:40 |
| ← cdg left | 18:41 |
| → Ldip joined | 18:41 |
| → peacememories joined | 18:41 |
| ← grazfather left | 18:42 |
| → stutter joined | 18:42 |
| ← cdg_ left | 18:42 |
| ← NeverTired left | 18:43 |
| ← cdg__ left | 18:44 |
| → MattMaker joined | 18:47 |
| ← seds left | 18:47 |
| ← belmoussaoui_ left | 18:47 |
| → belmoussaoui_ joined | 18:49 |
| ← jmccarthy left | 18:49 |
| → Murii|osx joined | 18:49 |
| ← peacememories left | 18:50 |
| → peacememories joined | 18:50 |
| → Gurkenglas joined | 18:52 |
| → ka joined | 18:55 |
| ← ka left | 18:55 |
| ← imack left | 18:56 |
| → bitbit joined | 18:56 |
| → mescalinum joined | 18:56 |
| → hash-z3r0 joined | 18:56 |
| ← jstimm left | 18:58 |
| → cagedwisdom joined | 18:59 |
| ← thiago left | 19:00 |
| ← orbyt_ left | 19:00 |
| → doener joined | 19:00 |
| → nixjdm joined | 19:02 |
| → tvw joined | 19:02 |
| → raynold joined | 19:02 |
| → olalonde joined | 19:03 |
| → synthroid joined | 19:03 |
| → mar77i_ joined | 19:03 |
| ← mar77i left | 19:05 |
| → Ladus joined | 19:05 |
| → marinin joined | 19:06 |
| ← peacememories left | 19:07 |
| ← southernirc left | 19:07 |
| → thiago joined | 19:07 |
| ← EvilPenguin left | 19:07 |
| → EvilPenguin joined | 19:08 |
| ← m0viefreak left | 19:09 |
| → jimsio joined | 19:09 |
| → salamanderrake joined | 19:10 |
| → peacememories joined | 19:10 |
| → jnavila joined | 19:11 |
| ← Gurkenglas left | 19:11 |
| → mr_sm1th joined | 19:11 |
| ← lempface left | 19:12 |
| → Dougie187 joined | 19:12 |
| ← peacememories left | 19:12 |
| ← pks left | 19:13 |
| → Bishop_Bautista joined | 19:14 |
| → pks joined | 19:16 |
| ← _Patrick_ left | 19:18 |
| ← z1haze left | 19:21 |
| → _Patrick_ joined | 19:23 |
| → peacememories joined | 19:24 |
| ← Murr left | 19:27 |
| → Murr joined | 19:28 |
|
skalpin
| When I do a merge from two branches and resolve the conflicts, it results in no new merge commit because resolving the conflicts keeps the files as is. Is there a way to resolve these conflicts permanently? I keep getting the same conflict on each merge. | 19:29 |
| ← peacememories left | 19:30 |
|
perlpilot
| skalpin: enable rerere ? | 19:31 |
| mar77i_ → mar77i | 19:31 |
| ← cdown left | 19:33 |
| ← nixjdm left | 19:34 |
| ← _Patrick_ left | 19:35 |
| ← prg318 left | 19:36 |
| → _Patrick_ joined | 19:36 |
| → prg318 joined | 19:37 |
|
skalpin
| oh, I'm dumb. after completing the merge I needed to do a `git merge --continue` to create the merge commit. | 19:37 |
| ← kerrick left | 19:37 |
|
skalpin
| I just didn't think there was anything to commit because posh-git was telling me nothing had changed. But I was still in a merging state. | 19:38 |
| ← lkolstad left | 19:40 |
| ← dviola left | 19:41 |
| ← Ladus left | 19:41 |
| → orbyt_ joined | 19:42 |
| → seds joined | 19:44 |
| → kerrick joined | 19:44 |
| ← pks left | 19:46 |
| → nixjdm joined | 19:47 |
| → pks joined | 19:48 |
| → vjacob joined | 19:49 |
| → Gurkenglas joined | 19:50 |
| → cdown joined | 19:50 |
| → yqt joined | 19:52 |
| → ozcanesen joined | 19:53 |
| ← rnsanchez left | 19:54 |
| ← seds left | 19:56 |
| → kadoban joined | 19:56 |
| ← fatihgenc left | 19:56 |
| → bomb-on joined | 19:56 |
| ← Xethron left | 19:56 |
| ← mr_sm1th left | 19:56 |
| → nobso joined | 19:57 |
| ← nobso left | 19:57 |
| ← synthroid left | 19:57 |
| ← Baughn left | 19:58 |
| ← steeze left | 19:58 |
| ← beerdrop left | 19:59 |
| → Baughn joined | 20:00 |
| → seds joined | 20:01 |
| ← kerrick left | 20:02 |
| → steeze joined | 20:03 |
| ← thiago left | 20:04 |
| ← cdown left | 20:05 |
| ← Hello71 left | 20:06 |
| ← marinin left | 20:06 |
| → King_Hual joined | 20:07 |
| → ZyX-I joined | 20:07 |
| → marinin joined | 20:07 |
| → cdown joined | 20:08 |
| → Hello71 joined | 20:08 |
| → kerrick joined | 20:08 |
| ← phluks left | 20:08 |
| ← EvilPenguin left | 20:09 |
| → geekhands joined | 20:09 |
| ← rkta left | 20:09 |
| → synthroid joined | 20:10 |
| ← Anja_ left | 20:10 |
| ← glad_ left | 20:12 |
| ← kerrick left | 20:12 |
| ← jeffreylevesque_ left | 20:12 |
| ← Es0teric left | 20:14 |
| → rkta joined | 20:14 |
| ← seds left | 20:14 |
| → Es0teric joined | 20:15 |
| ← Darcidride left | 20:15 |
| → EvilPenguin joined | 20:16 |
| → thiago joined | 20:16 |
| → cdg joined | 20:18 |
| → seds joined | 20:19 |
| → kerrick joined | 20:20 |
| ← cdg left | 20:20 |
| → Anja joined | 20:21 |
| ← seds left | 20:21 |
| → cdg joined | 20:24 |
| ← dersand left | 20:28 |
| ← plasticle left | 20:29 |
| → relipse___ joined | 20:29 |
| ← rk left | 20:30 |
| ← kerrick left | 20:30 |
| → Guma joined | 20:30 |
| → rk joined | 20:30 |
| ← Gurkenglas left | 20:32 |
| ← vush left | 20:32 |
| → Phylock joined | 20:34 |
| → stethewwolf joined | 20:34 |
| ← mattcen left | 20:34 |
| ← nixjdm left | 20:34 |
| → beerdrop joined | 20:35 |
| → mustmodify_ joined | 20:36 |
| mustmodify_ → mustmodify | 20:37 |
|
mustmodify
| This is probably crazy, but can I ask git whether the word "box-shadow" has been removed from my repo in the last ... say.... 2 months? | 20:37 |
| → mattcen joined | 20:37 |
|
_ikke_
| mustmodify: git log --since='2 months ago' -S 'box-shadow' --all | 20:39 |
|
| something like that | 20:39 |
|
mustmodify
| -S ... | 20:39 |
| → sbeyer joined | 20:39 |
|
mustmodify
| I'll check it out. Thanks. | 20:39 |
|
_ikke_
| (it whould also show commit that added it, add -p to see the diff) | 20:39 |
|
| yes | 20:39 |
|
| -S shows you commits that either added or removed that string | 20:39 |
| ← rawste left | 20:39 |
| → kerrick joined | 20:40 |
|
mustmodify
| HOLY CRAP IT WORKED. That's amazing. Thank you. And I'm going to just send a thank you out to Torvalds et al. | 20:40 |
|
_ikke_
| hehe | 20:40 |
| → kasual joined | 20:40 |
| → seds joined | 20:41 |
| ← freimatz3 left | 20:42 |
| ← Ldip left | 20:43 |
| → vush joined | 20:44 |
| → xaxxon joined | 20:44 |
| ← Bishop_Bautista left | 20:46 |
| → nixjdm joined | 20:47 |
| ← geekhands left | 20:48 |
| ← EvilPenguin left | 20:49 |
| ← steeze left | 20:50 |
| ← jimsio left | 20:50 |
| ← doener left | 20:51 |
| ← synthroid left | 20:52 |
| ← King_Hual left | 20:54 |
| ← fahadash left | 20:54 |
| → Gurkenglas joined | 20:54 |
| ← kerrick left | 20:55 |
| ← Oatmeal left | 20:56 |
| → kerrick joined | 20:58 |
| ← ankit01ojha left | 20:58 |
| ← mescalinum left | 20:58 |
| ← tijensse left | 20:58 |
| → anakinz23E joined | 20:58 |
| → tijensse joined | 20:59 |
| → torshido joined | 20:59 |
| ← tijensse left | 20:59 |
| → tijensse joined | 21:00 |
| ← TomyLobo left | 21:00 |
| ← anakinz23E left | 21:01 |
| ← stutter left | 21:01 |
| ← sbeyer left | 21:02 |
| → Marvel joined | 21:02 |
| → steeze joined | 21:03 |
| → King_Hual joined | 21:03 |
| ← King_Hual left | 21:03 |
| → King_Hual joined | 21:03 |
| ← Marvel left | 21:04 |
| → EvilPenguin joined | 21:05 |
| ← bronson left | 21:06 |
| ← cdown left | 21:06 |
| → mescalinum joined | 21:06 |
| → markus13 joined | 21:07 |
| → bronson joined | 21:07 |
| ← markus13 left | 21:08 |
| ← tijensse left | 21:08 |
| → tijensse joined | 21:09 |
| ← seds left | 21:09 |
| ← orbyt_ left | 21:10 |
| → Xethron joined | 21:11 |
| → Gustavo6046 joined | 21:11 |
| ← ash_workz left | 21:11 |
| ← jnavila left | 21:13 |
| ← Gurkenglas left | 21:13 |
| → Rc43 joined | 21:14 |
|
Rc43
| Hi guys | 21:14 |
|
| I am just wondering what I am doing wrong with git-subtree | 21:15 |
| → paguy61 joined | 21:15 |
| → cdown joined | 21:15 |
|
Rc43
| Trying to merge history of other repo in to my main repo | 21:15 |
|
| But got `git-subtree cannot be used without a working tree`, though .git is present in current folder | 21:15 |
| → preyalone joined | 21:16 |
| ← LeBlaaanc left | 21:16 |
| → justan0theruser joined | 21:18 |
| ← Es0teric left | 21:19 |
| ← utrack left | 21:19 |
| ← paguy61 left | 21:19 |
| ← aard_ left | 21:19 |
| → orbyt_ joined | 21:19 |
| ← tijensse left | 21:19 |
| ← Mindi left | 21:21 |
| → tijensse joined | 21:22 |
|
Rc43
| Even on freshly cloned repo with origin | 21:26 |
| ← chriys left | 21:27 |
| ← tijensse left | 21:27 |
| ← Murr left | 21:28 |
| → tijensse joined | 21:28 |
| → Murr joined | 21:28 |
| → chriys joined | 21:29 |
| → mr_sm1th joined | 21:30 |
| ← chriys left | 21:30 |
| ← tijensse left | 21:30 |
| → Mindi joined | 21:30 |
| → utrack joined | 21:30 |
| → tijensse joined | 21:30 |
|
xaxxon
| Rc43 did you init your submodules? | 21:32 |
|
| Rc43 hrmm, nm | 21:32 |
| → seds joined | 21:32 |
| ← Elon_Satoshi left | 21:32 |
| → Elon_Satoshi joined | 21:33 |
|
xaxxon
| Rc43 did you follow the instructions here: https://git-scm.com/book/en/v1/Git-Tools-Subtree-Merging ? | 21:33 |
| ← relipse___ left | 21:34 |
| ← nixjdm left | 21:34 |
| → phinxy joined | 21:34 |
| ← seds left | 21:35 |
| → relipse joined | 21:35 |
|
relipse
| I have a coworker who made some commits NOT on a branch, how do I pull those changes into a branch i have the commit hash | 21:35 |
| ← phinxy left | 21:35 |
| ← yqt left | 21:36 |
| ← Murii|osx left | 21:36 |
|
kadoban
| relipse: Do you just want to give them a name, like a new branch name? Then 'git branch omgimabranch whateverSHAid' | 21:36 |
|
Rc43
| xaxxon, probably this is the key: "git checkout -b rack_branch rack_remote/master" | 21:36 |
|
| I followed SO answer, it misses it | 21:37 |
|
kadoban
| Or you can just merge them into something also if you want, just using the sha-id. | 21:37 |
|
relipse
| yes kadoban | 21:37 |
| → dsdeiz_ joined | 21:37 |
| ← Anja left | 21:38 |
| ← marinin left | 21:40 |
| → noobineer joined | 21:40 |
| ← stethewwolf left | 21:41 |
| → xaxxon_ joined | 21:41 |
| ← dsdeiz_ left | 21:42 |
| ← xaxxon left | 21:42 |
| ← govg left | 21:42 |
|
Rc43
| xaxxon, actually this link solves the problem without merging histories, git read-tree I mean | 21:43 |
|
| oh he left | 21:43 |
| ← markzen left | 21:43 |
| ← ResidentBiscuit left | 21:45 |
|
xaxxon_
| oh he's back | 21:45 |
| ← tijensse left | 21:45 |
| → tijensse joined | 21:45 |
| → dviola joined | 21:46 |
| ← Dougie187 left | 21:47 |
|
Rc43
| xaxxon_ :) strange that I can found nothing about git-subtree | 21:47 |
| ← bronson left | 21:47 |
| ← tijensse left | 21:47 |
| → tijensse joined | 21:47 |
| → nixjdm joined | 21:47 |
| → dsdeiz_ joined | 21:48 |
| → TomyLobo joined | 21:48 |
| ← CheckDavid left | 21:48 |
| ← str left | 21:49 |
| → jeffreylevesque joined | 21:50 |
|
Rc43
| except git --help of course | 21:50 |
| ← madewokherd left | 21:51 |
|
Rc43
| this weird error message .. | 21:51 |
| ← Tobbi left | 21:51 |
| alyptik → y- | 21:51 |
|
Rc43
| could it be because of windows? | 21:51 |
| ← orbyt_ left | 21:52 |
| ← AfroThundr left | 21:52 |
| → seds joined | 21:52 |
| ← seds left | 21:52 |
| ← dsdeiz_ left | 21:53 |
| → orbyt_ joined | 21:55 |
| y- → a | 21:57 |
| a → alyptik | 21:57 |
| → Sootherer joined | 21:58 |
| ← mescalinum left | 21:58 |
| ← EricPoe left | 21:59 |
| → iamthad joined | 21:59 |
| → Gurkenglas joined | 21:59 |
| → m0viefreak joined | 22:00 |
| ← overlord_tm left | 22:01 |
| ← jeffreylevesque left | 22:01 |
| ← navidr left | 22:03 |
| ← kpease left | 22:05 |
| → jeffreylevesque joined | 22:06 |
| ← Prisoner-2460_1 left | 22:07 |
| typikal → ^k | 22:08 |
| → bayman joined | 22:08 |
| → jeffreylevesque_ joined | 22:10 |
| ← cbd_ left | 22:10 |
| → energizer joined | 22:10 |
| ← theoceaniscool left | 22:10 |
| → jnewt joined | 22:11 |
| ← jeffreylevesque left | 22:13 |
| ← bayman left | 22:13 |
| ← _ng left | 22:14 |
| → AfroThundr joined | 22:14 |
| ← mel00010 left | 22:15 |
| ← jeffreylevesque_ left | 22:15 |
| ← edvb left | 22:15 |
| → mel00010 joined | 22:16 |
| ← Gurkenglas left | 22:18 |
| ← relipse left | 22:18 |
| ← ozcanesen left | 22:20 |
| ← nadley left | 22:20 |
| → edvb joined | 22:20 |
| → ozcanesen joined | 22:20 |
| → jeffreylevesque_ joined | 22:22 |
|
angular_mike___
| is it possible to have a hook be called on remote side after push even if everything is up to date? | 22:28 |
| ← rk left | 22:30 |
| → rk joined | 22:31 |
|
kadoban
| Hm, I suspect not. I don't think the usual ones even run | 22:31 |
| ← Argylelabcoat left | 22:31 |
| ← rk left | 22:32 |
| → ertes joined | 22:33 |
| ← AfroThundr left | 22:33 |
|
angular_mike___
| I'm setting up a hook to redeploy a docker service when I push to dev branch on the repo on docker host | 22:34 |
| ← nixjdm left | 22:34 |
|
angular_mike___
| but being able to just restart that way as well would be convenient | 22:35 |
|
kadoban
| Ya, this is the kind of thing you run into when you try to use git as a deployment whatever, IMO. Then you have to find weird ways to signal things through git that kind of don't make sense to git, since they're not content they're just commands to the deployment system or something | 22:35 |
| → rk joined | 22:36 |
| → ovidnis joined | 22:36 |
| ← EvilPenguin left | 22:37 |
| ← Cabanossi left | 22:38 |
| ← Rc43 left | 22:38 |
| ← FrostCandy left | 22:38 |
| → Oatmeal joined | 22:39 |
| → Cabanossi joined | 22:40 |
| → oskarkv joined | 22:41 |
| → Nizumzen joined | 22:41 |
| ← Phylock left | 22:41 |
| ← bomb-on left | 22:42 |
| → jfeets joined | 22:43 |
| ← ozcanesen left | 22:43 |
| → ozcanesen joined | 22:47 |
| → nixjdm joined | 22:47 |
| ← dsdeiz left | 22:48 |
| ← tarkus left | 22:48 |
| → dsdeiz joined | 22:49 |
| ← dsdeiz left | 22:49 |
| → dsdeiz joined | 22:49 |
| ← qpdb left | 22:51 |
| → dave0x6d joined | 22:51 |
| ← courrier________ left | 22:53 |
| → courrier________ joined | 22:53 |
| ← ZyX-I left | 22:53 |
| → LuksLux joined | 22:56 |
| ← nydel07 left | 22:57 |
| → Gurkenglas joined | 22:58 |
| ← xaxxon_ left | 22:59 |
| → xaxxon joined | 23:00 |
| ← xaxxon left | 23:01 |
| ← ozcanesen left | 23:02 |
| ← nixjdm left | 23:02 |
| → ozcanesen joined | 23:04 |
| ← finalbeta left | 23:04 |
| → EvilPenguin joined | 23:05 |
|
angular_mike___
| git is a filesystem | 23:07 |
|
| which makes deployment one of its primary use cases | 23:08 |
|
| maybe I can do an empty amend on last commit orsmth? | 23:08 |
| → blaeks joined | 23:08 |
|
angular_mike___
| since there's no issue with doing force push and force checkout | 23:08 |
| ← edvb left | 23:08 |
| → feodoran_ joined | 23:09 |
|
kadoban
| Git isn't a filesystem? And if it were, I am not sure how that makes deployment something it must do. *shrug* | 23:09 |
| feodoran → Guest2392 | 23:09 |
| → renarc joined | 23:09 |
| feodoran_ → feodoran | 23:09 |
|
angular_mike___
| it is according to its author Linux Torva | 23:10 |
|
preaction
| it started as one, sure | 23:10 |
| → roelmonnens joined | 23:10 |
|
preaction
| if you want, you could proxy the git communication (like gitolite does) to do what you need | 23:10 |
| → rameerez joined | 23:11 |
|
angular_mike___
| I wanna avoid installing jenkins | 23:11 |
| ← Guest2392 left | 23:11 |
|
preaction
| was that a response to me? because i'm not sure what that was a response to | 23:12 |
|
matthiaskrgr
| effects like pain? maybe 10 minutes | 23:13 |
|
| oops | 23:13 |
|
| wrong channel | 23:13 |
| ← high_fiver left | 23:14 |
| ← roelmonnens left | 23:14 |
| ← rameerez left | 23:14 |
| → jimmyrcom_ joined | 23:15 |
| ← justan0theruser left | 23:15 |
|
angular_mike___
| preaction: maybe | 23:16 |
|
Hello71
| "Linux Torva" | 23:16 |
|
preaction
| alright, well, i can't help you until you're clear about what you're asking | 23:16 |
|
Hello71
| I exhaled more deeply than usual. | 23:16 |
|
preaction
| so, good luck | 23:16 |
| → xaxxon joined | 23:17 |
| ← Gurkenglas left | 23:17 |
| ← schleppel left | 23:17 |
|
angular_mike___
| preaction: execute post-receive or similar hook after I push and it is already up-to-date | 23:18 |
|
| hmm | 23:18 |
|
| tho maybe, I could just create a new branch and push it? | 23:18 |
|
preaction
| angular_mike___: you aren't listening to me, so i don't know why you keep pulling me into the conversation. there is no conversation if you're not listening to me. | 23:18 |
|
angular_mike___
| cause I set up the script to check out the branch that has been pushed | 23:19 |
|
preaction
| it's just you saying things at me. that's not a conversation | 23:19 |
| ← dege left | 23:19 |
|
angular_mike___
| preaction: I'm just saying what seems most important | 23:19 |
|
preaction
| i again ask: Why are you saying it TO ME? | 23:19 |
| ← ozcanesen left | 23:19 |
|
angular_mike___
| preaction: idk, do you know how to use git? | 23:19 |
| → mizu_no_oto joined | 23:20 |
|
angular_mike___
| before you complained i wasn't talking to you enough | 23:20 |
|
preaction
| yes. i, in fact, know how to solve your problem | 23:20 |
|
angular_mike___
| girl, stop these hot n cold games | 23:20 |
| ← dsdeiz left | 23:20 |
| ← Elon_Satoshi left | 23:21 |
|
preaction
| [18:10:48] <preaction> if you want, you could proxy the git communication (like gitolite does) to do what you need | 23:21 |
| → dsdeiz joined | 23:21 |
|
angular_mike___
| idk what that means | 23:21 |
|
| why are you so mysterious | 23:21 |
| → ozcanesen joined | 23:22 |
|
preaction
| you didn't ask. if you want to know what something means, you need to ask | 23:22 |
|
| look at how gitolite works, then you can see how you can intercept git communication to do what you need | 23:22 |
|
angular_mike___
| I don't wanna install another tool | 23:23 |
|
| my setup is already complex enough | 23:23 |
|
preaction
| which is why i said _look_, and not _install_ | 23:24 |
| → AfroThundr joined | 23:24 |
| ← Cabanossi left | 23:24 |
| → nadley joined | 23:24 |
|
angular_mike___
| hm, it uses 't' for test directory name | 23:25 |
| → Cabanossi joined | 23:25 |
| ← preyalone left | 23:25 |
|
angular_mike___
| oh shit ,its perl | 23:25 |
|
preaction
| yes, "t" as a test directory is common for perl code | 23:26 |
| → relipse joined | 23:26 |
| → Elon_Satoshi joined | 23:27 |
| ← Murr left | 23:27 |
| def_jam → eb0t | 23:28 |
| → relipse__ joined | 23:28 |
| → Murr joined | 23:28 |
|
angular_mike___
| https://i.ytimg.com/vi/LR8fQiskYII/hqdefault.jpg | 23:28 |
| ← basiclaser left | 23:28 |
|
preaction
| yes, that's lwall, the developer of perl | 23:30 |
| ← mattcen left | 23:31 |
| ← jfeets left | 23:31 |
| ← relipse left | 23:31 |
| ← kerrick left | 23:31 |
| → kerrick joined | 23:33 |
| → mattcen joined | 23:34 |
| ← King_Hual left | 23:34 |
|
idmistir
| hey guys.. I could really use some help. I think I messed with the timeline ^^ | 23:35 |
| → Puffball_ joined | 23:35 |
| ← ozcanesen left | 23:35 |
| → edvb joined | 23:35 |
|
idmistir
| I think, about a month ago, I commited to a repo while being checked out on an earlier version and effectively altering the course of history since then | 23:35 |
| ← mizu_no_oto left | 23:36 |
|
idmistir
| can I recover the commits on the parallel universe I cut loose? | 23:36 |
|
preaction
| git rebase is a good tool for this, yes, idmistir | 23:36 |
|
idmistir
| preaction; i can't see those commits at all.. I don't know their hashes or anything.. | 23:37 |
|
| I've been looking for them with git fsck | 23:37 |
|
preaction
| git fsck doesn't look for things though. maybe you meant git reflog? | 23:37 |
| ← Puffball left | 23:37 |
|
idmistir
| i did that too | 23:37 |
| → wxg joined | 23:37 |
|
idmistir
| i couldn't see anything that seemed relevant | 23:37 |
| → DIDAVISION joined | 23:38 |
|
idmistir
| preaction; Should I be able to view the commits I can't "see" in my normal history? | 23:38 |
| → plasticle joined | 23:39 |
|
idmistir
| (btw, this is all on one branch, master) | 23:39 |
|
preaction
| i mean, if you can't find them, and you don't know their commit hashes, they're likely gone | 23:40 |
|
| if the commit isn't reachable from master, it won't show up in the log | 23:40 |
| → ozcanesen joined | 23:40 |
|
idmistir
| I think I just skipped a beat | 23:40 |
|
| and not in a good way :/ | 23:40 |
| ← mr_sm1th left | 23:40 |
|
preaction
| did git fsck report removing any unreachable things? | 23:41 |
|
| how did you merge the upstream's master? | 23:41 |
| → someone235 joined | 23:41 |
|
idmistir
| I see three unreachable things, and some dangling blobs, but nothing weird. What IS weird is that I see one commit being referenced like 8 times as "amended" (I never amended that commit) | 23:41 |
|
| which is very strange | 23:41 |
|
preaction
| how did you merge the upstream's master? | 23:43 |
|
idmistir
| preaction; I'm sorry, I don't quite understand that. | 23:44 |
|
| not very good with git terminology | 23:45 |
|
preaction
| idmistir: how did the commits disappear? how did you learn that the upstream had moved on? if it's all the same branch, you must have done something locally (git pull perhaps) that added their commits to your branch | 23:45 |
|
idmistir
| preaction; I'm extrapolating based on what I see. There is definitely work lost, and this is the only thing that makes sense. Since the repo that is missing commits is a submodule of a main repository, the working theory is that something like "git push origin HEAD:master" happened while in a detached HEAD state | 23:47 |
|
| which, in all honesty, I am not sure if it would cause this | 23:47 |
| ← EvilPenguin left | 23:47 |
|
preaction
| a push would not cause this, no | 23:47 |
|
idmistir
| what would? | 23:47 |
| → bronson joined | 23:47 |
| ← ozcanesen left | 23:48 |
|
preaction
| committing to a detached head and then doing git submodule update on the parent would | 23:48 |
| → brent__ joined | 23:48 |
|
idmistir
| committing without having pushed? | 23:48 |
|
preaction
| sure. you can't push if you don't have a branch | 23:49 |
|
| and submodules only recently started tracking branches at all | 23:49 |
| → shdw joined | 23:49 |
| ← tvw left | 23:49 |
|
idmistir
| Fair enough.. but this doesn't make sense in the context of how we work.. consider dev machines, and a remote staging server. the staging had the changes that I am currently missing. they're not on there now either | 23:49 |
| ← cdg left | 23:49 |
|
idmistir
| what you're saying would make sense if we lost the changes on local only? | 23:49 |
|
| Our remote is on bitbucket | 23:50 |
|
| ^ remote git is on bitbucket* | 23:51 |
|
preaction
| you're saying this code was committed and was in bitbucket and now it's gone? | 23:51 |
| → durham_ joined | 23:51 |
|
idmistir
| allegedly, yes. | 23:51 |
|
preaction
| what do you mean allegedly? | 23:51 |
|
idmistir
| well, I have yet to prove this. Just the only thing that makes sense so far. | 23:52 |
|
| could I have messed with the HEAD and and then garbage collection cleaned up any references? | 23:52 |
|
preaction
| so you did some work. you committed that work. you pushed that up to bitbucket. and... then what? | 23:52 |
|
idmistir
| aight, let me take it from the top | 23:52 |
| ← bronson left | 23:52 |
|
idmistir
| I have a guy I work with.. let's call him "Smith". Smith did some work, committed and pushed that work, and that work was pulled on the staging server from the bitbucket repo | 23:53 |
|
| About a month ago, I added a few things to the repo. Now, changes Smith made before I did my additions (on completely unrelated files, btw) got lost | 23:53 |
| → Gurkenglas joined | 23:54 |
|
idmistir
| Consequently, a git pull was made on the staging server | 23:54 |
| ← Oatmeal left | 23:54 |
|
idmistir
| The staging server, of course, is now up to date with master, which does not have said commits on log | 23:54 |
| ← durham left | 23:54 |
|
idmistir
| Makes sense? | 23:54 |
|
| "Now, some changes Smith made"* | 23:55 |
|
| some being the key word | 23:55 |
| ← durham_ left | 23:56 |
|
preaction
| how did you push your changes to the server? | 23:58 |
|
idmistir
| to the staging server? | 23:58 |
|
preaction
| to bitbucket, first of all | 23:59 |
|
idmistir
| just a git push from phpstorm | 23:59 |
| ← orbyt_ left | 23:59 |
|
preaction
| and phpstorm does not add --force? | 23:59 |
| ← steeze left | 23:59 |
|
preaction
| did you add --force? | 23:59 |