| 2017-05-05 |
| ← JUSY left | 00:00 |
| ← Stumbler left | 00:01 |
| ← h12o left | 00:01 |
| ← otiose left | 00:05 |
| → bilal joined | 00:05 |
| → Stumbler joined | 00:05 |
| ← Starky left | 00:05 |
| → serialoverflow joined | 00:06 |
| ← m4sk1n left | 00:07 |
| ← ExeciN left | 00:07 |
| → Ardethian joined | 00:07 |
| → masuberu joined | 00:08 |
| ← publio left | 00:08 |
| → blocky joined | 00:08 |
| ← tyreld left | 00:08 |
| ← d^sh left | 00:08 |
|
blocky
| what does it mean if i try to clone a repo and it says "does not appear to be a git repository" | 00:08 |
|
| but then i login through ssh and see that folder contains config description FETCH_HEAD etc | 00:09 |
|
Vampire0
| blocky, !repro | 00:09 |
|
gitinfo
| blocky: [!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 | 00:09 |
|
jnewt
| can someone look at this for me: http://pasted.co/3ac1c0a8 ? I want to apply a hunk that is just a change of the function, ie the first - line and the last + line. if i edit the hunk, and remove the two center + lines (replacing them with ' ' as instructed), it won't apply the patch (error: patch failed ... patch does not apply.) | 00:10 |
| ← unbalancedparen left | 00:10 |
| → d^sh joined | 00:10 |
| → _Vi joined | 00:11 |
| ← Daviey_ left | 00:11 |
|
Vampire0
| jnewt, that is not like instructed | 00:14 |
|
| jnewt, read the instruction again | 00:14 |
| ← bilal left | 00:14 |
| ← mel00010 left | 00:14 |
| → ExeciN joined | 00:15 |
|
blocky
| Vampire0: https://paste.linux.community/view/65dc91d0 | 00:15 |
| → bilal joined | 00:16 |
|
blocky
| i don't think the repo is set up right but i'd like to be able to suggest to the owner how to fix it | 00:16 |
| → mel00010 joined | 00:17 |
| → h12o joined | 00:17 |
| ← ssmall left | 00:17 |
| ← miczac left | 00:20 |
| ← nidr0x left | 00:23 |
|
Vampire0
| blocky, ssh into the machine, go into the git dir and try git status there, what does it say? | 00:24 |
| ← bilal left | 00:24 |
| ← h12o left | 00:24 |
| ← cagomez left | 00:24 |
| → roelmonnens joined | 00:24 |
| ← eb0t left | 00:24 |
|
PettanShoutaKun_
| what is the best to reverse a commit you made on master? | 00:25 |
| → bilal joined | 00:25 |
|
PettanShoutaKun_
| the way that is the least painful for everyone? | 00:25 |
| → nidr0x joined | 00:25 |
|
Vampire0
| blocky, and are you supposed to clone this via SSH? gl-conf sounds to me like there should be a GitLab instance serving this | 00:25 |
|
| PettanShoutaKun_, man git revert | 00:25 |
|
gitinfo
| PettanShoutaKun_: the git-revert manpage is available at https://gitirc.eu/git-revert.html | 00:25 |
|
Vampire0
| PettanShoutaKun_, if you did not push it yet, you can also eradicate it from the history | 00:26 |
|
PettanShoutaKun_
| it's pushed | 00:26 |
|
Vampire0
| PettanShoutaKun_, if you already pushed and you eradicate it from history, you will suffer from !rewrite | 00:26 |
|
gitinfo
| PettanShoutaKun_: Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 00:26 |
| → fstd_ joined | 00:26 |
| ← netj left | 00:27 |
| → netj joined | 00:27 |
| ← bronson left | 00:27 |
|
PettanShoutaKun_
| wait can I not use git revert without rewritting history? | 00:28 |
|
| also the commit is a merge commit from a pull requests | 00:28 |
|
| *pull request | 00:28 |
|
blocky
| Vampire0: git status says: fatal: This operation must be run in a work tree | 00:29 |
| ← roelmonnens left | 00:29 |
| ← bilal left | 00:29 |
| ← Cabanossi left | 00:29 |
| → bilal joined | 00:29 |
| phase2 → abc | 00:30 |
| ← fstd left | 00:30 |
| fstd_ → fstd | 00:30 |
| abc → abcd | 00:30 |
| abcd → abcde | 00:30 |
| abcde → abcdef | 00:30 |
| abcdef → abcdefg | 00:31 |
| → Cabanossi joined | 00:31 |
| ← onehrxn left | 00:31 |
| ← svm_invictvs left | 00:31 |
| → Puffball joined | 00:32 |
| abcdefg → phase3 | 00:32 |
| ← nidr0x left | 00:33 |
| phase3 → phase5 | 00:33 |
| ← bilal left | 00:33 |
| → bilal joined | 00:34 |
| phase5 → newabc | 00:35 |
| → onehrxn joined | 00:35 |
|
Vampire0
| PettanShoutaKun_, you can use revert to undo the effects, but you will not be able to redo the merge later, because even if you undo the merge effects, the merge will still be there. So if you want to redo the merge later, it sees that those commits are merged already and will not merge them again | 00:36 |
|
| PettanShoutaKun_, but yes, git revert is just a new commit, no history rewriting involved | 00:36 |
| ← newabc left | 00:37 |
| → phase2 joined | 00:37 |
| phase2 → peaceflower | 00:38 |
| ← brent__ left | 00:38 |
|
PettanShoutaKun_
| I don't want to redo the merge | 00:38 |
|
| so I think I'll be okay | 00:38 |
| ← Introoter left | 00:38 |
| → brent__ joined | 00:39 |
|
PettanShoutaKun_
| I changed a bunch of stuff thinking it would fix stuff, but it never actually fixed stuff so it was all kind of pointless | 00:39 |
| → h12o joined | 00:40 |
|
Vampire0
| blocky, hm, sounds ok and `git rev-parse --verify HEAD && echo true || echo false`? | 00:40 |
| ← robertparkerx left | 00:41 |
| ← cdg left | 00:41 |
| → durham joined | 00:41 |
| ← dreiss left | 00:42 |
| ← salamanderrake left | 00:44 |
| ← h12o left | 00:44 |
| → ssmall joined | 00:44 |
| ← tvw left | 00:45 |
| ← durham_ left | 00:45 |
| ← brent__ left | 00:46 |
| ← durham left | 00:46 |
| → nidr0x joined | 00:46 |
| → Noldorin joined | 00:47 |
| → bronson joined | 00:47 |
| ← bronson left | 00:49 |
| → bronson joined | 00:50 |
| → Gurkenglas_ joined | 00:51 |
| ← davimore left | 00:51 |
| → User458764 joined | 00:55 |
| ← Stumbler left | 00:56 |
| ← naf left | 00:59 |
| → naf joined | 00:59 |
| → h12o joined | 01:00 |
| ← sunri5e left | 01:00 |
| → sunri5e joined | 01:00 |
| ← MattMaker left | 01:00 |
| → MattMaker joined | 01:01 |
| → otiose joined | 01:01 |
| → nd joined | 01:01 |
| ← nd_ left | 01:04 |
| ← PettanShoutaKun_ left | 01:05 |
| ← h12o left | 01:05 |
| → durham joined | 01:05 |
| ← otiose left | 01:05 |
| ← cust left | 01:06 |
| ← shgysk8zer0 left | 01:07 |
| ← durham left | 01:08 |
| → durham joined | 01:08 |
| ← d^sh left | 01:08 |
| ← al-damiri left | 01:09 |
| → d^sh joined | 01:10 |
| → svm_invictvs joined | 01:10 |
| → jon-mac joined | 01:11 |
| → tnecniv joined | 01:13 |
| ← Cabanossi left | 01:14 |
| ← boombatower left | 01:16 |
| → Cabanossi joined | 01:16 |
| ← bronson left | 01:17 |
| ← kexmex left | 01:18 |
| → h12o joined | 01:20 |
| ← yohnnyjoe left | 01:21 |
| → Bock joined | 01:21 |
| ← Bock left | 01:21 |
| ← a3Dman left | 01:22 |
| → Bock joined | 01:22 |
| → Wulf4 joined | 01:23 |
| → fatalhalt joined | 01:25 |
| ← h12o left | 01:25 |
| ← Sythrik left | 01:26 |
| ← Wulf left | 01:26 |
| Wulf4 → Wulf | 01:26 |
| → iamasamosa joined | 01:26 |
| ← iamashishkebab2 left | 01:28 |
| ← fatalhalt left | 01:30 |
| → a3Dman joined | 01:32 |
| → caper joined | 01:33 |
| ← sturner left | 01:33 |
| → fatalhalt joined | 01:34 |
| ← fatalhalt left | 01:34 |
| ← rnsanchez left | 01:35 |
| → cust joined | 01:36 |
| ← blackwind_123 left | 01:37 |
| → fatalhalt joined | 01:37 |
| → VladGh_ joined | 01:38 |
| ← Gurkenglas_ left | 01:39 |
| ← VladGh left | 01:39 |
| → raijin joined | 01:40 |
| ← sunri5e left | 01:40 |
| → brent__ joined | 01:41 |
| → h12o joined | 01:41 |
| → sunri5e joined | 01:42 |
| → stoopkid joined | 01:43 |
| → sturner joined | 01:45 |
| ← brent__ left | 01:45 |
| ← ilbot3 left | 01:45 |
| ← h12o left | 01:46 |
| → gugah joined | 01:49 |
| → ilbot3 joined | 01:50 |
| → ir7466 joined | 01:51 |
| ← Sasazuka left | 01:51 |
|
ir7466
| Hello I have a strange issue - there's a couple of files that when I try to commit or revert - nothing happens | 01:51 |
|
| so I do a "git status" and see 3 files | 01:52 |
|
| no matter what i do to those files, nothing happens | 01:52 |
| ← justin3 left | 01:53 |
| → Marquisk2 joined | 01:53 |
| → MattMake_ joined | 01:53 |
| ← Marquisk2 left | 01:53 |
| → shgysk8zer0 joined | 01:53 |
| ← njbair left | 01:54 |
| ← Qilibrun left | 01:55 |
| ← MattMaker left | 01:57 |
| ← roar left | 01:58 |
| ← Cabanossi left | 01:59 |
| → TbobbyZ joined | 02:00 |
| ← dermoth left | 02:00 |
| → njbair joined | 02:00 |
| → dreiss joined | 02:00 |
| → dermoth joined | 02:00 |
| → Cabanossi joined | 02:01 |
| → h12o joined | 02:01 |
| ← davidfetter_ge left | 02:01 |
| ← madewokherd left | 02:02 |
| → madewokherd joined | 02:03 |
| → chigang joined | 02:03 |
| ← TbobbyZ left | 02:06 |
| ← h12o left | 02:06 |
| ← chachasmooth left | 02:06 |
|
rwp
| ir7466, git status shows you those file has local modifications? Or that they are untracked files? Or other? | 02:06 |
|
| ir7466, git diff shows you that they have changes? You 'git add ...' then and 'git diff --cached' shows the changes? | 02:07 |
| ← YuGiOhJCJ left | 02:07 |
| ← MattMake_ left | 02:08 |
| → chachasmooth joined | 02:08 |
| → jameser joined | 02:11 |
| → Marble68 joined | 02:12 |
| ← lafleurdubien left | 02:12 |
| ← prg3 left | 02:12 |
| → roelmonnens joined | 02:12 |
| → zer0her0 joined | 02:13 |
| ← zer0her0 left | 02:13 |
| → zer0her0 joined | 02:13 |
| ← telephone left | 02:13 |
|
ir7466
| Hi rwp | 02:14 |
| → Technocrat7 joined | 02:14 |
| → prg3 joined | 02:14 |
|
ir7466
| i believe the problem is, on GitLab some of these files are duplicates | 02:15 |
|
| ie. one is called "myfile.php" and another is called "MyFile.php" | 02:15 |
|
| but when i pull to windows, it's only taking one... i guess a case sensitivity issue | 02:15 |
| → MattMaker joined | 02:15 |
| → telephone joined | 02:16 |
| ← telephone left | 02:16 |
| → telephone joined | 02:16 |
| → Goplat joined | 02:16 |
| ← roelmonnens left | 02:16 |
|
ir7466
| so yeah, git status shows modifications. git diff shows changes... but it's showing changes between myfile.php and MyFile.php | 02:17 |
| → AlienMachineElf joined | 02:17 |
| ← caper left | 02:17 |
| ← Noldorin left | 02:17 |
| ← AlienMachineElf left | 02:18 |
| → bronson joined | 02:18 |
| → iamashishkebab2 joined | 02:19 |
| ← zer0her0 left | 02:20 |
| → zer0her0 joined | 02:20 |
| ← zer0her0 left | 02:20 |
| → zer0her0 joined | 02:20 |
| ← iamasamosa left | 02:20 |
| ← Doginal left | 02:21 |
| → h12o joined | 02:22 |
| → lagothri1 joined | 02:22 |
| ← bronson left | 02:23 |
| → Es0teric joined | 02:24 |
|
rwp
| ir7466, Ah... Case insensitive file system. Gotcha. | 02:24 |
| → QwertyDragon joined | 02:26 |
| QwertyDragon → Guest32534 | 02:27 |
| ← h12o left | 02:27 |
| ← Guest32534 left | 02:27 |
| ← prg3 left | 02:28 |
| ← anuxivm left | 02:28 |
| ← Technocrat7 left | 02:28 |
| ← watabou left | 02:29 |
| ← Marble68 left | 02:29 |
| → QwertyDragon_ joined | 02:29 |
| QwertyDragon_ → Guest7732 | 02:29 |
| → prg3 joined | 02:29 |
| ← Guest7732 left | 02:30 |
| → QwertyDragon__ joined | 02:32 |
| ← Gustavo6046 left | 02:32 |
|
ir7466
| rwp: what about colons, could that cause a problem? | 02:33 |
|
| i was able to solve a few of the conflicts because of the case | 02:33 |
| ← QwertyDragon__ left | 02:33 |
|
ir7466
| but there's one like "FileName:_1234_i.inc" | 02:34 |
| → QwertyDragon__ joined | 02:34 |
|
ir7466
| and my local version control is saying the file is deleted | 02:34 |
|
| i'm not sure why it's saying it's deleted, I guess it must be something to do with the colon | 02:34 |
| → h12o joined | 02:34 |
| → Motoko joined | 02:35 |
|
rwp
| I can only suggest 'git ls-files' to see what file names git has and then you can compare them to the local file system names. | 02:35 |
| ← hexagoxel left | 02:35 |
| → watabou joined | 02:35 |
|
ir7466
| one moment | 02:36 |
|
rwp
| I don't run on MS or Apple (which I assume you are on a Mac) and so I don't have those problems myself. | 02:36 |
|
ir7466
| im on windows | 02:36 |
|
| but like you i kind of prefer running on linux | 02:36 |
|
| if i run git ls-files what should i look for | 02:37 |
|
| i do see the unusual name with the colon | 02:37 |
|
| there's also a name identical except the after the colon | 02:38 |
|
| like | 02:38 |
|
rwp
| I was thinking that it would store the file name with the case associated with it and then you would know if it was different than the native name of the file on disk. | 02:38 |
|
ir7466
| it shows FileName:_1234_i.inc and FileName | 02:38 |
|
rwp
| And if that is the actual file name then I would think you are okay. Except as you note it has a colon. So don't know if Windows will freak out because of that. | 02:39 |
|
ir7466
| yeah, i've figured out a way around the case insensitivity problem - i'm just deleting the redundant file from GitLab and re-cloning | 02:39 |
|
| but yeah i think windows must be freaking out because it's seeing one with a colon and one without | 02:39 |
| ← h12o left | 02:39 |
| ← zturner left | 02:40 |
|
rwp
| Probably looking for the FileName drive. | 02:41 |
|
ir7466
| ah | 02:41 |
|
| yeah | 02:41 |
|
rwp
| So strange to see that remnent of CP/M still hanging around these days. | 02:41 |
| → hexagoxel joined | 02:42 |
|
ir7466
| i'm not really sure what i should do | 02:43 |
|
| i want to rename the file, but i don't know the project well enough to know if someone is actually using a file with this name | 02:43 |
|
rwp
| Any regression tests with this project? | 02:44 |
| ← lb1c left | 02:44 |
|
ir7466
| haha | 02:44 |
|
| good one | 02:44 |
| → lb1c joined | 02:44 |
|
rwp
| https://en.wikipedia.org/wiki/Legacy_code | 02:44 |
|
ir7466
| (no) | 02:44 |
|
| its still running php4 | 02:45 |
|
| and git has only been used for the last month or so | 02:45 |
|
rwp
| "Michael Feathers introduced a definition of legacy code as code without tests" | 02:45 |
|
ir7466
| so i cant even look at the history to see when changes were made to a file | 02:46 |
|
rwp
| You have hit the problem dead center because you would like to make the change but without tests you have no feedback as to what will break, if anything, if you do. | 02:46 |
|
ir7466
| yep | 02:46 |
| ← dilijev left | 02:46 |
|
ir7466
| and i cant even see when it was last changed, or who changed it, to know who i should talk to | 02:46 |
|
rwp
| Wait... git won't care what the file name is about. You should be able to get the git history of the file. | 02:46 |
| ← prg3 left | 02:47 |
| ← gugah left | 02:47 |
|
rwp
| "git log FileName:_1234_i.inc" should tell you something. | 02:47 |
| → ryxai joined | 02:48 |
|
rwp
| Or if you want to see more detail such as changes "git log -p FileName:_1234_i.inc" and optionally with -m -c --cc for other effects. | 02:48 |
| → zturner joined | 02:49 |
| ← gaucheph left | 02:49 |
| → prg3 joined | 02:50 |
| → CEnnis91 joined | 02:50 |
| → h12o joined | 02:55 |
| ← ssmall left | 02:56 |
| → Vortex34 joined | 02:58 |
| ← bilal left | 02:59 |
| ← h12o left | 03:00 |
| → bilal joined | 03:00 |
| ← Puffball left | 03:00 |
| → otiose joined | 03:01 |
| ← Vortex35 left | 03:02 |
| → Puffball joined | 03:02 |
| ← bilal left | 03:03 |
| → bilal joined | 03:04 |
| → menip joined | 03:05 |
| ← duderono_ left | 03:07 |
| ← otiose left | 03:08 |
| ← dsdeiz left | 03:10 |
| → navidr joined | 03:14 |
| → xall joined | 03:14 |
| → h12o joined | 03:15 |
| ← h12o left | 03:19 |
| → bronson joined | 03:20 |
| ← ir7466 left | 03:21 |
| ← ojdo left | 03:23 |
| ← raijin left | 03:24 |
| ← bronson left | 03:24 |
| → Lyqyd joined | 03:26 |
| ← Cabanossi left | 03:28 |
| → salamanderrake joined | 03:29 |
| → Cabanossi joined | 03:30 |
| → dsdeiz joined | 03:30 |
| ← dsdeiz left | 03:30 |
| → dsdeiz joined | 03:30 |
| → ojdo joined | 03:30 |
| ← zturner left | 03:31 |
| ← dirtyroshi left | 03:33 |
| → aavrug joined | 03:34 |
| ← aavrug left | 03:35 |
| ← Es0teric left | 03:35 |
| → aavrug joined | 03:35 |
| → h12o joined | 03:36 |
| ← Lyqyd left | 03:38 |
| → bronson joined | 03:39 |
| ← h12o left | 03:40 |
| → Es0teric joined | 03:40 |
| ← telephone left | 03:43 |
| ← trobotham left | 03:44 |
| → trobotham joined | 03:45 |
|
kutenai
| My dev team committed some files. These are just normal .js files. The files have been marked as +x. They are on Ubuntu. Assuming they didn't manually do a chmod +x on those files, any ideas what mechanisms might account for the files being given the +x attribute? | 03:46 |
| → telephone joined | 03:48 |
| ← telephone left | 03:48 |
| → telephone joined | 03:48 |
|
preaction
| their mask could set it | 03:48 |
|
thiago
| someone used Windows | 03:48 |
|
kutenai
| thiago: yeah, that's what I'm thinking. | 03:50 |
|
thiago
| or they copied from a USB drive | 03:50 |
|
kutenai
| preaction: Their umask? | 03:50 |
|
| hmm. | 03:50 |
|
preaction
| yes | 03:50 |
|
kutenai
| These are not new files.. but might have been re-written by the system. | 03:50 |
|
thiago
| the umask does not affect the executable bits | 03:50 |
|
| what is "the system"? | 03:51 |
|
kutenai
| "the system" -- meaning, IDE. Using PyCharm. | 03:51 |
|
thiago
| I don't know why an IDE would rewrite a file and, even if it did, why it would set the +x attributes | 03:52 |
|
kutenai
| So, umask can't be it.. hmm. | 03:52 |
|
| Yeah, makes no sense.. | 03:52 |
|
thiago
| Windows and/or USB stick are your likely candiates | 03:52 |
|
| of course, USB stick is a problem because of Windows too | 03:52 |
| → a_thakur joined | 03:55 |
| → h12o joined | 03:56 |
| → Ardethian\ joined | 03:56 |
| ← Ardethian left | 03:58 |
| → cads joined | 03:58 |
| ← Spacew00t left | 03:58 |
| ← shgysk8zer0 left | 04:00 |
| ← h12o left | 04:01 |
| → tohuw joined | 04:01 |
| ← tohuw left | 04:01 |
| → tohuw joined | 04:01 |
| → TbobbyZ joined | 04:03 |
| ← watabou left | 04:06 |
| → watabou joined | 04:06 |
| → FuzzyWuzzyPanda joined | 04:06 |
| ← TbobbyZ left | 04:08 |
| → rkazak joined | 04:09 |
| → frobnic joined | 04:12 |
| → h12o joined | 04:16 |
| → zturner joined | 04:17 |
| → cagedwisdom joined | 04:18 |
| ← druonysus left | 04:19 |
| ← h12o left | 04:22 |
| ← User458764 left | 04:23 |
| ← Cabanossi left | 04:27 |
| ← johnnyfive left | 04:28 |
| → Cabanossi joined | 04:30 |
| → h12o joined | 04:37 |
| → nickel_dime_look joined | 04:41 |
| ← h12o left | 04:42 |
| → mniip joined | 04:47 |
| ← MattMaker left | 04:47 |
| → noorbeh joined | 04:49 |
| → ayogi joined | 04:49 |
| ← ryxai left | 04:49 |
| → shgysk8zer0 joined | 04:50 |
| → rchavik joined | 04:52 |
| ← nick123_ left | 04:52 |
| ← watabou left | 04:53 |
| ← Es0teric left | 04:54 |
| ← noorbeh left | 04:54 |
| ← bronson left | 04:54 |
| ← lindenle left | 04:54 |
| → h12o joined | 04:58 |
| → watabou joined | 04:58 |
| ← Cabanossi left | 04:59 |
| → Cabanossi joined | 05:00 |
| ← h12o left | 05:02 |
| → Chu joined | 05:04 |
| → otiose joined | 05:05 |
| Chu → Guest67506 | 05:05 |
| → tarkus joined | 05:05 |
| → dec0n joined | 05:07 |
| → fluffystub joined | 05:08 |
| ← _Vi left | 05:08 |
| ← otiose left | 05:09 |
| ← pks left | 05:10 |
| ← albel727 left | 05:10 |
| ← cads left | 05:10 |
| ← bongo left | 05:11 |
| → theoceaniscool joined | 05:13 |
| ← tarkus left | 05:14 |
| → pks joined | 05:14 |
| → albel727 joined | 05:15 |
| ← kadoban left | 05:17 |
| → h12o joined | 05:18 |
| ← albel727 left | 05:21 |
| ← h12o left | 05:23 |
| → albel727 joined | 05:24 |
| → m4sk1n joined | 05:25 |
| ← VladGh_ left | 05:26 |
| ← Cabanossi left | 05:27 |
| ← rkazak left | 05:29 |
| ← CEnnis91 left | 05:29 |
| ← albel727 left | 05:29 |
| → albel727 joined | 05:29 |
| → Cabanossi joined | 05:30 |
| ← xall left | 05:32 |
| ← shgysk8zer0 left | 05:35 |
| → qt-x joined | 05:35 |
| → imack joined | 05:37 |
| → mda1 joined | 05:38 |
| → soto_ joined | 05:38 |
| → h12o joined | 05:39 |
| ← mel00010 left | 05:39 |
| → JanC_ joined | 05:40 |
| ← ertes left | 05:40 |
| ← marlinc left | 05:41 |
| JanC → Guest66795 | 05:41 |
| ← Guest66795 left | 05:41 |
| JanC_ → JanC | 05:41 |
| ← dedicated left | 05:41 |
| ← dec0n left | 05:42 |
| → latino31 joined | 05:43 |
| → sea-gull joined | 05:43 |
| → VladGh joined | 05:43 |
| → dec0n joined | 05:43 |
| → cvt joined | 05:43 |
| ← cvt left | 05:43 |
| → cvt joined | 05:44 |
| ← h12o left | 05:44 |
| ← cvt left | 05:44 |
| → cvt joined | 05:44 |
| ← cvt left | 05:46 |
| ← theoceaniscool left | 05:47 |
| ← durham left | 05:47 |
| → marlinc joined | 05:47 |
| ← FuzzyWuzzyPanda left | 05:48 |
| → sea-gull_ joined | 05:48 |
| → o11c joined | 05:48 |
|
o11c
| Using git-remote-bzr (the quasiofficial one), how do I get the bzr revision number for a git commit? | 05:48 |
| → jonas_ joined | 05:49 |
| ← jonas_ left | 05:49 |
| → h12o joined | 05:49 |
| ← a_thakur left | 05:51 |
| → a_thakur joined | 05:51 |
| → shgysk8zer0 joined | 05:52 |
| Blendify → Blendify|afk | 05:52 |
| ← zturner left | 05:53 |
| ← a_thakur left | 05:53 |
| → durham_ joined | 05:53 |
| → a_thakur joined | 05:53 |
| → Se7yLade joined | 05:54 |
| ← h12o left | 05:54 |
| → regedit joined | 05:55 |
| → a_thakur_ joined | 05:55 |
| ← tnecniv left | 05:56 |
| ← Se7yLade left | 05:57 |
| → Raging_Hog joined | 05:57 |
| ← a_thakur left | 05:59 |
| ← VladGh left | 05:59 |
| ← thiago left | 05:59 |
| → VladGh joined | 06:00 |
| ← dermoth left | 06:00 |
| → dermoth joined | 06:00 |
| ← a_thakur_ left | 06:01 |
| ← lipsumar left | 06:02 |
| → jay-m joined | 06:02 |
| → rkazak joined | 06:04 |
| → TbobbyZ joined | 06:05 |
| → bilal_ joined | 06:06 |
| ← aavrug left | 06:06 |
| ← netj left | 06:07 |
| → netj joined | 06:08 |
| → aavrug joined | 06:09 |
| ← madewokherd left | 06:09 |
| ← bilal left | 06:09 |
| ← TbobbyZ left | 06:10 |
| → xall joined | 06:10 |
| ← nidr0x left | 06:11 |
| → rscata joined | 06:11 |
| → Silmarilion joined | 06:11 |
| → otiose joined | 06:13 |
| ← durham_ left | 06:14 |
| ← rkazak left | 06:14 |
| → zeroed joined | 06:14 |
| ← zeroed left | 06:14 |
| → zeroed joined | 06:14 |
| ← Cabanossi left | 06:14 |
| ← menip left | 06:15 |
| ← whydoubt left | 06:16 |
| → Cabanossi joined | 06:17 |
| → roelmonnens joined | 06:18 |
| ← roelmonnens left | 06:18 |
| → h12o joined | 06:18 |
| ← otiose left | 06:18 |
| → roelmonnens joined | 06:18 |
| → zturner joined | 06:21 |
| ← h12o left | 06:23 |
| ← onehrxn left | 06:24 |
| → JeroenT joined | 06:24 |
| ← JeroenT left | 06:26 |
| → JeroenT joined | 06:26 |
| → ogny joined | 06:28 |
| ← iamashishkebab2 left | 06:28 |
| → iamashishkebab2 joined | 06:28 |
| ← JeroenT left | 06:28 |
| → duderonomy joined | 06:28 |
| → JeroenT joined | 06:28 |
| → otiose joined | 06:28 |
| ← watabou left | 06:28 |
|
visual
| hello /git/ | 06:29 |
| → D630 joined | 06:29 |
| → nidr0x joined | 06:30 |
|
visual
| in order to pull changes from upstream, i removed a local file, because i didnt need the local changes | 06:30 |
| ← nidr0x left | 06:30 |
|
visual
| it pulled ok | 06:30 |
|
| but now, the deleted file is staged for commit | 06:30 |
|
| how do i discard it? | 06:30 |
| ← masuberu left | 06:30 |
|
visual
| actually, it pulled, but without that file, and now git fetch says it's up-to-date | 06:32 |
|
| but the file is missing locally :U | 06:32 |
| ← otiose left | 06:33 |
| ← Nilesh_ left | 06:33 |
|
rwp
| visual, use "git reset HEAD <file>..." to unstage the removal. See the output of 'git status' for that hint. | 06:34 |
| → xall_ joined | 06:34 |
| ← xall left | 06:34 |
| ← rominronin left | 06:36 |
| → rominronin joined | 06:36 |
| → h12o joined | 06:38 |
| ← Gianormagantrous left | 06:43 |
| → otiose joined | 06:43 |
| ← dave0x6d left | 06:43 |
| ← h12o left | 06:44 |
| → Gianormagantrous joined | 06:44 |
| → ertes-w joined | 06:45 |
| ← otiose left | 06:48 |
| → dersand joined | 06:49 |
| → jfr joined | 06:50 |
| → acetakwas joined | 06:51 |
| → jagob joined | 06:51 |
| → watabou joined | 06:52 |
| → cads joined | 06:52 |
| → theoceaniscool joined | 06:52 |
| ← alexandre9099 left | 06:53 |
| → alexandre9099 joined | 06:53 |
| ← sea-gull_ left | 06:54 |
| ← sea-gull left | 06:54 |
| → bronson joined | 06:55 |
| → lindenle joined | 06:55 |
| ← zturner left | 06:56 |
| ← watabou left | 06:57 |
| → chele joined | 06:58 |
| → Gloomy joined | 06:59 |
| ← theoceaniscool left | 06:59 |
| → tarkus joined | 06:59 |
| ← lindenle left | 07:00 |
| ← bronson left | 07:00 |
| → Tobbi joined | 07:02 |
| → theoceaniscool joined | 07:02 |
| ← dreiss left | 07:02 |
| → manuelschneid3r joined | 07:03 |
| → felGru joined | 07:03 |
| → pbandark joined | 07:04 |
|
visual
| thanks rwp | 07:04 |
| ← xall_ left | 07:05 |
| ← Motoko left | 07:05 |
|
rwp
| visual, That or you need to use "git checkout -- <file>..." to discard changes in working directory. | 07:06 |
|
| It all depends upon where in the staging pipeline you have made the changes. :-) | 07:06 |
|
| "git status" should include hints on what to do to undo what has been done. | 07:06 |
| → YuGiOhJCJ joined | 07:07 |
| ← theoceaniscool left | 07:07 |
| ← peterbecich left | 07:09 |
| → h12o joined | 07:09 |
|
o11c
| Okay, I've come up with a horrible bash script to convert read the mark info and convert git-commit-hash to bzr-commit-hash, then call bzr revno | 07:09 |
| ← jstimm left | 07:09 |
|
o11c
| but I have no idea how it works in conjuction with bzr branches | 07:10 |
|
| then again, I don't know of any bzr projects that actually *use* branches | 07:10 |
| → xall_ joined | 07:10 |
| → tonikt joined | 07:11 |
| → zturner joined | 07:12 |
|
o11c
| here's my result if anyone's interested: https://gist.github.com/o11c/cc3520bda444f2b26717952f02e51bf4 | 07:12 |
|
| this is the first time I really got into using jq | 07:12 |
|
| it really is a nifty tool | 07:12 |
| → barbos joined | 07:13 |
| → schleppel joined | 07:13 |
|
tonikt
| Hi guys. How can I make an existing branch a new HEAD? I don't want to merge - just change where the head is | 07:14 |
|
tobiasvl
| tonikt: git checkout branch | 07:14 |
| → ryxai joined | 07:14 |
| ← ryxai left | 07:14 |
| ← h12o left | 07:15 |
| ← jameser left | 07:15 |
| → goTAN joined | 07:15 |
|
o11c
| tonikt: consider also `git-worktree` | 07:15 |
| ← QwertyDragon__ left | 07:15 |
|
tonikt
| tobiasvl: I mean, I want everyone, from now on, checking out the master branch form the repo, to check out the code that is on my branch | 07:16 |
| → liuxu joined | 07:17 |
| → jameser joined | 07:17 |
| ← nevodka left | 07:17 |
| ← liuxu left | 07:17 |
|
tobiasvl
| tonikt: OK… so you want to make an existing branch the new master? | 07:18 |
|
o11c
| tonikt: change remote master, or change remote HEAD? | 07:18 |
| → Stace joined | 07:18 |
|
tonikt
| tobiasvl: yes | 07:18 |
|
tobiasvl
| because you didn't mention master, you said HEAD | 07:18 |
|
| two very different things | 07:19 |
|
tonikt
| o11c: sorry, I don't know what that means :) | 07:19 |
|
osse
| change what HEAD points to on the host | 07:19 |
|
o11c
| tonikt: there's a setting to change a remote repo's HEAD (the default branch) | 07:19 |
| → lordjancso joined | 07:19 |
| → nevodka joined | 07:19 |
|
tobiasvl
| as o11c says, do you want to actually delete the current master branch and replace it with something else, or change what branch is checked out when cloning? (default branch) | 07:19 |
| ← nevodka left | 07:19 |
| → netroxen joined | 07:19 |
|
tonikt
| sorry guys, I was always thinking that master and HEAD were same thing :) | 07:19 |
| → nevodka joined | 07:19 |
|
o11c
| e.g. on github, you can change the default branch here: https://github.com/o11c/python-curl-requests/settings/branches | 07:20 |
|
| rewriting history is generally a bad thing | 07:20 |
|
| so if you can't merge, you probably shouldn't overwrite master | 07:20 |
|
tobiasvl
| (but if that REALLY is what you want, you can do it) | 07:21 |
|
tonikt
| The current master has not been developed since I forked to the branch | 07:22 |
|
tobiasvl
| tonikt: what is the scenario here exactly? just so we don't misunderstand each other more. why do you want to do what you want to do? | 07:22 |
| → lipsumar joined | 07:22 |
|
tonikt
| OK - here is the scenario... | 07:22 |
|
tobiasvl
| ok, so why can't you merge? | 07:22 |
|
| ok | 07:22 |
| ← jameser left | 07:23 |
| → theoceaniscool joined | 07:23 |
|
tonikt
| I am the only person who works on his repo, but many people use it in read only mode. Two weeks ago I created a branch and started working on it. Now the code on it is quite stable, so I want to make it the new head/master, so anyone doing a simple git clone will be using this code form now on | 07:23 |
| ← theoceaniscool left | 07:23 |
| → digidog joined | 07:23 |
|
tonikt
| Honestly I don't know why I cant merge. It says "merge: v1.9 - not something we can merge" | 07:24 |
| ← zeroed left | 07:24 |
|
osse
| tonikt: git checkout master; git merge a-new-branch; git push | 07:24 |
|
tonikt
| Maybe I did one or two commits, but nothing big | 07:24 |
| → zeroed joined | 07:24 |
|
osse
| is your branch named v1.9 ? | 07:24 |
|
tonikt
| Yes | 07:24 |
| ← TikityTik left | 07:24 |
|
osse
| run git for-each-ref | grep -F v1.9 | 07:25 |
| ← kristofferR left | 07:25 |
|
o11c
| ah, if you're not switched to master, yet you can't merge obviously | 07:25 |
| → theoceaniscool joined | 07:25 |
| → jameser joined | 07:25 |
|
tonikt
| but I am switched to master | 07:25 |
|
| git checkout master - works | 07:25 |
|
o11c
| wait, is v1.9 a *remote* or *local* branch? | 07:25 |
|
tonikt
| git merge v1.9 - says "merge: v1.9 - not something we can merge" | 07:26 |
|
osse
| o11c: must be neither. | 07:26 |
|
o11c
| run `git branch -a` | 07:26 |
|
tonikt
| it's remote | 07:26 |
|
o11c
| *sometimes* remote branches are handled as-if local, but sometimes they aren't | 07:26 |
| → mel00010 joined | 07:26 |
| ← Tobbi left | 07:27 |
| → kristofferR joined | 07:27 |
|
o11c
| so try `git merge origin/v1.9` | 07:27 |
|
tonikt
| o11c: https://pastebin.com/umgZL9Qv | 07:27 |
|
tobiasvl
| ver1.9 | 07:27 |
|
osse
| jebus | 07:27 |
|
o11c
| er | 07:27 |
|
tobiasvl
| not v1.9 | 07:27 |
|
o11c
| not v, ver | 07:27 |
|
tonikt
| o11c: "git merge origin/v1.9" says the same "merge: origin/v1.9 - not something we can merge" | 07:28 |
|
o11c
| ver1.9 | 07:28 |
|
osse
| you don't know the name of your own branches! | 07:28 |
| ← Xenophon1 left | 07:28 |
| ← svm_invictvs left | 07:28 |
|
o11c
| though using a v prefix for something other than a *tag* is heresy | 07:28 |
|
tobiasvl
| hehe | 07:28 |
|
tonikt
| oh, shit | 07:28 |
| ← JeroenT left | 07:28 |
|
tonikt
| sorry guys - you are right :) | 07:28 |
|
| I'm a nutter | 07:29 |
|
| it was ver1.9 | 07:29 |
|
| git merge ver1.9 - works just fine | 07:29 |
| → XenophonF joined | 07:29 |
|
tonikt
| thank you all! | 07:29 |
| → h12o joined | 07:29 |
| → mikecmpbll joined | 07:30 |
| ← Cabanossi left | 07:30 |
| ← lipsumar left | 07:30 |
| ← mikecmpbll left | 07:31 |
| → sbulage joined | 07:31 |
| ← tonikt left | 07:31 |
| → Cabanossi joined | 07:32 |
| → Tobbi joined | 07:32 |
| ← qt-x left | 07:33 |
|
hendry
| from a git diff, could i somehow spawn a vimdiff so i can perhaps choose to put back some changes that I've made? https://youtu.be/A_U3EuYpGDw?t=74 | 07:33 |
|
osse
| no, but you can run git difftool | 07:33 |
| → jeffreylevesque_ joined | 07:34 |
| ← jeffreylevesque left | 07:34 |
| ← h12o left | 07:35 |
| ← barbos left | 07:35 |
| ← Random832 left | 07:35 |
| → jstimm joined | 07:37 |
|
selckin
| think you can git checkout -p like add -p | 07:37 |
|
| and git gui, and ofc what osse said | 07:37 |
| → ankit01ojha joined | 07:37 |
| → qt-x joined | 07:37 |
| ← nevodka left | 07:38 |
| → slidercrank joined | 07:39 |
| → JeroenT joined | 07:39 |
| → Levex joined | 07:39 |
| → kelvah joined | 07:40 |
| → barbos joined | 07:41 |
| → lipsumar joined | 07:42 |
| ← GT4066 left | 07:42 |
| ← manuelschneid3r left | 07:42 |
| → manuelschneid3r joined | 07:42 |
| → miczac joined | 07:42 |
| gitinfo set mode: +v | 07:43 |
| ← felGru left | 07:43 |
| → elect joined | 07:46 |
| ← lipsumar left | 07:46 |
| → chu joined | 07:47 |
| → Random832 joined | 07:49 |
| → masuberu joined | 07:49 |
| ← jameser left | 07:50 |
| → h12o joined | 07:50 |
| ← manuelschneid3r left | 07:50 |
| → Mavericks joined | 07:51 |
| → sea-gull_ joined | 07:51 |
| → sea-gull joined | 07:51 |
| → jameser joined | 07:51 |
| ← Mavericks left | 07:51 |
| → manuelschneid3r joined | 07:51 |
| → watabou joined | 07:52 |
| ← rvgate left | 07:53 |
| → elect_ joined | 07:53 |
| → ssmall joined | 07:53 |
| ← manuelschneid3r left | 07:53 |
| → manuelschneid3r joined | 07:54 |
| ← elect left | 07:54 |
| → MattMaker joined | 07:55 |
| → bronson joined | 07:56 |
| ← h12o left | 07:56 |
| ← iamashishkebab2 left | 07:56 |
| ← jameser left | 07:56 |
| → apotry joined | 07:56 |
| ← sturner left | 07:56 |
| ← sbulage left | 07:57 |
| → sturner joined | 07:57 |
| → mikecmpbll joined | 07:57 |
| ← ssmall left | 07:57 |
| ← elect_ left | 07:58 |
| → elect joined | 07:58 |
| ← watabou left | 07:58 |
| → iamashishkebab2 joined | 07:59 |
| ← Cabanossi left | 07:59 |
| ← mel00010 left | 08:00 |
| ← bronson left | 08:00 |
| → h12o joined | 08:00 |
| → Cabanossi joined | 08:01 |
|
hendry
| I tried git config diff.tool vimdiff, but still i get this https://s.natalian.org/2017-05-05/1493971269_2548x684.png prompt... what am I missing? Can't I use vimdiff? | 08:01 |
|
osse
| looks like you didn't run 'git difftool' | 08:02 |
| → dvaske joined | 08:02 |
| ← rchavik left | 08:02 |
|
hendry
| oh i used selckin's suggestion -p | 08:03 |
|
visual
| can i stash some changes, switch branches, work, swich _back_, and unstash the changes? | 08:04 |
|
| as an alternative to commiting just because you switch a branch | 08:04 |
|
hendry
| osse: my buffer is in RO mode via difftool. no idea why. | 08:05 |
| → kurkale6ka joined | 08:05 |
|
osse
| hendry: one of them are | 08:05 |
|
selckin
| visual: yes | 08:05 |
|
osse
| visual: yes, that's exactly how stash is used msot often | 08:05 |
|
o11c
| visual: consider git-worktree though | 08:06 |
|
visual
| awesome, thanks selckin & osse | 08:06 |
| ← h12o left | 08:06 |
|
visual
| o11c: oh? | 08:06 |
|
o11c
| work on multiple branches at the *same* time, just in different directories | 08:06 |
|
visual
| >A git repository can support multiple working trees, allowing you to check out more than one branch at a time. | 08:06 |
|
o11c
| seaprate git index and stuff | 08:07 |
| ← Tobbi left | 08:07 |
|
visual
| interesting, will deff. check it out, thank o11c | 08:07 |
| → Masber_080 joined | 08:07 |
| ← masuberu left | 08:08 |
| → wandering_vagran joined | 08:09 |
| → jameser joined | 08:09 |
|
hendry
| osse: both are in my case bizaarely | 08:09 |
| → sbulage joined | 08:09 |
|
osse
| hendry: what are the paths? | 08:09 |
| ← Levex left | 08:11 |
|
hendry
| osse: /tmp/test ? https://s.natalian.org/2017-05-05/1493971807.mp4 | 08:11 |
| ← cebor left | 08:11 |
| → lipsumar joined | 08:11 |
| → cstratak joined | 08:12 |
| → cebor joined | 08:12 |
|
osse
| hendry: i see. same here. makes no sense. I don't think it used to be like that | 08:13 |
|
selckin
| hendry: what do you use for recording | 08:14 |
| → ijafidnsfod joined | 08:14 |
| ← jameser left | 08:14 |
|
hendry
| selckin: own crappy script that uses ffmpeg https://github.com/kaihendry/recordmydesktop2.0/blob/master/x11capture | 08:14 |
| ← jnewt left | 08:15 |
| → cdown joined | 08:16 |
| → marcogmonteiro joined | 08:17 |
|
selckin
| where does $res come from | 08:17 |
| → Snugglebash joined | 08:17 |
| → IRQ` joined | 08:18 |
| ← IRQ` left | 08:18 |
| → _ADN_ joined | 08:18 |
|
osse
| selckin: three lines above | 08:20 |
| → onehrxn joined | 08:20 |
| ← iamashishkebab2 left | 08:20 |
| → h12o joined | 08:21 |
|
selckin
| oh i'm sleepy fool | 08:21 |
| → Levex joined | 08:22 |
| → jameser joined | 08:22 |
|
selckin
| was thinking you had way to select part of your screen because looked like that last video was like that, so i searched $res instead res :( | 08:22 |
| → tymczenko joined | 08:23 |
| → aax joined | 08:23 |
| → djb-irc joined | 08:24 |
| ← holodoc left | 08:24 |
| ← h12o left | 08:26 |
| → najemnyvrah joined | 08:26 |
| → sturner_ joined | 08:26 |
| ← sturner left | 08:27 |
| ← Stace left | 08:28 |
| → cdown_ joined | 08:28 |
|
hendry
| osse: should i file a bug about this RO issue with difftool ? | 08:29 |
| ← ijafidnsfod left | 08:29 |
| ← Cabanossi left | 08:29 |
| ← cdown left | 08:30 |
| cdown_ → cdown | 08:30 |
| ← jameser left | 08:30 |
| → kurkale61 joined | 08:30 |
| ← tymczenko left | 08:30 |
|
osse
| hendry: I wouldn't call it a bug to mark the buffer RO. I'd call it a feature to figure out whether it makes sense for it to be RO or not | 08:31 |
| → Cabanossi joined | 08:31 |
|
osse
| but in principle, yes, it would be nice of it was brought up | 08:31 |
| ← kurkale6ka left | 08:31 |
|
hendry
| wonder if it's a vim issue or something odd | 08:32 |
|
osse
| hendry: git explicitly launches vim in read only mode | 08:33 |
| → iamashishkebab2 joined | 08:33 |
|
osse
| hendry: https://github.com/git/git/blob/master/mergetools/vimdiff#L2 | 08:33 |
| → kurkale6ka joined | 08:33 |
| ← kurkale61 left | 08:34 |
| → Faux joined | 08:35 |
| gitinfo set mode: +v | 08:35 |
| → jim joined | 08:36 |
|
jim
| hi, I want to chop off one commit I haven't pushed yet... git reset HEAD? | 08:36 |
|
_ikke_
| git reset --keep HEAD~ | 08:37 |
| → rogl joined | 08:37 |
|
_ikke_
| (--keep to prevent you from obliterating uncomitted changes) | 08:37 |
| ← rasto left | 08:37 |
|
jim
| oh ok, thoughtful, thanks... and there are none right now :) | 08:37 |
|
| and maybe I mistakenly thought there was a commit problem... checking... | 08:39 |
| → chll_ joined | 08:40 |
| → machinly joined | 08:40 |
| ← Levex left | 08:40 |
| → notebox joined | 08:41 |
|
matt|home
| okay, if i want to create a new dir in my repo and move all files to it, do i have to do that with git or do i just mkdir mv * newdir | 08:41 |
|
jim
| _ikke_, it was a false positive... looks like I'm ok | 08:41 |
| → h12o joined | 08:41 |
|
jim
| thanks anyway for your time | 08:41 |
| ← JeroenT left | 08:43 |
| → User458764 joined | 08:43 |
| → JeroenT joined | 08:44 |
| ← barbos left | 08:44 |
| → otiose joined | 08:44 |
| → bschindler joined | 08:44 |
|
bschindler
| Hi - I'm trying to rebase a branch from a repository containing a submodule and I get conflicts because of this... here is the output | 08:45 |
|
| https://pastebin.com/VR9GSjqK | 08:45 |
|
| the submodule link at the commit I'm rebasing onto should be the same - so what is going on here? | 08:45 |
| → CandyAngel joined | 08:45 |
| gitinfo set mode: +v | 08:45 |
| ← Goplat left | 08:46 |
| → JeroenT_ joined | 08:46 |
| ← h12o left | 08:46 |
| ← machinly left | 08:46 |
| ← JeroenT left | 08:46 |
|
CandyAngel
| Is it possible to clone a repo over ssh without the remote compressing all the objects again? They are already packed.. | 08:47 |
| → dxtr joined | 08:47 |
| ← Kochergan left | 08:48 |
| ← marcogmonteiro left | 08:48 |
| ← regedit left | 08:48 |
| → iamasamosa joined | 08:49 |
| ← zturner left | 08:49 |
|
selckin
| why do you care | 08:49 |
| ← otiose left | 08:50 |
|
selckin
| if ssh is slow its ssh and encryption and its terrible buffer sizes | 08:50 |
|
CandyAngel
| Because it takes about 18 hours to repack them | 08:50 |
|
osse
| huh, i'd expect a new repack to take much shorter time... | 08:51 |
|
CandyAngel
| There are a *lot* of objects :) | 08:51 |
| → tcorneli joined | 08:51 |
|
DelTree
| quite a repo-potamus as it sounds... | 08:52 |
|
CandyAngel
| Just a bit :) | 08:52 |
|
| It's like.. 12 million objects | 08:52 |
|
osse
| CandyAngel: maybe you can (ab)use --upload-pack | 08:52 |
| ← iamashishkebab2 left | 08:52 |
| → seni joined | 08:52 |
| → barbos joined | 08:54 |
| → watabou joined | 08:54 |
| → marcogmonteiro joined | 08:55 |
| ← User458764 left | 08:56 |
| ← YuGiOhJCJ left | 08:58 |
| → zturner joined | 08:58 |
| ← watabou left | 08:59 |
| ← netroxen left | 08:59 |
| → sbasso joined | 08:59 |
| ← lipsumar left | 09:01 |
| ← barbos left | 09:01 |
| ← nickel_dime_look left | 09:01 |
| → h12o joined | 09:02 |
| ← sbulage left | 09:02 |
| ← MattMaker left | 09:03 |
| ← djb-irc left | 09:03 |
| → barbos joined | 09:04 |
| ← Atm0spher1c left | 09:04 |
| → Gurkenglas_ joined | 09:05 |
| ← shgysk8zer0 left | 09:05 |
| ← theoceaniscool left | 09:06 |
| ← barbos left | 09:06 |
| → lipsumar joined | 09:07 |
| ← h12o left | 09:07 |
| → TbobbyZ joined | 09:08 |
| ← tarkus left | 09:08 |
|
najemnyvrah
| Im getting ready to open source a project on github. I have found lots of opinions on how to clean/squash previous commits. Although, I have not found one that I like. The easiest seems to be `git checkout --orphan` but then you loose authoring. There are only two authors but I dont want it to look just like I did all the work. Looking for best practices for open sourcing a previous closed project. Any advice here? | 09:08 |
| → achadwick joined | 09:09 |
| ← spark` left | 09:10 |
| ← goTAN left | 09:11 |
| ← bschindler left | 09:12 |
| → rory joined | 09:13 |
| → tarkus joined | 09:13 |
| ← TbobbyZ left | 09:14 |
| ← Cabanossi left | 09:14 |
| → djb-irc joined | 09:14 |
| ← lipsumar left | 09:15 |
| → Cabanossi joined | 09:16 |
| → sbulage joined | 09:18 |
| ← jim left | 09:19 |
| → theoceaniscool joined | 09:20 |
| → Acerific joined | 09:20 |
| → Tobbi joined | 09:20 |
|
CandyAngel
| Turns out I can just copy the objects directory and then 'git fetch origin' just spends some time checking everything is there and is happy :) | 09:20 |
| → barbos joined | 09:21 |
|
Faux
| You don't even need to download the pack indexes if you're doing that, can regenerate them relatively quickly locally. | 09:21 |
|
canton7
| CandyAngel, also look at man git clone --reference | 09:21 |
|
gitinfo
| CandyAngel: the git-clone manpage is available at https://gitirc.eu/git-clone.html | 09:21 |
| → h12o joined | 09:22 |
|
CandyAngel
| canton7: They aren't on the same machine | 09:22 |
|
canton7
| ah, fair enough | 09:22 |
|
CandyAngel
| I did init, rsync objects, fetch and it is happy | 09:23 |
| → jameser joined | 09:24 |
| → holodoc joined | 09:24 |
|
CandyAngel
| Faux: Seeing as the total size of the pack files is in the gigabytes range, copying the indexes is pretty much lost in the noise :) | 09:25 |
| ← barbos left | 09:25 |
| ← kegster left | 09:26 |
| ← theoceaniscool left | 09:26 |
| ← sarri left | 09:27 |
| ← rory left | 09:27 |
| ← h12o left | 09:27 |
| ← jay-m left | 09:28 |
| → kegster joined | 09:28 |
| ← Raging_Hog left | 09:29 |
| → ronskisika joined | 09:29 |
| ← jaziz left | 09:30 |
| → theoceaniscool joined | 09:30 |
| → sarri joined | 09:31 |
| ← sarri left | 09:31 |
| → sarri joined | 09:31 |
| → lipsumar joined | 09:31 |
| ← aidalgol left | 09:31 |
| ← lipsumar left | 09:32 |
| → h12o joined | 09:33 |
| ← pbandark left | 09:33 |
| ← zturner left | 09:33 |
| → pbandark joined | 09:34 |
| ← miczac left | 09:34 |
| → hs366 joined | 09:34 |
| ← Karazhan left | 09:36 |
| ← h12o left | 09:37 |
| → Karazhan joined | 09:37 |
| ← hs366 left | 09:38 |
| ← D630 left | 09:39 |
| ← marianina8 left | 09:40 |
| ← JeroenT_ left | 09:40 |
| → zturner joined | 09:40 |
| → marianina8 joined | 09:40 |
| → JeroenT joined | 09:40 |
| ← jameser left | 09:40 |
|
osse
| najemnyvrah: whatæs in the commit metadata that needs cencoring in the first place? | 09:42 |
| → User458764 joined | 09:43 |
| ← JeroenT left | 09:44 |
| → JeroenT joined | 09:45 |
| → Lauven joined | 09:46 |
| → D630 joined | 09:46 |
| ← Lauven left | 09:46 |
| → PHPanos joined | 09:46 |
| → tymczenko joined | 09:47 |
| ← marianina8 left | 09:48 |
| → Lauven joined | 09:52 |
| → h12o joined | 09:53 |
| → ssmall joined | 09:53 |
| → jameser joined | 09:54 |
| → watabou joined | 09:54 |
| ← kelvah left | 09:56 |
| ← Tobbi left | 09:56 |
| → bronson joined | 09:56 |
| → SadAdmin joined | 09:56 |
| ← ssmall left | 09:58 |
| digidog → diqidoq | 09:58 |
| ← h12o left | 09:58 |
| gitinfo set mode: +v | 10:00 |
|
SadAdmin
| Hi everyone. I am setting up git for our dev team with git for windows (sadly we cannot use linux). At this moment, I am unable to start git daemon as a windows service, even tried with cygwin. Any suggestions? The daemon should be running at all times. Thanks | 10:00 |
| ← watabou left | 10:00 |
|
_ikke_
| SadAdmin: Any reason why you are using git daemon? | 10:00 |
| ← diogenese left | 10:01 |
| ← notebox left | 10:01 |
| ← bronson left | 10:01 |
|
SadAdmin
| We prefer to use the git protocol instead of smb, but we have no need for encryption to use ssh. | 10:01 |
| ← maroloccio left | 10:01 |
| Gurkenglas_ → Gurkenglas | 10:02 |
| → chardan joined | 10:02 |
| ← PHPanos left | 10:02 |
|
osse
| get one of those ready-made VMs with gitlab or gitblit or something on it. Spin it up. Done! | 10:02 |
| → barbos joined | 10:03 |
| ← JeroenT left | 10:03 |
| ← sbulage left | 10:03 |
| → JeroenT joined | 10:03 |
| → romank joined | 10:04 |
| ← jon-mac left | 10:04 |
|
SadAdmin
| For security concerns I prefer to install it on our own VMs | 10:04 |
| ← User458764 left | 10:04 |
|
osse
| run the VM in a VM | 10:05 |
|
| done! | 10:05 |
| ← ronskisika left | 10:05 |
| → ronskisika joined | 10:05 |
|
selckin
| gitlab is super easy to install | 10:05 |
| → maroloccio joined | 10:06 |
|
SadAdmin
| I appreciate the suggestion, but I'd really like to just set the daemon to run automatically | 10:06 |
|
| Everything is working fine except for this | 10:06 |
|
| Tried with cygwin and with sc, services are created but won't run | 10:06 |
| → diogenese joined | 10:06 |
|
selckin
| things usually give an error | 10:07 |
| → Murii joined | 10:07 |
| → kelvah joined | 10:07 |
| ← JeroenT left | 10:07 |
| ← tymczenko left | 10:09 |
| → tymczenko joined | 10:09 |
|
SadAdmin
| It's a stupid error message like "unable to start server" or that it didn't respond. The command runs without an error in cmd though | 10:11 |
|
| *server = service | 10:11 |
|
osse
| that doesn't sound like a message git itself produces | 10:12 |
| ← zturner left | 10:14 |
| → h12o joined | 10:14 |
| ← Gloomy left | 10:14 |
| → ferr joined | 10:14 |
| → sbulage joined | 10:14 |
| ← Masber_080 left | 10:14 |
| ← Cabanossi left | 10:15 |
| → Tobbi joined | 10:16 |
| → Cabanossi joined | 10:16 |
| ← taoqy left | 10:18 |
| ← h12o left | 10:18 |
| → basiclaser joined | 10:19 |
|
SadAdmin
| The problem is not on git itself, but setting up the daemon command to start automatically in windows | 10:19 |
| ← tymczenko left | 10:19 |
|
SadAdmin
| Git is working, it just needs someone to run the daemon command so all devs can clone, push and do everything they should | 10:20 |
| → zturner joined | 10:20 |
| ← d^sh left | 10:20 |
| ← Acerific left | 10:21 |
| ← qt-x left | 10:22 |
| → d^sh joined | 10:22 |
|
CandyAngel
| SadAdmin: If you can run VMs, why can't you have a Linux VM for this? | 10:23 |
|
osse
| Ultimately it sounds like not a git problem | 10:23 |
| ← cads left | 10:23 |
|
_ikke_
| btw, ssh is not only encryption, but also authentication | 10:24 |
| → ams__ joined | 10:24 |
| ← barbos left | 10:24 |
|
_ikke_
| the git protocol is unauthenticated | 10:24 |
| → miczac joined | 10:25 |
| gitinfo set mode: +v | 10:26 |
|
_ikke_
| SadAdmin: How did you define the service? | 10:26 |
|
cbreak
| SadAdmin: both smb and the git protocol suck in their own ways | 10:27 |
|
_ikke_
| SadAdmin: https://stackoverflow.com/a/13044820/20261 | 10:27 |
| → barbos joined | 10:28 |
| → govg joined | 10:28 |
|
cbreak
| SadAdmin: as server, any unix should work well, mac os, linux, one of the bsds | 10:28 |
|
| as long as it's not windows it should be fine :) | 10:28 |
| ← mda1 left | 10:28 |
|
cbreak
| just using a simple ssh server is probably the easiest, almost doesn't require any setup at all | 10:29 |
| → mda1 joined | 10:30 |
| ← Tobbi left | 10:31 |
| ← sbasso left | 10:32 |
| ← Guest67506 left | 10:32 |
| → h12o joined | 10:34 |
| ← leeN left | 10:35 |
| → BSaboia joined | 10:36 |
| → cads joined | 10:36 |
| ← a3Dman left | 10:36 |
| ← clickjack left | 10:37 |
| ← stoopkid left | 10:37 |
| → Tobbi joined | 10:39 |
| ← h12o left | 10:39 |
| ← theoceaniscool left | 10:40 |
| → JeroenT joined | 10:41 |
| → clickjack joined | 10:41 |
| ← JeroenT left | 10:42 |
| → leeN joined | 10:42 |
| ← ayogi left | 10:42 |
| → rchavik joined | 10:42 |
| → JeroenT joined | 10:42 |
| → sbasso joined | 10:43 |
| → a3Dman joined | 10:45 |
| → otiose joined | 10:45 |
| ← cagedwisdom left | 10:46 |
| → JeroenT_ joined | 10:46 |
| → rvgate joined | 10:46 |
| ← JeroenT left | 10:46 |
| ← sbasso left | 10:48 |
| → marianina8 joined | 10:48 |
| → sbasso joined | 10:48 |
| → murii_ joined | 10:49 |
| → rominron_ joined | 10:49 |
| → Gloomy joined | 10:49 |
| ← Murii left | 10:49 |
| ← MuffinMedic left | 10:49 |
| → freddy_ joined | 10:49 |
| → Ardethian joined | 10:49 |
| ← Tobbi left | 10:50 |
| ← Gloomy left | 10:50 |
| ← a3Dman left | 10:50 |
| ← dvaske left | 10:50 |
| ← otiose left | 10:50 |
| ← rominronin left | 10:51 |
| ← Ardethian\ left | 10:51 |
| ← cliluw left | 10:51 |
| ← Aljone left | 10:51 |
| → Guest67506 joined | 10:51 |
| → Aljone joined | 10:52 |
| → cliluw joined | 10:52 |
| → MuffinMedic joined | 10:52 |
| ← JeroenT_ left | 10:53 |
| ← marianina8 left | 10:53 |
| → JeroenT joined | 10:53 |
| → StormLrd joined | 10:54 |
| → slavking joined | 10:54 |
|
slavking
| hi I have a question | 10:54 |
| → IRQ` joined | 10:54 |
| → safe joined | 10:54 |
|
slavking
| I have a github account | 10:54 |
|
| and I forked my friend's project | 10:55 |
| → h12o joined | 10:55 |
| ← sbasso left | 10:55 |
|
slavking
| how do I work on my end of the project without screwing with his project | 10:55 |
|
| why is git so difficult | 10:55 |
|
tobiasvl
| slavking: your fork will not screw with his project at all | 10:55 |
| → watabou joined | 10:55 |
|
tobiasvl
| slavking: you clone your fork and do what you want with it | 10:55 |
|
slavking
| my fork is the same as his | 10:55 |
|
| why can't they be in the same directory? | 10:56 |
|
tobiasvl
| I don't understand what you mean by that | 10:56 |
|
slavking
| my pull request destroyed his project | 10:56 |
|
tobiasvl
| then why did he accept it | 10:56 |
| → theoceaniscool joined | 10:56 |
|
slavking
| because he thought it wouldnt | 10:56 |
|
| also how do I pull request to a different branch | 10:56 |
|
tobiasvl
| well that's on him then | 10:57 |
|
slavking
| i don't want to merge everything to master | 10:57 |
|
| why can't the project have branches for the two of us | 10:57 |
|
tobiasvl
| you might want to head over to #github if you mostly have github questions | 10:57 |
|
| but I don't understand what your problem is | 10:57 |
|
| so maybe here is just as well | 10:57 |
| ← telephone left | 10:57 |
|
slavking
| also why does git rm delete files forever | 10:57 |
|
tobiasvl
| maybe start from the beginning, you've just rattled off a lot of issues | 10:57 |
|
slavking
| who thought that is a good idea | 10:57 |
|
tobiasvl
| git rm does not delete files forever | 10:58 |
|
| they're still in the repo's history | 10:58 |
|
slavking
| how do I undo stuff? | 10:58 |
|
| like git rm | 10:58 |
|
| and unwinding commits | 10:58 |
|
tobiasvl
| slow down please | 10:58 |
|
| and read a !book | 10:58 |
|
gitinfo
| There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 10:58 |
|
slavking
| I suffer with git | 10:59 |
| ← jameser left | 10:59 |
|
tobiasvl
| what are your concrete and practical problems that we can help you with, beyond the fact that you suffer with (and don't fully understand?) git? | 10:59 |
| → tvw joined | 11:00 |
| → bitmod joined | 11:00 |
| ← h12o left | 11:00 |
| ← watabou left | 11:00 |
|
slavking
| how do I set up in such a way that i have a clone of a project and do my project without having to switch directories | 11:00 |
| → telephone joined | 11:01 |
| ← telephone left | 11:01 |
| → telephone joined | 11:01 |
|
tobiasvl
| switch directories? what do you mean by that? | 11:01 |
|
slavking
| yes | 11:01 |
|
| i mean not having to do cd all the time | 11:01 |
| → theoceaniscool_ joined | 11:01 |
| → Gloomy joined | 11:01 |
| → opr joined | 11:01 |
| → dvaske joined | 11:01 |
|
slavking
| I did clone *github project* | 11:01 |
|
osse
| on your local computer you usually only have *one* directory you work in. inside that directory you communicate with both your fork and your friend's original | 11:01 |
|
slavking
| osse, that's the thing! | 11:02 |
|
| how do I do that? | 11:02 |
| ← theoceaniscool left | 11:02 |
| → sbasso joined | 11:02 |
|
slavking
| git clone *some project* | 11:02 |
|
osse
| slavking: clone your fork. cd inside. run 'git remote add upstream {friend's URL here}' | 11:02 |
|
slavking
| git clone *my fork* | 11:02 |
| → cebula joined | 11:02 |
|
slavking
| then it blows up | 11:02 |
|
opr
| hey - I have mydirectory/a.txt in my master branch and mydirectory/a.txt in my "stage" branch. I would like both of these files to be different and never overwrite each other even when merging the branches, how cam I do this? | 11:02 |
|
slavking
| so first I have to fork | 11:03 |
|
| I can't clone and work on it | 11:03 |
| → SteffanW joined | 11:03 |
|
osse
| you can work on the clone of his directly | 11:03 |
| ← xall_ left | 11:03 |
|
osse
| but since you alreadu have forked, and already have a clone of your fork... remove the clone of the original and run the command i said | 11:04 |
|
tobiasvl
| slavking: you can work on a clone all you want, but you can't push to his repo. if you're a contributor on your friend's repo, ie. if he has added you so you have access, then you can push | 11:04 |
| → otiose joined | 11:04 |
|
slavking
| ok I did that | 11:05 |
|
| how do I merge my fork to his original now | 11:05 |
|
| cause my fork is screwed | 11:05 |
|
| i just want to overrun my fork | 11:05 |
|
osse
| so I guess you mean the other way around, then. | 11:05 |
| ← telephone left | 11:05 |
|
slavking
| yes | 11:06 |
|
| merge his original to my fork | 11:06 |
| ← Mogget left | 11:06 |
|
osse
| !merge_up | 11:06 |
|
| !upstream | 11:06 |
|
gitinfo
| Do you want to set the remote branch which is being tracked(!set_upstream), list what remote branches are being tracked(!show_upstream), or incorporate changes from another repo which is not your "origin"(!pull_upstream) ? | 11:06 |
|
osse
| !pull_upstream | 11:06 |
|
gitinfo
| To incorporate changes from an "upstream" or forked-from repository: git remote add upstream $URL; git fetch upstream; git merge upstream/$BRANCH. https://help.github.com/articles/syncing-a-fork/ | 11:06 |
| → telephone joined | 11:06 |
| ← telephone left | 11:06 |
| → telephone joined | 11:06 |
| → Mogget joined | 11:06 |
|
tobiasvl
| also you don't necessarily want to merge if you want to throw away your local stuff, you can use git reset instead | 11:06 |
| ← Snugglebash left | 11:07 |
|
tobiasvl
| "merge" means that you actually want the histories of both repos to mesh together | 11:07 |
|
slavking
| I want to overrun any local changes | 11:07 |
|
| a clean start | 11:07 |
|
| git fetch upstream | 11:07 |
|
osse
| git reset --hard upstream/master (if your branch name is master) | 11:08 |
|
tobiasvl
| then you can do `git reset --hard upstream/master` if you want to overrun master. that will throw away any local changes, so be sure that's what you actually want before you run it | 11:08 |
|
slavking
| okay finally | 11:08 |
|
| now can I push this to my fork on github | 11:08 |
|
osse
| git push origin master | 11:08 |
|
slavking
| git push failed | 11:09 |
| ← otiose left | 11:09 |
|
slavking
| let me try git push origin master | 11:09 |
|
| same | 11:09 |
|
| updates were rejected | 11:09 |
|
| beacsue the time of your | 11:09 |
|
| current branch | 11:09 |
|
| is behind its remote counterpart | 11:10 |
|
| well I am onto something | 11:10 |
|
| thanks guys | 11:10 |
|
osse
| slavking: since everything is fucked anyway I give you permission to use --force this one time | 11:10 |
| → a3Dman joined | 11:10 |
| → GingerGeek joined | 11:10 |
|
slavking
| force works | 11:10 |
| ← GingerGeek left | 11:10 |
| → GingerGeek joined | 11:10 |
|
tobiasvl
| then you have already pushed some stuff to your fork. if you want to override that too, use "git push --force origin master". if you want to get that stuff down to your clone, "git pull" | 11:11 |
| → ok91 joined | 11:11 |
|
tobiasvl
| ok you forced, that is fine | 11:11 |
| → TbobbyZ joined | 11:11 |
|
tobiasvl
| now your fork, clone and your friend's repo (well the master branch) are all in sync | 11:11 |
|
slavking
| how do I push changes to my fork and to his original? | 11:12 |
|
| and how do I push changes to local ? | 11:12 |
|
| I want a branch for myself | 11:12 |
|
osse
| you never push changes to local. that' | 11:12 |
|
slavking
| and a branch for him | 11:12 |
| ← kelvah left | 11:12 |
|
osse
| you never push changes to local. that's where you make the changes in the first place | 11:12 |
|
| you push to your fork (ie. "origin"), then you make a pull request | 11:13 |
|
slavking
| so everything I locally do is not saved somewhere? | 11:13 |
|
osse
| it is saved on your hard drive | 11:13 |
|
tobiasvl
| you don't need a branch for you and a branch for him. everything in your local repo is yours. every branch that starts with "upstream/" is his. his master branch is in upstream/master for example | 11:13 |
|
slavking
| can I change that stupid name, upstrea | 11:14 |
|
| upstream to his name> | 11:14 |
|
| and origin to my name? | 11:14 |
|
osse
| git remote rename foo bar | 11:14 |
|
slavking
| brb | 11:14 |
|
| yesh! | 11:15 |
|
| it work | 11:15 |
|
| s | 11:15 |
| → h12o joined | 11:15 |
| ← TbobbyZ left | 11:16 |
| → re1 joined | 11:17 |
| → borkr joined | 11:18 |
| ← johnflux left | 11:18 |
| → ThomasLocke joined | 11:19 |
| → otiose joined | 11:19 |
| → sbasso_ joined | 11:19 |
| ← rchavik left | 11:19 |
| ← h12o left | 11:20 |
| → PHPanos joined | 11:20 |
| ← ankit01ojha left | 11:20 |
| ← Gloomy left | 11:21 |
| → sturner joined | 11:22 |
| → Tobbi joined | 11:22 |
| ← PHPanos left | 11:22 |
| ← sbasso left | 11:22 |
| → PHPanos joined | 11:22 |
| ← sturner_ left | 11:23 |
| → ayogi joined | 11:23 |
| ← otiose left | 11:24 |
| → Gloomy joined | 11:24 |
| → MineCoins joined | 11:25 |
| ← maroloccio left | 11:26 |
| → deronnax joined | 11:27 |
| ← ertes-w left | 11:27 |
|
deronnax
| hello | 11:27 |
|
gitinfo
| deronnax: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 11:27 |
| → ertes-w joined | 11:28 |
|
deronnax
| I have a commit with 2 hunks. I would like to move 1 hunk to another commit, on top. How to do ? | 11:28 |
|
| (I know I can reset and redo with git reset but that's not the method I would like to use) | 11:28 |
|
| (imagine these 2 hunks are the result of a very tedious git add -p I don't want to redo again | 11:29 |
| ← freddy_ left | 11:29 |
| → maroloccio joined | 11:29 |
|
Vampire0
| deronnax, !perfect should help | 11:30 |
|
gitinfo
| deronnax: [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this. | 11:30 |
| ← a3Dman left | 11:30 |
| ← Cabanossi left | 11:30 |
| ← safe left | 11:30 |
|
deronnax
| Vampire0, I'll have a look. git rebase -i is not needed because the commit is on top | 11:31 |
| → lipsumar joined | 11:31 |
| ← seveneve1 left | 11:31 |
| ← ertes-w left | 11:31 |
| → Cabanossi joined | 11:31 |
| → dglambert joined | 11:32 |
|
dglambert
| yo | 11:32 |
|
Vampire0
| deronnax, should still apply accordingly, you just need to do a little transfer in mind :-) | 11:32 |
| → rchavik joined | 11:33 |
| → Levex joined | 11:33 |
| ← tarkus left | 11:33 |
| → seveneve1 joined | 11:33 |
| → ertes-w joined | 11:33 |
| ← borkr left | 11:33 |
| ← rominron_ left | 11:33 |
| ← StormLrd left | 11:34 |
|
Vampire0
| deronnax, basically I'd say simply stash your changes, then do it with reset and making two commits out of the one, then stash pop | 11:34 |
| ← aavrug left | 11:35 |
|
deronnax
| Vampire0, I already know how to do this :). I said I don't want to reset everything, I want to selectively extract the hunk I'im interested in | 11:35 |
| → h12o joined | 11:35 |
|
Vampire0
| deronnax, do a --soft reset, this is like just undoing the commit with the index left untouched. Then use reset -p to selectively remove the hunk and commit again | 11:37 |
|
deronnax
| Vampire0, hmm, sounds nice, I'll give a try | 11:38 |
| → aavrug joined | 11:38 |
| → a3Dman joined | 11:39 |
| → tarkus joined | 11:39 |
| ← cads left | 11:39 |
| → caper joined | 11:40 |
| → bilal joined | 11:40 |
| ← h12o left | 11:40 |
| ← sbasso_ left | 11:41 |
| ← slavking left | 11:41 |
| ← bilal_ left | 11:42 |
| → bilal_ joined | 11:43 |
| → bsanford joined | 11:45 |
| ← plasticle left | 11:45 |
| → plasticle joined | 11:45 |
| ← bilal left | 11:46 |
| ← plasticle left | 11:46 |
| → bongo joined | 11:47 |
| → plasticle joined | 11:48 |
| ← soto_ left | 11:50 |
| → yohnnyjoe joined | 11:50 |
| ← raynold left | 11:50 |
| ← NeverDie left | 11:51 |
| → Spacew00t joined | 11:53 |
| → goTAN joined | 11:53 |
| ← marcogmonteiro left | 11:54 |
| → freddy_ joined | 11:54 |
| → marcogmonteiro joined | 11:54 |
| ← yohnnyjoe left | 11:54 |
| → h12o joined | 11:56 |
| ← ayogi left | 11:56 |
| → synthroid joined | 11:57 |
| → rnsanchez joined | 11:57 |
| → bronson joined | 11:58 |
| → ssmall joined | 11:59 |
| → Snugglebash joined | 11:59 |
| → synthroi_ joined | 11:59 |
| ← bongo left | 11:59 |
| → AndChat-484449 joined | 12:00 |
| ← Cabanossi left | 12:00 |
| ← wandering_vagran left | 12:00 |
| ← theoceaniscool_ left | 12:01 |
| → Cavallari joined | 12:01 |
| → Cabanossi joined | 12:01 |
| ← goTAN left | 12:02 |
| → PioneerAxon_ joined | 12:02 |
| ← bronson left | 12:02 |
| ← synthroid left | 12:02 |
| ← Tobbi left | 12:02 |
| → goTAN joined | 12:03 |
| ← dvaske left | 12:03 |
| → User458764 joined | 12:03 |
| ← PioneerAxon left | 12:03 |
| ← SteffanW left | 12:03 |
| ← seveneve1 left | 12:04 |
| ← iamasamosa left | 12:04 |
| ← Gloomy left | 12:04 |
| ← kurkale6ka left | 12:05 |
| ← rivarun left | 12:06 |
| → cads joined | 12:07 |
| → rivarun joined | 12:07 |
| ← ronskisika left | 12:07 |
| ← goTAN left | 12:07 |
| → amrits joined | 12:07 |
| ← m1dnight1 left | 12:07 |
| ← freddy_ left | 12:07 |
| ← seni left | 12:07 |
| ← marcogmonteiro left | 12:11 |
| → Sadeukko joined | 12:11 |
| → goTAN joined | 12:12 |
| → Gloomy joined | 12:13 |
| ← User458764 left | 12:13 |
| → jorj joined | 12:16 |
| → wandering_vagran joined | 12:17 |
| → theoceaniscool_ joined | 12:18 |
| ← tcorneli left | 12:18 |
| → circ-user-zNiD2_ joined | 12:19 |
| ← sbulage left | 12:21 |
| → aielima joined | 12:21 |
| ← ssmall left | 12:22 |
|
circ-user-zNiD2_
| If pushing started to ask me password, which always fails, how do I debug it to start using ssh keys in windows? | 12:22 |
| → seni joined | 12:22 |
| ← onehrxn left | 12:22 |
| → m1dnight1 joined | 12:22 |
| → onehrxn joined | 12:23 |
| → masuberu joined | 12:23 |
| → kelvah joined | 12:23 |
| → redeemed joined | 12:24 |
|
Vampire0
| circ-user-zNiD2_, did you enable two-factor authorization? | 12:25 |
|
circ-user-zNiD2_
| no | 12:25 |
| ← sturner left | 12:25 |
| → Marquisk2 joined | 12:25 |
|
Vampire0
| circ-user-zNiD2_, ok, so what was your question? how to use SSH keys instead of username / password? | 12:25 |
|
circ-user-zNiD2_
| yes, where should I place them | 12:26 |
|
Vampire0
| circ-user-zNiD2_, use the SSH URL for the remote instead of the HTTPS URL | 12:26 |
|
circ-user-zNiD2_
| or check that they are in place | 12:26 |
|
Vampire0
| SSH keys + HTTPS URL will not work | 12:26 |
| → courrier joined | 12:27 |
| → sevenever joined | 12:27 |
| → dvaske joined | 12:27 |
| Marquisk2 → Sythrik | 12:28 |
| ← onehrxn left | 12:28 |
| ← chigang left | 12:29 |
| ← Marumarsu left | 12:30 |
| → sbasso joined | 12:30 |
|
circ-user-zNiD2_
| It is ssh, yet password is asked. | 12:30 |
| ← MineCoins left | 12:31 |
| ← basiclaser left | 12:31 |
| → Sound joined | 12:31 |
| ← Sound left | 12:31 |
| → Sound joined | 12:31 |
| ← maroloccio left | 12:32 |
| → onehrxn joined | 12:32 |
| ← lipsumar left | 12:32 |
| → royal_screwup21 joined | 12:33 |
| ← alexandre9099 left | 12:33 |
| ← Gloomy left | 12:33 |
| ← Snugglebash left | 12:33 |
| → alexandre9099 joined | 12:34 |
|
tobiasvl
| it's not password, it's the ssh key's passphrase, surely | 12:35 |
| → Gloomy joined | 12:36 |
| → sbulage joined | 12:37 |
| → lipsumar joined | 12:37 |
| ← lipsumar left | 12:38 |
| → maroloccio joined | 12:38 |
| ← jeffreylevesque_ left | 12:39 |
| → kurkale6ka joined | 12:40 |
| → flaviodesousa joined | 12:42 |
|
_ikke_
| if it asks for a password, it's a password | 12:42 |
| ← tarkus left | 12:44 |
| → dave0x6d joined | 12:45 |
| ← cads left | 12:45 |
| → lipsumar joined | 12:47 |
| ← lipsumar left | 12:47 |
| ← a3Dman left | 12:48 |
| → marianina8 joined | 12:50 |
| ← theoceaniscool_ left | 12:51 |
| → tarkus joined | 12:53 |
| → Snugglebash joined | 12:53 |
| → JeroenT_ joined | 12:53 |
| → roelmonn_ joined | 12:53 |
| → Gurkenglas_ joined | 12:53 |
| → zeroed_ joined | 12:53 |
| → perlpilot_ joined | 12:54 |
| IanLiu → ian | 12:54 |
| → Cavallari1 joined | 12:54 |
| → jfr_ joined | 12:54 |
| ← aavrug left | 12:54 |
| ian → Guest26355 | 12:54 |
| ← marianina8 left | 12:54 |
| Guest26355 → IanLiu | 12:54 |
| → kurkale61 joined | 12:55 |
| → nitemare joined | 12:55 |
| ← IanLiu left | 12:56 |
| → IanLiu joined | 12:57 |
| → watabou joined | 12:57 |
| → frobnic_ joined | 12:57 |
| → sea-gull1 joined | 12:57 |
| ← Aljone left | 12:58 |
| → Aljone joined | 12:58 |
| → sea-gull2 joined | 12:58 |
| → a3Dman joined | 12:59 |
| ← askb left | 12:59 |
| ← Sadeukko left | 12:59 |
| → sbasso_ joined | 13:00 |
| → kurkale62 joined | 13:00 |
| ← sbasso_ left | 13:00 |
| ← sbasso left | 13:00 |
| → m0f0x joined | 13:01 |
| ← m0f0x left | 13:01 |
| → m0f0x joined | 13:01 |
| → mniip_ joined | 13:01 |
| → pks_ joined | 13:01 |
| → wcstok joined | 13:01 |
| → jeffreylevesque joined | 13:02 |
| → [sarri] joined | 13:02 |
|
circ-user-zNiD2_
| What if git log -S"a snippet" finds nothing? How can that code be in repository? | 13:02 |
| ← watabou left | 13:02 |
| ← kurkale61 left | 13:02 |
| → johnflux joined | 13:02 |
| ← johnflux left | 13:02 |
| → johnflux joined | 13:02 |
| ← dave0x6d left | 13:02 |
| ← kurkale6ka left | 13:02 |
| ← maroloccio left | 13:02 |
| ← kelvah left | 13:02 |
| ← m1dnight1 left | 13:02 |
| ← jorj left | 13:02 |
| ← Cavallari left | 13:02 |
| ← PHPanos left | 13:02 |
| ← ThomasLocke left | 13:02 |
| ← ok91 left | 13:02 |
| ← GingerGeek left | 13:02 |
| ← JeroenT left | 13:02 |
| ← ams__ left | 13:02 |
| ← d^sh left | 13:02 |
| ← chardan left | 13:02 |
| ← Lauven left | 13:02 |
| ← sarri left | 13:02 |
| ← achadwick left | 13:02 |
| ← Gurkenglas left | 13:02 |
| ← sea-gull_ left | 13:02 |
| ← sea-gull left | 13:02 |
| ← chu left | 13:02 |
| ← deronnax left | 13:02 |
| ← slidercrank left | 13:02 |
| ← zeroed left | 13:02 |
| ← chele left | 13:02 |
| ← jfr left | 13:02 |
| ← Gianormagantrous left | 13:02 |
| ← ogny left | 13:02 |
| ← roelmonnens left | 13:02 |
| ← Silmarilion left | 13:02 |
| ← rscata left | 13:02 |
| ← pks left | 13:02 |
| ← fluffystub left | 13:02 |
| ← mniip left | 13:02 |
| ← frobnic left | 13:02 |
| ← trobotham left | 13:02 |
| ← prg3 left | 13:02 |
| ← cust left | 13:02 |
| ← sparr left | 13:02 |
| ← idr0p left | 13:02 |
| ← perlpilot left | 13:02 |
| ← nanga left | 13:02 |
| ← M6HZ left | 13:02 |
| ← omnigoat left | 13:02 |
| ← ToeSnacks left | 13:02 |
| ← richardlitt left | 13:02 |
| ← teadrop_ left | 13:02 |
| ← twisted` left | 13:02 |
| ← mkoskar left | 13:02 |
| ← Arokh left | 13:02 |
| Cavallari1 → Cavallari | 13:02 |
| pks_ → pks | 13:02 |
| m0f0x → nanga | 13:03 |
| → Marble68 joined | 13:03 |
| nitemare → trobotham | 13:03 |
| → sbasso joined | 13:03 |
| → Stumbler joined | 13:03 |
|
Marble68
| Hi all - I’d like to squash numerous, committed changes into a new branch but I can’t seem to find the right steps. | 13:03 |
| → d^sh joined | 13:04 |
| → netroxen joined | 13:04 |
|
Marble68
| I branch off master, DevBranch- and over many days I make changes, commit and test, alter the smame files - commit test - etc | 13:04 |
| → dave0x6d joined | 13:04 |
| → jameser joined | 13:04 |
| → twisted` joined | 13:04 |
|
Marble68
| then, what I’d like to do is make a new branch off master - and take the current - working state of my devbranch- and have all it’s changes apply in this new “tomerge” branch | 13:04 |
|
osse
| Marble68: git checkout -b tomerge; git reset --soft master; git commit -m 'All of it' | 13:05 |
|
Marble68
| then, I can open a ticket and have the person who has access to the staging reposity merge my “ToMerge” branch into that | 13:05 |
| → ams__ joined | 13:05 |
|
Marble68
| osse: Thank you! I will try that | 13:05 |
| → synthroid joined | 13:06 |
|
Marble68
| Oh I think I see | 13:06 |
|
| so I’m sitting on Dev, I branch it to “ToMerge”, then I reset ToMerge to master, keeping changes | 13:06 |
|
| oh my gosh - it’s so simple when i see it. I’ve been trying to rebase and squash | 13:06 |
|
| Thank you so much | 13:07 |
| → ok91 joined | 13:07 |
|
circ-user-zNiD2_
| What if git log -S"a snippet" finds nothing? How can that code be in repository? | 13:07 |
| → sturner joined | 13:07 |
| ← synthroi_ left | 13:07 |
|
i7c
| What if you don’t repeat your question after five minutes? | 13:07 |
| → maroloccio joined | 13:08 |
|
i7c
| Are you looking at the whole git history or only a part? | 13:08 |
|
osse
| Then the snippet most likely isn't in the repository. | 13:08 |
| ← tarkus left | 13:08 |
| → m1dnight1 joined | 13:09 |
| → chardan joined | 13:09 |
| → chll__ joined | 13:09 |
| → ankit01ojha joined | 13:09 |
| → ThomasLocke joined | 13:09 |
| → rscata joined | 13:09 |
| → slidercrank joined | 13:09 |
| → achadwick joined | 13:09 |
| → Silmarilion joined | 13:09 |
| → M6HZ joined | 13:09 |
| ← maroloccio left | 13:10 |
| → maroloccio joined | 13:10 |
| → Gianormagantrous joined | 13:10 |
| ← chll_ left | 13:11 |
| gitinfo set mode: +v | 13:11 |
| ← mda1 left | 13:11 |
| perlpilot_ → perlpilot | 13:11 |
|
Vampire0
| circ-user-zNiD2_, maybe the snippet is only present on another branch? | 13:12 |
| → mda1 joined | 13:12 |
| → ExoUNX joined | 13:13 |
| → chu joined | 13:13 |
| ← Faux left | 13:13 |
| ← holodoc left | 13:14 |
| grumble → 14WAA001L | 13:14 |
| → GingerGeek joined | 13:14 |
| → chele joined | 13:14 |
| → fluffystub joined | 13:14 |
| → prg3 joined | 13:14 |
| → cust joined | 13:14 |
| → sparr joined | 13:14 |
| → idr0p joined | 13:14 |
| → omnigoat joined | 13:14 |
| → ToeSnacks joined | 13:14 |
| → teadrop_ joined | 13:14 |
| → richardlitt joined | 13:14 |
| → mkoskar joined | 13:14 |
| → TbobbyZ joined | 13:14 |
| ← sparr left | 13:14 |
| ← omnigoat left | 13:14 |
| ← mkoskar left | 13:14 |
| → sparr joined | 13:15 |
| → mkoskar joined | 13:15 |
| → omnigoat joined | 13:15 |
| 14WAA001L → grumble | 13:16 |
| → gaucheph joined | 13:16 |
| ← a3Dman left | 13:16 |
| Gurkenglas_ → Gurkenglas | 13:17 |
| → tcorneli joined | 13:17 |
| ← cdown left | 13:17 |
| ← jstimm left | 13:17 |
| → circ-user-zNiD2 joined | 13:18 |
| ← masuberu left | 13:19 |
| ← TbobbyZ left | 13:19 |
| ← bilal_ left | 13:19 |
| ← jagob left | 13:19 |
| ← aax left | 13:19 |
| → stepho joined | 13:19 |
| → bilal joined | 13:20 |
| ← SadAdmin left | 13:20 |
| ← circ-user-zNiD2_ left | 13:21 |
| → relipse joined | 13:22 |
| → Arokh joined | 13:22 |
| → TheSimonator joined | 13:22 |
| ← dglambert left | 13:22 |
| → a3Dman joined | 13:23 |
| → Brski joined | 13:23 |
| → theoceaniscool_ joined | 13:23 |
| ← bilal left | 13:23 |
| → jstimm joined | 13:23 |
| → dglambert joined | 13:24 |
| → bilal joined | 13:24 |
| → CEnnis91 joined | 13:25 |
| ← CEnnis91 left | 13:26 |
| ← Arokh left | 13:26 |
| ← GingerGeek left | 13:26 |
| ← chele left | 13:26 |
| ← fluffystub left | 13:26 |
| ← prg3 left | 13:26 |
| ← cust left | 13:26 |
| ← idr0p left | 13:26 |
| ← ToeSnacks left | 13:26 |
| ← richardlitt left | 13:26 |
| ← teadrop_ left | 13:26 |
| → GingerGeek joined | 13:26 |
| ← GingerGeek left | 13:26 |
| → GingerGeek joined | 13:26 |
| → chele joined | 13:26 |
| → ToeSnacks joined | 13:26 |
| ← djb-irc left | 13:26 |
| → richardlitt joined | 13:27 |
| → CEnnis91 joined | 13:27 |
| → fluffystub joined | 13:27 |
| → teadrop_ joined | 13:28 |
| → borkr joined | 13:28 |
| → idr0p joined | 13:28 |
| → prg3 joined | 13:29 |
| → ResidentBiscuit joined | 13:29 |
| ← ok91 left | 13:29 |
| ← TomyLobo2 left | 13:29 |
| → MineCoins joined | 13:30 |
| Blendify|afk → Blendify | 13:30 |
| → cust joined | 13:30 |
| ← dvaske left | 13:32 |
| → dfaught joined | 13:33 |
| → dvaske joined | 13:34 |
| → lipsumar joined | 13:34 |
| → ableto joined | 13:36 |
| → AaronMT joined | 13:36 |
| Blendify → Blendify|afk | 13:37 |
| ← zeroed_ left | 13:38 |
| → zeroed joined | 13:38 |
| → _xor joined | 13:39 |
| → gugah joined | 13:39 |
| ← zerow left | 13:39 |
| ← Snugglebash left | 13:39 |
| → thiago joined | 13:42 |
| ← ResidentBiscuit left | 13:42 |
| ← johnflux left | 13:43 |
| ← lipsumar left | 13:43 |
| ← texasmynsted left | 13:44 |
| ← zturner left | 13:44 |
| → holodoc joined | 13:45 |
| → valize joined | 13:45 |
| → __xor joined | 13:45 |
| → lindenle joined | 13:45 |
| → robotroll joined | 13:45 |
| ← goTAN left | 13:46 |
| → texasmynsted joined | 13:46 |
| ← stepho left | 13:46 |
| → Snugglebash joined | 13:46 |
| ← kurkale62 left | 13:46 |
| → lipsumar joined | 13:47 |
| → kurkale6ka joined | 13:47 |
| ← D630 left | 13:47 |
| → jagob joined | 13:47 |
| ← _xor left | 13:48 |
| ← dersand left | 13:48 |
| ← dvaske left | 13:48 |
| ← MineCoins left | 13:48 |
| ← __xor left | 13:48 |
| ← lipsumar left | 13:49 |
|
ash_workz
| I seem to encounter broken syntax highlighting for php files on git... often.... recently | 13:50 |
|
| anyone know what the deal is with that? | 13:50 |
| ← TheSimonator left | 13:51 |
| ← mostlybadfly left | 13:51 |
|
tobiasvl
| on git? | 13:51 |
|
| you mean github? | 13:51 |
|
| maybe ask in #github | 13:51 |
| → Es0teric joined | 13:52 |
|
Vampire0
| or write a mail to their support, they are pretty responsive | 13:52 |
|
tobiasvl
| !sgc | 13:54 |
|
gitinfo
| For bug reports, feature requests, suggestions for improvement, or specific problems with an individual repo (or gist, etc.), please contact support via [email@hidden.address] or https://github.com/support - support tries to answer all questions within 24 hours, including weekends and holidays. | 13:54 |
| → zturner joined | 13:54 |
| → azerus joined | 13:54 |
| → kurkale61 joined | 13:55 |
| → PioneerAxon joined | 13:56 |
| ← PioneerAxon_ left | 13:56 |
| → lipsumar joined | 13:56 |
| → cdown joined | 13:56 |
| ← kurkale6ka left | 13:57 |
| → soto joined | 13:57 |
| → askb joined | 13:57 |
| → marcogmonteiro joined | 13:57 |
| → watabou joined | 13:58 |
| ← askb left | 13:58 |
| → bronson joined | 13:59 |
| → djb-irc joined | 13:59 |
| → rasto joined | 14:00 |
| → Qilibrun joined | 14:00 |
| ← Marble68 left | 14:00 |
| → ok91 joined | 14:01 |
| ← dec0n left | 14:02 |
| ← lipsumar left | 14:02 |
| ← watabou left | 14:03 |
| ← circ-user-zNiD2 left | 14:03 |
| → MineCoins joined | 14:03 |
| ← bronson left | 14:03 |
| → User458764 joined | 14:04 |
| → kelvah joined | 14:05 |
| → Tobbi joined | 14:05 |
| ← redeemed left | 14:06 |
| ← Guest67506 left | 14:06 |
| → roelmonnens joined | 14:06 |
| → JeroenT joined | 14:07 |
| ← JeroenT left | 14:07 |
| → JeroenT joined | 14:08 |
| → Wefhi joined | 14:08 |
| ← dglambert left | 14:08 |
| → polyrob_ joined | 14:08 |
| ← roelmonn_ left | 14:09 |
|
ash_workz
| Vampire0: tobiasvl thanks, I wrote in | 14:09 |
|
| but can someone confirm that it's broken? Maybe it's just me? https://github.com/php-fig/http-message/blob/master/src/ServerRequestInterface.php | 14:09 |
| ← roelmonnens left | 14:10 |
| ← JeroenT_ left | 14:10 |
| ← polyrob left | 14:10 |
| polyrob_ → polyrob | 14:10 |
| → Noldorin joined | 14:11 |
| → otiose joined | 14:11 |
| ← royal_screwup21 left | 14:12 |
|
Vampire0
| ash_workz, well, the file ist not valid, is it? The php tag is not closed | 14:12 |
|
ash_workz
| Vampire0: that's valid | 14:12 |
| ← JeroenT left | 14:12 |
|
ash_workz
| Vampire0: ?> is optional and not recommended | 14:12 |
| → TbobbyZ joined | 14:13 |
| → royal_screwup21 joined | 14:13 |
|
Vampire0
| Ah, ok, didn't know that | 14:13 |
|
ash_workz
| Vampire0: unless you which to switch out of php specifically | 14:13 |
|
| Vampire0: like for a template | 14:13 |
|
Vampire0
| Then I'd say yes, it is broken | 14:13 |
|
ash_workz
| yay @not just me! | 14:14 |
|
grawity
| it's not a template, it just has code | 14:14 |
|
DelTree
| characters between "?>" and EOF can be really annoying... | 14:14 |
|
grawity
| it's very common to omit ?> in files containing only code | 14:14 |
|
| because otherwise you can accidentally add newlines or spaces after it | 14:14 |
| → stash_ joined | 14:14 |
|
ash_workz
| Vampire0: ^ that can break some require/include implemenatations, iirc | 14:15 |
|
grawity
| it doesn't break require/include itself, but it can screw up the final page output | 14:15 |
|
Vampire0
| I see | 14:15 |
|
ash_workz
| ah | 14:15 |
|
grawity
| like, when you try to load a library using require(), you expect it to only load code and nothing else | 14:16 |
|
| if it also accidentally outputs some text (even spaces), that'll cause problems with header(), and can corrupt the actual file your page is outputting | 14:17 |
|
ash_workz
| thanks for checking... I wasn't getting traction in #github | 14:17 |
|
Vampire0
| In gist creation it highlights correctly. gist display is also wrong | 14:17 |
| → dglambert joined | 14:17 |
| ← sevenever left | 14:18 |
|
ash_workz
| yeah, but it doesn't seem to be a problem across the board | 14:18 |
| → sevenever joined | 14:19 |
|
ash_workz
| I think | 14:19 |
|
| (reloading) | 14:19 |
|
| my connection seems to be really slow | 14:19 |
|
| okay | 14:19 |
|
| https://github.com/PuristPHP/purist/blob/rework/web/index.php | 14:19 |
|
| looks fine there | 14:19 |
| gitinfo set mode: +v | 14:21 |
| ← User458764 left | 14:21 |
|
stash_
| Hey. I'm looking for videos from git merge 2017 which was in Brussels. I've found some videos (like this one https://www.youtube.com/watch?v=g_MPGU_m01s&t=996s) but not other talks. Are they going to be available? | 14:21 |
| ← Junior left | 14:22 |
| ← ok91 left | 14:23 |
| → lipsumar joined | 14:25 |
| → letranger joined | 14:25 |
| → jnewt joined | 14:25 |
| → jim joined | 14:25 |
| ← Snugglebash left | 14:26 |
| → durham joined | 14:26 |
| → TheSimonator joined | 14:27 |
| ← ronny left | 14:27 |
| ← Wefhi left | 14:27 |
| ← elect left | 14:28 |
|
jim
| hi... I have a dir (which is the working dir of a repo) and it has a dir in it that I wish to factor out into its own repo, and then bring it back into the code in the form of a subdir repo or submodule repo... can I do this with affecting content? and would the new repo have the complete history of the dir? | 14:29 |
| ← kelvah left | 14:29 |
| ← lipsumar left | 14:30 |
|
grawity
| Git has tools to rewrite the history – clone the repo, use `git filter-branch --subdirectory-filter=...` in the new clone | 14:30 |
|
cbreak
| jim: if you want, you can keep the history, but it will have a different form | 14:30 |
| → aax joined | 14:31 |
|
avar
| stash_: judging from the upload date they're still uploading it actively | 14:31 |
|
| stash_: see https://www.youtube.com/user/github/videos | 14:31 |
|
jim
| how would you characterize this different form? | 14:31 |
|
| cbreak ^^ | 14:32 |
| ← sevenever left | 14:32 |
|
cbreak
| as grawity said, it'd involve history rewriting | 14:32 |
|
stash_
| avar: oh, ok, I just need to wait. Thanks | 14:32 |
|
cbreak
| see the man page for a description on how subdirectory-filter works | 14:32 |
| → sevenever joined | 14:32 |
| → stepho joined | 14:32 |
|
avar
| stash_: did you go to the conference? | 14:33 |
| ← manuelschneid3r left | 14:33 |
| ← Brski left | 14:33 |
|
jim
| where was it? | 14:33 |
| → rkazak joined | 14:33 |
|
avar
| this time in brussels, belgium | 14:33 |
|
| they're alternating between the US & EU | 14:33 |
|
stash_
| avar: nope, that's why I wanted to see the videos | 14:33 |
|
jim
| ahh | 14:33 |
|
avar
| "Scaling Mercurial at Facebook: Insights from the Other Side" was really interesting | 14:34 |
| → ok91 joined | 14:35 |
| ← oskarkv left | 14:36 |
| → mar77i_ joined | 14:36 |
| ← theoceaniscool_ left | 14:37 |
| ← stepho left | 14:37 |
| → dreiss joined | 14:38 |
|
stash_
| avar: yeap, that's exactly what I'm interested in :) | 14:38 |
| ← letranger left | 14:39 |
| ← mar77i left | 14:39 |
| → zivester joined | 14:39 |
| frobnic_ → frobnic | 14:39 |
| ← Es0teric left | 14:40 |
| → marianina8 joined | 14:40 |
| ← tcorneli left | 14:40 |
| → Es0teric joined | 14:41 |
| → kelvah joined | 14:41 |
| ← ok91 left | 14:41 |
|
avar
| privmsg'd you a cut from an email exchange I had with him which shows what stuff on https://bitbucket.org/facebook/hg-experimental he talked about | 14:43 |
|
| mm, not like there's active discussion here I'm interrupting | 14:44 |
|
| -cut- | 14:44 |
|
| For a topic list, I talked about: | 14:44 |
|
| Scale: | 14:44 |
|
| - Pushrebase – server side rebasing during push | 14:44 |
|
| - Remotefilelog – on-demand downloading of file contents to the store | 14:44 |
|
| - Infinitepush – redirecting certain pushes to be stored as bundles in a scalable blob store; and the ability to automatically push client commits to this store | 14:44 |
|
| UX: | 14:44 |
|
| - Smartlog – better default log UI that skips uninteresting commits | 14:44 |
|
| - Absorb – automatic detection and amending of pending changes into a stack of commits | 14:44 |
|
| - Sparse profiles – versions sparse configs that automatically apply as users move around the repo | 14:45 |
|
| - ScmQuery – a Thrift service for answering source control questions | 14:45 |
| → ResidentBiscuit joined | 14:45 |
|
avar
| All of them except ScmQuery are available here: https://bitbucket.org/facebook/hg-experimental | 14:45 |
|
| -cut- | 14:45 |
|
| all very interesting stuff | 14:45 |
| → clickys joined | 14:45 |
|
gitinfo
| avar: Please use a pastebin for snippets longer than one line. https://gist.github.com and https://vomitb.in both work well. | 14:45 |
|
avar
| The absorb command would be a great interactive rebase addition.. | 14:45 |
| ← ThomasLocke left | 14:46 |
|
clickys
| Hello i will need your help if its possible, i clone my git repo from github to my laptop . And i made couple of changes on a branch , but it wont let me commit my changes . Its asking me to create user.name and user.mail , i did it and i still get the same error | 14:46 |
|
avar
| how did you create user.name & user.email ? | 14:46 |
|
clickys
| $ git config --global user.name | 14:47 |
| → gareppa joined | 14:47 |
|
Vampire0
| clickys, you didn't set a value, that is not helpful | 14:47 |
| → mizu_no_oto joined | 14:47 |
|
clickys
| i did set | 14:47 |
|
| $ git config --global user.name "clickys" | 14:47 |
|
Vampire0
| aah, ok | 14:48 |
|
clickys
| git config --global user.mail "mymail" | 14:48 |
| ← a3Dman left | 14:48 |
|
avar
| does 'git config user.name' & user.email return those values back to you? | 14:48 |
|
clickys
| no | 14:49 |
|
| mnaybe i did something wrong with git remote ? | 14:49 |
| ← sbulage left | 14:49 |
|
Vampire0
| clickys, this has nothing to do with the remote, it is a purely local problem | 14:50 |
| → spark` joined | 14:50 |
|
clickys
| i did use this git checkout -b new-dev origin/new-dev | 14:50 |
|
| because when i clone my master branch i couldnt checkout to my working branch | 14:50 |
|
Vampire0
| clickys, can you show the output of `git config -l`? | 14:50 |
|
clickys
| yes one sec pols | 14:51 |
| ← miczac left | 14:52 |
|
clickys
| https://gist.github.com/Clickys/ad37f94c31cd2ecb631f1e30f8c8494a | 14:52 |
|
Vampire0
| clickys, and `git config user.name` does *not* return "clickys"? o_O | 14:53 |
|
clickys
| yes it does now | 14:53 |
|
Vampire0
| clickys, now or not? | 14:54 |
|
clickys
| but still wont let me commit | 14:54 |
|
| it does return clickys | 14:54 |
| ← dsdeiz left | 14:54 |
|
Vampire0
| clickys, it lets you commit, it just tells you that some generated defaults are used | 14:54 |
|
| clickys, how do you commit? !repro | 14:54 |
|
gitinfo
| clickys: [!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 | 14:54 |
| ← rscata left | 14:54 |
| ← TheSimonator left | 14:56 |
| → ertes joined | 14:56 |
| → TheSimonator joined | 14:56 |
|
clickys
| https://gist.github.com/Clickys/ad37f94c31cd2ecb631f1e30f8c8494a | 14:56 |
| → seveneve3 joined | 14:58 |
|
Vampire0
| ah, ok, it actually really doesn't commit as it cannot make up an email address, never seen *that* before | 14:58 |
| ← kurkale61 left | 14:58 |
| → tnecniv joined | 14:58 |
|
clickys
| maybe its because i first clone the repo | 14:58 |
|
| RichiH neithe | 14:58 |
|
RichiH
| r | 14:58 |
|
clickys
| did my changes | 14:58 |
|
| add the changes and then created the user? | 14:58 |
|
Vampire0
| clickys, what about `GIT_TRACE=1 git commit -m "Calendar Works"`? | 14:59 |
| ← sevenever left | 14:59 |
|
RichiH
| clickys: no, it's because you need to configure an email address | 14:59 |
| → watabou joined | 14:59 |
|
Vampire0
| clickys, no, that would be fine | 14:59 |
|
| RichiH, he did interestingly, we saw the git config -l output | 14:59 |
|
RichiH
| huh | 14:59 |
|
| RichiH shuts up and grabs some popcorn | 14:59 |
|
RichiH
| carry on, folks | 14:59 |
| → notebox joined | 14:59 |
|
Vampire0
| clickjack, I know it will also not work, but I want to see the output | 15:00 |
| → kurkale61 joined | 15:00 |
|
clickys
| ? | 15:00 |
| → a3Dman joined | 15:00 |
|
clickys
| git checkout remotes/origin/new-dev | 15:00 |
|
| maybe this is wrong ? | 15:00 |
| → d10n-work joined | 15:01 |
| ← Silmarilion left | 15:01 |
| ← ertes left | 15:01 |
|
_ikke_
| yes | 15:01 |
| → sbulage joined | 15:01 |
|
_ikke_
| You do not want to directly checkout remote tracking branches | 15:01 |
| ← ertes-w left | 15:01 |
|
clickys
| how do i fix this now ? | 15:01 |
|
Vampire0
| clickys, what you have cloned or checked out has nothing to do with your problem | 15:01 |
|
_ikke_
| git checkout HEAD@{1} | 15:02 |
| ← stash_ left | 15:02 |
|
Vampire0
| clickys, even if you are on a detached head, the commit should see your identity | 15:02 |
|
| clickys, what about the command i gave you? | 15:02 |
|
clickys
| which Vampire0 ? | 15:02 |
|
Vampire0
| [16:59:00] <Vampire0> clickys, what about `GIT_TRACE=1 git commit -m "Calendar Works"`? | 15:02 |
| ← seveneve3 left | 15:03 |
| ← robotroll left | 15:03 |
| → TomyLobo2 joined | 15:03 |
| → seveneve1 joined | 15:03 |
|
Vampire0
| _ikke_, he checked out a local branch from the remote. He gave that command here before and the transcript also looks like that | 15:03 |
| ← Gloomy left | 15:03 |
| ← watabou left | 15:04 |
|
clickys
| $ `GIT_TRACE=1 git commit -m "Calendar Works"` 08:03:55.489654 git.c:371 trace: built-in: git 'commit' '-m' 'Calendar Works' *** Please tell me who you are. | 15:04 |
| ← thiago left | 15:05 |
|
Vampire0
| clickys, ah, blind, now I see it | 15:05 |
|
| clickjack, you configured user.mail instead of user.email | 15:05 |
|
| clickys, of course, not clickjack | 15:06 |
|
clickys
| omg | 15:06 |
|
| iam so stupid | 15:06 |
|
clickjack
| somebody called? | 15:07 |
| ← dreiss left | 15:07 |
|
Vampire0
| clickjack, nope, wrong tab completion, sorry | 15:07 |
|
clickys
| Vampire thank you so much, i have one question for u . In my main workstation i created the repo push it to github, with two branches , the master and the new-dev. Now iam on my laptop and when i tried to clone my repo from github, the new-dev branch didnt exist .. Do you know why ? | 15:07 |
| ← sturner left | 15:07 |
|
Vampire0
| clickys, !where | 15:08 |
|
gitinfo
| clickys: [!wherearemybranches] Git clones all branches, but initially makes only the main branch (usually 'master') available as a normal local branch. To work on another branch, simply 'git checkout <branch>' (or, in versions older than 1.6.6, git checkout -b <branch> origin/<branch>). This works even if the branch doesn't show up in the normal list of branches. For technical details, see !rtb | 15:08 |
| ← seveneve1 left | 15:08 |
|
clickjack
| no worries :) | 15:08 |
| → seveneve1 joined | 15:08 |
|
clickys
| i was doint git branch it was showing only the master | 15:08 |
|
| i should have used the git checkout -b branchname origin/branchname ? | 15:08 |
| ← Es0teric left | 15:08 |
|
Vampire0
| clickys, `git branch -a` | 15:09 |
| → peterbecich joined | 15:09 |
| ← wandering_vagran left | 15:09 |
|
clickys
| it was showing the master and remotes/origin/head / master / newDev | 15:09 |
|
Vampire0
| clickys, you read the trigger I sent, didn't you? | 15:10 |
| ← kegster left | 15:10 |
|
clickys
| yeah , and i asked you in that situation when the branch is not vissible i should have used the git checkout -b branchname origin/branchname | 15:10 |
|
Vampire0
| clickys, ah, ok. You could simply do `git checkout branchname` and it will automatically create the local branch tracking the remote branch if there is no local branch or tag with that name already | 15:11 |
| ← lordjancso left | 15:11 |
|
clickys
| ty so much vampire | 15:11 |
|
Vampire0
| clickys, but doing it explicitly with `git checkout -b branch origin/branch` is also fine | 15:11 |
|
| clickys, yw | 15:11 |
| → bronson joined | 15:12 |
| ← fluffystub left | 15:14 |
|
clickys
| to push my changes on github it should go git push origin new-dev ? | 15:14 |
| ← gareppa left | 15:14 |
| → madewokherd joined | 15:15 |
| ← kurkale61 left | 15:15 |
| ← Cabanossi left | 15:15 |
|
Vampire0
| clickys, if your local branch has the remote branch set as upstream, `git push` is enough | 15:15 |
| ← Blendify|afk left | 15:15 |
|
clickys
| oki sir | 15:16 |
| ← synthroid left | 15:16 |
|
clickys
| <- noob | 15:16 |
| → seveneve2 joined | 15:16 |
|
Vampire0
| clickys, no problem | 15:16 |
|
| clickys, we all were | 15:16 |
| ← jstimm left | 15:17 |
| ← royal_screwup21 left | 15:17 |
| → Cabanossi joined | 15:17 |
| → royal_screwup21 joined | 15:18 |
| → dsdeiz joined | 15:19 |
| ← dsdeiz left | 15:19 |
| → dsdeiz joined | 15:19 |
| ← seveneve1 left | 15:19 |
| → dreiss joined | 15:21 |
| → ozcanesen joined | 15:22 |
| ← dreiss left | 15:22 |
| ← gaucheph left | 15:22 |
| → kegster joined | 15:22 |
| ← chele left | 15:23 |
| → elect joined | 15:23 |
| ← borkr left | 15:24 |
| → circ-user-zNiD2 joined | 15:24 |
| → borkr joined | 15:24 |
| ← borkr left | 15:27 |
| → borkr joined | 15:30 |
| ← Shock_ left | 15:30 |
| ← borkr left | 15:30 |
| → brent__ joined | 15:30 |
| → borkr joined | 15:30 |
| ← mattcen left | 15:31 |
| ← clickys left | 15:31 |
| → jagobdue joined | 15:31 |
| ← brent__ left | 15:32 |
| → gaucheph joined | 15:32 |
| → gugah_ joined | 15:32 |
| → brent__ joined | 15:32 |
| → dsdeiz_ joined | 15:33 |
| → mattcen joined | 15:33 |
| → sturner joined | 15:33 |
| ← gugah left | 15:34 |
| ← dsdeiz left | 15:34 |
| ← HoierM left | 15:35 |
|
theskillwithin
| blah I do git stash and it doesn't stash all the things! | 15:35 |
| → onehrxn_ joined | 15:37 |
|
_ikke_
| git stash does not stash untracked files by default | 15:37 |
|
Vampire0
| but you can tell it to do so | 15:37 |
| ← sea-gull1 left | 15:38 |
| ← sea-gull2 left | 15:38 |
| → synthroid joined | 15:38 |
| ← rkazak left | 15:38 |
|
theskillwithin
| Vampire0 how? | 15:38 |
| ← sbulage left | 15:39 |
|
Vampire0
| theskillwithin, man git stash | 15:39 |
|
gitinfo
| theskillwithin: the git-stash manpage is available at https://gitirc.eu/git-stash.html | 15:39 |
|
theskillwithin
| thats what i have been looking at =X | 15:39 |
|
Vampire0
| theskillwithin, -u I think | 15:39 |
| ← bronson left | 15:39 |
| ← onehrxn left | 15:39 |
|
Vampire0
| theskillwithin, or --include-untracked in long | 15:39 |
|
theskillwithin
| :boom: thank you! | 15:40 |
|
Vampire0
| theskillwithin, yw | 15:40 |
|
gitinfo
| theskillwithin: This channel tracks karma based on who has gotten lots of thanks for being helpful. If you want to help someone reach karmic nirvana, please mention their name when thanking them with "thank you", "thankyou", "thanks", "thx", "ty" or "cheers". Try ".karma <nick>" or ".topkarma" to show karma status of a person. | 15:40 |
| ← neunon left | 15:41 |
|
theskillwithin
| Vampire0 thx | 15:41 |
| ← amrits left | 15:41 |
| → neunon joined | 15:42 |
| → dreiss joined | 15:42 |
| ← bilal left | 15:44 |
| → bilal joined | 15:44 |
| → Snugglebash joined | 15:45 |
| → rkazak joined | 15:45 |
| → HoierM joined | 15:46 |
| → jstimm joined | 15:47 |
| ← HoierM left | 15:47 |
| → HoierM joined | 15:47 |
| ← HoierM left | 15:48 |
| → HoierM joined | 15:48 |
| ← HoierM left | 15:49 |
| ← bilal left | 15:49 |
| → bilal joined | 15:49 |
| → HoierM joined | 15:49 |
| → Nilesh_ joined | 15:49 |
| ← HoierM left | 15:50 |
| → HoierM joined | 15:50 |
| ← HoierM left | 15:51 |
| → HoierM joined | 15:51 |
| ← gaucheph left | 15:52 |
| ← HoierM left | 15:52 |
| → HoierM joined | 15:52 |
| ← HoierM left | 15:53 |
| ← jozwior left | 15:53 |
| ← flaviodesousa left | 15:53 |
| → HoierM joined | 15:53 |
| ← borkr left | 15:54 |
| ← HoierM left | 15:54 |
| → HoierM joined | 15:54 |
| ← IRQ` left | 15:55 |
| ← HoierM left | 15:55 |
| ← durham left | 15:55 |
| → HoierM joined | 15:56 |
| ← Snugglebash left | 15:56 |
| ← HoierM left | 15:56 |
| ← peterbecich left | 15:56 |
| → warfront1 joined | 15:56 |
| → HoierM joined | 15:56 |
| → onehrxn joined | 15:57 |
| ← HoierM left | 15:57 |
|
warfront1
| How would i add a log file formatted like this to my gitignore mylogs.log.2017-05-03 | 15:57 |
| → borkr joined | 15:57 |
| → HoierM joined | 15:57 |
| → ShapeShifter499 joined | 15:58 |
|
Vampire0
| warfront1, `mylogs.log.*`? | 15:58 |
| ← tnecniv left | 15:58 |
| → gaucheph joined | 15:58 |
| ← mikecmpbll left | 15:58 |
| ← HoierM left | 15:58 |
|
Vampire0
| warfront1, or `mylogs.log.*-*-*`? | 15:58 |
| → HoierM joined | 15:58 |
|
Vampire0
| warfront1, maybe adding a specific directory where it can occur like for the root directory `/mylogs.log.*-*-*` | 15:59 |
| ← HoierM left | 15:59 |
| → HoierM joined | 15:59 |
| → watabou joined | 15:59 |
| → thiago joined | 16:00 |
| → Stumbler_ joined | 16:00 |
| ← onehrxn_ left | 16:00 |
| → durham joined | 16:00 |
| ← murii_ left | 16:00 |
| ← HoierM left | 16:00 |
| ← ankit01ojha left | 16:00 |
| → HoierM joined | 16:01 |
| ← CarlFK left | 16:01 |
| ← Stumbler left | 16:01 |
| → mel00010 joined | 16:01 |
| ← HoierM left | 16:01 |
| ← gaucheph left | 16:02 |
|
warfront1
| mylogs.log.*-*-* worked | 16:02 |
| → HoierM joined | 16:02 |
| ← HoierM left | 16:03 |
| ← robattila256 left | 16:03 |
| → HoierM joined | 16:03 |
| ← zturner left | 16:04 |
| ← HoierM left | 16:04 |
| → Starky joined | 16:04 |
|
Vampire0
| warfront1, sure, it will exclude those files no matter where they occur | 16:04 |
|
warfront1
| Exactly what I wanted, thanks! | 16:04 |
| → HoierM joined | 16:04 |
| → zturner joined | 16:04 |
| → Snugglebash joined | 16:05 |
|
warfront1
| For some reason mylogs.log.* was not working | 16:05 |
|
| But the second one you provided worked | 16:05 |
| ← HoierM left | 16:05 |
| → HoierM joined | 16:05 |
| ← warfront1 left | 16:06 |
| ← HoierM left | 16:06 |
| ← watabou left | 16:06 |
| → HoierM joined | 16:06 |
| ← Starky left | 16:07 |
| → qqx joined | 16:07 |
| → Starky joined | 16:07 |
| ← HoierM left | 16:07 |
|
Vampire0
| couldn't be, but well, gone with the wind. !next | 16:07 |
|
gitinfo
| Another satisfied customer. NEXT! | 16:07 |
| → Shock_ joined | 16:08 |
| → HoierM joined | 16:08 |
| ← HoierM left | 16:09 |
| → Gustavo6046 joined | 16:09 |
| → HoierM joined | 16:10 |
| ← Starky left | 16:10 |
| ← HoierM left | 16:10 |
| → Starky joined | 16:10 |
| ← Starky left | 16:10 |
| → Starky joined | 16:10 |
| → HoierM joined | 16:11 |
| ← HoierM left | 16:11 |
| → robotroll joined | 16:11 |
| → HoierM joined | 16:11 |
| ← HoierM left | 16:12 |
| → HoierM joined | 16:12 |
| ← robotroll left | 16:13 |
| ← HoierM left | 16:13 |
| → boombatower joined | 16:14 |
| ← Snugglebash left | 16:15 |
| ← dsdeiz_ left | 16:17 |
| → justin2 joined | 16:17 |
| mniip_ → mniip | 16:17 |
| ← Tobbi left | 16:18 |
| → fenikso joined | 16:19 |
| ← fenikso left | 16:20 |
| ← seni left | 16:20 |
| ← jameser left | 16:21 |
| ← nanga left | 16:21 |
| → nitric joined | 16:22 |
| → jozwior joined | 16:22 |
| ← rchavik left | 16:22 |
| → nanga joined | 16:22 |
| ← nanga left | 16:22 |
| → nanga joined | 16:22 |
| ← jstimm left | 16:22 |
| → fenikso joined | 16:23 |
| → jay-m joined | 16:23 |
| → gnixev joined | 16:23 |
| ← jozwior left | 16:24 |
| ← salamanderrake left | 16:24 |
| ← mattcen left | 16:24 |
| ← zeroed left | 16:24 |
| ← skered left | 16:24 |
| ← prg3 left | 16:26 |
| → synthroi_ joined | 16:27 |
| → tarkus joined | 16:28 |
| ← cstratak left | 16:29 |
| → prg3 joined | 16:29 |
| ← kelvah left | 16:29 |
| ← synthroid left | 16:30 |
| → skered joined | 16:30 |
| ← durham left | 16:30 |
| → mattcen joined | 16:32 |
| ← TomyLobo2 left | 16:34 |
| → Introoter joined | 16:34 |
| → Snugglebash joined | 16:34 |
| → TomyLobo2 joined | 16:34 |
| → svm_invictvs joined | 16:35 |
| ← royal_screwup21 left | 16:36 |
| ← MineCoins left | 16:36 |
| ← dreiss left | 16:37 |
| → royal_screwup21 joined | 16:37 |
| → King_Hual joined | 16:38 |
| ← zturner left | 16:38 |
| ← ferr left | 16:39 |
| ← barbos left | 16:39 |
| ← prg3 left | 16:40 |
| → barbos joined | 16:40 |
| → jstimm joined | 16:41 |
| ← madewokherd left | 16:42 |
| ← tvw left | 16:42 |
| → prg3 joined | 16:42 |
| mar77i_ → mar77i | 16:42 |
| ← notebox left | 16:43 |
| ← netroxen left | 16:43 |
| → Murii joined | 16:46 |
| ← rkazak left | 16:47 |
| → dsdeiz joined | 16:47 |
| ← mizu_no_oto left | 16:47 |
| ← achadwick left | 16:47 |
| → YuGiOhJCJ joined | 16:48 |
| → MineCoins joined | 16:51 |
| → durham joined | 16:52 |
| ← dsdeiz left | 16:52 |
| ← jay-m left | 16:54 |
| → gopar joined | 16:57 |
| ← aboccia_ left | 16:59 |
| → TheMontyChrist joined | 16:59 |
| → aboccia_ joined | 16:59 |
| ← TheMontyChrist left | 16:59 |
| → TheMontyChrist joined | 16:59 |
| ← TheMontyChrist left | 16:59 |
| → TheMontyChrist joined | 16:59 |
|
TheMontyChrist
| test | 16:59 |
|
| suppose I branch something. I add another project that's for debug. however, change code in the "main" project | 17:00 |
|
| how do I merge in all the changes except my test project? | 17:00 |
| ← ableto left | 17:00 |
| ← TheSimonator left | 17:01 |
| ← ShapeShifter499 left | 17:01 |
| ← mda1 left | 17:02 |
| → GT4066 joined | 17:03 |
| → SteffanW joined | 17:03 |
| ← imack left | 17:03 |
| → mda1 joined | 17:03 |
| → durham_ joined | 17:04 |
| → overlord_tm joined | 17:04 |
| → zzz joined | 17:06 |
| → TheSimonator joined | 17:06 |
| ← durham left | 17:07 |
| ← marcogmonteiro left | 17:08 |
| ← aielima left | 17:08 |
|
Vampire0
| TheMontyChrist, could you rephrase the question? What do you call a project? | 17:09 |
| → rkazak joined | 17:10 |
| → zturner joined | 17:11 |
| ← AndChat-484449 left | 17:12 |
| ← duderonomy left | 17:13 |
| ← Sound left | 17:13 |
|
TheMontyChrist
| main->project one | 17:14 |
|
| mybranch(branch of main)->project one, project two | 17:14 |
|
| I make a few hacks to project one, but I added project 2 for debug | 17:14 |
| → mostlybadfly joined | 17:14 |
|
TheMontyChrist
| I want to merge only those changes in project 1 back into "main" | 17:14 |
|
| ugly hack is to remove project 2 commit merge, and put project 2 back | 17:15 |
| → NeverDie joined | 17:15 |
|
TheMontyChrist
| each project is it's own directory | 17:15 |
|
| probably not possible | 17:16 |
|
Vampire0
| TheMontyChrist, you cannot merge only parts of the repository files | 17:16 |
|
TheMontyChrist
| I didn't think so either. | 17:16 |
|
| but I had to ask | 17:17 |
| ← durham_ left | 17:17 |
|
osse
| i would rewrite my branch to leave out the debug thingy before merging | 17:17 |
|
Vampire0
| TheMontyChrist, you probably shouldn't have added project 2 to that repo actually, but use some of !subrepo | 17:17 |
|
gitinfo
| TheMontyChrist: [!subprojects] So, you want to add git repositories inside of other git repositories? Well, you have four main options. First is to just do it, add the repo to the outer project's .gitignore, and treat them entirely separately. Best if they are entirely separate. Otherwise your best options are "!submodule", "!gitslave", and "!subtree". Try those commands in this channel, or in a PM to avoid flooding. | 17:17 |
|
osse
| or maybe not commit the debug stuff at all | 17:17 |
| → durham joined | 17:17 |
| ← barbos left | 17:18 |
| → circ-user-zNiD2_ joined | 17:18 |
| ← chardan left | 17:19 |
| → iamashishkebab2 joined | 17:19 |
|
o11c
| TheMontyChrist: cherry pick? | 17:19 |
| ← sbasso left | 17:19 |
| ← circ-user-zNiD2 left | 17:20 |
| → sbasso joined | 17:20 |
| ← bitmod left | 17:20 |
| → mizu_no_oto joined | 17:20 |
| → miczac joined | 17:22 |
| gitinfo set mode: +v | 17:22 |
| ← matoro left | 17:24 |
| → User458764 joined | 17:24 |
| → matoro joined | 17:24 |
| ← sbasso left | 17:24 |
| → Gloomy joined | 17:25 |
|
texasmynsted
| How do you normally handle a situation where there is public branch, say foo on origin, you branch off of that, then later people rebase and force push their rebased commits onto origin/foo? | 17:25 |
|
osse
| texasmynsted: you mean they force-push so that origin/foo is changed? | 17:26 |
|
texasmynsted
| correct | 17:26 |
| ← bilal left | 17:26 |
| ← maroloccio left | 17:26 |
|
texasmynsted
| assuming I can not "prevent" them from doing this | 17:26 |
|
perlpilot
| complain to those people about their anti-social behavior | 17:26 |
|
osse
| texasmynsted: if you're lucky 'git rebase origin/foo' will Just Work, because the changes are minor and git can detect duplicates etc. | 17:26 |
|
texasmynsted
| changing their behavior is a more long term solution | 17:27 |
|
| so if the hash is different but the content matches it is assumed the same or something? | 17:27 |
|
osse
| texasmynsted: if you're not so lucky, you can do this after fetching: git rebase --onto=origin/foo origin/foo@{1}, ie. rebasing the commits as if origin/foo wasn't changed, but put those commits on top of the new origin/foo | 17:27 |
| ← Snugglebash left | 17:27 |
| → TomyLobo joined | 17:28 |
|
osse
| man git-rebase also has a section called "RECOVERING FROM UPSTREAM REBASE" | 17:28 |
|
gitinfo
| the git-rebase manpage is available at https://gitirc.eu/git-rebase.html | 17:28 |
| → hashpuppy joined | 17:28 |
| ← acetakwas left | 17:28 |
| ← Cabanossi left | 17:29 |
| → nixjdm joined | 17:29 |
| ← telephone left | 17:29 |
| → telephone joined | 17:31 |
| ← telephone left | 17:31 |
| → telephone joined | 17:31 |
| → Cabanossi joined | 17:32 |
| → foo joined | 17:32 |
| ← MineCoins left | 17:33 |
| ← iamashishkebab2 left | 17:33 |
| → iamashishkebab2 joined | 17:33 |
| → MDA2 joined | 17:34 |
| → TheSimon_ joined | 17:34 |
| ← TheSimonator left | 17:35 |
| ← gopar left | 17:35 |
| → bilal joined | 17:35 |
| ← elect left | 17:35 |
| → gopar joined | 17:35 |
| ← relipse left | 17:36 |
| ← mda1 left | 17:36 |
| → PettanShoutaKun_ joined | 17:37 |
| → jetole joined | 17:37 |
| ← pbandark left | 17:37 |
|
PettanShoutaKun_
| git tag -a -m 'Auto-Tagged by Jenkins CI' .... fatal: too many params | 17:38 |
|
| why :\ | 17:38 |
|
| is there some issue with the ' ? | 17:38 |
| → xall_ joined | 17:39 |
| strayArc- → strayArch | 17:40 |
| ← mel00010 left | 17:40 |
| ← jetole left | 17:40 |
| → bronson joined | 17:40 |
| → jetole joined | 17:41 |
| ← gopar left | 17:41 |
|
jetole
| Hey guys. I committed a file and have no remote. I accidentally just deleted that file. It exists in a .git. Right? And I can restore it? | 17:41 |
| → gopar joined | 17:41 |
| → maroloccio joined | 17:42 |
|
rwp
| jetole, git checkout filename | 17:42 |
|
| jetole, "git status" should give you a hint in the information around the data saying how to undo the changes that it is detecting. | 17:42 |
|
jetole
| It says nothing to commit, working directory clean | 17:43 |
|
osse
| PettanShoutaKun_: is that the *exact* command ? | 17:43 |
|
jetole
| error: pathspec 'config.js' did not match any file(s) known to git. | 17:43 |
|
texasmynsted
| wow I had not seen that in the docs before | 17:44 |
|
| thank you | 17:44 |
|
jetole
| nvm. I checked the wrong file into the repo | 17:44 |
|
| Thanks rwp | 17:44 |
| → dreiss joined | 17:44 |
| ← jetole left | 17:44 |
| ← bronson left | 17:45 |
| ← romank left | 17:46 |
| → qpdb joined | 17:46 |
| → clickys joined | 17:47 |
|
rwp
| Glad to hear it worked out. :-) | 17:47 |
|
clickys
| Hello guys, i recently updated a branch and push it to my github project from my laptop . And now i want to retrieve the changes of that branch to my main workstation . I should use git fetch <remote-name> ? | 17:48 |
| → mikecmpbll joined | 17:48 |
|
PettanShoutaKun_
| yes. | 17:48 |
|
| although technically it's being punched in by a gradle script | 17:48 |
| → grover joined | 17:48 |
|
rwp
| clickys, Yes. Or use one of "git pull <remote-name>" to have it fetch and merge. Or "git pull --rebase <remote-name>" to have it fetch and rebase. Depending upon your work flow. | 17:49 |
| → synthroid joined | 17:49 |
| → salamanderrake joined | 17:50 |
|
clickys
| it will pull the master branch as well ? | 17:50 |
| ← jagob left | 17:51 |
| ← synthroi_ left | 17:52 |
| ← xall_ left | 17:52 |
|
clickys
| i just want to pull a certain branch | 17:52 |
| → misosoup joined | 17:52 |
|
clickys
| not all branches | 17:52 |
| ← gopar left | 17:54 |
| ← jeffreylevesque left | 17:54 |
| ← mikecmpbll left | 17:54 |
| → relipse joined | 17:55 |
| → gopar joined | 17:55 |
| ← _ADN_ left | 17:55 |
| → mikecmpbll joined | 17:55 |
|
o11c
| clickys: as a rule, you should always fetch (not pull) all enabled branches | 17:55 |
|
| pull is just fetch + merge | 17:56 |
|
| only the active branch can be merged | 17:56 |
|
clickys
| git pull origin <branch name > ? | 17:56 |
| → dsdeiz joined | 17:56 |
| ← dsdeiz left | 17:56 |
| → dsdeiz joined | 17:56 |
| → davimore joined | 17:56 |
| → cdg joined | 17:57 |
|
o11c
| clickys: that *exists*, but it's not necessary to use it | 17:58 |
| → durham_ joined | 17:59 |
| ← Nilesh_ left | 17:59 |
| ← ahrs left | 18:00 |
| ← dhollinger left | 18:00 |
| → MineCoins joined | 18:01 |
| ← User458764 left | 18:01 |
| ← dsdeiz left | 18:01 |
| → Sasazuka joined | 18:02 |
| → Es0teric joined | 18:02 |
|
Es0teric
| how do i undo a commit but keep the changes? | 18:02 |
|
_ikke_
| git reset HEAD~ | 18:02 |
| → dhollinger joined | 18:02 |
| ← durham left | 18:03 |
|
Es0teric
| _ikke_ git reset HEAD~? | 18:03 |
| ← sz0 left | 18:03 |
|
_ikke_
| git reset HEAD~ | 18:03 |
|
| It resets the branch back one commit, but keeps the changes, just what you want | 18:03 |
| → acetakwas joined | 18:03 |
|
Es0teric
| perfect | 18:04 |
|
| thanks! | 18:04 |
| ← sturner left | 18:04 |
| ← gopar left | 18:05 |
| ← slidercrank left | 18:05 |
| → gopar joined | 18:05 |
| ← TomyLobo left | 18:05 |
| ← najemnyvrah left | 18:06 |
| → synthroi_ joined | 18:06 |
| → cads joined | 18:08 |
| → Agjz joined | 18:09 |
| ← synthroid left | 18:09 |
| ← mquin left | 18:10 |
| ← tarkus left | 18:11 |
| → mquin joined | 18:11 |
| ← a3Dman left | 18:11 |
| ← qguv left | 18:12 |
| → sturner joined | 18:13 |
| ← gopar left | 18:13 |
| ← MineCoins left | 18:13 |
| → gopar joined | 18:14 |
| → Ryanar joined | 18:14 |
| ← mizu_no_oto left | 18:15 |
| → ahrs joined | 18:15 |
| ← clickjack left | 18:16 |
| → tarkus joined | 18:18 |
| → ClassyGrrrl joined | 18:18 |
| → User458764 joined | 18:18 |
| ← jstimm left | 18:18 |
| → a3Dman joined | 18:19 |
| → mizu_no_oto joined | 18:19 |
| → livingstn joined | 18:20 |
| ← Gloomy left | 18:20 |
| → bronson joined | 18:21 |
| → peterbecich joined | 18:22 |
|
Gurkenglas
| What tutorial will teach me to use a shell such as the one emacs provides to, given the name of a github project and an idea for changes to make to it, make a pull request to make them happen? (I'm on Windows and not good with all this terminal stuff.) | 18:24 |
| → Hashtag joined | 18:24 |
| ← m4sk1n left | 18:25 |
| gitinfo set mode: +v | 18:25 |
|
Hashtag
| Can someone help me with the error "fatal: Not possible to fast-forward, aborting."? | 18:25 |
|
| I have sagemath installed and I'm just trying to upgrade it. | 18:26 |
| ← a3Dman left | 18:26 |
|
Gurkenglas
| Ideally, it'd involve a flowchart with the straightest path listing the commands to put into the shell and lots of offshoots telling what to do if something-or-another doesn't go as planned. | 18:26 |
| → UTAN_dev joined | 18:26 |
| ← gopar left | 18:27 |
| ← Bock left | 18:27 |
| → nascentmind joined | 18:27 |
| → gopar joined | 18:27 |
| → dilijev joined | 18:28 |
| ← nixjdm left | 18:29 |
| ← jagobdue left | 18:29 |
| ← Es0teric left | 18:30 |
|
nascentmind
| Hi. I have a master. I have a branch b1 based off master where I have some commits. I have another branch b2 off b1 where I again have some commits. I do -> git checkout b2; git rebase b1; I get a Current branch b2 is up to date. What am I doing wrong? | 18:30 |
| → dsdeiz joined | 18:30 |
| ← Cabanossi left | 18:31 |
| → Es0teric joined | 18:31 |
| ← foo left | 18:31 |
| → foo joined | 18:31 |
| → cagomez joined | 18:31 |
|
_ikke_
| nascentmind: b1 is an ancestor of b2 | 18:31 |
| → Cabanossi joined | 18:31 |
|
_ikke_
| What do you want to achieve? | 18:32 |
|
Hashtag
| It seems to be working after I checked out the develop branch... | 18:32 |
| ← gnixev left | 18:33 |
| ← User458764 left | 18:34 |
| → MineCoins joined | 18:34 |
|
nascentmind
| I want add my changes from b2 to b1. | 18:34 |
|
| _ikke_, I want to add my changes from b2 to b1. | 18:34 |
| ← avar left | 18:35 |
| → gnixev joined | 18:35 |
| → synthroid joined | 18:35 |
|
nascentmind
| _ikke_, I create a branch b2 off b1 to experiment something. If it works out I want to add the changes of branch b2 to b1 and delete b2. | 18:35 |
|
_ikke_
| then merge it | 18:36 |
| ← bronson left | 18:36 |
|
_ikke_
| (it will result in a fast-forward merge) | 18:36 |
| → avar joined | 18:36 |
| ← avar left | 18:36 |
| → avar joined | 18:36 |
| → a3Dman joined | 18:36 |
| ← overlord_tm left | 18:36 |
| → _ADN_ joined | 18:36 |
|
nascentmind
| _ikke_, merge after I finish rebase, correct? | 18:37 |
| ← jnewt left | 18:37 |
|
_ikke_
| nascentmind: There is nothing to rebase | 18:38 |
| → raijin joined | 18:38 |
|
_ikke_
| nascentmind: the branch is already on that base if you follow me | 18:38 |
| ← synthroi_ left | 18:38 |
| ← chll__ left | 18:38 |
|
nascentmind
| _ikke_, I have commits in b2 and b1. | 18:38 |
| ← Introoter left | 18:38 |
| → Sound joined | 18:39 |
| Sound → Guest81163 | 18:39 |
| ← Guest81163 left | 18:39 |
|
nascentmind
| _ikke_, ah.. yes. Got it. | 18:40 |
| → manuelschneid3r joined | 18:40 |
| ← SteffanW left | 18:40 |
| ← durham_ left | 18:40 |
| → durham joined | 18:41 |
| → TomyLobo joined | 18:41 |
| → nixjdm joined | 18:42 |
| ← TomyLobo2 left | 18:42 |
| → Doginal joined | 18:43 |
| → cha1800 joined | 18:43 |
| → faisal joined | 18:43 |
| ← Gurkenglas left | 18:43 |
| → zeroed joined | 18:44 |
| ← zeroed left | 18:44 |
| → zeroed joined | 18:44 |
| ← faisal left | 18:44 |
| ← Hashtag left | 18:44 |
|
nascentmind
| _ikke_, If I have changes in both b1 and b2 then rebase should be the right approach? | 18:45 |
| ← Gustavo6046 left | 18:45 |
| → kexmex joined | 18:45 |
|
nascentmind
| _ikke_, changes/commits | 18:45 |
| ← ClassyGrrrl left | 18:45 |
|
_ikke_
| Well, a rebase never adds changes to another branch, it just moves the rebase branch | 18:46 |
|
| nascentmind: so you will have to always merge | 18:46 |
| ← rebrec left | 18:46 |
| ← cha18 left | 18:46 |
| → rebrec joined | 18:46 |
|
nascentmind
| _ikke_, Yes I understand merge after that but a rebase before a merge is compulsory, correct? | 18:47 |
|
_ikke_
| no | 18:47 |
| ← djb-irc left | 18:48 |
|
_ikke_
| it's optional | 18:48 |
| ← TheSimon_ left | 18:48 |
| → imack joined | 18:48 |
| → regedit joined | 18:48 |
| ← kegster left | 18:49 |
| → shgysk8zer0 joined | 18:49 |
| ← sturner left | 18:51 |
|
Soni
| how well does git work for BSON instead of JSON? | 18:52 |
|
_ikke_
| will, I guess it does not diff well | 18:52 |
|
| so merging etc is going to be hard | 18:52 |
|
| but for the rest it should not be a problem | 18:52 |
|
Soni
| (I'd think it works about the same, even if BSON is binary, since BSON is uncompressed) | 18:52 |
| → shubhnik joined | 18:53 |
| ← Oatmeal left | 18:53 |
| → yohnnyjoe joined | 18:53 |
|
Soni
| _ikke_: I mean does the delta compression work? | 18:54 |
| ← iamashishkebab2 left | 18:54 |
| → planigan joined | 18:55 |
| ← gnixev left | 18:55 |
| → finalbeta joined | 18:56 |
|
_ikke_
| I would expect so | 18:56 |
|
| delta-compression does not care if data is binary or not | 18:56 |
| → gnixev joined | 18:57 |
| ← grover left | 18:57 |
| → D630 joined | 18:57 |
| ← gnixev left | 18:57 |
| → TheSimonator joined | 18:58 |
| ← yohnnyjoe left | 18:58 |
| ← nascentmind left | 18:58 |
| ← kexmex left | 18:59 |
| → Sound_ joined | 18:59 |
| → User458764 joined | 19:00 |
| → PaulCapestany joined | 19:00 |
| ← Cabanossi left | 19:01 |
| → Cabanossi joined | 19:01 |
| ← zeroed left | 19:02 |
| → ijafidnsfod joined | 19:03 |
| → kexmex joined | 19:03 |
| → MattMaker joined | 19:04 |
| → tyreld joined | 19:05 |
|
ash_workz
| fyi: github pushed a fix for the syntax highlighting issue | 19:05 |
| ← raijin left | 19:06 |
| ← cads left | 19:08 |
| ← PettanShoutaKun_ left | 19:08 |
| → Acerific joined | 19:08 |
| ← _ADN_ left | 19:09 |
|
_ikke_
| what issue? | 19:10 |
|
Soni
| _ikke_: do Z-order curves delta compress better than linear and/or interlaced (uncompressed) images? | 19:12 |
| → LeBlaaanc joined | 19:12 |
|
_ikke_
| Soni: I don't know that much about it | 19:12 |
| ← peterbecich left | 19:13 |
| ← Es0teric left | 19:14 |
| → Es0teric joined | 19:15 |
| ← finalbeta left | 19:15 |
| → finalbeta joined | 19:15 |
| ← caper left | 19:16 |
| ← dsdeiz left | 19:16 |
| ← Es0teric left | 19:17 |
| → Oatmeal joined | 19:17 |
| → Es0teric joined | 19:17 |
| → synthroi_ joined | 19:18 |
| ← synthroid left | 19:20 |
| ← h12o left | 19:20 |
| ← Sound_ left | 19:20 |
| → bilal_ joined | 19:21 |
| ← mostlybadfly left | 19:24 |
| → zeroed joined | 19:24 |
| ← bilal left | 19:24 |
| ← TomyLobo left | 19:25 |
| → fission6 joined | 19:25 |
|
fission6
| i have a merge conflict, on one file specifically i want to ignore all the conflicts and just take from master (i am doing a git merge master) into a feature branch | 19:25 |
|
| how do i do that? | 19:25 |
|
grawity
| git checkout --theirs myfile | 19:25 |
| ← misosoup left | 19:26 |
|
fission6
| grawity: you the man! | 19:27 |
| ← nixjdm left | 19:28 |
| → TomyLobo joined | 19:29 |
| ← Cabanossi left | 19:30 |
| ← Random832 left | 19:31 |
| → Cabanossi joined | 19:32 |
| ← cyphase left | 19:32 |
| ← Acerific left | 19:34 |
| ← sparr left | 19:36 |
| → sparr joined | 19:36 |
| ← _rgn left | 19:37 |
| → cyphase joined | 19:37 |
| → raynold joined | 19:38 |
| ← Stumbler_ left | 19:38 |
| ← TheSimonator left | 19:39 |
| ← MineCoins left | 19:41 |
|
fission6
| how do i compare my local master to upstream, i want to do a diff, something is off | 19:41 |
| ← clickys left | 19:41 |
| → nixjdm joined | 19:41 |
|
oprypin
| fission6, git fetch; git diff origin/master | 19:41 |
| → chipotle joined | 19:42 |
| → Dougie187 joined | 19:42 |
| → Random832 joined | 19:42 |
| → _rgn joined | 19:43 |
|
fission6
| that is making everything appear different? | 19:43 |
| → m4sk1n joined | 19:44 |
| ← royal_screwup21 left | 19:44 |
| → romank joined | 19:45 |
| ← tarkus left | 19:45 |
| ← cdown left | 19:46 |
| → royal_screwup21 joined | 19:46 |
| → dsdeiz joined | 19:46 |
| ← ijafidnsfod left | 19:46 |
|
grawity
| means it's in fact different | 19:47 |
|
| maybe it differs in line endings (CRLF vs LF) | 19:47 |
| → h12o joined | 19:49 |
| → iamashishkebab2 joined | 19:50 |
| ← a3Dman left | 19:50 |
| ← dsdeiz left | 19:51 |
| ← cagomez left | 19:52 |
| → satifant joined | 19:52 |
| → cagomez joined | 19:52 |
| → hobodave joined | 19:54 |
| ← cagomez left | 19:56 |
| → Sound joined | 19:57 |
| → jen_ joined | 19:57 |
|
jen_
| The working tree i am working with is clean and fully synced to the remote. I want to test an older commit but after that, I want to come back to the current state. How do I safely do this? | 19:57 |
| Sound → Guest87370 | 19:57 |
|
Seveas
| jen_: crossposting is considered bad form :) | 19:58 |
| → TheSimonator joined | 19:58 |
|
oprypin
| git checkout a1b2c3d; do stuff; git checkout branch | 19:58 |
| ← King_Hual left | 19:59 |
|
jen_
| Seveas: didn’t even realize there was a #git! | 20:00 |
|
| ok sorry | 20:00 |
| → tnecniv joined | 20:00 |
| ← manuelschneid3r left | 20:02 |
| ← TomyLobo left | 20:02 |
| → manuelschneid3r joined | 20:02 |
| → Bennux joined | 20:03 |
| ← TbobbyZ left | 20:03 |
| → hobodave_ joined | 20:03 |
| ← manuelschneid3r left | 20:04 |
| ← synthroi_ left | 20:04 |
| ← hobodave left | 20:05 |
| ← circ-user-zNiD2_ left | 20:05 |
| → ijafidnsfod joined | 20:05 |
| → Tobbi joined | 20:06 |
| → a3Dman joined | 20:06 |
| ← schleppel left | 20:06 |
| ← jen_ left | 20:06 |
| → Guest50066 joined | 20:07 |
| ← hashpuppy left | 20:08 |
| Guest50066 → gruetzkopf | 20:09 |
| ← shubhnik left | 20:10 |
| ← romank left | 20:10 |
| ← D630 left | 20:11 |
| → _noblegas joined | 20:11 |
| ← Murii left | 20:12 |
| ← navidr left | 20:13 |
| → plicki_ joined | 20:14 |
| → romank joined | 20:14 |
| ← Starky left | 20:16 |
| ← romank left | 20:16 |
| → ok91 joined | 20:16 |
| → Starky joined | 20:16 |
| ← Levex left | 20:17 |
| → romank joined | 20:17 |
| → cdown joined | 20:18 |
| → aielima joined | 20:18 |
| → chrisgeorge joined | 20:18 |
| → stoopkid joined | 20:18 |
| → otisZart joined | 20:18 |
| ← romank left | 20:18 |
|
otisZart
| is there a way to know which github repo was a project downloaded from, if it doesnt contain readme/license? | 20:18 |
|
| so to get the original repo | 20:19 |
|
o11c
| otisZart: git remote | 20:19 |
| ← mizu_no_oto left | 20:19 |
|
grawity
| -v | 20:19 |
| ← NeverDie left | 20:19 |
|
o11c
| oh right | 20:19 |
| ← fission6 left | 20:20 |
|
otisZart
| o11c, and in the case git remove -v returns nothing? | 20:20 |
| ← zeroed left | 20:20 |
|
o11c
| s/remove/remote/ | 20:21 |
| ← livingstn left | 20:21 |
|
otisZart
| ye, typo | 20:21 |
|
o11c
| otisZart: then you didn't clone a git repo | 20:21 |
| → dsdeiz joined | 20:21 |
|
otisZart
| o11c what if a user deleted the remote and removed readme/license and used it itself? | 20:21 |
|
grawity
| then you resort to googling | 20:22 |
|
otisZart
| so there's no actual way to know | 20:22 |
|
| :/ | 20:22 |
| → sitaram joined | 20:22 |
| ← sitaram left | 20:22 |
| → sitaram joined | 20:22 |
|
grawity
| well it's just a bunch of files, there are no other magic ties to the original repo | 20:23 |
|
| I would suggest Github's own search but it's a bit awful | 20:23 |
|
otisZart
| ok I was curious about this case | 20:23 |
| → synthroid joined | 20:23 |
| → lipsumar joined | 20:26 |
| ← Guest87370 left | 20:26 |
| ← dsdeiz left | 20:26 |
| → Sound_ joined | 20:27 |
| ← MrWoohoo left | 20:27 |
| ← nixjdm left | 20:29 |
|
Vampire0
| otisZart if the Readme was removed with a commit, you can simply look at the file in a previous commit | 20:29 |
| → peterbecich joined | 20:30 |
| → cagomez joined | 20:30 |
| ← Cabanossi left | 20:31 |
| → Cabanossi joined | 20:32 |
| ← Agjz left | 20:32 |
| ← BSaboia left | 20:35 |
| ← Bennux left | 20:35 |
| ← Ryanar left | 20:35 |
| → zeroed joined | 20:35 |
| ← rkazak left | 20:36 |
| → ngf joined | 20:36 |
| → bronson joined | 20:36 |
| ← mkoskar left | 20:37 |
| ← AaronMT left | 20:37 |
| ← ijafidnsfod left | 20:38 |
| → misosoup joined | 20:39 |
| → duderonomy joined | 20:40 |
| ← ExoUNX left | 20:41 |
| ← bronson left | 20:41 |
| → nixjdm joined | 20:41 |
| ← User458764 left | 20:42 |
| ← gugah_ left | 20:42 |
| ← Sasazuka left | 20:45 |
| ← Es0teric left | 20:46 |
| ← dglambert left | 20:46 |
| → Sasazuka joined | 20:47 |
| ← YuGiOhJCJ left | 20:49 |
| ← royal_screwup21 left | 20:50 |
| → iamasamosa joined | 20:50 |
| ← LeBlaaanc left | 20:50 |
| ← iamashishkebab2 left | 20:51 |
| → Es0teric joined | 20:51 |
| ← iamasamosa left | 20:51 |
| → iamashishkebab2 joined | 20:51 |
| → royal_screwup21 joined | 20:51 |
| → yqt joined | 20:52 |
| → TbobbyZ joined | 20:53 |
| ← synthroid left | 20:53 |
|
osse
| otisZart: There's a limit to however many "what if"s a git reoo can endure :P | 20:53 |
| → iamasamosa joined | 20:54 |
| → rkazak joined | 20:54 |
| → raijin joined | 20:56 |
| → dsdeiz joined | 20:56 |
| ← misosoup left | 20:56 |
| ← iamashishkebab2 left | 20:57 |
| → m0viefreak joined | 20:59 |
| → TikityTik joined | 21:00 |
| ← h12o left | 21:00 |
| ← chrisgeorge left | 21:00 |
| ← dsdeiz left | 21:01 |
| ← zivester left | 21:01 |
|
_ikke_
| WHat's the upperbound? | 21:02 |
| ← zzz left | 21:02 |
| → livingstn joined | 21:02 |
|
Seveas
| 3758914 | 21:03 |
| → p14nd4 joined | 21:03 |
| ← TheMontyChrist left | 21:04 |
| → zzz joined | 21:05 |
| ← ozcanesen left | 21:05 |
| ← justin2 left | 21:06 |
|
p14nd4
| i have branch br1 that i've merged into master (git checkout master; git merge br1), but br1 HEAD still points to the last commit before the merge. how do i make br1 HEAD point to the same commit as master HEAD? | 21:06 |
|
grawity
| that's normal | 21:07 |
|
| you can merge master back into br1, but why | 21:08 |
|
Seveas
| merge master into it (which would be a fast-frward merge). But that doesn't really do you any good. Why would you want the branch to point there? | 21:08 |
| ← cagomez left | 21:08 |
|
p14nd4
| because i want people tracking br1 to stop being diverged from master (since i can't force those people to just checkout master) | 21:10 |
|
rwp
| But then you would need to merge back into br1 *each and every time* anything changes on master. | 21:10 |
|
Seveas
| you've been able to force them to track a branch | 21:10 |
|
p14nd4
| rwp: supposing that my scenario can happen, where HEAD of br1 and master are literally the same commit, then presumably with some care, if someone commits to br1, and then someone later commits to master, the latter person could rebase on top of br1's commits to keep br1 and master united instead of diverged in the log | 21:13 |
| ← iamasamosa left | 21:13 |
| ← Cavallari left | 21:14 |
|
rwp
| p14nd4, Nope. ls -l .git/refs/heads/ and see that those branches are all separate files. | 21:14 |
| → askb joined | 21:15 |
|
grawity
| that has nothing to do with refs | 21:15 |
| ← tnecniv left | 21:15 |
|
grawity
| yes, you could rebase the feature branch like that | 21:15 |
| ← thiago left | 21:15 |
|
grawity
| annoys the users even more than merging master repeatedly, though | 21:16 |
|
p14nd4
| rwp: in that case, what's to stop me from just modifying the hash in br1 to be the same as master? | 21:16 |
|
rwp
| Nothing stops you from doing that. | 21:16 |
|
qqx
| p14nd4: That's what a fast-forward merge would do. | 21:16 |
|
o11c
| p14nd4: better just delete the branch | 21:17 |
|
| that way, they'll get a nasty message | 21:17 |
| → Arokh joined | 21:18 |
|
rwp
| I didn't see any mention of rebase here grawity. I certainly didn't suggest it. I just pointed out why tracking br1 doesn't track master even if they happen to point to the same commit. | 21:18 |
| → tnecniv joined | 21:20 |
| → nevodka joined | 21:21 |
| → Levex joined | 21:21 |
| ← soto left | 21:21 |
| ← Levex left | 21:21 |
|
p14nd4
| i think that git checkout br1; git merge --ff-only master ; git push gives me what i want | 21:22 |
|
| doesn't appear to actually create a new commit, just updates the HEAD ref of br1 to point to master HEAD | 21:23 |
|
rwp
| That will sync br1 up with master at this moment. But the next commit to master will not appear on br1. | 21:23 |
| ← nixjdm left | 21:24 |
|
p14nd4
| but after such a master commit, couldn't i do the same thing again? | 21:24 |
| ← rkazak left | 21:24 |
| → Snugglebash joined | 21:25 |
| ← Klumben left | 21:25 |
| ← NeXTSUN left | 21:25 |
| → HoierM joined | 21:26 |
| ← HoierM left | 21:26 |
| ← cdown left | 21:26 |
|
rwp
| Yes. You would need to do that *each and every time*. Is that what you want? | 21:26 |
| → HoierM joined | 21:27 |
|
rwp
| If so then I am not going to talk you out of it. That's not my place in the scheme of things. | 21:27 |
| ← HoierM left | 21:27 |
| → Gurkenglas joined | 21:27 |
|
p14nd4
| doesn't sound so bad :) | 21:28 |
| ← shgysk8zer0 left | 21:28 |
|
p14nd4
| i worry a little bit that i'm the guy asking whether it's better to use a shoe or glass bottle to pound in a nail | 21:28 |
| → iamashishkebab2 joined | 21:29 |
| → justin2 joined | 21:29 |
| ← Es0teric left | 21:29 |
|
p14nd4
| ( https://weblogs.asp.net/alex_papadimoulis/408925 , if you're not familiar with the reference) | 21:29 |
|
Gurkenglas
| What tutorial will teach me to use a shell such as the one emacs provides to, given the name of a github project and an idea for changes to make to it, make a pull request to make them happen? (I'm on Windows and not good with all this terminal stuff.) Ideally, it'd involve a flowchart with the straightest path listing the commands to put into the shell and lots of offshoots telling what to do if something-or-another | 21:29 |
|
| doesn't go as planned. | 21:29 |
| ← Cabanossi left | 21:30 |
| → dsdeiz joined | 21:31 |
| ← dsdeiz left | 21:31 |
| → dsdeiz joined | 21:31 |
| → Klumben joined | 21:31 |
| ← iamashishkebab2 left | 21:32 |
| → kadoban joined | 21:32 |
| → Cabanossi joined | 21:32 |
| → iamashishkebab2 joined | 21:32 |
| ← ngf left | 21:33 |
| ← dsdeiz left | 21:35 |
|
p14nd4
| Gurkenglas: https://try.github.io/levels/1/challenges/1 maybe? | 21:36 |
|
Gurkenglas
| Looks good, thanks. | 21:37 |
|
p14nd4
| but google will be your friend | 21:37 |
| → NeXTSUN joined | 21:38 |
|
p14nd4
| probably the 10,000th time this has been linked in here, but: https://xkcd.com/1597/ | 21:38 |
| ← iamashishkebab2 left | 21:39 |
| ← Sythrik left | 21:39 |
|
oprypin
| - how i feel about perforce | 21:40 |
| → basiclaser joined | 21:40 |
| ← Spacew00t left | 21:41 |
| ← acetakwas left | 21:42 |
| → fqoh joined | 21:43 |
| → Spacew00t joined | 21:44 |
| → zedka joined | 21:44 |
| → roar joined | 21:44 |
| ← relipse left | 21:45 |
| ← roar left | 21:45 |
| → roar joined | 21:45 |
| ← Dougie187 left | 21:45 |
| ← Spacew00t left | 21:45 |
| ← dilijev left | 21:46 |
| ← dfaught left | 21:46 |
| → Spacew00t joined | 21:48 |
| → Darren_ joined | 21:49 |
| ← Sound_ left | 21:50 |
| ← grumble left | 21:50 |
| → Marumarsu joined | 21:50 |
|
p14nd4
| it's a pretty terrible situation, that i'm the one running git for my office and know very little about it, but it's vastly superior to what it was before i got here: windows folder shares, manual merges with WinDiff or something, and archiving a copy quarterly to another location ;_; | 21:51 |
| ← a3Dman left | 21:51 |
| → grumble joined | 21:51 |
| → h12o joined | 21:51 |
| ← MattMaker left | 21:54 |
| ← ski7777 left | 21:55 |
| ← h12o left | 21:56 |
| ← hobodave_ left | 21:58 |
| → masuberu joined | 21:58 |
| ← masuberu left | 21:58 |
| ← Cabanossi left | 22:00 |
| → a3Dman joined | 22:00 |
| ← lightstalker left | 22:00 |
| ← zeroed left | 22:00 |
| → jnewt joined | 22:00 |
| → Cabanossi joined | 22:01 |
| → lightstalker joined | 22:02 |
| → dsdeiz joined | 22:05 |
| ← dsdeiz left | 22:05 |
| → dsdeiz joined | 22:05 |
| ← livingstn left | 22:05 |
| → thiago joined | 22:07 |
| ← roar left | 22:08 |
| → roar joined | 22:09 |
| → raspado joined | 22:09 |
| ← dsdeiz left | 22:10 |
| → h12o joined | 22:11 |
| → robattila256 joined | 22:13 |
| ← brent__ left | 22:14 |
| → brent__ joined | 22:14 |
| ← h12o left | 22:16 |
| ← rnsanchez left | 22:16 |
| ← brent__ left | 22:23 |
|
Soni
| does git support "merge helpers" for binary files? | 22:23 |
|
| say I have a binary format that supports merge metadata | 22:23 |
|
Seveas
| yes, git supports that | 22:24 |
|
| see the 'Performing a three-way merge' section in man gitattributes | 22:24 |
|
gitinfo
| the gitattributes manpage is available at https://gitirc.eu/gitattributes.html | 22:24 |
| → Bucciarati joined | 22:26 |
|
Soni
| cool | 22:27 |
| ← NeXTSUN left | 22:27 |
| → sythe joined | 22:27 |
|
belak
| Is there a way to check out any files which were changed (and added to the index) into a separate directory? | 22:29 |
|
| I found git-checkout-index but I'm not sure how to do it into a different directory | 22:30 |
| → oskarkv joined | 22:30 |
|
o11c
| belak: pass a different worktree? | 22:30 |
|
Seveas
| belak: that smells a bit !xy, what are you trying to achieve? | 22:30 |
|
gitinfo
| belak: Woah, slow down for a bit. Are you sure that you need to jump through that particular hoop to achieve your goal? We suspect you don't, so why don't you back up a bit and tell us about the overall objective... | 22:30 |
| → roelmonnens joined | 22:31 |
|
belak
| Seveas: I'm trying to grab the staged version of all changed files so I can run linting on them without needing to run it on the whole repo. | 22:31 |
|
| If there's a better way to do this, I'm all ears | 22:32 |
| → h12o joined | 22:32 |
| ← NightMonkey left | 22:34 |
|
o11c
| belak: can your linter operate on stdin? | 22:34 |
|
belak
| Uh, I'm not sure | 22:34 |
|
o11c
| are you assuming the real working tree has unstaged modifications that you *don't* want to link? | 22:34 |
| ← nevodka left | 22:35 |
| ← roelmonnens left | 22:35 |
| ← TheSimonator left | 22:35 |
|
belak
| Yes | 22:35 |
|
| And yes | 22:35 |
| → Atm0spher1c joined | 22:36 |
| → safe joined | 22:36 |
| ← h12o left | 22:36 |
|
Seveas
| belak: git checkout-index --prefix perhaps. Though ideally I'd mtry to find a command that spits it to stdout and then feed it to the linter that way | 22:37 |
|
o11c
| belak: I usually use `git diff --name-only` for this kind of things | 22:37 |
| → singlerider joined | 22:37 |
|
| o11c doesn't remember which arguments to pass to get the difference between HEAD and index, etc | 22:37 |
|
belak
| I mean, I'd need the full contents of the file for linting though | 22:37 |
|
| OH I see | 22:38 |
|
| Using diff to get the file names | 22:38 |
|
o11c
| yeah, then whatever else to get the contents | 22:38 |
| ← apotry left | 22:38 |
| ← peterbecich left | 22:39 |
|
belak
| alternatively, git diff --name-only | git checkout-index --stdin | 22:39 |
|
| With the proper options to git-diff | 22:39 |
|
Seveas
| and --prefix to make it spit the files in a separate directory | 22:39 |
|
belak
| Yep | 22:40 |
|
| Cool | 22:40 |
| → dsdeiz joined | 22:40 |
| ← dsdeiz left | 22:40 |
| → dsdeiz joined | 22:40 |
| ← cdg left | 22:41 |
| ← Snugglebash left | 22:41 |
| → cagomez joined | 22:42 |
|
belak
| git diff --name-only --cached | git checkout-index --stdin --prefix=/tmp/belak-git-test/ | 22:43 |
|
| Worked amazing | 22:43 |
|
| Thanks! | 22:43 |
| ← CEnnis91 left | 22:43 |
| → johnnyfive joined | 22:44 |
|
singlerider
| Any clues about how to sign a commit with a hardware token while dev | 22:44 |
|
| eloping in a VM? | 22:44 |
| ← dsdeiz left | 22:45 |
|
Seveas
| singlerider: give the vm access to the usb port the token is on? | 22:46 |
|
singlerider
| Is that a thing that's possible on an AWS box? | 22:47 |
|
| I could probably figure it out with VirtualBox, etc | 22:47 |
| ← gopar left | 22:48 |
| → gopar joined | 22:48 |
|
o11c
| singlerider: sshfs from the physical machine? | 22:49 |
|
Seveas
| sshfs for a usb device? | 22:50 |
| ← valize left | 22:50 |
| ← borkr left | 22:50 |
|
Seveas
| oh, I guess you mean mount the vm's filesystem via sshfs and sign locally | 22:50 |
| ← _noblegas left | 22:51 |
|
o11c
| I'd rather let the host access the vm than vice versa | 22:51 |
|
singlerider
| I'll lok into sshfs | 22:51 |
| → yohnnyjoe joined | 22:51 |
|
singlerider
| I meant isgning on the VM where I'm VIM-ing a file :p | 22:51 |
|
o11c
| I mean, the whole point of a VM is "no hardware" | 22:51 |
| → madewokherd joined | 22:52 |
|
o11c
| personally I don't see the point of signing individual commits though, just tgas | 22:52 |
|
| you could always sign while rebasing though | 22:52 |
|
singlerider
| That's a good point | 22:52 |
| → h12o joined | 22:52 |
|
singlerider
| I was just wondering about the viability | 22:52 |
|
| Thanks for the insight Seveas and o11c | 22:53 |
|
Seveas
| you're welcome | 22:53 |
| ← zzz left | 22:53 |
| ← ok91 left | 22:54 |
| → _ADN_ joined | 22:55 |
| ← Tobbi left | 22:56 |
| ← h12o left | 22:57 |
| ← re1 left | 22:59 |
| → peterbecich joined | 22:59 |
| ← gopar left | 23:00 |
| ← Cabanossi left | 23:01 |
| → gopar joined | 23:01 |
| → Cabanossi joined | 23:01 |
| ← fqoh left | 23:02 |
| ← Spacew00t left | 23:03 |
| → zzz joined | 23:03 |
| ← finalbeta left | 23:04 |
| → Spacew00t joined | 23:04 |
| ← gopar left | 23:05 |
| → NeverDie joined | 23:06 |
| → stepho joined | 23:07 |
| ← ams__ left | 23:09 |
| → gaucheph joined | 23:12 |
| → h12o joined | 23:13 |
| ← PaulCapestany left | 23:13 |
| → dsdeiz joined | 23:15 |
| ← dsdeiz left | 23:15 |
| → dsdeiz joined | 23:15 |
| → PaulCapestany joined | 23:15 |
| ← plicki_ left | 23:17 |
| ← h12o left | 23:18 |
| ← yqt left | 23:18 |
|
texasmynsted
| somebody linked a page about managing config files with git here… Anybody recall that? | 23:18 |
| → NightMonkey joined | 23:19 |
| ← johnnyfive left | 23:20 |
| ← satifant left | 23:20 |
| ← dsdeiz left | 23:20 |
| ← royal_screwup21 left | 23:22 |
| → gopar joined | 23:22 |
| ← PaulCapestany left | 23:22 |
|
Vampire0
| texasmynsted, !config? | 23:23 |
|
gitinfo
| texasmynsted: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas | 23:23 |
| → royal_screwup21 joined | 23:23 |
|
texasmynsted
| that is it. Thank you | 23:24 |
| ← aax left | 23:24 |
| → PaulCapestany joined | 23:24 |
| → ajayk joined | 23:24 |
| ← gaucheph left | 23:24 |
| ← cagomez left | 23:25 |
| → cads joined | 23:28 |
| ← gopar left | 23:28 |
| ← aielima left | 23:28 |
| ← zzz left | 23:30 |
| ← NeverDie left | 23:30 |
| ← kexmex left | 23:31 |
| ← nitric left | 23:32 |
| → druonysus joined | 23:33 |
| → h12o joined | 23:33 |
|
Vampire0
| texasmynsted, yw | 23:33 |
|
gitinfo
| texasmynsted: This channel tracks karma based on who has gotten lots of thanks for being helpful. If you want to help someone reach karmic nirvana, please mention their name when thanking them with "thank you", "thankyou", "thanks", "thx", "ty" or "cheers". Try ".karma <nick>" or ".topkarma" to show karma status of a person. | 23:33 |
|
texasmynsted
| Thank you Vampire0 | 23:34 |
| ← telephone left | 23:35 |
|
texasmynsted
| .karma Vampire0 | 23:35 |
|
gitinfo
| the Genuine Real Life Karma™ REST API results are back! vampire0: 35 (3 in past 30 days) (4 given out) | 23:35 |
| → ijafidnsfod joined | 23:35 |
| → telephone joined | 23:35 |
| ← telephone left | 23:35 |
| → telephone joined | 23:35 |
| → zulutango joined | 23:36 |
|
bremner
| .karma karma chameleon | 23:36 |
|
gitinfo
| the karma of the given users is shrouded in the mists of uncertainty. | 23:36 |
| → NeverDie joined | 23:36 |
| ← ajayk left | 23:37 |
| → cmyers joined | 23:37 |
|
cmyers
| I came here just to tell you guys that --allow-unrelated-histories is complete clowntown. | 23:37 |
|
| and it is infuriating | 23:37 |
| ← Spacew00t left | 23:38 |
| → bronson joined | 23:38 |
| ← h12o left | 23:38 |
|
cmyers
| I am writing a repo-merging tool and I have to figure out which version of git there is so I can figure out if I need to give the argument or not | 23:38 |
|
| old versions explode with it, new versions explode without it | 23:38 |
|
| completely insane. | 23:38 |
| → Vivekananda joined | 23:38 |
|
cmyers
| ". As that is a very rare occasion, no configuration variable to enable this by default exists and will not be added." | 23:38 |
|
| who is driving this car anyways? | 23:39 |
|
| you might as well say "since we hate programmatic users of our tool, screw you." | 23:39 |
| ← bsanford left | 23:39 |
|
o11c
| cmyers: shouldn't you be using lower-level commands? | 23:40 |
| ← mikecmpbll left | 23:40 |
|
preaction
| nobody here can do anything about it, so i hope typing that all out is at least cathartic | 23:40 |
|
cmyers
| not if the higher-level command does what I want? I mean, that's what I'm going ot have to do, if I don't wanbt to run "git merge --help" and grep for --allow-unrelated | 23:40 |
|
| it is very cathartic, thank you =) | 23:40 |
|
preaction
| you should get a blog | 23:40 |
| → zzz joined | 23:41 |
| → Spacew00t joined | 23:41 |
|
bremner
| twitter is all the rage for rage | 23:41 |
| → ajayk joined | 23:41 |
| ← Spacew00t left | 23:42 |
| ← bronson left | 23:42 |
| → MattMaker joined | 23:42 |
| ← royal_screwup21 left | 23:46 |
| → royal_screwup21 joined | 23:47 |
|
Vampire0
| cmyers, well, the porcellain commands are for human use and are _potentially_ unstable in how they work and what they return. The plumbing commands are made for scripted use and should be much more stable and scripted usable | 23:47 |
| → watabou joined | 23:48 |
| ← zedka left | 23:48 |
| ← SCHAPiE left | 23:49 |
| → sostenuto joined | 23:49 |
| → dsdeiz joined | 23:49 |
| ← dsdeiz left | 23:49 |
| → dsdeiz joined | 23:49 |
|
cmyers
| figuring out what plumbing the merge command calls appears non-trivial | 23:50 |
|
| I see git merge-tree which outputs the sort of thing you could shove into the index... it seems easier (though obviously less resiliant) to just grep the --help for the flag and call it "good enough for government work" | 23:50 |
| → kexmex joined | 23:51 |
|
cmyers
| I would have expected there was a higher-level plumbing command that is still lower than git merge but maybe there isn't, or maybe I'm just too impatient with the googling/code reading to find it | 23:51 |
| auv[work] → auv | 23:51 |
| → SCHAPiE joined | 23:51 |
| → Eugene joined | 23:51 |
| → Hurin joined | 23:52 |
| → h12o joined | 23:53 |
| → mel00010 joined | 23:54 |
| ← Vivekananda left | 23:54 |
| ← dsdeiz left | 23:54 |
| ← svm_invictvs left | 23:54 |
|
Gurkenglas
| When you make a patch to a large project and commit and notice a typo, what is the correct course of action? A second commit seems amateurish and nuking my fork and doing it again seems like I just dont know the right command | 23:55 |
|
preaction
| Gurkenglas: git commit --amend; git push --force | 23:56 |
|
o11c
| Gurkenglas: rewriting history is fine when you haven't submitted your changes yet | 23:58 |
| ← ajayk left | 23:58 |
| ← h12o left | 23:58 |
|
o11c
| in fact, often projects *require* you to rewrite history during code review | 23:59 |