| 2017-12-26 |
| ← CheckDavid left | 00:02 |
| → mel00010 joined | 00:02 |
| ← mel00010 left | 00:03 |
| ← finalbeta left | 00:04 |
| ← maheshpec left | 00:04 |
| → Kaisyu joined | 00:07 |
| ← felixsanz left | 00:09 |
| → felixsanz joined | 00:11 |
| ← ArcaTech left | 00:11 |
| ← Wetmelon left | 00:11 |
| ← mda1 left | 00:12 |
| → TomyLobo joined | 00:30 |
| ← Lyqyd left | 00:31 |
| ← thiago left | 00:34 |
| ← v4ult left | 00:34 |
| → shinnya joined | 00:35 |
| ← Guest18 left | 00:35 |
| ← dsdeiz left | 00:36 |
| → dsdeiz joined | 00:37 |
| ← FoxRocks left | 00:37 |
| ← Acerific left | 00:39 |
| → Guest18 joined | 00:39 |
| ← converge left | 00:41 |
| ← duderonomy left | 00:45 |
| → FoxRocks joined | 00:46 |
| ← Hi-Angel_ left | 00:46 |
| → jameser joined | 00:46 |
| → Masber_080 joined | 00:52 |
| → hash-z3r0 joined | 00:57 |
| ← Murr left | 00:57 |
| → Murr joined | 00:58 |
| ← hash-z3r0 left | 01:02 |
| → safe joined | 01:04 |
| → tunekey joined | 01:14 |
| ← FoxRocks left | 01:16 |
| ← MacWinner left | 01:20 |
| ← Gustavo6046 left | 01:23 |
| ← z8z left | 01:29 |
| → ismithers joined | 01:30 |
| → meesles joined | 01:34 |
| → eh3 joined | 01:38 |
| → checkItOut joined | 01:39 |
| ← checkItOut left | 01:39 |
| → nikheizen joined | 01:40 |
| ← schleppel left | 01:40 |
| → checkItOut joined | 01:40 |
| → Noldorin joined | 01:40 |
| → maheshpec joined | 01:42 |
| ← Tobbi left | 01:43 |
| ← checkItOut left | 01:44 |
| → checkItOut joined | 01:45 |
| ← checkItOut left | 01:46 |
| → checkItOut joined | 01:46 |
| → coreyfarrell joined | 01:47 |
| ← checkItOut left | 01:48 |
| → checkItO_ joined | 01:48 |
| → checkItOut joined | 01:49 |
| ← checkItO_ left | 01:50 |
| → checkIt__ joined | 01:50 |
| → Cae joined | 01:52 |
| ← checkItOut left | 01:53 |
| ← checkIt__ left | 01:53 |
| → neil_cn joined | 01:53 |
|
coreyfarrell
| does anyone know of a way to find out if the the current HEAD commit can be cherry-picked to a different branch? | 01:54 |
| ← johnny56_ left | 01:55 |
| ← ismithers left | 01:56 |
| → johnny56 joined | 01:57 |
| → gugah joined | 01:57 |
| ← dsdeiz left | 01:58 |
| ← maheshpec left | 01:59 |
| → giraffe joined | 01:59 |
| → dsdeiz joined | 01:59 |
| ← dsdeiz left | 02:00 |
| → dsdeiz joined | 02:00 |
| ← shinnya left | 02:01 |
| → hash-z3r0 joined | 02:03 |
| → finalbeta joined | 02:04 |
| ← fatalhalt left | 02:05 |
| ← ShapeShifter499 left | 02:05 |
| ← Cae left | 02:07 |
| → linuxmodder joined | 02:16 |
| ← linuxmodder left | 02:16 |
| → linuxmodder joined | 02:16 |
| ← linuxmodder left | 02:17 |
| → linuxmodder joined | 02:18 |
| ← linuxmodder left | 02:18 |
| → linuxmodder joined | 02:18 |
| → felepo joined | 02:18 |
| ← linuxmodder left | 02:19 |
| ← tombusby left | 02:19 |
| → dreiss joined | 02:19 |
| → linuxmodder joined | 02:19 |
| ← linuxmodder left | 02:19 |
| → linuxmodder joined | 02:19 |
| ← felepo left | 02:19 |
| ← linuxmodder left | 02:20 |
| → checkItOut_ joined | 02:21 |
| → linuxmodder joined | 02:21 |
| ← linuxmodder left | 02:22 |
| → linuxmodder joined | 02:22 |
| ← linuxmodder left | 02:23 |
| → linuxmodder joined | 02:24 |
| ← linuxmodder left | 02:24 |
| → linuxmodder joined | 02:24 |
| ← linuxmodder left | 02:25 |
| → z8z joined | 02:26 |
| → FoxRocks joined | 02:26 |
| → tombusby joined | 02:26 |
| → armyriad joined | 02:32 |
| ← moei left | 02:34 |
| ← dreiss left | 02:35 |
| ← jameser left | 02:36 |
| → jameser joined | 02:37 |
| ← hash-z3r0 left | 02:37 |
| ← davidfetter left | 02:38 |
| → rivalomega joined | 02:38 |
| → hash-z3r0 joined | 02:40 |
| ← Barrt left | 02:43 |
| → Arcaelyx joined | 02:45 |
| ← ilbot3 left | 02:46 |
| ← cdown left | 02:47 |
| ← themill left | 02:49 |
| → themill joined | 02:55 |
| ← surfist left | 02:55 |
| → cdown joined | 02:56 |
| ← gugah left | 02:56 |
| ← Murr left | 02:57 |
| → Murr joined | 02:57 |
| → ilbot3 joined | 02:58 |
| ← salamanderrake left | 03:00 |
| → cqi joined | 03:00 |
| → salamanderrake joined | 03:00 |
| → mud joined | 03:01 |
| ← cdown left | 03:05 |
| → houami joined | 03:05 |
| ← leeN left | 03:08 |
| ← houami left | 03:10 |
| ← TomyLobo left | 03:11 |
| → houami joined | 03:12 |
| ← hash-z3r0 left | 03:13 |
| ← houami left | 03:15 |
| → rajat joined | 03:16 |
| → hash-z3r0 joined | 03:19 |
| ← dave0x6d left | 03:21 |
| ← FoxRocks left | 03:22 |
| ← konsolebox left | 03:25 |
| → houami joined | 03:25 |
| → konsolebox joined | 03:26 |
| ← salamanderrake left | 03:28 |
| → salamanderrake joined | 03:29 |
| LocaMocha → Sauvin | 03:30 |
| ← houami left | 03:30 |
| ← noyb left | 03:31 |
| → chachasmooth_ joined | 03:32 |
| → dreiss joined | 03:33 |
| ← chachasmooth left | 03:33 |
| → jagobdue joined | 03:34 |
| → shripadr joined | 03:34 |
| ← Arcaelyx left | 03:35 |
| → houami joined | 03:35 |
| → Arcaelyx joined | 03:37 |
| ← jagob left | 03:37 |
| ← rajat left | 03:39 |
| ← mud left | 03:40 |
| ← houami left | 03:40 |
| → houami joined | 03:41 |
| ← lb1c left | 03:44 |
| → lb1c joined | 03:44 |
| ← a3Dman left | 03:48 |
| ← VoradorPT left | 03:49 |
| ← hash-z3r0 left | 03:51 |
| ← nchambers left | 03:52 |
| ← shripadr left | 03:52 |
| ← phinxy left | 03:52 |
| → phinxy joined | 03:53 |
| ← phinxy left | 03:54 |
| → mizu_no_oto joined | 03:57 |
| → g00s joined | 04:01 |
| → akushner joined | 04:02 |
| ← Noldorin left | 04:02 |
| → hash-z3r0 joined | 04:03 |
| ← pks left | 04:04 |
| → pks joined | 04:05 |
| → surfist joined | 04:05 |
| → ShapeShifter499 joined | 04:05 |
| ← houami left | 04:07 |
| ← vrc414 left | 04:09 |
| → duderonomy joined | 04:11 |
| → gtristan joined | 04:11 |
| ← mizu_no_oto left | 04:13 |
| ← dreiss left | 04:14 |
| → mizu_no_oto joined | 04:17 |
| ← hash-z3r0 left | 04:18 |
| ← bkxd left | 04:21 |
| → houami joined | 04:23 |
| ← surfist left | 04:26 |
| → vrc414 joined | 04:28 |
| ← mizu_no_oto left | 04:31 |
| ← akushner left | 04:32 |
| → surfist joined | 04:33 |
| ← Bin4ry left | 04:37 |
| ← ghost43 left | 04:38 |
| → ghost43 joined | 04:38 |
| ← checkItOut_ left | 04:40 |
| ← dsdeiz left | 04:40 |
| → dsdeiz joined | 04:41 |
| → boombatower joined | 04:42 |
| ← houami left | 04:43 |
| → houami joined | 04:43 |
| → KeyJoo joined | 04:45 |
| → hash-z3r0 joined | 04:45 |
| ← houami left | 04:48 |
| ← eh3 left | 04:49 |
| → matsaman joined | 04:50 |
| ← matsaman left | 04:51 |
| → houami joined | 04:54 |
| ← Cabanossi left | 04:58 |
| ← hash-z3r0 left | 05:00 |
| → Cabanossi joined | 05:00 |
| → noyb joined | 05:00 |
| ← houami left | 05:07 |
| → houami joined | 05:07 |
| ← houami left | 05:11 |
| ← Saragog left | 05:12 |
| → re1 joined | 05:14 |
| ← z8z left | 05:14 |
| → t0adst00l joined | 05:15 |
| → mel00010 joined | 05:19 |
| ← g00s left | 05:21 |
| → pkx2 joined | 05:24 |
| → hash-z3r0 joined | 05:27 |
| ← rivalomega left | 05:28 |
| ← t0adst00l left | 05:28 |
| → ogny joined | 05:30 |
| → houami joined | 05:30 |
| ← ColdKeyboard left | 05:31 |
| ← meesles left | 05:31 |
| → ColdKeyboard joined | 05:31 |
| → rivalomega joined | 05:32 |
| ← ColdKeyboard left | 05:32 |
| → ColdKeyboard joined | 05:32 |
| ← ColdKeyboard left | 05:33 |
| ← rivalomega left | 05:34 |
| ← pkx2 left | 05:34 |
| → rivalomega joined | 05:34 |
| → FoxRocks joined | 05:35 |
| → nan2 joined | 05:35 |
| ← nan2 left | 05:36 |
| → t0adst00l joined | 05:38 |
| ← hash-z3r0 left | 05:38 |
| ← t0adst00l left | 05:40 |
| ← felixsanz left | 05:40 |
| → felixsanz joined | 05:41 |
| ← arecacea1 left | 05:43 |
| → wandering_vagran joined | 05:43 |
| → arecacea1 joined | 05:44 |
| → ColdKeyboard joined | 05:44 |
| ← Guest18 left | 05:44 |
| → pkx2 joined | 05:45 |
| → xxMatiasxx joined | 05:49 |
| → rajat joined | 05:50 |
| ← dviola left | 05:52 |
|
xxMatiasxx
| Hi we have a master branch which has the version that we have in production of our application. Then we have a develop branch were we develop and test our code. We decided to do some changes on our folder structure and we made some big "git mv"s. Later another couple of bug fixes were solved in master since it was code that was needed to be put on production asap. Now I want to sync our develop branch with those fixes, but i | 05:52 |
|
| t will recreate the folders that we moved. How can I accomplish this ? | 05:52 |
|
_ikke_
| One way is to merge, but not commit, and then move those files as well | 05:56 |
| → t0adst00l joined | 05:56 |
| → hdqn joined | 05:56 |
|
hdqn
| awwwhhh silly me! so I added some lines, committed, merged a branch, deleted it, forgot about the merge, reset HEAD~; add .; commit -C ORIG_HEAD to add a change I wanted to include in the commit before the merge, aaand obviously fail, since now the change is included with the merge instead | 06:00 |
| → shripadr joined | 06:00 |
| → hash-z3r0 joined | 06:01 |
| ← foul_owl left | 06:02 |
| ← t0adst00l left | 06:02 |
| ← hash-z3r0 left | 06:06 |
| ← m0viefreak left | 06:07 |
| ← IanLiu left | 06:08 |
| → shripadr_ joined | 06:09 |
| → fatalhalt joined | 06:10 |
| ← shripadr left | 06:10 |
| → t0adst00l joined | 06:16 |
| ← pkx2 left | 06:17 |
| ← t0adst00l left | 06:18 |
| → pkx2 joined | 06:18 |
| ← rivalomega left | 06:24 |
| → rivalome_ joined | 06:24 |
| ← Guest90807 left | 06:26 |
| ← justan0theruser left | 06:30 |
| → justanotheruser joined | 06:30 |
| → prometheus_falli joined | 06:31 |
| → re1_ joined | 06:32 |
| → hash-z3r0 joined | 06:32 |
| ← FoxRocks left | 06:34 |
| ← menip left | 06:35 |
| ← re1 left | 06:35 |
| ← xxMatiasxx left | 06:35 |
| ← matoro left | 06:36 |
| → matoro joined | 06:36 |
| ← rivalome_ left | 06:44 |
| → rivalomega joined | 06:45 |
| → macopython joined | 06:46 |
| → deepakbndeepu joined | 06:48 |
|
macopython
| Can I extract changes for particular file from git patch ? | 06:52 |
| ← PaulePanter left | 06:54 |
| → xcm joined | 06:57 |
| ← deepakbndeepu left | 06:58 |
| ← tombusby left | 07:00 |
| → jesst_ joined | 07:01 |
| → tombusby joined | 07:02 |
| ← strugee left | 07:03 |
| ← jesst_ left | 07:03 |
| ← hash-z3r0 left | 07:06 |
| ← rivalomega left | 07:06 |
| → rivalomega joined | 07:06 |
| → dreiss joined | 07:06 |
| ← Xiti left | 07:08 |
| → Silmarilion joined | 07:10 |
| → Xiti joined | 07:12 |
| → littlepython joined | 07:18 |
| littlepython → houami_ | 07:18 |
| ← houami left | 07:20 |
| ← dreiss left | 07:20 |
| ← konsolebox left | 07:20 |
| → strugee joined | 07:21 |
| → Rr4sT joined | 07:22 |
| ← johnzorn- left | 07:23 |
| ← prometheus_falli left | 07:23 |
| ← houami_ left | 07:23 |
| → prometheus_falli joined | 07:23 |
| → YuGiOhJCJ joined | 07:24 |
| → sz0 joined | 07:24 |
| ← prometheus_falli left | 07:25 |
| → prometheus_falli joined | 07:26 |
| ← staafl_ left | 07:26 |
| → konsolebox joined | 07:27 |
| ← strugee left | 07:27 |
| → johnzorn joined | 07:27 |
| → foul_owl joined | 07:28 |
| → staafl joined | 07:29 |
| ← konsolebox left | 07:32 |
| ← Xiti left | 07:34 |
| ← YuGiOhJCJ left | 07:34 |
| → YuGiOhJCJ joined | 07:34 |
| → konsolebox joined | 07:34 |
| → Xiti joined | 07:35 |
| → PaulePanter joined | 07:36 |
| ← kculpis left | 07:38 |
| → strugee joined | 07:40 |
| ← macopython left | 07:41 |
| → hash-z3r0 joined | 07:41 |
| ← Neo_ left | 07:44 |
| → tkore joined | 07:47 |
| ← hdqn left | 07:47 |
| ← YuGiOhJCJ left | 07:48 |
| → YuGiOhJCJ joined | 07:49 |
| → houami joined | 07:49 |
| ← publio left | 07:51 |
| ← knop_ left | 07:53 |
| → KnoP joined | 07:53 |
| ← hash-z3r0 left | 07:56 |
| ← konsolebox left | 07:56 |
| ← prometheus_falli left | 07:56 |
| → prometheus_falli joined | 07:57 |
| ← rivalomega left | 07:57 |
| ← boombatower left | 07:59 |
| → konsolebox joined | 08:00 |
| ← YuGiOhJCJ left | 08:04 |
| → YuGiOhJCJ joined | 08:04 |
| ← jagobdue left | 08:08 |
| → zefferno joined | 08:10 |
| → jnavila joined | 08:10 |
| ← YuGiOhJCJ left | 08:15 |
|
zxd
| hi | 08:17 |
|
| how do I see the history of changes of a paticular files from 20 commits back | 08:18 |
| → Darcidride joined | 08:18 |
| → bkxd joined | 08:20 |
| ← cqi left | 08:20 |
| ← jnavila left | 08:22 |
| ← blahdodo left | 08:23 |
| → hash-z3r0 joined | 08:23 |
| → tvw joined | 08:31 |
| ← prometheus_falli left | 08:31 |
| → prometheus_falli joined | 08:31 |
| ← tvw left | 08:32 |
| ← coreyfarrell left | 08:33 |
| → tvw joined | 08:36 |
| ← hash-z3r0 left | 08:36 |
| → a3Dman joined | 08:38 |
| ← madewokherd left | 08:38 |
| → oxymoron93 joined | 08:38 |
| ← houami left | 08:42 |
| ← johnzorn left | 08:43 |
| ← safe left | 08:44 |
| ← katiex7 left | 08:46 |
| → shripadr joined | 08:46 |
| ← shripadr_ left | 08:48 |
| ← pkx2 left | 08:51 |
| → johnzorn joined | 08:52 |
| ← tvw left | 08:53 |
| → houami joined | 08:54 |
| ← houami left | 08:56 |
| → houami joined | 08:56 |
| → jceb joined | 09:01 |
| → hash-z3r0 joined | 09:04 |
| → blahdodo joined | 09:07 |
| ← blahdodo left | 09:10 |
| ← hash-z3r0 left | 09:11 |
| → blahdodo joined | 09:14 |
| ← PaulePanter left | 09:14 |
| → PaulePanter joined | 09:14 |
| → cqi joined | 09:15 |
| ← because left | 09:21 |
| → because joined | 09:23 |
| ← swalladge left | 09:25 |
| ← xcm left | 09:26 |
| → t0adst00l joined | 09:26 |
| ← t0adst00l left | 09:27 |
| → t0adst00l joined | 09:27 |
| ← cqi left | 09:28 |
| ← jceb left | 09:28 |
| ← rajat left | 09:28 |
| ← prometheus_falli left | 09:28 |
| ← t0adst00l left | 09:28 |
| → t0adst00l joined | 09:29 |
| → prometheus_falli joined | 09:30 |
| ← re1_ left | 09:31 |
| ← jameser left | 09:31 |
| ← Rr4sT left | 09:32 |
| ← tombusby left | 09:33 |
| ← sz0 left | 09:33 |
| → tombusby joined | 09:33 |
| → swalladge joined | 09:33 |
| → ZexaronS joined | 09:34 |
| ← nydel07 left | 09:35 |
| → publicarray joined | 09:37 |
| ← publicarray left | 09:38 |
|
houami
| i get this | 09:38 |
|
| Please commit your changes or stash them before you merge. | 09:38 |
|
| Please commit your changes or stash them before you merge. | 09:39 |
|
| hi | 09:39 |
|
StephenS
| git stash or git commit ... | 09:39 |
| ← houami left | 09:39 |
| → houami joined | 09:40 |
| ← ShapeShifter499 left | 09:40 |
|
houami
| hi | 09:40 |
|
| i get this error Please commit your changes or stash them before you merge. | 09:40 |
|
| how can i resolve this | 09:40 |
|
StephenS
| <StephenS> git stash or git commit .. | 09:40 |
|
houami
| i want to discard my changes | 09:42 |
|
| can i just do git checkout on <untracked files>? | 09:43 |
| ← tombusby left | 09:43 |
| → SteffanW joined | 09:44 |
| → tombusby joined | 09:44 |
| → hash-z3r0 joined | 09:44 |
| ← energizer left | 09:44 |
|
zxd
| how does git blame work? | 09:45 |
|
_ikke_
| zxd: In what way? | 09:45 |
|
houami
| On branch master | 09:46 |
|
| Your branch is behind 'origin/master' by 93 commits, and can be fast-forwarded. | 09:46 |
| → nydel07 joined | 09:46 |
|
houami
| when i do git status ^^ | 09:46 |
|
| now if i do a git pull,it tells me | 09:47 |
|
| Please commit your changes or stash them before you merge. | 09:47 |
|
| but I have not done any changes | 09:47 |
|
zxd
| _ikke_: technically | 09:47 |
|
houami
| when i do git status,it shows lot of modifications | 09:47 |
|
| how is that possible | 09:47 |
|
zxd
| _ikke_: how does it keep track of who changed the file and the lines | 09:47 |
|
_ikke_
| zxd: It traverses the history (each commit) that touches the file | 09:48 |
|
| Each commit is compared to it's parent to see what lines the commit touched | 09:48 |
|
| the lines that are changed are attributed to the author of that commit | 09:48 |
|
| houami: did you by chance use git update-index --asume-unchanged? | 09:49 |
|
houami
| _ikke_: no | 09:49 |
| ← hash-z3r0 left | 09:49 |
| ← ArKane left | 09:49 |
|
_ikke_
| Might be an untracked / ignored file that git warns you about | 09:50 |
|
houami
| no | 09:51 |
| → schleppel joined | 09:51 |
|
zxd
| _ikke_: it must go through the entire history to look for commits that touched the file? | 09:51 |
|
houami
| there are lot of file | 09:51 |
|
| this is the first time I am trying to do a git pull after a long time | 09:51 |
| ← konsolebox left | 09:53 |
|
_ikke_
| houami: git diff --name-only --diff-filter=A HEAD @{u} | 09:54 |
| → konsolebox joined | 09:54 |
|
_ikke_
| houami: git diff --name-only --diff-filter=A @{u} HEAD | 09:54 |
| ← johnzorn left | 09:54 |
|
_ikke_
| sorry, no the first one was correct | 09:54 |
|
houami
| the first command told 3 files | 09:54 |
|
| the second command told only one file | 09:55 |
| → TomyLobo joined | 09:55 |
|
_ikke_
| houami: Is one of those 3 files a file that | 09:55 |
|
houami
| ? | 09:56 |
| → johnzorn joined | 09:56 |
|
houami
| I dont understand that | 09:56 |
|
_ikke_
| Are those files currently untracked / ignored? | 09:57 |
| ← Random832 left | 09:59 |
| → navidr joined | 10:01 |
| ← TSS_ left | 10:06 |
| ← wandering_vagran left | 10:09 |
| → Random832 joined | 10:12 |
| → TSS_ joined | 10:13 |
|
houami
| _ikke_: no they are not | 10:14 |
| ← diogenese left | 10:16 |
| → diogenese joined | 10:17 |
| → mikecmpbll joined | 10:20 |
| → JoshuaD joined | 10:25 |
| → Teremy joined | 10:25 |
| → opalepatrick joined | 10:25 |
| → czart joined | 10:27 |
| → imack joined | 10:28 |
| → tkore\work joined | 10:29 |
| ← tkore\work left | 10:30 |
| → tkore\work joined | 10:31 |
| ← tkore\work left | 10:31 |
| → tkore\work joined | 10:31 |
| ← tkore\work left | 10:32 |
| → tkore\work joined | 10:33 |
| → jnavila joined | 10:33 |
| ← tkore left | 10:33 |
| tkore\work → tkore | 10:33 |
| ← tkore left | 10:34 |
| → tkore joined | 10:35 |
| ← tkore left | 10:35 |
| → tkore joined | 10:36 |
| ← tkore left | 10:37 |
| → nms joined | 10:38 |
| → tkore joined | 10:38 |
| ← tkore left | 10:38 |
| → tkore joined | 10:38 |
|
houami
| _ikke_: any idea what to do | 10:39 |
| ← prometheus_falli left | 10:41 |
| ← t0adst00l left | 10:41 |
| → TomyLobo2 joined | 10:43 |
| ← mikecmpbll left | 10:43 |
| ← TomyLobo left | 10:46 |
| ← TomyLobo2 left | 10:50 |
| → ok91 joined | 10:51 |
| ← dmaian left | 10:52 |
| → dmaian joined | 10:52 |
| ← konsolebox left | 10:57 |
| ← tobiasvl left | 10:58 |
| → MarioBranco joined | 10:58 |
| ← MarioBranco left | 10:58 |
| → konsolebox joined | 11:00 |
| ← dmaian left | 11:02 |
| → dmaian joined | 11:02 |
| → tvl joined | 11:02 |
| tvl → tobiasvl | 11:02 |
| ← Teremy left | 11:04 |
| ← tkore left | 11:07 |
| → MarioBranco joined | 11:10 |
| ← MarioBranco left | 11:10 |
| → MarioBranco joined | 11:12 |
| → cdown joined | 11:13 |
| ← nms left | 11:22 |
| ← QualityAddict left | 11:23 |
| → shinnya joined | 11:26 |
| ← dmaian left | 11:30 |
| → dmaian joined | 11:30 |
| → BouncyKnightMike joined | 11:30 |
| → m0viefreak joined | 11:32 |
| → dave0x6d joined | 11:32 |
| ← neil_cn left | 11:32 |
| → thiago_ joined | 11:33 |
| ← MarioBranco left | 11:34 |
| ← dmaian left | 11:34 |
| → MarioBranco joined | 11:34 |
| → dmaian joined | 11:34 |
| ← konsolebox left | 11:34 |
| ← houami left | 11:35 |
| → konsolebox joined | 11:36 |
| → IanLiu joined | 11:37 |
| ← thiago_ left | 11:37 |
| ← noyb left | 11:37 |
| ← JoshuaD left | 11:37 |
| ← clickjac_ left | 11:39 |
| ← raynold left | 11:39 |
| → clickjack joined | 11:39 |
| → mishu_ joined | 11:40 |
| ← cdown left | 11:41 |
| → mobarmeg joined | 11:42 |
| → thiago_ joined | 11:43 |
| ← mobarmeg left | 11:43 |
| → cdown joined | 11:43 |
| ← BouncyKnightMike left | 11:43 |
| → mobarmeg joined | 11:43 |
| → db8093246 joined | 11:44 |
| → JoshuaD joined | 11:47 |
| → bhavya2b joined | 11:48 |
| → senaps joined | 11:49 |
| ← senaps left | 11:51 |
| ← mobarmeg left | 11:55 |
| → houami joined | 11:55 |
| ← houami left | 11:55 |
| → houami joined | 11:56 |
| ← cdown left | 11:58 |
| ← mmattice left | 11:58 |
| ← konsolebox left | 11:59 |
| → Master__ joined | 11:59 |
| → mmattice joined | 11:59 |
| ← a3Dman left | 12:00 |
| → konsolebox joined | 12:01 |
| ← MarioBranco left | 12:03 |
| → a3Dman joined | 12:03 |
| ← clickjack left | 12:03 |
| ← bhavya2b left | 12:05 |
| ← houami left | 12:11 |
| → HuskyApocalypse joined | 12:13 |
| → phluks joined | 12:15 |
| → mikecmpbll joined | 12:16 |
| ← HuskyApocalypse left | 12:17 |
| ← heroux left | 12:17 |
| ← mikecmpbll left | 12:19 |
| → houami joined | 12:23 |
| ← houami left | 12:24 |
| → houami joined | 12:24 |
| → rawste joined | 12:24 |
| ← frivol left | 12:25 |
| ← albel727 left | 12:25 |
| → noobineer joined | 12:26 |
| ← Gurkenglas left | 12:27 |
| → shripadr_ joined | 12:28 |
| ← shripadr left | 12:28 |
| → albel727 joined | 12:29 |
| → Discovery joined | 12:30 |
| ← jimmyrcom left | 12:34 |
| ← shripadr_ left | 12:34 |
| → TheOrangeOne joined | 12:34 |
| ← houami left | 12:37 |
| → houami joined | 12:39 |
| ← unreal left | 12:41 |
| ← db8093246 left | 12:43 |
| ← houami left | 12:44 |
| → Floflobel joined | 12:44 |
| → clickjack joined | 12:48 |
| → houami joined | 12:49 |
| ← noobineer left | 12:50 |
| → sarp joined | 12:50 |
| → fenix joined | 12:50 |
| → mizu_no_oto joined | 12:52 |
| ← houami left | 12:54 |
| → mobarmeg joined | 12:54 |
| ← mobarmeg left | 12:55 |
| → mobarmeg joined | 12:55 |
| → dviola joined | 12:55 |
| ← mizu_no_oto left | 12:57 |
| → mobarmeg_ joined | 12:59 |
| ← kus left | 12:59 |
| ← bkxd left | 13:00 |
| ← mobarmeg_ left | 13:00 |
| ← mobarmeg left | 13:02 |
|
fenix
| hi how to load db/redis etc settings automatically when working on developemnt and production (php), can we automate it like when i work on testing server all the testing settings will be loaded and same when working on live.how do you guys manage this, currently we are manually chaning live details when pushing to live and same when working on testing. thanks in advance | 13:03 |
| → LichtMacher joined | 13:04 |
| → cdown joined | 13:04 |
| ← sarp left | 13:05 |
| ChristmasSucks → Hello71 | 13:08 |
| → mmlb joined | 13:09 |
| ← ok91 left | 13:09 |
| → synthroid joined | 13:11 |
| → sarp joined | 13:12 |
| → AliSSaBaby joined | 13:14 |
| ← AliSSaBaby left | 13:15 |
| → wxg joined | 13:17 |
| → dimi1947 joined | 13:17 |
| ← finalbeta left | 13:17 |
| → finalbeta joined | 13:18 |
| → houami joined | 13:19 |
| → Gustavo6046 joined | 13:20 |
| ← Hello71 left | 13:21 |
| ← fenix left | 13:21 |
| ← AndyBlue left | 13:21 |
| → Hello71 joined | 13:21 |
| ← rawste left | 13:22 |
| ← mishu_ left | 13:23 |
| ← houami left | 13:23 |
| ← johnzorn left | 13:24 |
| → mostlybadfly joined | 13:26 |
| → mikecmpbll joined | 13:27 |
| → leeN joined | 13:28 |
| → tkore joined | 13:28 |
| ← tkore left | 13:28 |
| → tkore joined | 13:28 |
| → houami joined | 13:29 |
| → bkxd joined | 13:31 |
| ← houami left | 13:33 |
|
cbreak
| I don't use databases or redis | 13:35 |
|
| why would it? | 13:35 |
|
| have you thought about using a proper language / platform? :) | 13:36 |
| ← wxg left | 13:36 |
| ← Darcidride left | 13:37 |
| ← sarp left | 13:37 |
| → regedit joined | 13:38 |
| → pkx2 joined | 13:38 |
|
thiago_
| he'sleft a long time ago | 13:39 |
| thiago_ → thiago | 13:39 |
| → houami joined | 13:39 |
| → Darcidride joined | 13:39 |
| → shripadr joined | 13:41 |
| → mud joined | 13:41 |
| ← vrc414 left | 13:42 |
| → vrc414 joined | 13:43 |
| ← houami left | 13:43 |
| ← Gustavo6046 left | 13:44 |
| → Gustavo6046 joined | 13:44 |
| → houami joined | 13:49 |
| → Tobbi joined | 13:50 |
| → senaps joined | 13:50 |
| → iLembus joined | 13:51 |
| ← ggoebel left | 13:52 |
| → sarp joined | 13:53 |
| ← houami left | 13:53 |
| → yohnnyjoe joined | 13:54 |
| ← Master__ left | 13:55 |
| → MarioBranco joined | 13:55 |
| ← senaps left | 13:58 |
| ← yohnnyjoe left | 13:58 |
| ← mecasou left | 13:59 |
| → houami joined | 13:59 |
| ← raijin left | 13:59 |
| ← Gustavo6046 left | 14:00 |
| → fission6 joined | 14:03 |
| ← houami left | 14:03 |
| ← phluks left | 14:06 |
| ← fission6 left | 14:08 |
| ← pkx2 left | 14:08 |
| → houami joined | 14:08 |
| → fission6 joined | 14:09 |
| → str_ joined | 14:12 |
| ← houami left | 14:13 |
| → Amanas joined | 14:13 |
| → Bathyal joined | 14:13 |
|
Bathyal
| hey folks, is there a way to make git log display the log without a pager | 14:14 |
|
| I found a way to disable it through git config but that's not what I'm looking for | 14:14 |
| ← mikecmpbll left | 14:14 |
|
Bathyal
| I want to make an alias something like glog='git log --oneline -5 --no-pager' | 14:15 |
| → ggoebel joined | 14:16 |
|
_ikke_
| --no-pager should go before the log subcommand | 14:16 |
| ← str_ left | 14:16 |
|
_ikke_
| Bathyal: git config --global alias.glog '!git --no-pager log --oneline -5' | 14:17 |
| ← finalbeta left | 14:17 |
| → finalbeta joined | 14:17 |
|
Bathyal
| _ikke_: thank you | 14:18 |
| ← SteffanW left | 14:18 |
| → houami joined | 14:18 |
| → southernirc joined | 14:19 |
| ← iLembus left | 14:19 |
|
Bathyal
| _ikke_: What is the exclamation mark ! doing? | 14:21 |
| → mikecmpbll joined | 14:23 |
|
_ikke_
| Bathyal: It's telling git that execute a shell command | 14:23 |
| ← houami left | 14:23 |
|
_ikke_
| s/that/to/ | 14:24 |
| → Gustavo6046 joined | 14:24 |
| → behr328 joined | 14:25 |
| ← behr328 left | 14:25 |
| ← Puffball left | 14:25 |
| → Puffball_ joined | 14:25 |
| → pkx2 joined | 14:28 |
| → houami joined | 14:28 |
| ← houami left | 14:33 |
| → Noldorin joined | 14:34 |
| ← sarp left | 14:34 |
| ← kvik left | 14:35 |
| ← konsolebox left | 14:35 |
| → kvik joined | 14:35 |
| ← yn left | 14:36 |
| → Acerific joined | 14:37 |
| → konsolebox joined | 14:37 |
| ← oxymoron93 left | 14:38 |
| → houami joined | 14:38 |
| ← shinnya left | 14:39 |
| ← mooasaurus left | 14:39 |
| → mooasaurus joined | 14:40 |
| → oxymoron93 joined | 14:40 |
| → johnzorn joined | 14:41 |
| ← houami left | 14:43 |
| ← Masber_080 left | 14:44 |
| ← cdown left | 14:44 |
| → cdown joined | 14:45 |
| → yn joined | 14:45 |
| → houami joined | 14:48 |
|
Bathyal
| I have another problem. I generated a ssh key, ssh -T [email@hidden.address] says that I authenticated succesfully and yet when I try to push I'm still prompted for a username and pass | 14:48 |
|
| the git package on my distro(openSUSE leap 42.3) came with some gui for getting credentials sshaskpass or smth | 14:49 |
|
| I removed it | 14:49 |
| → endiruna joined | 14:49 |
|
Bathyal
| and still I'm prompted | 14:49 |
|
mud
| Bathyal: Check the URL in git remote -v , at a guess it's probably the HTTPS one. It should be the SSH-ish one | 14:50 |
|
Bathyal
| yup it's https | 14:50 |
| ← mikecmpbll left | 14:50 |
| ← clickjack left | 14:50 |
|
_ikke_
| yeah, https does not use ssh keys :-) | 14:53 |
| ← pkx2 left | 14:53 |
| ← houami left | 14:53 |
|
Bathyal
| works like a charm, thank you | 14:53 |
| ← cdown left | 14:53 |
| ← Raed left | 14:58 |
| ← justanotheruser left | 14:58 |
| → houami joined | 14:58 |
| ← finalbeta left | 15:00 |
| → finalbeta joined | 15:01 |
| → VoradorPT joined | 15:01 |
| ← ogny left | 15:02 |
| ← houami left | 15:03 |
| → Teremy joined | 15:04 |
| → houami joined | 15:08 |
| → justanotheruser joined | 15:10 |
| → mikecmpbll joined | 15:11 |
| ← mikecmpbll left | 15:12 |
| ← houami left | 15:13 |
| ← oxymoron93 left | 15:14 |
| → QualityAddict joined | 15:15 |
| → nBhati joined | 15:15 |
| ← QualityAddict left | 15:15 |
| → oxymoron93 joined | 15:16 |
| ← MarioBranco left | 15:17 |
| → pkx2 joined | 15:17 |
| → phinxy joined | 15:18 |
| ← oxymoron93 left | 15:18 |
| → houami joined | 15:18 |
| ← pkx2 left | 15:20 |
| ← nanga left | 15:20 |
| → re1 joined | 15:21 |
| → pkx2 joined | 15:21 |
| ← pkx2 left | 15:21 |
| → str joined | 15:23 |
| ← houami left | 15:23 |
| → pkx2 joined | 15:23 |
| ← str left | 15:23 |
| → nanga joined | 15:23 |
| → rivalomega joined | 15:25 |
| ← kvik left | 15:25 |
| → xcm joined | 15:27 |
| → mikecmpbll joined | 15:27 |
| → houami joined | 15:28 |
| ← pkx2 left | 15:28 |
| → pkx2 joined | 15:28 |
| ← mikecmpbll left | 15:29 |
|
Bathyal
| exit | 15:29 |
|
| oops | 15:29 |
| ← Bathyal left | 15:29 |
| → clickjack joined | 15:31 |
| ← pkx2 left | 15:31 |
| → mikecmpbll joined | 15:31 |
| → pkx2 joined | 15:32 |
| ← cdleonard left | 15:32 |
| ← houami left | 15:32 |
| → cdleonard joined | 15:34 |
| ← mikecmpbll left | 15:34 |
| → rusty joined | 15:34 |
| rusty → Guest65096 | 15:35 |
| ← diogenese left | 15:35 |
| → diogenese joined | 15:35 |
|
Guest65096
| Hi. What should one do it accidentally deleted with rm -rf all his local repo(checked out from remote)? Delete branch and checkout from remote again? | 15:37 |
|
selckin
| if you deleted .git notting you can do | 15:38 |
| ← justanotheruser left | 15:38 |
| ← ephemer0l_ left | 15:39 |
|
cbreak
| other than to clone fresh | 15:41 |
| ← konsolebox left | 15:41 |
|
_ikke_
| "I accidentally put my report through the shredder and burned the remains" :P | 15:42 |
| → konsolebox joined | 15:43 |
|
Guest65096
| Just want to know how to restore local copy to exact last commit on branch. | 15:46 |
|
| I mean what if I deleted every file except .git | 15:46 |
| ← diogenese left | 15:47 |
|
cbreak
| git reset --hard HEAD | 15:47 |
|
selckin
| git checkout -- . | 15:47 |
| → ephemer0l joined | 15:47 |
| → houami joined | 15:47 |
| → nchambers joined | 15:47 |
| ← nchambers left | 15:47 |
| ← synthroid left | 15:47 |
|
cbreak
| selckin: won't work properly | 15:48 |
|
| that'll give the last staged version, not the last committed as he wants | 15:48 |
|
_ikke_
| git checkout HEAD -- . | 15:48 |
|
selckin
| well last staged is probably closer to what he wants | 15:48 |
|
cbreak
| it's not closer to what he SAID he wants though :) | 15:48 |
|
selckin
| just wants his files back, then back to normal usage | 15:48 |
|
Guest65096
| I want exact copy from remote repo without my any changes | 15:49 |
|
selckin
| then ignore me | 15:49 |
|
cbreak
| then use reset --hard @{u} | 15:49 |
|
| (maybe fetch first if you want up to date) | 15:49 |
| ← Discovery left | 15:50 |
| → cdown joined | 15:51 |
|
Guest65096
| Are "reset --hard @{u}" and "reset --hard HEAD" the same? | 15:52 |
| ← houami left | 15:52 |
| → yohnnyjoe joined | 15:54 |
|
cbreak
| no | 15:55 |
| ← cdown left | 15:57 |
| → houami joined | 15:57 |
| ← yohnnyjoe left | 15:59 |
| ← Silmarilion left | 16:00 |
| ← michael_mbp left | 16:01 |
| → synthroid joined | 16:01 |
| → hash-z3r0 joined | 16:02 |
| ← houami left | 16:02 |
| → rominronin joined | 16:03 |
| ← tkore left | 16:03 |
| → diogenese joined | 16:05 |
| → houami joined | 16:07 |
| → mikecmpbll joined | 16:08 |
| → matsaman joined | 16:09 |
| ← matsaman left | 16:09 |
| ← mikecmpbll left | 16:09 |
| ← zefferno left | 16:09 |
| → menip joined | 16:09 |
| ← menip left | 16:10 |
| ← Amanas left | 16:11 |
| → mikecmpbll joined | 16:12 |
| → YuGiOhJCJ joined | 16:12 |
| ← houami left | 16:12 |
| ← mikecmpbll left | 16:12 |
| → michael_mbp joined | 16:15 |
| ← _ADN_ left | 16:16 |
| → houami joined | 16:17 |
| ← YuGiOhJCJ left | 16:18 |
| → xxMatiasxx joined | 16:19 |
| → YuGiOhJCJ joined | 16:19 |
| ← Gustavo6046 left | 16:20 |
| → _ADN_ joined | 16:20 |
| → ok91 joined | 16:21 |
| ← houami left | 16:21 |
| → raijin joined | 16:21 |
| → Lyqyd joined | 16:24 |
| ← ok91 left | 16:25 |
| → ok91 joined | 16:25 |
| → Claw_wolf joined | 16:27 |
| → houami joined | 16:27 |
| ← imack left | 16:27 |
| ← YuGiOhJCJ left | 16:29 |
| ← hahuang65 left | 16:31 |
| ← houami left | 16:31 |
| → pbrewczynski joined | 16:32 |
| → mikecmpbll joined | 16:33 |
| ← mikecmpbll left | 16:35 |
| → meesles joined | 16:36 |
| ← pkx2 left | 16:36 |
|
gxt
| Guest65096: `@{u}` is short for `HEAD@{upstream}`, which stands for the remote tracking branch of the current branch. | 16:37 |
|
| man gitrevision | 16:37 |
| → houami joined | 16:37 |
|
gxt
| Sorry, man gitrevisions | 16:37 |
|
gitinfo
| the gitrevisions manpage is available at https://gitirc.eu/gitrevisions.html | 16:37 |
| ← meesles left | 16:37 |
| → meesles joined | 16:39 |
| → QualityAddict joined | 16:40 |
| ← houami left | 16:42 |
| → pasadinhas joined | 16:44 |
| → heroux joined | 16:46 |
| → houami joined | 16:47 |
| ← _ADN_ left | 16:48 |
| → db8093246 joined | 16:49 |
| ← houami left | 16:52 |
| MeiR` → MeiR | 16:52 |
| ← mostlybadfly left | 16:55 |
| ← nBhati left | 16:56 |
| → houami joined | 16:57 |
| ← Murr left | 16:57 |
| → Murr joined | 16:57 |
| ← southernirc left | 16:59 |
| → madewokherd joined | 17:01 |
| ← houami left | 17:01 |
| → justanotheruser joined | 17:02 |
| ← xxMatiasxx left | 17:02 |
| ← nanga left | 17:04 |
| ← ghost43 left | 17:06 |
| → nanga joined | 17:06 |
| ← nanga left | 17:06 |
| → nanga joined | 17:06 |
| → houami joined | 17:07 |
| → ghost43 joined | 17:07 |
| → imack joined | 17:08 |
| ← QualityAddict left | 17:09 |
| → xD3C joined | 17:10 |
| ← houami left | 17:11 |
| → Gurkenglas joined | 17:13 |
| → mostlybadfly joined | 17:14 |
| ← synthroid left | 17:14 |
| → QualityAddict joined | 17:14 |
| ← Tobbi left | 17:17 |
| → houami joined | 17:17 |
| → tmm88 joined | 17:17 |
| ← tmm88 left | 17:17 |
| → tmm88 joined | 17:17 |
| ← justanotheruser left | 17:17 |
| ← tmm88 left | 17:18 |
| → guhcampos joined | 17:19 |
| ← shripadr left | 17:21 |
| → Amanas joined | 17:21 |
| ← houami left | 17:21 |
| → cdown joined | 17:21 |
| ← shoogz left | 17:21 |
| → shoogz joined | 17:22 |
| ← shoogz left | 17:22 |
| → shoogz joined | 17:24 |
| ← shoogz left | 17:24 |
| → shoogz joined | 17:25 |
| → houami joined | 17:27 |
| → noobineer joined | 17:30 |
| ← houami left | 17:31 |
| ← Guest65096 left | 17:31 |
| → dreiss joined | 17:32 |
| → zlogan joined | 17:34 |
| ← zlogan left | 17:36 |
| → houami joined | 17:37 |
| ← njbair left | 17:37 |
| ← cdown left | 17:37 |
| ← noobineer left | 17:39 |
| ← surfist left | 17:39 |
| → surfist joined | 17:40 |
| ← navidr left | 17:40 |
| ← houami left | 17:41 |
| → njbair joined | 17:42 |
| → synthroid joined | 17:42 |
| ← guhcampos left | 17:43 |
| ← dreiss left | 17:43 |
| ← dviola left | 17:43 |
| ← pasadinhas left | 17:44 |
| → xxMatiasxx joined | 17:45 |
| MrChristmas → MrC | 17:49 |
| ← xxMatiasxx left | 17:51 |
| → xxMatiasxx joined | 17:51 |
| ← mel00010 left | 17:54 |
| → yohnnyjoe joined | 17:55 |
| ← rominronin left | 17:57 |
| ← naiveai left | 17:58 |
| ← re1 left | 17:58 |
| → Tobbi joined | 18:00 |
| → nd_ joined | 18:00 |
| ← yohnnyjoe left | 18:00 |
| ← QualityAddict left | 18:00 |
| ← nd left | 18:01 |
| → re1 joined | 18:02 |
| → jesst_ joined | 18:03 |
| ← Floflobel left | 18:04 |
| ← Claw_wolf left | 18:04 |
| ← tunekey left | 18:05 |
| ← jast left | 18:05 |
| → houami joined | 18:06 |
| → jast joined | 18:08 |
| → Gustavo6046 joined | 18:11 |
| ← houami left | 18:11 |
| → Darcidride_ joined | 18:14 |
| ← Darcidride_ left | 18:14 |
| ← ZexaronS left | 18:15 |
| → Darcidride_ joined | 18:16 |
| → houami joined | 18:16 |
| ← finalbeta left | 18:17 |
| → cdown joined | 18:17 |
|
mac-
| hey. I'm reading now about refspecs | 18:17 |
| → finalbeta joined | 18:17 |
|
mac-
| and I found out that it in general is in two schemas: refs/heads/* and refs/remotes/* | 18:18 |
|
bremner
| houami: please fix your connection | 18:18 |
| ← rivalomega left | 18:20 |
|
mac-
| and as I understand refs/heads is location in remotes (which will be fetched when fetch is called), but it is also on local where I commit to, when refs/remotes is on local where data is fetched and from which I will merge into local refs/heads ? | 18:20 |
| → rivalomega joined | 18:20 |
| → JeffH joined | 18:21 |
| ← houami left | 18:21 |
| → raynold joined | 18:21 |
|
bremner
| mac-: have you read the <refspec> documentaion in man git-push and man git-fetch? | 18:23 |
|
gitinfo
| mac-: the git-push manpage is available at https://gitirc.eu/git-push.html | 18:23 |
|
| mac-: the git-fetch manpage is available at https://gitirc.eu/git-fetch.html | 18:23 |
| ← xxMatiasxx left | 18:23 |
| ← hash-z3r0 left | 18:24 |
| ← rivalomega left | 18:25 |
| ← imack left | 18:25 |
| → houami joined | 18:26 |
| ChanServ set mode: +o | 18:28 |
| bremner kicked houami (please fix your connection) | 18:28 |
| → rivalomega joined | 18:29 |
| ← jab416171 left | 18:30 |
| ← Darcidride_ left | 18:31 |
| ← perrier-jouet left | 18:32 |
| → perrier-jouet joined | 18:33 |
| → nivag_ joined | 18:34 |
|
mac-
| bremner: I'm reading it now but wish to ensure that understand refspecs correctly | 18:35 |
|
bremner
| I'm sorry to say I could not understand your statement. | 18:36 |
|
mac-
| ok | 18:36 |
| → houami joined | 18:36 |
|
mac-
| let me try again ;p | 18:36 |
| ← JeffH left | 18:36 |
| ← opalepatrick left | 18:37 |
|
mac-
| on remote server refspec is refs/heads/<branchName>|glob, on local machine refspec is same as refs/heads/<branchName>|glob but on local machine tracked refspec is refs/remotes/<remoteName>/<branchName>|glob ? | 18:38 |
|
bremner
| mac-: do you understand what remote branches are? | 18:39 |
| → Darcidride_ joined | 18:40 |
|
mac-
| then when I do i.e. fetch from origin for branchName it should be as: git fetch origin refs/heads/branchName:refs/remotes/origin/branchName | 18:40 |
|
| ? | 18:40 |
| ← fission6 left | 18:41 |
| ← houami left | 18:41 |
| → glad joined | 18:41 |
|
mac-
| those are branches on bare repository on remote server (which can be some local directory as well, not necessary remote by network) | 18:41 |
|
bremner
| mac-: sounds plausible, but I usually just run "git fetch" and fetch them all. | 18:41 |
|
| mac-: well, sortof, Maybe !remote helps | 18:42 |
|
gitinfo
| mac-: [!remote_commands] The only git porcelain commands which might interact with remote repos are: fetch, pull, push, remote, ls-remote, archive, submodule (plus plumbing, remote helpers, etc) | 18:42 |
| ← pbrewczynski left | 18:42 |
|
bremner
| err. | 18:42 |
|
| !remote branches | 18:42 |
|
mac-
| yeah I know that there are shortcuts for it but I wish to understand schema of refspecs | 18:42 |
| ← KeyJoo left | 18:43 |
|
mac-
| remote branches can be tracked or not | 18:44 |
| → guzzlefry joined | 18:44 |
|
guzzlefry
| howdy | 18:44 |
| → fission6 joined | 18:44 |
|
guzzlefry
| I need to revert specific files from a commit. Is there a common way of doing this? | 18:45 |
| ← Darcidride_ left | 18:46 |
| → Darcidride_ joined | 18:47 |
|
mac-
| !remote_branches | 18:49 |
|
gitinfo
| [!remote_tracking_branch] Remote-tracking branches (branches which start with e.g. 'origin/', listed by 'git branch -r') are read-only mirrors of the branches in another repository. They're updated by 'git fetch'. You can't edit them directly (trying to check them out results in a !detached HEAD), but you can create a local branch based on a remote-tracking branch using e.g. 'git checkout -b <branch> <remote>/<branch>' | 18:49 |
| → KeyJoo joined | 18:49 |
| ← cdown left | 18:50 |
| ← Darcidride_ left | 18:51 |
|
mac-
| ok, then remote tracking branch is represented in local system by refspec: refs/remotes/<remoteName>/<branchName>|glob | 18:51 |
| → cdown joined | 18:53 |
| → Darcidride_ joined | 18:54 |
|
bremner
| well, not glob in the local fs | 18:54 |
|
mac-
| and git pull in fact is equivalent to git fetch (which gets data from remote server refs/heads/<branchName>|glob) to my local refs/remotes/<remoteName>/<branchName>|glob) and immediately do merge from my local refs/remotes/<remoteName>/<branchName>|glob to my local refs/heads/<branchName>|glob | 18:55 |
|
| ? | 18:55 |
|
| or is trying to do merge | 18:56 |
|
| when some conflicts can occur | 18:56 |
|
bremner
| both of those statements seem true | 18:56 |
|
| yes, pull = fetch+merge, and yes, conflicts can occur. | 18:56 |
| ← Tobbi left | 18:57 |
| ← LichtMacher left | 18:57 |
| ChanServ set mode: -o | 18:58 |
|
mac-
| but more important for me now is if I write it correctly in terms of refspecs | 18:58 |
| ← guzzlefry left | 18:58 |
|
bremner
| !tias | 18:58 |
|
gitinfo
| Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://gitolite.com/tias.html may help with git-specific TIAS. | 18:58 |
|
mac-
| :] | 18:58 |
| → Tobbi joined | 18:59 |
| ← Joao_ left | 19:00 |
| ← salamanderrake left | 19:01 |
| ← Darcidride_ left | 19:02 |
| ← Darcidride left | 19:02 |
| ← Kestrel-029 left | 19:03 |
| → Sasazuka joined | 19:03 |
| → houami joined | 19:06 |
| ← dimi1947 left | 19:08 |
| → Nicmavr joined | 19:08 |
| Nicmavr → Guest83853 | 19:09 |
| ← Guest83853 left | 19:09 |
| → Guest83853 joined | 19:09 |
| Guest83853 → Kestrel-029 | 19:10 |
| ← houami left | 19:10 |
| → energizer joined | 19:11 |
| → shaiful joined | 19:12 |
| ← wrouesnel left | 19:13 |
| ChanServ set mode: +o | 19:14 |
| bremner set mode: +b | 19:14 |
|
bremner
| msg chanserv deop #git | 19:14 |
|
| oops | 19:14 |
|
mac-
| :> | 19:14 |
| ChanServ set mode: -o | 19:14 |
|
mac-
| I did: git fetch origin refs/heads/master:refs/remotes/origin/master2 | 19:15 |
|
| and now, no master2 on local existed | 19:15 |
|
| and has been created | 19:15 |
|
| but this is branch only in refs/remotes | 19:15 |
|
| which is tracked branch, read-only | 19:15 |
|
| tracking branch I man | 19:16 |
|
| mean | 19:16 |
| ← tombusby left | 19:16 |
|
mac-
| I wanted to delete it, because it is remote tracking branch I have to use flags -r -d | 19:16 |
| → tombusby joined | 19:17 |
| → SteffanW joined | 19:17 |
|
mac-
| and the queston is why I can't delete it with use of: git branch -r -d refs/remotes/origin/master2 ? | 19:17 |
| → rorro joined | 19:18 |
|
mac-
| man of git-branch doesn't say anythng special about format of branch name in section '<branchname>' | 19:18 |
| → Darcidride joined | 19:18 |
|
mac-
| I would expect that full refspec I have provided is the correct one | 19:19 |
| ← jesst_ left | 19:19 |
| → v4ult joined | 19:20 |
| ← perrier-jouet left | 19:22 |
| ← supercool left | 19:23 |
| → rath joined | 19:23 |
| → perrier-jouet joined | 19:23 |
| ← ggoebel left | 19:24 |
| → cdg joined | 19:25 |
| → fstd_ joined | 19:26 |
| → wrouesnel joined | 19:26 |
| ← fstd left | 19:28 |
| fstd_ → fstd | 19:28 |
| ← endiruna left | 19:29 |
| → theoceaniscool joined | 19:30 |
| ← infinisil left | 19:32 |
| → infinisil joined | 19:32 |
|
mac-
| git remote show origin, shows refs/remotes/origin/master2 as stale to be removed by git prune (why?) when I've just fetched it and I would expect that the fetch will link origin/master with local remotes/origin/master2 ? | 19:35 |
|
| tracking branches HAS TO have same names as tracked ones on the remote side ? | 19:36 |
| ← cdown left | 19:38 |
| → Wetmelon joined | 19:38 |
| → basiclaser joined | 19:41 |
| → Barrt joined | 19:41 |
| ← theoceaniscool left | 19:43 |
| ← Kaisyu left | 19:44 |
| ← cdg left | 19:44 |
| → cdg joined | 19:44 |
| → LichtMacher joined | 19:46 |
| ← cdg left | 19:49 |
| JollyLage → johnlage | 19:53 |
| ← xD3C left | 19:54 |
| → yohnnyjoe joined | 19:56 |
| → endiruna joined | 19:56 |
| ← re1 left | 19:59 |
| → salamanderrake joined | 19:59 |
| → xD3C joined | 19:59 |
| → hash-z3r0 joined | 20:00 |
| → xxMatiasxx joined | 20:00 |
| ← yohnnyjoe left | 20:01 |
| ← xD3C left | 20:04 |
| → QualityAddict joined | 20:09 |
| → altendky joined | 20:09 |
| → cdown joined | 20:10 |
| → btree joined | 20:14 |
| ← btree left | 20:14 |
| → Medulla joined | 20:18 |
| ← Medulla left | 20:19 |
| ← cdown left | 20:20 |
| → nckpz joined | 20:26 |
| → cdg joined | 20:27 |
| ← rorro left | 20:27 |
| → marian1235813 joined | 20:27 |
| → notnull joined | 20:30 |
| ← Ranhir left | 20:30 |
| → Ranhir joined | 20:31 |
| → converge joined | 20:31 |
| → cdown joined | 20:32 |
| → xD3C joined | 20:33 |
| ← shaiful left | 20:33 |
| → mda1 joined | 20:34 |
| → dege joined | 20:35 |
| → bergice_ joined | 20:36 |
| → phluks joined | 20:38 |
| → cousteau joined | 20:40 |
|
cousteau
| can I "clone this repository, but seriously, don't fetch commits more than one month old, just give me the latest changes"? | 20:41 |
|
| .git is like 1.3 GB | 20:42 |
| ← hussam left | 20:42 |
|
_rgn
| shallow clone | 20:42 |
| → yohnnyjoe joined | 20:45 |
| ← rath left | 20:46 |
| → sat-aton__ joined | 20:48 |
| → misosoup joined | 20:49 |
|
cousteau
| ok thanks! I'll google that | 20:49 |
| ← dansan left | 20:49 |
| → b0nn joined | 20:50 |
| → Mai-Chan joined | 20:50 |
|
imMute
| mac-: yes, that's the point of remote tracking branches. | 20:50 |
|
| mac-: also, "git fetch" doesn't prune removed branches automatically. use either "git fetch --prune" or the config option to do prune on fetch | 20:51 |
| ← sat-aton left | 20:51 |
| ← johnzorn left | 20:52 |
|
b0nn
| hrm, I'm havinga bit of a problem; I created some files, then edited them. I decided that I didn't want to commit the edits together with the initial creation, so I git -N app_folder/ ; git add -p app_folder/ (only selecting the intial creations) ; git commit -m "Wee" But when I check the commit with git log -n1 --stat, none of the added patch has been committed | 20:52 |
|
mac-
| imMute: hm, then I have created non-exeisting tracking branch and now it is treated as stale ? | 20:53 |
|
b0nn
| So, I'm at a bit of a loss how to split things up such that I have a commit of initial creation, and a commit of edits | 20:53 |
|
mac-
| because no remote origin exists and after first push it will be created on remote ? | 20:53 |
| ← notnull left | 20:54 |
|
mac-
| and then it will loose stale but both branches will be empty ? | 20:54 |
|
imMute
| b0nn: based on my usage of git-gui, it might not be possible. :/ my work around has been to edit hte file to be what I want the initial commit to be, commit that, then change it back to what I want for the second commit. | 20:54 |
| ← Mai-Chan left | 20:54 |
| ← Case_Of left | 20:55 |
| → Case_Of joined | 20:55 |
| → jsrtr joined | 20:55 |
| gitinfo set mode: +v | 20:55 |
|
imMute
| mac-: I'm not sure what you're doing.... but "git fetch origin refs/heads/master:refs/remotes/origin/master2" definitely seems like something you shouldn't do... | 20:56 |
| → durham joined | 20:56 |
|
mac-
| it is just experiment in learning to understand refspecs correctly | 20:56 |
|
jsrtr
| If I have some files in my repository which are also in .gitignore, how do I get them back if I deleted them from my working copy? | 20:56 |
|
mac-
| and I just step into this scenario | 20:57 |
|
| which I not fully understood | 20:57 |
| ← Murr left | 20:57 |
| → Murr joined | 20:57 |
| → Nordantel joined | 20:57 |
|
cousteau
| _rgn, well, the bad news is that I had already cloned the thing; the good news is that I couldn't do this on my home PC so I had to ssh to my work PC and do the clone there so I could test the --depth thing :) | 20:57 |
| ← Nordantel left | 20:59 |
| ← VoradorPT left | 20:59 |
| ← converge left | 21:00 |
| ← durham left | 21:00 |
| → VoradorPT joined | 21:01 |
| → converge joined | 21:01 |
| ← converge left | 21:01 |
| → converge joined | 21:01 |
|
b0nn
| it's weird, because my patch is staged, anbd when I do a git diff --staged, it only shows my patch | 21:03 |
|
| But, when I git commit, nothing is committed | 21:03 |
|
cousteau
| isn't a staged patch "a patch saved for later"? | 21:04 |
|
moritz
| b0nn: what do you mean by "nothing is committed"? does it create an empty commit? or refuse to create an empty commit? | 21:04 |
| → elsevero joined | 21:04 |
|
cousteau
| and thus reverted? | 21:05 |
|
moritz
| cousteau: no | 21:05 |
|
cousteau
| ah no wait, that was stashed, sorry | 21:05 |
|
b0nn
| +moritz empty commit | 21:05 |
| → notnull joined | 21:05 |
|
moritz
| b0nn: !repro please | 21:06 |
|
gitinfo
| b0nn: [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see | 21:06 |
| ← cdg left | 21:06 |
|
b0nn
| hmm, not sure how to get you a log. reflog? | 21:06 |
|
moritz
| scroll up in your terminal? | 21:07 |
|
b0nn
| ok, but there's a lot | 21:07 |
| → Lyqyd_ joined | 21:07 |
| → SilentV joined | 21:08 |
|
jsrtr
| If I have some files in my repository which are also in .gitignore, how do I get them back if I deleted them from my working copy? | 21:10 |
| → hussam joined | 21:10 |
| ← SilentV left | 21:10 |
|
_rgn
| you can't get files back that were never committed | 21:10 |
|
jsrtr
| They're in the repository, they're just .gitignored because they're cached files that get updated differently depending on how the application is used | 21:11 |
|
imMute
| jsrtr: .gitignore doesn't affect files that have been comitted. | 21:11 |
| → johnnyrd joined | 21:13 |
| ← notnull left | 21:14 |
| ← johnnyrd left | 21:15 |
|
moritz
| jsrtr: git checkout <some commit> --- list of files here | 21:15 |
|
mac-
| imMute: please take a look, they wrote about my case https://git-scm.com/book/en/v2/Git-Internals-The-Refspec | 21:16 |
|
jsrtr
| Hmm | 21:16 |
| ← elsevero left | 21:16 |
|
mac-
| imMute: there is an example $ git fetch origin master:refs/remotes/origin/mymaster | 21:16 |
| → ocds joined | 21:17 |
|
jsrtr
| Oh, I was pointed at the wrong upstream repository, nevermind | 21:17 |
|
b0nn
| +moritzhttps://gist.github.com/anonymous/f6b6f4526c5f47b16ebe71aa45696c6a | 21:17 |
|
| er, moritz https://gist.github.com/anonymous/f6b6f4526c5f47b16ebe71aa45696c6a | 21:18 |
|
mac-
| imMute: as they wrote "If you want to do a one-time only fetch, you can specify the specific refspec on the command line, too. To pull the master branch on the remote down to origin/mymaster locally, you can run" | 21:18 |
|
b0nn
| I've cut some of the patch out to try and introduce some brevity (and marked where thast's been done) | 21:18 |
| → TomyLobo joined | 21:20 |
| → notnull joined | 21:20 |
|
moritz
| b0nn: at the time that you committed, the new files showed up in both "Changes to be committed" and "Changes not staged for commit", which is suspicious | 21:20 |
|
| b0nn: it seems the "git add -p" hasn't worked for some reason | 21:21 |
|
b0nn
| but when I do a git diff --staged I only see the patch | 21:21 |
| ← cdown left | 21:21 |
|
cousteau
| that sounds like a file with partial changes, right? | 21:21 |
| → cdown joined | 21:22 |
|
moritz
| right | 21:22 |
|
| b0nn: I don't have enough experience with git add -N to tell what's going on, sorry | 21:22 |
|
b0nn
| git add -N puts the file into the staging area | 21:22 |
|
moritz
| no | 21:22 |
|
b0nn
| yes | 21:22 |
|
moritz
| no, it puts an empty file of the same name into the staging area | 21:22 |
|
b0nn
| ok, that's the same in my mind | 21:23 |
|
moritz
| but it's not | 21:23 |
|
b0nn
| ok, lets argue about semantics | 21:23 |
|
moritz
| if you commit in that stage, you add an empty file to the repo | 21:23 |
|
b0nn
| no | 21:23 |
|
imMute
| moritz: TIL. that's useful. | 21:23 |
| → jetisr joined | 21:23 |
|
b0nn
| the file doesn't egt committed IME | 21:23 |
| ← exotime left | 21:24 |
| ← jetisr left | 21:24 |
| ← Lyqyd_ left | 21:24 |
|
moritz
| huh | 21:24 |
|
| and git doesn't warn that the commit is empty | 21:24 |
| ← Lyqyd left | 21:24 |
| → exotime joined | 21:25 |
|
b0nn
| it didnt for me | 21:25 |
|
moritz
| that is curious | 21:25 |
|
| and might even be a bug in git | 21:25 |
|
b0nn
| it could have been because I had other stuff in the staging area | 21:25 |
|
| stuff it was happy to commit | 21:25 |
|
moritz
| huh, in my tests, git add -N seems to behave totally weird | 21:26 |
|
| which kinda explains what you see, b0nn | 21:26 |
|
| and I'd recommend against using it | 21:26 |
|
b0nn
| hmm, I guess I will have to commit the blob and live with intiial and edits in the same commit | 21:27 |
|
moritz
| you can still fix your history with rebase -i | 21:27 |
|
b0nn
| yeah, I had thought that, but I had thought that the splitting of the commit would put me in the same position | 21:28 |
| → wrrn joined | 21:28 |
| ← wrrn left | 21:29 |
|
b0nn
| I'm thinking I'll commit the files that aren't edited as 1st commit, then the dirty files as 2nd | 21:29 |
| → pkx2 joined | 21:29 |
|
b0nn
| thanks for the ideas | 21:29 |
| → theoceaniscool joined | 21:32 |
| → A5101 joined | 21:34 |
| → astrofog joined | 21:40 |
| → aielima joined | 21:43 |
| ← xcm left | 21:43 |
| → xcm joined | 21:43 |
| ← dege left | 21:45 |
| ← SteffanW left | 21:45 |
| → jason237 joined | 21:48 |
| ← schleppel left | 21:48 |
| → Elon_Satoshi joined | 21:48 |
| ← leah2 left | 21:49 |
| → RapeNsnuff joined | 21:50 |
| ← basiclaser left | 21:50 |
| ← RapeNsnuff left | 21:50 |
| ← A5101 left | 21:50 |
| ← v4ult left | 21:51 |
| → katiex7 joined | 21:54 |
| → xDEC joined | 21:55 |
| ← synthroid left | 21:56 |
| → matsaman joined | 21:56 |
| ← xD3C left | 21:57 |
| ← xDEC left | 21:57 |
| ← matsaman left | 21:58 |
| → xD3C joined | 21:58 |
| ← aielima left | 22:00 |
| → aielima joined | 22:00 |
| → leah2 joined | 22:02 |
| ← cousteau left | 22:04 |
| ← theoceaniscool left | 22:04 |
|
foo
| I had a git branch that was originally a remote branch. I saw it when I did git branch -r ... then I did git checkout the-branch... and it gave me a local copy. If I do git branch -d the-branch ... it *only* deletes my local branch, it doesn't delete it from origin - correct/ | 22:05 |
|
_ikke_
| correct | 22:05 |
| ← xD3C left | 22:07 |
|
foo
| _ikke_: thank you | 22:08 |
| ← yohnnyjoe left | 22:09 |
| → safe joined | 22:10 |
| → _ch4l45h45k4 joined | 22:11 |
| ← Darcidride left | 22:13 |
| ← hdaugherty_90 left | 22:13 |
| → hdaugherty_90 joined | 22:15 |
| → yohnnyjoe joined | 22:19 |
| ← ocds left | 22:22 |
| ← jnavila left | 22:23 |
| → mobarmeg_ joined | 22:23 |
| ← jason237 left | 22:24 |
| ← exotime left | 22:25 |
| → Masber_080 joined | 22:25 |
| ← nckpz left | 22:25 |
| → exotime joined | 22:25 |
| → Neo joined | 22:26 |
| → dviola joined | 22:28 |
| ← mobarmeg_ left | 22:28 |
|
gxt
| Is there even another way to delete remote branches besides `git push origin :branch`? | 22:29 |
|
_rgn
| git push --delete or something like that | 22:29 |
|
_ikke_
| exactly that | 22:29 |
|
gxt
| Ah thanks, should have looked in the man page. Wasn't sure which sub-command to check though. | 22:31 |
|
_rgn
| git push is the only command that mutates remote (afaik) | 22:31 |
| ← Neo left | 22:31 |
|
_ikke_
| it is | 22:31 |
|
| that and git remote update | 22:31 |
|
| oh no | 22:32 |
|
| that does a fetch | 22:32 |
| ← cybrNaut left | 22:32 |
| → Neo joined | 22:32 |
| → jason237 joined | 22:34 |
| ← mda1 left | 22:34 |
|
gxt
| Thanks, good to know. | 22:36 |
| → cybrNaut joined | 22:40 |
| ← sat-aton__ left | 22:44 |
| → satifant joined | 22:44 |
| ← db8093246 left | 22:48 |
| ← glad left | 22:49 |
| ← aielima left | 22:51 |
| → aielima joined | 22:52 |
| → ZyX-I joined | 22:54 |
| → yegortimoshenko joined | 22:56 |
| → sergivb01 joined | 22:56 |
|
yegortimoshenko
| hi, are object blob hashes ephemeral? do they never change (unless they are no longer referenced and gc'd)? | 22:57 |
| ← Murr left | 22:57 |
| → Murr joined | 22:57 |
| ← leeN left | 22:57 |
|
_ikke_
| yeah, the hash describes the content | 22:57 |
|
| so the same content will always have the same hash | 22:58 |
| ← sergivb01 left | 22:58 |
|
yegortimoshenko
| _ikke_: good to know! thank you. | 22:58 |
|
_ikke_
| So no, they never change, they are 'baked' into history | 22:59 |
| → sergivb01 joined | 23:01 |
| ← cdown left | 23:02 |
| → graff joined | 23:03 |
|
graff
| so yeah, i've been a bad bad boy | 23:03 |
| → cdown joined | 23:03 |
|
graff
| pushing all sort of experimental shit/crap to upstream, and generally probably making life miserable for my 8 contributors | 23:03 |
|
| what exactly are the commands, and abstractions associated with doing this correctly | 23:04 |
|
| let's say I go ahead and just push to my other account, make my remote test suite draw from that (this is why i push crap) | 23:04 |
|
| then what? i git pull otheraccount? | 23:04 |
| → theoceaniscool joined | 23:05 |
|
graff
| i shuld probably instead just make a script to send tarballs to my various machines for testing | 23:07 |
| ← canton7 left | 23:08 |
|
imMute
| graff: or use branches? | 23:08 |
| ← theoceaniscool left | 23:10 |
|
graff
| imMute: right, that is what I want to understand better | 23:10 |
| ← madewokherd left | 23:10 |
| ← Teremy left | 23:11 |
| ← tourdownunder left | 23:12 |
| ← dfas left | 23:12 |
| → canton7 joined | 23:12 |
|
b0nn
| So, my fix was, explicitly commit the files that had no modified tag, eg. git commit login/__init__.py login/apps.py etc | 23:12 |
|
| then I git add the modified files, and committed them | 23:13 |
| → justanotheruser joined | 23:13 |
| → hahuang65 joined | 23:20 |
| ChanServ set mode: +o | 23:23 |
| ← hdaugherty_90 left | 23:23 |
| bremner set mode: -b | 23:23 |
| ChanServ set mode: -o | 23:24 |
| → tx41 joined | 23:24 |
| → EternalEclipse joined | 23:24 |
| → metts joined | 23:24 |
| ← converge left | 23:26 |
| ← justanotheruser left | 23:28 |
| ← ZyX-I left | 23:29 |
| ← QualityAddict left | 23:30 |
| ← diogenese left | 23:31 |
| → converge joined | 23:31 |
| ← sergivb01 left | 23:32 |
| → cdg joined | 23:32 |
| ← SleePy left | 23:33 |
| → madewokherd joined | 23:34 |
| ← astrofog left | 23:36 |
| → diogenese joined | 23:37 |
| → cqi joined | 23:40 |
| → Kaisyu joined | 23:43 |
| → justanotheruser joined | 23:43 |
| → houami joined | 23:44 |
| → kus_ joined | 23:47 |
| ← houami left | 23:48 |
| ← tx41 left | 23:49 |
| → SleePy joined | 23:50 |
| → houami joined | 23:53 |
| ← justanotheruser left | 23:54 |
| ← meesles left | 23:54 |
| ← JoshuaD left | 23:54 |
| ← converge left | 23:55 |
| → g00s joined | 23:55 |
| → rorro joined | 23:57 |
| ← houami left | 23:58 |
| ← thiago left | 23:59 |