| 2017-03-28 |
| → MacWinner joined | 00:00 |
| ← rivarun left | 00:00 |
| → rivarun joined | 00:01 |
| ← de-facto left | 00:01 |
| → fission6 joined | 00:01 |
| → de-facto joined | 00:01 |
| ← m0viefreak left | 00:03 |
| ← xaa left | 00:03 |
| ← hashtagstrashtag left | 00:04 |
| → maarhart joined | 00:04 |
| ← howitdo left | 00:04 |
| ← medeirosthiiago left | 00:05 |
| ← Es0teric left | 00:06 |
| → oxguy3 joined | 00:06 |
| ← overlord_tm left | 00:09 |
| ← am55 left | 00:12 |
| ← _W_ left | 00:13 |
| → peepsalot joined | 00:13 |
| → om_henners joined | 00:15 |
| ← maarhart left | 00:16 |
| → marianina8 joined | 00:16 |
| → jimklo_ joined | 00:19 |
| ← Sasazuka left | 00:19 |
| ← dreiss left | 00:20 |
| → gugah joined | 00:20 |
| ← rivarun left | 00:20 |
| → rivarun joined | 00:20 |
| → biotim joined | 00:20 |
| ← marianina8 left | 00:21 |
| ← jimklo left | 00:22 |
| ← jimklo_ left | 00:23 |
| → marianina8 joined | 00:24 |
| ← Noldorin left | 00:24 |
| ← rivarun left | 00:24 |
| → rivarun joined | 00:24 |
| → livingstn joined | 00:25 |
| → Sasazuka joined | 00:25 |
| ← matoro left | 00:27 |
| → ocelotsloth joined | 00:27 |
| ← vatican left | 00:28 |
| ← shgysk8zer0 left | 00:29 |
| ← gunnaro left | 00:31 |
| → osk| joined | 00:31 |
| ← ocelotsloth left | 00:31 |
| ← marianina8 left | 00:31 |
| → nckpz joined | 00:31 |
| ← gugah left | 00:32 |
| → matoro joined | 00:33 |
| → thebope joined | 00:33 |
| → am55 joined | 00:34 |
| → gopar joined | 00:35 |
| → Kaisyu joined | 00:37 |
| ← kfoonamalik left | 00:37 |
| ← qpdb left | 00:38 |
| ← gopar left | 00:38 |
| → qpdb joined | 00:38 |
| ← Cabanossi left | 00:39 |
| ← fission6 left | 00:40 |
| ← dsdeiz_ left | 00:40 |
| → fission6 joined | 00:41 |
| → Cabanossi joined | 00:42 |
| ← brent__ left | 00:42 |
| ← Rodya__ left | 00:42 |
| ← ispn left | 00:42 |
| → onehrxn joined | 00:42 |
| → dsdeiz joined | 00:43 |
| → brent__ joined | 00:44 |
| → MarioBranco joined | 00:46 |
| ← brent__ left | 00:49 |
| → marianina8 joined | 00:50 |
| → gugah joined | 00:50 |
| → cqi joined | 00:53 |
| → ncthom91 joined | 00:54 |
| ← mda1 left | 00:56 |
| → gunnerman joined | 00:57 |
| → mda1 joined | 00:57 |
| → Keverw joined | 00:58 |
| → dnukem joined | 00:58 |
| ← thebope left | 00:59 |
| ← atrigent left | 00:59 |
| gitinfo set mode: +v | 01:00 |
|
gunnerman
| Hello. I have a question about using remote repositories and web files. Anyone here to help? | 01:00 |
| → sunrunner20 joined | 01:01 |
| → pietv joined | 01:02 |
| → thebope joined | 01:02 |
| → rchavik joined | 01:02 |
|
kadoban
| gunnerman: Several hundred people, you can just ask your followup question | 01:03 |
| ← Gustavo6046 left | 01:04 |
| ← Jackneill left | 01:05 |
| → Ryanar joined | 01:06 |
| ← de-facto left | 01:08 |
| ← lavalamp left | 01:08 |
| ← lmatteis left | 01:08 |
| → Rodya_ joined | 01:09 |
| ← matoro left | 01:09 |
| ← _Vi left | 01:09 |
|
gunnerman
| I have set up a remote repository on GitLab. We have production, test, and development webservers. Right now it is just two developers, me and another person. The other developer does mostly work with front end web development and usually edits files via ssh on the servers. I use an IDE set up with sftp. Ideally, we would like to work on test and dev and production would get updates from the repo. My question is, what might be an ide | 01:09 |
| → matoro joined | 01:11 |
|
gunnerman
| files on test and dev servers? I.e. do I clone the master on the server and then clone from the server again to my local machine? Or do I make changes via ftp and then do commits etc. via ssh on the server? | 01:11 |
| ← osk| left | 01:12 |
|
gunnerman
| The test and dev server names don't really carry any meaning for workflow. I do most of my work on dev and the other person does their work on test. We then copy to production after development and testing. | 01:13 |
| → _Vi joined | 01:13 |
| ← nckpz left | 01:16 |
|
rwp
| gunnerman, This is one of those hard questions because there is no single right answer. The system is flexible and you get to choose what you would like to do. Which of course is like giving a starving man a menu. :-) | 01:16 |
|
| What I would do... | 01:16 |
|
| What I would do is to have each of you work in your own working copy sandbox area separate from each other. I would not have both of you share the same work area. | 01:17 |
|
| Then each of you can commit into your repository separately as you make changes you want to share. Then push them to the master when you are ready for the other person to see them. | 01:17 |
|
| Then I would have the dev, test, production servers do a git pull when you want to move changes to them. | 01:18 |
| → nckpz joined | 01:19 |
|
rwp
| gunnerman, There is a reference I think you should look at though. I will ask the irc bot to tell you about !deploy for additional reading. | 01:19 |
|
gitinfo
| gunnerman: Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html | 01:19 |
| → sz0 joined | 01:20 |
| → de-facto joined | 01:21 |
| → Rodya__ joined | 01:21 |
| → bannakaffalatta joined | 01:21 |
| → Chch joined | 01:21 |
| ← NeverDie left | 01:23 |
| ← Keverw left | 01:23 |
| ← Rodya_ left | 01:23 |
| ← rewt left | 01:23 |
| → rewt`` joined | 01:23 |
| ← bgerber left | 01:23 |
| → patarr_ joined | 01:24 |
| rewt`` → rewt | 01:24 |
| → NeverDie joined | 01:24 |
| ← dave0x6d left | 01:25 |
| ← tobie left | 01:25 |
| ← shennyg left | 01:25 |
| ← NeverDie left | 01:25 |
| ← sz0 left | 01:25 |
| → yaewa joined | 01:25 |
|
gunnerman
| That is what I was thinking. I don't mean for it to be a deployment tool I am just trying to select a process that is simple enough that I wont see people uploading files with a bunch of unreleated changes before finally remembering to commit but we also want to keep versioning info comprehensive and usable. | 01:25 |
| ← patarr left | 01:26 |
| ← Ownix left | 01:26 |
| ← eshlox left | 01:26 |
| ← Awesomecase left | 01:26 |
| ← waveclaw left | 01:26 |
| → NeverDie joined | 01:26 |
| → sz0 joined | 01:26 |
| ← moei left | 01:26 |
| → dave0x6d joined | 01:26 |
| → tobie joined | 01:26 |
| → belak joined | 01:27 |
| ← rnsanchez left | 01:27 |
| ← pks left | 01:27 |
| ← parasite_ left | 01:27 |
| ← bipolar left | 01:27 |
| → Ownix joined | 01:27 |
| → shennyg joined | 01:27 |
| → nezZario joined | 01:27 |
| → dreiss joined | 01:27 |
| → tharuin joined | 01:27 |
| → eshlox joined | 01:27 |
| ← Gunni left | 01:27 |
| → flupke joined | 01:27 |
| gitinfo set mode: +v | 01:27 |
| ← xkr47 left | 01:27 |
| → pks joined | 01:27 |
| → Wulf4 joined | 01:28 |
| → AustinMatherne joined | 01:28 |
| ← SuperLag left | 01:28 |
| → kdeal joined | 01:28 |
| → bgerber joined | 01:28 |
| → SuperLag joined | 01:28 |
| ← gkatsev left | 01:28 |
| → xkr47 joined | 01:28 |
| ← Emperor_Earth left | 01:28 |
|
gunnerman
| For the SSH only user, it is easy to make the changes and commit in the same window. A little bit cumbersome if I am working in an ide and I need to maintain an ssh session to commit/branch/etc and then resync local files if I do branch. | 01:29 |
| → gkatsev joined | 01:29 |
| ← peterbecich left | 01:29 |
| → waveclaw joined | 01:29 |
| → arand joined | 01:29 |
| → peterbecich joined | 01:29 |
| ← biotim left | 01:30 |
| ← Wulf left | 01:31 |
| Wulf4 → Wulf | 01:31 |
| → finalbeta joined | 01:31 |
| → Hedgework joined | 01:31 |
| → bipolar joined | 01:32 |
| → jgornick joined | 01:32 |
| → Gunni joined | 01:32 |
| → SleePy joined | 01:32 |
| → amdi_ joined | 01:32 |
| → Eugene joined | 01:32 |
| ← bgerber left | 01:32 |
| ← ncthom91 left | 01:32 |
| → snowkidind joined | 01:33 |
| ← Anja_ left | 01:34 |
| ← fstd left | 01:34 |
| → fstd_ joined | 01:34 |
| fstd_ → fstd | 01:34 |
| ← govg left | 01:34 |
| ← gunnerman left | 01:35 |
| → bgerber joined | 01:36 |
| → durham_ joined | 01:36 |
| ← theiostream left | 01:36 |
| → biotim joined | 01:36 |
| ← Chch left | 01:37 |
| → Es0teric joined | 01:37 |
| → parasite_ joined | 01:37 |
| → rnsanchez joined | 01:37 |
| → gnoirzox2 joined | 01:37 |
| ← Sasazuka left | 01:38 |
| ← frobnic left | 01:38 |
| ← durham left | 01:39 |
| ← Cabanossi left | 01:40 |
| ← durham_ left | 01:40 |
| → Cabanossi joined | 01:41 |
| ← madewokherd left | 01:43 |
| ← roby10 left | 01:43 |
| → a_thakur joined | 01:43 |
| ← patarr_ left | 01:44 |
| → ekinmur joined | 01:44 |
| ← Es0teric left | 01:44 |
| ← sunri5e left | 01:45 |
| ← dviola left | 01:45 |
| → Es0teric joined | 01:45 |
| ← ilbot3 left | 01:46 |
| → sunri5e joined | 01:46 |
| ← Es0teric left | 01:47 |
| ← pks left | 01:48 |
| ← a_thakur left | 01:48 |
| → ilbot3 joined | 01:49 |
| ← alexandre9099 left | 01:49 |
| ← de-facto left | 01:49 |
| → LeBlaaanc joined | 01:50 |
| → pks joined | 01:50 |
| → alexandre9099 joined | 01:52 |
| ← cqi left | 01:52 |
| → de-facto joined | 01:52 |
| → fahadash joined | 01:52 |
| ← CheckDavid left | 01:54 |
| → hahuang61 joined | 01:54 |
| ← regedit left | 01:54 |
| ← dsdeiz left | 01:55 |
| ← dreiss left | 01:58 |
| → cvcxc__ joined | 01:59 |
| ← chipotle left | 02:00 |
| → lavalamp joined | 02:00 |
| ← d^sh left | 02:01 |
| ← cvcxc_ left | 02:02 |
| → alexandre9099_ joined | 02:02 |
| → d^sh joined | 02:03 |
| → dsdeiz joined | 02:03 |
| → chipotle joined | 02:04 |
| ← alexandre9099 left | 02:04 |
| alexandre9099_ → alexandre9099 | 02:04 |
| → buzzLightBeer joined | 02:06 |
| ← chachasmooth left | 02:06 |
| ← re1 left | 02:07 |
| → _W_ joined | 02:08 |
| ← buzzLightBeer left | 02:09 |
| → chachasmooth joined | 02:10 |
| ← Cabanossi left | 02:10 |
| ← Fallen0223 left | 02:10 |
| → Cabanossi joined | 02:11 |
| → buzzLightBeer joined | 02:13 |
| ← amdi_ left | 02:19 |
| → amdi_ joined | 02:20 |
| → roentgen joined | 02:20 |
| → raspado joined | 02:20 |
| → Chch joined | 02:21 |
| → lagothri1 joined | 02:21 |
| ← hexagoxel left | 02:22 |
| ← lagothrix left | 02:24 |
| ← thebope left | 02:25 |
| → Emperor_Earth joined | 02:26 |
| → madewokherd joined | 02:27 |
| → MrJoshua joined | 02:27 |
| → hexagoxel joined | 02:28 |
| ← roentgen left | 02:28 |
| ← raspado left | 02:30 |
| ← livingstn left | 02:30 |
| → raspado joined | 02:31 |
| → livingstn joined | 02:32 |
| → dreiss joined | 02:32 |
| → mizu_no_oto joined | 02:36 |
| → s2013 joined | 02:39 |
| → atrigent joined | 02:40 |
| → livingst_ joined | 02:41 |
| ← livingstn left | 02:42 |
| ← wagle left | 02:44 |
| → wagle joined | 02:44 |
| ← livingst_ left | 02:46 |
| ← lavalamp left | 02:47 |
| ← Gsham left | 02:49 |
| ← raspado left | 02:49 |
| ← drodger left | 02:49 |
| → raspado joined | 02:49 |
| → drodger joined | 02:51 |
| ← drodger left | 02:51 |
| ← amdi_ left | 02:52 |
| Guest27472 → ariver | 02:54 |
| ← snowkidind left | 02:54 |
| → jameser joined | 02:56 |
| → mischat joined | 02:56 |
| → Vortex35 joined | 02:57 |
| → drodger joined | 02:57 |
| → a_thakur joined | 02:59 |
| ← mizu_no_oto left | 02:59 |
| → thebope joined | 02:59 |
| ← ojdo left | 03:00 |
| ← aidalgol left | 03:00 |
| ← mischat left | 03:01 |
| ← Vortex34 left | 03:01 |
| ← chachasmooth left | 03:01 |
| ← buzzLightBeer left | 03:02 |
| ← thebope left | 03:04 |
| ← a_thakur left | 03:04 |
| → raynold joined | 03:05 |
| ← svm_invictvs left | 03:05 |
| ← tyreld left | 03:06 |
| → chachasmooth joined | 03:06 |
| → ojdo joined | 03:06 |
| ← Cabanossi left | 03:10 |
| → Cabanossi joined | 03:10 |
| → NoOutlet joined | 03:11 |
| ← dreiss left | 03:13 |
| ← GodGinrai left | 03:14 |
| ← Chch left | 03:15 |
| → andrew710 joined | 03:15 |
| → thedudez0r joined | 03:16 |
| ← atrigent left | 03:17 |
| → cqi joined | 03:19 |
| ← s2013 left | 03:20 |
| ← shinnya left | 03:20 |
| ← hahuang65 left | 03:22 |
| → kbeflo joined | 03:22 |
| ← sz0 left | 03:24 |
| ← hahuang61 left | 03:24 |
| → Awesomecase joined | 03:25 |
| → dreiss joined | 03:29 |
| → watabou joined | 03:30 |
| ← gugah left | 03:32 |
| ← fission6 left | 03:33 |
| cqi → cqi|lunch | 03:35 |
| → cyphase joined | 03:35 |
| → Skyfinn joined | 03:35 |
| ← NightMonkey left | 03:36 |
| → atrigent joined | 03:37 |
| → hahuang61 joined | 03:37 |
| → Atrumx joined | 03:38 |
| → buzzLightBeer joined | 03:39 |
| → aavrug joined | 03:39 |
| → NightMonkey joined | 03:40 |
| ← Cabanossi left | 03:40 |
| ← aavrug left | 03:40 |
| → Cabanossi joined | 03:40 |
| → aavrug joined | 03:41 |
| ← hahuang61 left | 03:42 |
| → bannakaf_ joined | 03:45 |
| → IRCFrEAK joined | 03:46 |
| ← mikecmpbll left | 03:47 |
| ← bannakaffalatta left | 03:47 |
| bannakaf_ → bannakaffalatta | 03:47 |
| ← IRCFrEAK left | 03:48 |
| ← MacWinner left | 03:51 |
| ← andrew710 left | 03:51 |
| → noteness_ joined | 03:51 |
| ← Ryanar left | 03:51 |
| ← MasterNayru left | 03:51 |
| → andrew710 joined | 03:52 |
| → MasterNayru joined | 03:53 |
| ← noteness left | 03:53 |
| → a_thakur joined | 03:53 |
| → thebope joined | 03:54 |
| → CmndrSp0ck joined | 03:54 |
| ← oxguy3 left | 03:56 |
| ← matoro left | 03:59 |
| ← thebope left | 03:59 |
| ← thedudez0r left | 03:59 |
| ← xissburg left | 04:00 |
| → matoro joined | 04:01 |
| ← prg3 left | 04:02 |
| ← a_thakur left | 04:02 |
| → a_thakur joined | 04:03 |
| → prg3 joined | 04:03 |
| → xissburg joined | 04:04 |
| → Goplat joined | 04:06 |
| → bocaneri joined | 04:07 |
| ← bocaneri left | 04:07 |
| → darkbit joined | 04:08 |
| ← Rodya__ left | 04:10 |
| → bocaneri joined | 04:11 |
| → Rodya_ joined | 04:11 |
| ← watabou left | 04:11 |
| ← Rodya_ left | 04:15 |
| ← jameser left | 04:16 |
| ← glebihan left | 04:20 |
| ← dreiss left | 04:20 |
| → mknod joined | 04:20 |
| → jameser joined | 04:21 |
| ← buzzLightBeer left | 04:21 |
| → dreiss joined | 04:23 |
| → Andrew_K joined | 04:24 |
| → mehola joined | 04:24 |
| ← safe left | 04:25 |
| ← atrigent left | 04:25 |
| ← ekinmur left | 04:26 |
| ← darkbit left | 04:27 |
| → nevodka joined | 04:27 |
| → elinux joined | 04:31 |
| → starkhalo joined | 04:35 |
| ← oskarkv left | 04:38 |
| ← nowhere_man left | 04:39 |
| → menip joined | 04:39 |
| → aidalgol joined | 04:40 |
| → Noodlewitt joined | 04:41 |
| → nowhere_man joined | 04:43 |
| ← andrew710 left | 04:43 |
| → buzzLightBeer joined | 04:43 |
| → shinnya joined | 04:43 |
| → atrigent joined | 04:45 |
| → zerow joined | 04:45 |
| ← holodoc left | 04:46 |
| ← fakenerd left | 04:47 |
| → holodoc joined | 04:48 |
| ← buzzLightBeer left | 04:50 |
| → hvn0413 joined | 04:50 |
| ← raspado left | 04:51 |
| → raspado joined | 04:51 |
| ← hvn0413 left | 04:51 |
| ← oleo left | 04:53 |
| → atrigent_ joined | 04:55 |
| ← atrigent left | 04:56 |
| atrigent_ → atrigent | 04:56 |
| ← raspado left | 04:56 |
| → ayogi joined | 04:56 |
| ← fahadash left | 04:57 |
| → andrew710 joined | 04:58 |
| ← drodger left | 05:01 |
| → rscata joined | 05:02 |
| → hotbobby joined | 05:02 |
|
hotbobby
| when trying to update my fork to the original. base fork is mine and head fork is the original? | 05:02 |
|
| i dont want to accidentally send a pull request to the original repo | 05:02 |
| ← rscata left | 05:03 |
| → dec0n joined | 05:03 |
| ← a_thakur left | 05:04 |
| → bakibour joined | 05:05 |
| ← bakibour left | 05:05 |
|
dmc
| not familiar with the terms "base fork" and "head fork" | 05:05 |
| → bourbaki joined | 05:05 |
|
dmc
| I tend to have upstream as the origin remote | 05:05 |
|
hotbobby
| im using the github website | 05:05 |
|
| it refers to them as base and head forks | 05:05 |
|
dmc
| and name the remote for my fork "fork" | 05:05 |
|
bourbaki
| Hidiho, i get the following error, as you can see im running Windows (fatal: could not create leading directories of 'C:/Program Files (x86)/Jenkins/workspace/BuildUpdate/StudioSettings/Global/.git') | 05:06 |
| ← dsdeiz left | 05:06 |
|
dmc
| hotbobby, #github | 05:06 |
|
bourbaki
| I read that it is a problem to use single quotes for paths with whitespaces, is this correct? | 05:06 |
| → rscata joined | 05:06 |
|
hotbobby
| dmc: sorry i thought thats what this was -- im in the wrong place :P | 05:07 |
|
dmc
| heheh | 05:07 |
|
bourbaki
| This error has been produced by a, git submodule update | 05:07 |
| → dsdeiz joined | 05:07 |
| → drodger joined | 05:07 |
| ← hotbobby left | 05:08 |
| ← Cabanossi left | 05:09 |
| cqi|lunch → cqi | 05:10 |
|
Renter
| I just found out about git push origin :branchname | 05:10 |
|
| thanks linus | 05:11 |
|
| thanks | 05:11 |
| → a_thakur joined | 05:11 |
| → Cabanossi joined | 05:11 |
| → Rodya_ joined | 05:11 |
|
dmc
| lol | 05:12 |
| → mischat joined | 05:12 |
| ← nowhere_man left | 05:12 |
| → nowhere_man joined | 05:13 |
| ← orbyt_ left | 05:14 |
| ← Rodya_ left | 05:16 |
| ← mischat left | 05:17 |
| → GT4066 joined | 05:18 |
| → Brski joined | 05:18 |
|
Renter
| the worst part about it is looking at it it starts to make sense | 05:19 |
|
| I can feel it sinking into my brain as something I'll just quietly accept, and in a year or so explain to someone 'oh, it's easy you just...' | 05:19 |
| ← Lyqyd left | 05:21 |
| → jungsubk joined | 05:21 |
| ← Skyfinn left | 05:22 |
| → darkbit joined | 05:22 |
| → Skyfinn joined | 05:22 |
| → ozmage joined | 05:22 |
| → raijin joined | 05:22 |
| → glebihan joined | 05:25 |
| ← nowhere_man left | 05:26 |
| → ozmage_ joined | 05:26 |
| → bariscant joined | 05:26 |
| → nowhere_man joined | 05:26 |
| → Nilesh_ joined | 05:27 |
| → fakenerd joined | 05:27 |
| → sncder joined | 05:27 |
| ← ozmage left | 05:28 |
| ← fakenerd left | 05:28 |
| → fakenerd joined | 05:28 |
| → Raging_Hog joined | 05:28 |
| ← Skyfinn left | 05:28 |
| ← atrigent left | 05:29 |
| ← _August_ left | 05:29 |
| ← marianina8 left | 05:29 |
| → _August_ joined | 05:30 |
|
yushyin
| Renter: but you can also use git push origin --delete <branchname> | 05:30 |
| ← DolphinDream left | 05:30 |
| ← nowhere_man left | 05:30 |
| ← bariscant left | 05:31 |
| → nowhere_man joined | 05:31 |
| ← bourbaki left | 05:32 |
| ← ozmage_ left | 05:32 |
| → Mo joined | 05:33 |
| ← jungsubk left | 05:34 |
| → overlord_tm joined | 05:35 |
| → acetakwas joined | 05:36 |
| → hahuang61 joined | 05:38 |
| → dersand joined | 05:39 |
| → imack joined | 05:41 |
| ← pks left | 05:41 |
| → pks joined | 05:41 |
| → Mindiell joined | 05:42 |
| → thebope joined | 05:42 |
|
Mindiell
| hi there, I installed a git server and now, each time I do a "git push", the user gt stays connected | 05:42 |
|
| s/gt/git | 05:42 |
| ← nckpz left | 05:42 |
|
Mindiell
| so, after some days of work I got a lot of "git sessions git@notty" | 05:43 |
| ← kodo[m] left | 05:43 |
| ← hahuang61 left | 05:43 |
|
Mindiell
| if anyone knows the problem... you'll be welcome ;) | 05:43 |
| → frobnic joined | 05:45 |
| ← thebope left | 05:46 |
| → geoid joined | 05:46 |
| → go1111111 joined | 05:47 |
| → svm_invictvs joined | 05:47 |
| ← menip left | 05:48 |
| ← inflames left | 05:50 |
| ← shinnya left | 05:50 |
| ← go1111111 left | 05:51 |
| → go1111111 joined | 05:52 |
| → MutantMahesh joined | 05:53 |
| ← nowhere_man left | 05:53 |
| ← Brski left | 05:53 |
| → ThomasLocke joined | 05:53 |
| ← Cabanossi left | 05:53 |
| → freimatz joined | 05:54 |
| → nowhere_man joined | 05:54 |
| → Cabanossi joined | 05:56 |
| ← diogenese left | 05:56 |
| → marianina8 joined | 05:56 |
| → Assault joined | 05:57 |
| → rokups joined | 05:57 |
| → diogenese joined | 05:58 |
| ← ahrs left | 06:00 |
| ← boombatower left | 06:00 |
| ← marianina8 left | 06:01 |
| ← go1111111 left | 06:02 |
| ← onehrxn left | 06:02 |
| ← HurricaneHarry left | 06:02 |
| ← dendazen left | 06:03 |
| → HurricaneHarry joined | 06:07 |
| → jagob joined | 06:08 |
| → jungsubk joined | 06:08 |
| → Silmarilion joined | 06:09 |
| → t0by joined | 06:10 |
| ← t0by left | 06:10 |
| → t0by joined | 06:10 |
| ← jungsubk left | 06:13 |
| ← a_thakur left | 06:13 |
| → Rodya_ joined | 06:13 |
| → go1111111 joined | 06:13 |
| ← raynold left | 06:14 |
| → MutantMa_ joined | 06:15 |
| → a_thakur joined | 06:15 |
| → jungsubk joined | 06:15 |
| → cam27_ joined | 06:15 |
| → marianina8 joined | 06:15 |
| → chele joined | 06:15 |
| ← pks left | 06:16 |
| ← cam27 left | 06:16 |
| cam27_ → cam27 | 06:16 |
| ← MutantMahesh left | 06:16 |
| → pks joined | 06:16 |
| → inflames joined | 06:17 |
| ← Rodya_ left | 06:17 |
| ← TomyLobo2 left | 06:20 |
| ← thiago left | 06:20 |
| ← marianina8 left | 06:20 |
| → z8z joined | 06:22 |
| → thiago joined | 06:23 |
| → schleppel joined | 06:24 |
| ← TikityTik left | 06:25 |
| → zerow_ joined | 06:27 |
| ← cam27 left | 06:27 |
| ← jungsubk left | 06:29 |
| ← raijin left | 06:30 |
| → raijin joined | 06:30 |
| ← zerow left | 06:30 |
| → jnavila joined | 06:31 |
| ← zerow_ left | 06:31 |
| → zerow joined | 06:32 |
| → zeroed joined | 06:33 |
| ← zeroed left | 06:33 |
| → zeroed joined | 06:33 |
| → King_Hual joined | 06:34 |
| ← King_Hual left | 06:34 |
| → King_Hual joined | 06:34 |
| → qt-x joined | 06:35 |
| ← sncder left | 06:35 |
| → sncder joined | 06:36 |
| → thebope joined | 06:36 |
| ← sncder left | 06:37 |
| → hahuang61 joined | 06:39 |
| ← thebope left | 06:41 |
| → patarr joined | 06:41 |
| → sncder joined | 06:41 |
| ← go1111111 left | 06:42 |
| ← dnukem left | 06:42 |
| → masuberu joined | 06:43 |
| → starkhallo joined | 06:44 |
| ← starkhalo left | 06:44 |
| ← nowhere_man left | 06:44 |
| ← hahuang61 left | 06:44 |
| ← patarr left | 06:46 |
| ← dreiss left | 06:46 |
| ← starkhallo left | 06:46 |
| ← aboccia left | 06:46 |
| → aboccia joined | 06:46 |
| ← Zarthus left | 06:47 |
| → roelmonnens joined | 06:47 |
| ← MathNeverEnds left | 06:50 |
| → Zarthus joined | 06:50 |
| → chardan joined | 06:51 |
| → fbwnd joined | 06:52 |
| → go1111111 joined | 06:53 |
| ← Cabanossi left | 06:54 |
| ← inflames left | 06:55 |
| ← CmndrSp0ck left | 06:55 |
| → Cabanossi joined | 06:56 |
| ← masuberu left | 06:59 |
| → TomyWork joined | 06:59 |
| ← cyberz left | 07:01 |
| → cyberz joined | 07:03 |
| ← chardan left | 07:06 |
| → mischat joined | 07:06 |
| → govg joined | 07:09 |
| ← go1111111 left | 07:10 |
| ← d0nn1e_ left | 07:11 |
| ← Noodlewitt left | 07:11 |
| → trondth joined | 07:12 |
| ← trondth left | 07:12 |
| → trondth joined | 07:13 |
| ← mischat left | 07:13 |
| → masuberu joined | 07:13 |
| → Rodya_ joined | 07:13 |
| → kbeflo_ joined | 07:14 |
| → zefferno joined | 07:15 |
| ← justan0theruser left | 07:15 |
| ← peterbecich left | 07:16 |
| ← kbeflo left | 07:17 |
| → no_gravity joined | 07:18 |
| ← lucasem left | 07:18 |
| ← Rodya_ left | 07:19 |
|
no_gravity
| Where is the git config file that has the info about user email and stuff? | 07:19 |
|
frobnic
| no_gravity: https://git-scm.com/book/tr/v2/Customizing-Git-Git-Configuration | 07:20 |
|
_ikke_
| no_gravity: git config --global -l | 07:21 |
|
no_gravity
| I found it in ~/.gitconfig | 07:21 |
|
frobnic
| that's not the whole story :) (and i have no idea, why my link is turkish) | 07:21 |
| → chardan joined | 07:22 |
| → go1111111 joined | 07:23 |
| ← _August_ left | 07:23 |
| → _August_ joined | 07:24 |
| → thebope joined | 07:30 |
| → dvaske_ joined | 07:31 |
| ← pietv left | 07:34 |
| ← thebope left | 07:34 |
| → eahmedshendy joined | 07:36 |
| → MineCoins joined | 07:36 |
| ← nevodka left | 07:37 |
| → jungsubk joined | 07:38 |
| ← Cabanossi left | 07:38 |
| → Cabanossi joined | 07:40 |
| ← King_Hual left | 07:41 |
| → nowhere_man joined | 07:41 |
| ← zeroed left | 07:42 |
| → lucasem joined | 07:43 |
| → Silenced joined | 07:46 |
| ← Silenced left | 07:46 |
| → Silenced joined | 07:46 |
| → sbasso joined | 07:46 |
| ← a_thakur left | 07:47 |
| → a_thakur joined | 07:47 |
| → IRQ` joined | 07:48 |
| → Balliad joined | 07:48 |
| ← a_thakur left | 07:51 |
| → a_thakur joined | 07:52 |
| ← _August_ left | 07:53 |
| → _August_ joined | 07:53 |
| ← madewokherd left | 07:54 |
| ← a_thakur left | 07:54 |
| → plexigras joined | 07:54 |
| ← go1111111 left | 07:54 |
| ← geoid left | 07:54 |
| → a_thakur joined | 07:54 |
|
Mindiell
| hi there, I installed a git server and now, each time I do a "git push", the user git stays connected (pam session git@notty) | 07:54 |
|
| so, after some days of work I got a lot of "git sessions git@notty" | 07:54 |
|
| any idea is welcome ;o) | 07:55 |
| ← freimatz left | 07:55 |
|
immae
| Mindiell: what kind of git server? | 07:56 |
| → octo8_ joined | 07:56 |
| ← robattila256 left | 07:56 |
| ← nowhere_man left | 07:56 |
| → fees joined | 07:57 |
| ← octo8_ left | 07:57 |
| → dvaske joined | 07:59 |
| ← dvaske_ left | 07:59 |
| ← hurricanehrndz left | 08:00 |
| → kurkale6ka joined | 08:00 |
| → xywbtu joined | 08:01 |
| → aard_ joined | 08:01 |
| → hurricanehrndz joined | 08:01 |
| → tvw joined | 08:02 |
| → Glooomy joined | 08:03 |
|
grawity
| maybe your ssh client has automatic multiplexing enabled | 08:03 |
|
| although in that case it ought to only have one connection, not a ton | 08:04 |
| → MonkOfCity joined | 08:05 |
| → xaa joined | 08:05 |
| ← HardlySeen left | 08:06 |
| → theoceaniscool joined | 08:07 |
| → bumbar joined | 08:07 |
| → HardlySeen joined | 08:08 |
| → rominronin joined | 08:09 |
| → User458764 joined | 08:09 |
|
bumbar
| i've used http://stackoverflow.com/a/36463546 to move my last commit to a new branch, pushed new branch but the commit is still on master, should i just do "git reset --hard HEAD~1"? | 08:10 |
| → peterbecich joined | 08:12 |
| ← jungsubk left | 08:12 |
| ← fakenerd left | 08:14 |
| rominronin → ronin_work | 08:14 |
| ← dave0x6d left | 08:15 |
| → Rodya_ joined | 08:16 |
| → ShapeShifter499 joined | 08:16 |
| → Whiskey joined | 08:16 |
| ← thiago left | 08:18 |
| → elect joined | 08:18 |
| ← peterbecich left | 08:19 |
| → Assault_ joined | 08:19 |
| → fakenerd joined | 08:19 |
| → pietv joined | 08:19 |
| ← Rodya_ left | 08:20 |
| → thiago joined | 08:20 |
| ← pietv left | 08:21 |
| → marcogmonteiro joined | 08:21 |
| ← quite left | 08:21 |
| → quite joined | 08:22 |
| ← Assault left | 08:23 |
| ← z8z left | 08:23 |
| → jungsubk joined | 08:23 |
| ← a_thakur left | 08:23 |
| → bronson_ joined | 08:24 |
| → thebope joined | 08:24 |
| → notebox joined | 08:25 |
| → pietv joined | 08:25 |
| ← thiago left | 08:26 |
| ← rchavik left | 08:26 |
| ← sbasso left | 08:26 |
| ← acetakwas left | 08:26 |
| ← bronson left | 08:26 |
| → acetakwas joined | 08:27 |
| ← Mo left | 08:27 |
| ← jason237 left | 08:28 |
| ← thebope left | 08:28 |
| → thiago joined | 08:30 |
| ← MarioBranco left | 08:31 |
| → MarioBranco joined | 08:32 |
|
ij
| Does filter-branch work backwards? | 08:32 |
| ← jnewt left | 08:32 |
|
grawity
| no, it has to start from the root(s) | 08:32 |
|
ij
| Ah, I understood what I don't. | 08:33 |
|
| take commit, checkout tree, apply command, add ., commit. So conflicts aren't a problem. | 08:34 |
| → jason237 joined | 08:35 |
| → jstein_ joined | 08:35 |
| ← govg left | 08:36 |
| → dumacdev joined | 08:37 |
| jstein_ → jstein | 08:37 |
| → nowhere_man joined | 08:38 |
| → thebird joined | 08:40 |
| → hahuang61 joined | 08:40 |
| → manuelschneid3r joined | 08:41 |
| → patarr joined | 08:42 |
| ← ShapeShifter499 left | 08:43 |
| → a_thakur joined | 08:43 |
| ← hahuang61 left | 08:45 |
| ← dumacdev left | 08:46 |
| ← fbwnd left | 08:46 |
| ← patarr left | 08:46 |
| → Tobbi joined | 08:47 |
| ← notebox left | 08:47 |
| ← MarioBranco left | 08:48 |
| ← no_gravity left | 08:48 |
| → clmsy joined | 08:51 |
| ← Goplat left | 08:53 |
| → venmx joined | 08:54 |
| ← svm_invictvs left | 08:54 |
| → geoid joined | 08:55 |
| ← Cabanossi left | 08:55 |
| ← t0by left | 08:55 |
| → Cabanossi joined | 08:55 |
| → Darcidride joined | 08:56 |
| ← CaptainHeavy_ left | 08:56 |
| ← jnavila left | 08:56 |
| → jnavila joined | 08:57 |
| ← venmx left | 08:59 |
| ← geoid left | 08:59 |
| ← dvaske left | 08:59 |
| → dvaske joined | 09:00 |
| → varo joined | 09:02 |
|
varo
| hello, can anyone tell me how to find out the last common commit for two diverged branches? | 09:03 |
| → delboy1978uk joined | 09:03 |
|
delboy1978uk
| how i can i check if my branch for a ticket i'm working on has been merged on another branch? | 09:04 |
|
kadoban
| varo: Sounds like man git merge-base | 09:04 |
|
gitinfo
| varo: the git-merge-base manpage is available at http://jk.gs/git-merge-base.html | 09:04 |
|
delboy1978uk
| i need to check if my branch S6920 has been merged into branch env-reference, how can i check this? | 09:06 |
|
osse
| delboy1978uk: git merge-base --is-ancestor S6920 env-reference | 09:06 |
|
delboy1978uk
| osse: you da man! thank you very much! | 09:06 |
| bocaneri → Sauvin | 09:07 |
|
delboy1978uk
| should i get outputr for that? i got nothing | 09:07 |
| → miczac joined | 09:07 |
| gitinfo set mode: +v | 09:08 |
| → geoid joined | 09:09 |
| ← zerow left | 09:09 |
|
kadoban
| delboy1978uk: It signals via exit code, slightly unfortunately. You can do git merge-base --is-ancestor S6920 env-reference && echo "yep" I suppose | 09:09 |
| → mischat joined | 09:10 |
| ← thebird left | 09:11 |
| → dnukem joined | 09:14 |
| → peterbecich joined | 09:15 |
|
delboy1978uk
| kadoban: i use zsh, so either get a green prompt or a red prompt. it was red both times i ran it | 09:15 |
| ← mischat left | 09:15 |
| → Rodya_ joined | 09:16 |
| ← Glooomy left | 09:18 |
| → thebope joined | 09:18 |
| ← masuberu left | 09:19 |
| ← _Vi left | 09:19 |
| ← peterbecich left | 09:20 |
| ← Rodya_ left | 09:20 |
| ← Atm0spher1c left | 09:21 |
| → ankit01ojha joined | 09:22 |
| ← thebope left | 09:23 |
| → Glooomy joined | 09:24 |
| → sbasso joined | 09:26 |
| ← delboy1978uk left | 09:26 |
| → Murii joined | 09:27 |
| → kexmex joined | 09:27 |
| → thebird joined | 09:28 |
| → jnewt joined | 09:29 |
| ← jungsubk left | 09:35 |
| ← de-facto left | 09:35 |
| ← alezandro left | 09:36 |
| ← pinkkis left | 09:36 |
| ← mehola left | 09:38 |
| → de-facto joined | 09:39 |
| → alezandro joined | 09:39 |
| ← sbasso left | 09:40 |
| ← sarri left | 09:43 |
| ← User458764 left | 09:43 |
| → octo8 joined | 09:44 |
|
octo8
| Hello, i have a simple question about git webhooks, can you lend me a hand ? http://stackoverflow.com/questions/43065897/webhook-php-file-work-from-terminal-but-not-from-bitbucket | 09:44 |
| ← thebird left | 09:45 |
| ← aidalgol left | 09:47 |
| → afuentes joined | 09:47 |
| ← manuelschneid3r left | 09:49 |
| ← cdown left | 09:52 |
| → thebird joined | 09:52 |
| → Guest90 joined | 09:53 |
| → sarri joined | 09:53 |
| ← sarri left | 09:53 |
| → sarri joined | 09:53 |
|
varo
| kadoban: thanks, that was it | 09:53 |
| ← Cabanossi left | 09:54 |
| ← Guest90 left | 09:54 |
| ← kbeflo_ left | 09:55 |
| → no_gravity joined | 09:55 |
|
no_gravity
| Hello! In a .gitignore file, What do the lines "*" and "!.gitignore" mean? | 09:55 |
| → firebadam joined | 09:55 |
| → kbeflo_ joined | 09:55 |
| → Cabanossi joined | 09:56 |
| ← sunrunner20 left | 09:56 |
| ← kbeflo_ left | 09:56 |
| → YuGiOhJCJ joined | 09:56 |
| → kbeflo_ joined | 09:57 |
| → cdown joined | 09:57 |
| ← kbeflo_ left | 09:58 |
| → kbeflo_ joined | 09:58 |
|
tobiasvl
| no_gravity: man gitignore | 09:58 |
|
gitinfo
| no_gravity: the gitignore manpage is available at http://jk.gs/gitignore.html | 09:58 |
| ← kbeflo_ left | 09:58 |
|
tobiasvl
| no_gravity: * means ignore everything, !.gitignore means don't ignore .gitignore | 09:59 |
| → kbeflo_ joined | 09:59 |
| ← am55 left | 09:59 |
| ← theoceaniscool left | 10:00 |
| ← kbeflo_ left | 10:00 |
|
tolland
| ive lost a file in git somewhere, not sure if its in a stash or a branch, is there an option to grep/find through stash and branches? | 10:00 |
| → arobert joined | 10:00 |
| → kbeflo_ joined | 10:00 |
| ← kbeflo_ left | 10:01 |
| → sbasso joined | 10:01 |
| → kbeflo_ joined | 10:02 |
| → ferr1 joined | 10:02 |
| → ronskisika joined | 10:03 |
| ← Raging_Hog left | 10:03 |
| → kbeflo__ joined | 10:03 |
| ← Remramm left | 10:04 |
| ← aviraldg left | 10:04 |
| ← hiq[m] left | 10:04 |
| ← am2on left | 10:04 |
| ← dyce[m] left | 10:04 |
| ← flo[m] left | 10:04 |
| ← Elliott[m]1 left | 10:04 |
| ← M-meznak left | 10:04 |
| ← KevinMGranger left | 10:04 |
| ← monomon[m]1 left | 10:04 |
| ← Retropikzel[m] left | 10:04 |
| ← spinningarrow[m] left | 10:04 |
| ← unclechu left | 10:04 |
| ← logos[m] left | 10:04 |
| ← jascot[m] left | 10:04 |
| ← patrickr[m] left | 10:04 |
| ← elwan7[m] left | 10:04 |
| ← SpEcHiDe left | 10:04 |
| ← UncleCJ1 left | 10:04 |
| ← heftig left | 10:04 |
| ← saintaquinas[m] left | 10:04 |
| ← musicmatze[m] left | 10:04 |
| ← keks[m] left | 10:04 |
| ← dikiaap left | 10:04 |
| ← kbeflo__ left | 10:04 |
| → kbeflo__ joined | 10:05 |
|
osse
| tolland: git grep | 10:05 |
| → arobert_ joined | 10:05 |
|
osse
| tolland: with liberal use of git rev-list in a loop | 10:05 |
| ← no_gravity left | 10:06 |
| gitinfo set mode: +v | 10:06 |
|
arobert_
| Hello, i'm trying to install and configure A git server on Windows 2016 with SSH auth. I tried everything, but when i try my final git push (from my local computer to the remote) it's not working : I have this message : "fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." | 10:06 |
|
| Someone to help me ? :) | 10:06 |
| → govg joined | 10:06 |
| → Raging_Hog joined | 10:07 |
| ← ronskisika left | 10:07 |
| ← kbeflo_ left | 10:07 |
| → Assault__ joined | 10:08 |
| ← jameser left | 10:09 |
| ← MineCoins left | 10:09 |
| → mischat joined | 10:11 |
| ← bmahe left | 10:12 |
| → mikecmpbll joined | 10:12 |
| ← Darcidride left | 10:12 |
| ← miczac left | 10:12 |
| → delboy1978uk joined | 10:12 |
| → thebope joined | 10:12 |
| ← Assault_ left | 10:12 |
| → theoceaniscool joined | 10:13 |
|
delboy1978uk
| how do i resolve a conflict without editing, syaing, just use my version of the file? | 10:13 |
|
selckin
| i usually just tell me my mergetool to do that | 10:14 |
| ← cqi left | 10:14 |
| ← tvw left | 10:14 |
| → tvw joined | 10:15 |
|
osse
| delboy1978uk: git checkout --ours filename | 10:15 |
| ← acetakwas left | 10:15 |
| ← dnukem left | 10:16 |
|
delboy1978uk
| osse: thanks again! no idea how many times you've helped me now! If you're ever in Belgium, I'll buy you a beer! :-) | 10:16 |
| → peterbecich joined | 10:16 |
|
osse
| delboy1978uk: note that this will also pick your version even in the parts of the file that git was able to resolve | 10:16 |
|
| also, I've been sober for ten years | 10:17 |
|
| JUST KIDDING LOL | 10:17 |
| → acetakwas joined | 10:17 |
| ← de-facto left | 10:17 |
|
delboy1978uk
| lol | 10:17 |
| ← mischat left | 10:17 |
| → Rodya_ joined | 10:17 |
| ← thebope left | 10:17 |
| ← firebadam left | 10:19 |
| → de-facto joined | 10:20 |
| → zerow joined | 10:20 |
| ← peterbecich left | 10:20 |
| → borkr joined | 10:20 |
| → aviraldg joined | 10:21 |
| ← Rodya_ left | 10:21 |
| → pinkkis joined | 10:23 |
| ← Raging_Hog left | 10:24 |
| → Raging_Hog joined | 10:24 |
| ← raijin left | 10:24 |
| ← zerow left | 10:25 |
| → DARSCODE joined | 10:25 |
| → masuberu joined | 10:27 |
| → hahuang61 joined | 10:28 |
| ← DARSCODE left | 10:28 |
| → ronskisika joined | 10:29 |
| ← Raging_Hog left | 10:29 |
| → mischat joined | 10:29 |
| ← dsdeiz left | 10:30 |
| ← hahuang61 left | 10:33 |
| ← kbeflo__ left | 10:34 |
| → kbeflo__ joined | 10:34 |
| → raynold joined | 10:35 |
| ← kbeflo__ left | 10:35 |
| → kbeflo__ joined | 10:36 |
| → CheckDavid joined | 10:37 |
| → blackwind_123 joined | 10:37 |
| ← govg left | 10:38 |
| → ncthom91 joined | 10:38 |
| ← chipotle left | 10:40 |
| → Noodlewitt joined | 10:40 |
| ← ncthom91 left | 10:41 |
| ← nowhere_man left | 10:41 |
| → patarr joined | 10:43 |
| → Guest90 joined | 10:43 |
| ← jagob left | 10:43 |
| → govg joined | 10:45 |
| ← Andrew_K left | 10:46 |
| → Ryanar joined | 10:46 |
| ← Doginal left | 10:46 |
| ← delboy1978uk left | 10:47 |
| ← patarr left | 10:48 |
| ← waveclaw left | 10:48 |
| ← Glooomy left | 10:48 |
| → dendazen joined | 10:49 |
| ← Silenced left | 10:50 |
| → MineCoins joined | 10:51 |
| ← dendazen left | 10:52 |
| ← Assault__ left | 10:52 |
| ← kexmex left | 10:53 |
| → Assault__ joined | 10:53 |
| ← kbeflo__ left | 10:54 |
| → kbeflo__ joined | 10:54 |
| → kexmex joined | 10:57 |
| ← jrnieder left | 10:58 |
| ← kbeflo__ left | 10:58 |
| → kbeflo__ joined | 10:59 |
| ← kexmex left | 10:59 |
| → Glooomy joined | 10:59 |
| → cqi joined | 11:02 |
| ← YuGiOhJCJ left | 11:02 |
| ← sbasso left | 11:02 |
| ← navidr left | 11:06 |
| → netroxen joined | 11:06 |
| ← kristofferR left | 11:06 |
| → zerow joined | 11:06 |
| → thebope joined | 11:07 |
| → dimi1947 joined | 11:07 |
| → Lunatrius` joined | 11:07 |
| ← netj left | 11:07 |
| → netj joined | 11:07 |
| ← Lunatrius left | 11:08 |
| Lunatrius` → Lunatrius | 11:08 |
| → Trpger joined | 11:09 |
| ← Trpger left | 11:09 |
| ← a3Dman left | 11:10 |
| → livingstn joined | 11:10 |
| ← askb left | 11:10 |
| ← livingstn left | 11:11 |
| ← thebope left | 11:12 |
| → jrnieder joined | 11:12 |
| → elsevero joined | 11:13 |
| → Andrew_K joined | 11:13 |
| ← elsevero left | 11:14 |
| ← govg left | 11:15 |
| → sbasso joined | 11:15 |
| → peacememories joined | 11:16 |
| → kexmex joined | 11:16 |
| → peterbecich joined | 11:17 |
| → Rodya_ joined | 11:18 |
| → Raging_Hog joined | 11:18 |
| ← ronskisika left | 11:19 |
| ← kexmex left | 11:21 |
| ← peterbecich left | 11:22 |
| ← Rodya_ left | 11:22 |
| → a3Dman joined | 11:23 |
| → mizu_no_oto joined | 11:23 |
| ← Guest90 left | 11:23 |
| → King_Hual joined | 11:25 |
| ← geoid left | 11:25 |
| ← Andrew_K left | 11:25 |
| ← cdown left | 11:25 |
| → Andrew_K joined | 11:26 |
| → geoid joined | 11:27 |
| ← geoid left | 11:29 |
| ← systemovich left | 11:31 |
| → kexmex joined | 11:31 |
| → systemovich joined | 11:32 |
| → Brski joined | 11:32 |
| ← octo8 left | 11:33 |
| ← sbasso left | 11:33 |
| → fission6 joined | 11:34 |
| → kbeflo_ joined | 11:35 |
| → Guest90 joined | 11:35 |
| ← theoceaniscool left | 11:36 |
| ← bouncy left | 11:36 |
| ← mikecmpbll left | 11:37 |
| → bouncy joined | 11:37 |
| ← ryxxed left | 11:37 |
| ← kbeflo__ left | 11:38 |
| → ryxxed joined | 11:38 |
| → DolphinDream joined | 11:40 |
| ← DolphinDream left | 11:41 |
| → User458764 joined | 11:41 |
| → kbeflo__ joined | 11:42 |
| → sbasso joined | 11:43 |
| ← kbeflo__ left | 11:44 |
| → kbeflo__ joined | 11:44 |
| ← kbeflo_ left | 11:45 |
| → SteffanW joined | 11:45 |
| ← mischat left | 11:46 |
| ← a3Dman left | 11:47 |
| ← scoobertron left | 11:47 |
| → LBV_User joined | 11:47 |
| → mischat joined | 11:48 |
| → chipotle joined | 11:48 |
| → scoobertron joined | 11:48 |
| → oskarkv joined | 11:48 |
| → maroloccio joined | 11:48 |
| → maxb joined | 11:48 |
| → a3Dman joined | 11:49 |
| ← cqi left | 11:51 |
| ← fakenerd left | 11:51 |
| → Sound joined | 11:52 |
| → waveclaw joined | 11:53 |
| → venmx joined | 11:53 |
| → kristofferR joined | 11:54 |
| → Darcidride joined | 11:54 |
| → wrouesnel joined | 11:54 |
| → mikecmpbll joined | 11:55 |
| ← fission6 left | 11:56 |
| ← andrew710 left | 11:57 |
| → nettoweb joined | 11:58 |
| ← venmx left | 11:58 |
| ← Raging_Hog left | 11:58 |
| → dsdeiz joined | 12:00 |
| → thebope joined | 12:01 |
|
arobert_
| Hello, i'm trying to install and configure A git server on Windows 2016 with SSH auth. I tried everything, but when i try my final git push (from my local computer to the remote) it's not working : I have this message : "fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists." | 12:01 |
|
| Someone to help me ? | 12:01 |
|
osse
| arobert_: make regular ssh work, then git will "Just Work" | 12:02 |
| ← eahmedshendy left | 12:02 |
| → jameser joined | 12:03 |
| → lacrymology joined | 12:03 |
| → King_Hual` joined | 12:03 |
| ← Guest90 left | 12:03 |
| ← Andrew_K left | 12:04 |
| → aax joined | 12:04 |
| → marianina8 joined | 12:04 |
| ← Noodlewitt left | 12:04 |
| ← aax left | 12:04 |
| ← King_Hual left | 12:05 |
| ← peacememories left | 12:05 |
| ← thebope left | 12:05 |
|
arobert_
| osse > actually, when i do (from my client) a simple ssh <myname>@<dnshost> it's working properly ... Should i grant users on the remote repository (or something like that) ? | 12:06 |
|
osse
| arobert_: what is the url you try to push to = | 12:06 |
|
arobert_
| "$ git remote -v origin robert@spsgit01:/c/Program Files/Git/repos/SQL.git (fetch) origin robert@spsgit01:/c/Program Files/Git/repos/SQL.git (push)" | 12:07 |
| ← xaa left | 12:07 |
|
osse
| and 'ssh robert@spsgit01' works ? | 12:07 |
| → Guest90 joined | 12:07 |
| ← kbeflo__ left | 12:07 |
| → kbeflo__ joined | 12:08 |
|
arobert_
| osse > yes | 12:08 |
| ← Cabanossi left | 12:08 |
|
osse
| arobert_: and once your there, does ls '/c/Program Files/Git/repos/SQL.git' work ? | 12:09 |
|
arobert_
| and /c/Program Files/Git/repos/SQL.get is a directory where i did a "git init --bare" | 12:09 |
| → peacememories joined | 12:09 |
|
arobert_
| I think yes : | 12:10 |
|
| robert@SPSGIT01 C:\Users\robert>ls '/c/Program Files/Git/repos/SQL.git' HEAD config description hooks info objects refs | 12:10 |
|
osse
| hmm | 12:10 |
|
arobert_
| Could it be a chmod issue ? | 12:11 |
| → Cabanossi joined | 12:11 |
|
osse
| yes | 12:11 |
|
| where did you do git init --bare from? | 12:11 |
|
| within ssh? a different user? | 12:11 |
| → eroux joined | 12:12 |
|
arobert_
| i did my "git init --bare" from git bash executed as administrator into this folder : '/c/Program Files/Git/repos/SQL.git' | 12:12 |
|
| (I can delete it and try again) | 12:13 |
| ← xywbtu left | 12:13 |
| ← peacememories left | 12:13 |
|
osse
| try it from within the ssh session | 12:13 |
| → dglambert joined | 12:13 |
|
dglambert
| yo | 12:13 |
|
osse
| if that doesn't work, try it somewhere that doesn't have spaces | 12:13 |
|
arobert_
| Ok i give it a try , thanks | 12:13 |
| ← Darcidride left | 12:13 |
| ← Ryanar left | 12:13 |
| ← yaewa left | 12:15 |
| → moei joined | 12:15 |
| ← Guest90 left | 12:16 |
| → Guest90 joined | 12:16 |
| → fedepad joined | 12:16 |
| → synthroid joined | 12:16 |
| ← dimi1947 left | 12:16 |
| → peterbecich joined | 12:18 |
| ← nettoweb left | 12:18 |
| → nowhere_man joined | 12:20 |
| → lmatteis joined | 12:22 |
| ← peterbecich left | 12:22 |
|
arobert_
| osse > I tried with no space in "/c/git/SQL.git". I have the same issue (fatal: ''/c/git/SQL.git'' does not appear to be a git repository fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists.) | 12:23 |
| ← jeffreylevesque left | 12:23 |
|
arobert_
| (I did the init from my client computer on a SSH session | 12:23 |
| ← howdoi left | 12:23 |
|
arobert_
| ) | 12:23 |
| ← Guest90 left | 12:24 |
| → dvaske_ joined | 12:24 |
| → Guest90 joined | 12:24 |
| ← dvaske left | 12:26 |
| ← Guest90 left | 12:26 |
| ← marianina8 left | 12:26 |
| → marianina8 joined | 12:26 |
| → firebadam joined | 12:27 |
| → FilipNortic joined | 12:28 |
| ← Glooomy left | 12:28 |
| ← eroux left | 12:28 |
| ← Sound left | 12:29 |
| → hahuang61 joined | 12:29 |
| → Gloomy joined | 12:29 |
| ← MineCoins left | 12:30 |
| ← aavrug left | 12:31 |
| ← marianina8 left | 12:31 |
| ← hahuang61 left | 12:34 |
| ← firebadam left | 12:34 |
| → karols146 joined | 12:35 |
| → quinq joined | 12:36 |
| → Sound joined | 12:36 |
| → justanotheruser joined | 12:36 |
| → xaa joined | 12:37 |
| → fission6 joined | 12:37 |
| → freimatz joined | 12:37 |
| ← fission6 left | 12:38 |
| → Ryanar joined | 12:38 |
| ← Cabanossi left | 12:39 |
| → fission6 joined | 12:40 |
| ← Tatou left | 12:40 |
| ← thebird left | 12:41 |
| → Cabanossi joined | 12:41 |
| → paul424 joined | 12:41 |
| → jeffreylevesque joined | 12:42 |
| → buffal0 joined | 12:42 |
| ← sbasso left | 12:42 |
| → MineCoins joined | 12:43 |
| → brent__ joined | 12:43 |
| → patarr joined | 12:44 |
|
arobert_
| osse > any idea for me ? | 12:44 |
|
osse
| arobert_: no | 12:44 |
|
| ls -R the bare repo and check permissions | 12:45 |
|
arobert_
| Ok nevermind :) Thanks any way :) | 12:45 |
|
quinq
| Hi, I'd like some advice on a merge situation. | 12:45 |
|
osse
| arobert_: nuke everything and do git init --bare --shared=world | 12:45 |
| → dendazen joined | 12:45 |
|
quinq
| I have currently two branches, master and newdev. I would like to swap those, but they have diverged a lot. | 12:45 |
|
| ie: rename master to olddev, newdev to master, set HEAD to new master. | 12:45 |
|
osse
| arobert_: and finally do GIT_TRACE=1 git push from the local repo to see what commands are invoked | 12:45 |
|
quinq
| But I'm afraid doing so will break clones because now master is a different branch. | 12:45 |
| → saintaquinas[m] joined | 12:45 |
| → am2on joined | 12:45 |
| → heftig joined | 12:45 |
| → patrickr[m] joined | 12:45 |
| → Elliott[m]1 joined | 12:45 |
| → dyce[m] joined | 12:45 |
| → monomon[m] joined | 12:45 |
| → KevinMGranger joined | 12:45 |
| → UncleCJ joined | 12:45 |
| → jascot[m] joined | 12:45 |
| → dikiaap joined | 12:45 |
| → hiq[m] joined | 12:45 |
| → unclechu joined | 12:45 |
| → spinningarrow[m] joined | 12:45 |
| → Remramm joined | 12:45 |
| → SpEcHiDe joined | 12:45 |
| → flo[m] joined | 12:45 |
| → musicmatze[m] joined | 12:45 |
| → M-meznak joined | 12:45 |
| → keks[m] joined | 12:45 |
| → logos[m] joined | 12:45 |
| → elwan7[m] joined | 12:45 |
|
quinq
| Is there a way I could achieve that making it easy on distant clones (or maybe I'm doing it wrong) | 12:45 |
|
osse
| arobert_: but all of that is just investigation | 12:46 |
| → Retropikzel[m] joined | 12:46 |
| ← paul424 left | 12:46 |
| → fakenerd joined | 12:46 |
|
arobert_
| Ok thanks osse, i try | 12:46 |
| ← blackwind_123 left | 12:47 |
| ← brent__ left | 12:48 |
| ← patarr left | 12:49 |
| → yehowyada joined | 12:50 |
| ← mizu_no_oto left | 12:50 |
| → thebird joined | 12:50 |
| → theoceaniscool joined | 12:52 |
| ← karols146 left | 12:52 |
| → dvaske__ joined | 12:53 |
| → UrsoBranco joined | 12:54 |
| ← dsdeiz left | 12:54 |
| → sbasso joined | 12:54 |
| ← dvaske_ left | 12:54 |
| → thebope joined | 12:55 |
| → Emperor_Earth_ joined | 12:56 |
| → ispn joined | 12:57 |
| ← Emperor_Earth left | 12:57 |
| ← Balliad left | 12:58 |
| → _Vi joined | 12:58 |
| → karols146 joined | 12:59 |
| ← thebope left | 12:59 |
| → ExoUNX joined | 13:00 |
| → Guest90 joined | 13:01 |
| ← qt-x left | 13:04 |
| ← CheckDavid left | 13:04 |
| ← bannakaffalatta left | 13:05 |
| ← Silmarilion left | 13:06 |
| → cdg joined | 13:07 |
| ← Guest90 left | 13:07 |
| → miczac joined | 13:09 |
| ← acetakwas left | 13:09 |
| gitinfo set mode: +v | 13:10 |
| ← Cabanossi left | 13:10 |
| → cam27 joined | 13:10 |
| → Cabanossi joined | 13:11 |
| → muhannad____ joined | 13:11 |
| → regedit joined | 13:12 |
| ← overlord_tm left | 13:13 |
| → jungsubk joined | 13:14 |
| ← holodoc left | 13:15 |
| → sotoz joined | 13:16 |
| ← MineCoins left | 13:16 |
| → holodoc joined | 13:17 |
| → acetakwas joined | 13:18 |
| → peterbecich joined | 13:18 |
| ← xaa left | 13:19 |
| → Rodya_ joined | 13:19 |
| ← acetakwas left | 13:19 |
| ← fakenerd left | 13:20 |
| ← ayogi left | 13:20 |
| → acetakwas joined | 13:20 |
| ← miczac left | 13:21 |
| ← MonkOfCity left | 13:21 |
| ← acetakwas left | 13:22 |
| ← jungsubk left | 13:22 |
| → acetakwas joined | 13:22 |
| ← peterbecich left | 13:23 |
| → jeffreylevesque_ joined | 13:23 |
| ← Rodya_ left | 13:24 |
| → fakenerd joined | 13:24 |
| → CheckDavid joined | 13:27 |
| ← jeffreylevesque left | 13:27 |
| ← LeBlaaanc left | 13:27 |
| → gunnaro joined | 13:29 |
| → ekinmur joined | 13:29 |
| ← xanadu_ left | 13:30 |
| → chigang joined | 13:31 |
| ← thebird left | 13:32 |
| ← pietv left | 13:32 |
| ← karols146 left | 13:33 |
| → Dougie187 joined | 13:34 |
| → thebope joined | 13:35 |
| ← mostlybadfly left | 13:35 |
| → GodGinrai joined | 13:36 |
| → no_gravity joined | 13:36 |
| ← Murii left | 13:36 |
| → livingstn joined | 13:36 |
| → gugah joined | 13:36 |
|
no_gravity
| Is there a way to make "git diff" and "git log --patch" show differences within a line? | 13:36 |
|
| And not just "-old line / +new line"? | 13:37 |
| → publio joined | 13:37 |
|
_ikke_
| no_gravity: --color-words | 13:37 |
|
jast
| or --word-diff if you prefer less colours | 13:38 |
|
no_gravity
| Interesting. | 13:38 |
|
jast
| hmm, actually I guess the global colour settings affect that one, too | 13:38 |
|
rigid
| is there a way to debug git-http-backend ? I think I got some ENV vars wrong but i'm not sure which | 13:39 |
|
no_gravity
| It gets it somewhot wrong though | 13:39 |
| ← Cabanossi left | 13:39 |
|
jast
| --word-diff adds extra markers, --word-diff=color and --color-words (equivalent) do not | 13:39 |
|
no_gravity
| In a line where only a few chars were deleted, it thinks more got deleted and some of the same was reinserted. | 13:39 |
|
rigid
| my nginx error log says "no user/password was provided for basic authentication" which can't be true | 13:39 |
| → xanadu_ joined | 13:39 |
|
jast
| without knowing anything specific about nginx, that doesn't seem unusual | 13:40 |
| ← Ryanar left | 13:40 |
|
jast
| for instance, a browser's first attempt to access a 401-protected resource does not include a user/password, either | 13:40 |
| → Cabanossi joined | 13:41 |
| → visual joined | 13:41 |
|
visual
| hey guys | 13:41 |
| ← Assault__ left | 13:42 |
|
visual
| i come to you again with a question | 13:42 |
|
| supposing i want to add a remote repository to my local project (that should be like 99% the same files as in the repo) | 13:42 |
|
rigid
| jast: well, when I take out all the CGI stuff and just autoindex the directory, the authentication succeeds. I think either user/pass is not forwarded to git-http-backend (although REMOTE_USER is passed) or something else is wrong. ? | 13:42 |
|
visual
| how would i go about it? | 13:42 |
| → shinnya joined | 13:42 |
|
visual
| git init, git add remote, git checkout, git push? | 13:43 |
| ← SteffanW left | 13:43 |
|
jast
| rigid: git-http-backend actually doesn't care about the user, it doesn't do authorization anyway | 13:43 |
| → Ryanar joined | 13:44 |
| → Isla_de_Muerte joined | 13:44 |
| → SteffanW joined | 13:44 |
|
rigid
| jast: ah ok. good to know. | 13:44 |
|
| i'm trying again from scratch... | 13:44 |
| ← Ryanar left | 13:44 |
|
no_gravity
| visual: It sounds like you want to "git remote add origin ..." | 13:45 |
|
jast
| rigid: it does use that to disallow push to anonymous users by default... but if you always require authentication that doesn't actually ever happen :) | 13:45 |
|
visual
| no_gravity: yeap, what next? | 13:45 |
|
| git fetch | 13:45 |
|
| ? | 13:45 |
|
no_gravity
| visual: Next what? | 13:45 |
|
jast
| visual: yes | 13:45 |
|
visual
| push the local files to the upstream (remote) repo | 13:46 |
|
jast
| git push -u origin master (if you're on the master branch, which is the default). the -u is to make Git remember to push to that particular remote, allowing you to leave out all of push's parameters in the future | 13:46 |
|
visual
| ok, tried git add . | 13:46 |
| ← sotoz left | 13:46 |
| → s2013 joined | 13:46 |
| ← NwS left | 13:46 |
|
jast
| once you have added and committed, of course | 13:46 |
|
| if everything is already committed, you can skip straight to pushing | 13:47 |
| → kbs joined | 13:47 |
|
visual
| thanks, you're very helpful | 13:47 |
|
| just did "git add" | 13:47 |
|
| then "git status" | 13:47 |
|
| and it shows a lot of files that *are already in the repo*, as "new file" | 13:47 |
|
| why? | 13:47 |
|
no_gravity
| visual: To git, only what is in .git/ is "in the repo". | 13:48 |
| → jwsuiw joined | 13:48 |
|
visual
| alright, 2 questions then, doesnt git fetch place the remote into the .git ? | 13:48 |
|
| and 2 - how come it doesnt show *all* the files as new then? | 13:48 |
|
no_gravity
| visual: fetch puts it into some magical place. | 13:48 |
|
| visual: To put it into the "repo" you have to merge. | 13:49 |
|
visual
| oh boy | 13:49 |
|
no_gravity
| But I have the feeling the "new" files have nothing to do with the fetch. | 13:49 |
|
visual
| alright, so first issue "failed to push some refs.. to prevent you from losing history.. etc" | 13:49 |
| muhannad____ → muhannad | 13:49 |
|
visual
| how do i go about mergin the thing?? | 13:49 |
| → Ryanar joined | 13:49 |
|
visual
| (only one '?' :^) ) | 13:50 |
| → bannakaffalatta joined | 13:50 |
| → tijensse joined | 13:50 |
|
no_gravity
| visual: Pushing in git is awkward, because of that I only pull and never push. | 13:50 |
|
| Git was made by Linus to match his workflow. And that is pull based afaik. | 13:50 |
|
visual
| no_gravity: idk man, the "new" files ~ http://prntscr.com/ephcd3 ~, are copies of each other, shouldnt register as diff files | 13:51 |
|
| no_gravity: oh boy! | 13:51 |
|
| so there's no way around the merge? | 13:52 |
| → thebird joined | 13:52 |
|
no_gravity
| Can't say. I don't know your situation. | 13:52 |
|
visual
| what do you need to know? | 13:52 |
|
no_gravity
| Git is a set of low level tools that lets you manipulate special data structures. | 13:53 |
| → Gsham joined | 13:53 |
|
no_gravity
| If you want to build a version control workflow on top of these tools, be prepared to invest some serious time. | 13:53 |
| → pietv joined | 13:53 |
|
visual
| you're drifting into theory teritory there, mate | 13:53 |
|
qqx
| Pushing is only awkward when done to a non-bare repo. | 13:53 |
|
visual
| not trying to reinvent the wheel here, just trying to push some files to the repo and merge the diffs | 13:53 |
|
| dont know how to do that :I | 13:54 |
|
qqx
| And personally I (almost) never pull. | 13:54 |
|
no_gravity
| qqx: yup | 13:54 |
| → sotoz joined | 13:54 |
| → Es0teric joined | 13:54 |
|
no_gravity
| For the sake of simplicty, I live without bare repos. | 13:54 |
|
jast
| not sure how that makes things simpler :P | 13:54 |
| ← dec0n left | 13:55 |
| → oxguy3 joined | 13:55 |
|
no_gravity
| Needs only half the number of concepts. Instead of push/pull normal/bare-repos, I only have pulls and repos. | 13:55 |
|
| I don't even use branches. | 13:56 |
|
quinq
| Anybody kind enough to give me some hints about my question? | 13:56 |
|
jast
| well, if that's enough for you, great | 13:56 |
| → lavalamp joined | 13:56 |
|
no_gravity
| I for one am off for lunch. | 13:56 |
| ← no_gravity left | 13:56 |
|
jast
| quinq: I'm not seeing your question, can you repeat it? | 13:56 |
|
osse
| jast: increase $LINES :p | 13:56 |
|
quinq
| About an hour ago | 13:56 |
|
osse
| quinq: swapping the names of two branches will appear as a force-push to everyone else | 13:57 |
|
jast
| osse: this is already 1600 or so y pixels | 13:57 |
|
quinq
| Yes osse :/ | 13:57 |
| → miczac joined | 13:57 |
|
quinq
| No way around that then? | 13:57 |
| ← systemovich left | 13:57 |
|
visual
| is force-push bad? | 13:57 |
| → YuGiOhJCJ joined | 13:57 |
|
jast
| for clones it's no problem... but updates are problematic | 13:57 |
| gitinfo set mode: +v | 13:57 |
|
visual
| what's a rebase? | 13:57 |
|
_ikke_
| visual: it's risky | 13:57 |
|
qqx
| No, although depending on the workflow that may not be much of an issue. | 13:57 |
|
jast
| visual: okay, one thing after another... :) | 13:57 |
| → systemovich joined | 13:58 |
|
osse
| visual: https://github.com/Osse/git-stuff/blob/master/rebase.txt | 13:58 |
|
| quinq: i don't know of a painless way | 13:58 |
| ← lacrymology left | 13:58 |
|
jast
| visual: force push means you push an altered version of your history, with commits removed, re-created, re-ordered or anything like that. you start running into problem if someone tries to update their own copy of the history using 'git pull/merge', because then they create a mishmash of the two versions of history | 13:58 |
|
visual
| osse: thx man, but i dont get it | 13:58 |
|
| does it merge the 2 (feature && master) branches, and then branches the master one again? | 13:59 |
|
qqx
| quinq: If you're using a pull request workflow having the main branch renamed may not be very awkward. | 13:59 |
|
osse
| visual: it puts one in front of the other | 13:59 |
| ← rscata left | 13:59 |
|
visual
| jast: wait, with **all** commits removed? | 13:59 |
|
qqx
| People should still be pushing to feature branches, and only need to change the target for pull requests. | 13:59 |
|
visual
| jast: i get it, fuck ) | 13:59 |
|
quinq
| Yeah qqx, that was my backup solution | 13:59 |
|
visual
| so that's not an optio | 13:59 |
| → Jackneill joined | 13:59 |
|
visual
| alright so when there's a diff between the local and the remote, and you want to push the changes, how would you go about it? | 14:00 |
|
quinq
| But then I need to tell people to drop master and start using newdev brnch | 14:00 |
|
visual
| force-push is not an option :U | 14:00 |
|
quinq
| Err I'm not using “pull requests” | 14:01 |
| ← elinux left | 14:01 |
| ← livingstn left | 14:01 |
| → theiostream joined | 14:02 |
|
visual
| come on git wizards, pls help :') | 14:02 |
|
| if you have the time | 14:02 |
| → zivester joined | 14:03 |
| ← zefferno left | 14:03 |
| → bannakaf_ joined | 14:04 |
|
osse
| visual: i don't understand the original question | 14:04 |
|
visual
| how do i push to the remote repo if there's unresolved conflicts between remote and local | 14:05 |
| ← miczac left | 14:05 |
|
osse
| either resolve or push to a different branch | 14:05 |
|
visual
| wait so if i push to a different branch, i can then merge the branches via gitlab, right? | 14:06 |
|
| and checkout origin, and se-la-vie? | 14:06 |
|
osse
| if you get conflicts when merging I don't think gitlab can do the merge for you | 14:06 |
|
| but you can try | 14:06 |
| ← jameser left | 14:06 |
|
visual
| manual merge through gitlab? | 14:06 |
| ← bannakaffalatta left | 14:06 |
|
visual
| alright, how would i go about resolving the conflicts without losing data? | 14:07 |
|
| this so-called "merge" | 14:07 |
| → Rodya_ joined | 14:07 |
| ← GodGinrai left | 14:07 |
| → GodGinrai joined | 14:07 |
|
osse
| how did you get the conflicts in the first place? | 14:07 |
|
visual
| in the help it says i can perform "git pull", but wont pull overwrite local changes? | 14:07 |
| → SirFunk joined | 14:07 |
|
osse
| no it won't | 14:07 |
|
| it will merge | 14:07 |
|
| pull = fetch + merge | 14:07 |
|
GodGinrai
| ^ this | 14:08 |
| → menip joined | 14:08 |
| → howdoi joined | 14:08 |
|
visual
| alright, lets give it a shot | 14:08 |
|
GodGinrai
| although I would never suggest forcing a merge w/ pull | 14:08 |
| → patarr joined | 14:08 |
|
GodGinrai
| it would be better to fetch and merge in a seperate branch | 14:08 |
|
| then, once you have resolved conflicts, you can FF merge your important branch | 14:09 |
|
osse
| GodGinrai: not sure we're there yet :p | 14:09 |
|
GodGinrai
| osse: well, once he pulls and creates the conflicts, he's past that | 14:09 |
|
visual
| http://prntscr.com/ephm40 | 14:09 |
|
| fucking great :I | 14:10 |
|
osse
| hmm | 14:10 |
|
visual
| right, pusing to a different branch and merging through gitlab it is then :^I | 14:10 |
|
GodGinrai
| that's a lot of conflicts | 14:10 |
|
visual
| that's not even 1/4'th of it | 14:10 |
|
osse
| looks like you're merging two repos with no common history here | 14:10 |
|
visual
| dont have the space to screenshot all )) | 14:10 |
|
| osse: upgraded framework | 14:10 |
|
| but it's like 99% it there | 14:11 |
|
qqx
| visual: I'd say that having your framework checked in is the issue. | 14:11 |
| → bongjovi joined | 14:11 |
|
visual
| what do you mean "checked in "? | 14:11 |
|
GodGinrai
| visual: he means tracked | 14:12 |
| → ws2k3 joined | 14:12 |
|
visual
| http://prntscr.com/ephnf2 | 14:12 |
|
| > | 14:12 |
|
| fucking git | 14:12 |
| → Murii joined | 14:12 |
|
qqx
| No version control system is going to handle that in any nice way. | 14:13 |
|
GodGinrai
| qqx: I don't know if that is really the issue, because even if the whole framework is updated, it shouldn't cause conflicts in all of the files unless you had made changes in all of those files that didn't exist in the history of the upstream | 14:13 |
| → dimi1947 joined | 14:13 |
| ← azerus left | 14:13 |
|
GodGinrai
| or vice versa | 14:13 |
|
| depending on where that update was made | 14:13 |
|
quinq
| visual, paste text instead of taking pictures | 14:13 |
| → AaronMT joined | 14:13 |
| → foist_ joined | 14:13 |
|
visual
| quinq: easy | 14:14 |
|
GodGinrai
| visual: `git merge --abort` | 14:14 |
|
visual
| Automatic merge failed; fix conflicts and then commit the result. | 14:14 |
|
| [email@hidden.address] [~/public_html/ric]# git branch 'upgrade sync' | 14:14 |
|
| fatal: 'upgrade sync' is not a valid branch name. | 14:14 |
|
| [email@hidden.address] [~/public_html/ric]# git branch 'upgrade_sync' | 14:14 |
|
| [email@hidden.address] [~/public_html/ric]# git add . | 14:14 |
|
| [email@hidden.address] [~/public_html/ric]# git commit '1st commit' | 14:14 |
|
| fatal: cannot do a partial commit during a merge. | 14:14 |
|
quinq
| No, not here… | 14:14 |
|
visual
| [email@hidden.address] [~/public_html/ric]# | 14:14 |
|
| oops | 14:14 |
|
GodGinrai
| visual: use a pastebin | 14:14 |
|
visual
| wrong paste, sorry | 14:14 |
|
quinq
| Use a pasting service | 14:14 |
|
visual
| i know | 14:14 |
|
| http://kopy.io/5uKzg | 14:14 |
|
| i know, sorry man, i said wrong paste | 14:14 |
|
GodGinrai
| visual: `git merge --abort` <-- this is how you exit a partial merge | 14:15 |
|
| which is the state you are left in when you have conflicts | 14:15 |
|
visual
| GodGinrai: it didnt work | 14:15 |
|
| http://kopy.io/84kyM | 14:15 |
| → Some_Person joined | 14:15 |
| ← dvaske__ left | 14:16 |
|
Some_Person
| I did something that caused a file to be renamed. How can I get this recognized as a move in git instead of a delete and an add? | 14:16 |
|
GodGinrai
| oh, that's weird | 14:16 |
| → LeBlaaanc joined | 14:16 |
|
visual
| Some_Person: you kill yourself aparently | 14:16 |
|
| there's no easier way when it comes to git | 14:16 |
|
quinq
| Some_Person, git mv | 14:16 |
|
osse
| Some_Person: it makes no difference. it's only pretty printing. | 14:16 |
|
GodGinrai
| well, you can always just use git-reset as well. osse: would `git reset --hard HEAD` do the trick? | 14:17 |
|
osse
| Some_Person: if you git add the new path and git rm the old path then it's probably ok | 14:17 |
| ← dimi1947 left | 14:17 |
|
Some_Person
| quinq: A bit too late for git mv -- I renamed a project in Visual Studio, and that caused the file to be moved | 14:17 |
|
osse
| GodGinrai: do you mean git merge --abort? | 14:17 |
| → marianina8 joined | 14:17 |
| ← xanadu_ left | 14:17 |
| ← foist_ left | 14:18 |
| ← YuGiOhJCJ left | 14:18 |
| → ionl joined | 14:18 |
| ← ionl left | 14:19 |
| → azerus joined | 14:19 |
| ← matoro left | 14:19 |
| → peterbecich joined | 14:19 |
| ← thebird left | 14:19 |
|
quinq
| Some_Person, mv newfile oldfile && git mv oldfile newfile | 14:19 |
|
| Not sure that's the best way to go about it, but it'll work | 14:20 |
| → andrew710 joined | 14:20 |
|
visual
| http://prntscr.com/ephrew | 14:20 |
|
GodGinrai
| osse: see his paste. `git merge --abort` didn't work | 14:20 |
|
visual
| ^this is why git is one of the shittiest things ever created | 14:20 |
|
quinq
| visual, don't use it | 14:20 |
|
visual
| quinq: i wish i couldnt | 14:20 |
| → Eou joined | 14:20 |
| ← Es0teric left | 14:20 |
|
quinq
| Then you can | 14:21 |
|
visual
| the fact that it's necessary doesnt make it any less shitty | 14:21 |
|
GodGinrai
| visual: this is really not the case. I am fairly certain that a fair majority of your issues here have been caused by a lack of understanding how git works | 14:21 |
|
visual
| it's like cleaning toilets, nobody fucking likes to do it, but it has to be done | 14:21 |
|
quinq
| There are two ways to go about it, 1/learn it 2/solve why it's imposed to you | 14:21 |
|
| Complaining about it won't solve anything | 14:22 |
|
visual
| GodGinrai: look man, i've been a dev for 10 years, and every single time when it comes to git, it's always problematic | 14:22 |
|
| every single fucking time | 14:22 |
| ← tvw left | 14:22 |
|
qqx
| Complaining about it here isn't going to help. | 14:22 |
| ← oxguy3 left | 14:22 |
|
visual
| helps to vent a little | 14:22 |
|
Some_Person
| osse: Thanks, add and rm seems to have worked; I guess it auto detected that it's a rename | 14:23 |
|
GodGinrai
| visual: probably because you've never taken the time to sit down and learn it rather than just trying to deal with git's "problems" whenever you run into an issue. | 14:23 |
| → Es0teric joined | 14:23 |
| ← sunri5e left | 14:23 |
|
qqx
| Some_Person: It always auto detects renames, git only keeps track of snapshots not how changes are made. | 14:24 |
| → oxguy3 joined | 14:24 |
| ← peterbecich left | 14:24 |
|
visual
| dude it's a problem when you do it by gitlab's instruction and it fails | 14:24 |
| → zerow_ joined | 14:24 |
|
GodGinrai
| visual: this can happen with literally any software. No software is impervious to user error | 14:25 |
| → sunri5e joined | 14:25 |
|
yarekt
| Lol, you just doing this to flame... in #git? visual | 14:25 |
|
visual
| it's not a user error if they have a proposed solution for it | 14:25 |
|
| right? | 14:25 |
| ← a_thakur left | 14:26 |
|
visual
| it means it's a common occurence that happens, and they have a way of bypassing that issue | 14:26 |
|
| but that way doesnt work | 14:26 |
|
| who's fault is it then? | 14:26 |
|
| yarekt: no man | 14:26 |
|
yarekt
| Almost everyone here uses git for work and are proficient in it that it doesn't impede their workflow | 14:26 |
|
GodGinrai
| visual: that's not a solution, that's steps you were supposed to perform. Which *would* work btw | 14:26 |
|
visual
| trying to solve it | 14:26 |
|
GodGinrai
| visual: you are just complaining about having to do it. | 14:26 |
|
visual
| GodGinrai: dude have you even looked at the screen | 14:26 |
|
| http://prnt.sc/ephrew | 14:26 |
| ← ekinmur left | 14:26 |
|
visual
| they *didnt* work | 14:26 |
|
GodGinrai
| visual: it says "merge branch and fix any conflicts that come up" | 14:26 |
|
visual
| i did do them man, they didnt work | 14:26 |
|
yarekt
| Having said that, git has *terribly* named command and concepts, but theres nothing that can be done about it because these concepts are already embedded in people's skills | 14:27 |
| → xanadu_ joined | 14:27 |
|
GodGinrai
| visual: you got conflicts, you must fix them. | 14:27 |
|
visual
| GodGinrai: Step 3. Merge the branch and fix any conflicts that come up | 14:27 |
| → ekinmur_ joined | 14:27 |
|
yarekt
| visual: But simply learning to use the software by understanding what happens inside will increase your level of competence with it until it helps you with your work instead of hindering | 14:27 |
|
visual
| [email@hidden.address] [~/public_html/ric]# git merge --no-ff upgrade_sync | 14:27 |
|
| Already up-to-date. | 14:27 |
|
| whoop-de-doo | 14:28 |
| ← mischat left | 14:28 |
| ← masuberu left | 14:28 |
|
visual
| yarekt: you can't logically understand a sotware that isnt bound by logic, can you | 14:28 |
| ← zerow left | 14:28 |
|
yarekt
| But the attitude of "Look #git, git is shit, because I don't want to invest time learning!" | 14:28 |
|
visual
| we should add branching to svn and burn git | 14:28 |
| ← sunri5e left | 14:28 |
|
yarekt
| ... ins't going to get you anywhere | 14:28 |
|
jast
| that looks like you finished the merge earlier | 14:28 |
|
| yarekt fin | 14:29 |
| ← User458764 left | 14:29 |
| ← kbs left | 14:29 |
|
visual
| dude this attitude is a normal response to "if you'd learn how it works / follow the instructions, you wouldnt have problems" | 14:29 |
|
| and i have a clear example when taht's not the case :I | 14:29 |
|
| visual rant over | 14:29 |
| → User458764 joined | 14:30 |
|
yarekt
| Let me read up the whole of scrollback then | 14:30 |
|
visual
| jast: but if i'd have finished the merge, shouldnt it be able to push to remote instead of complaining that i'd lose history? | 14:30 |
| → hahuang61 joined | 14:30 |
|
jast
| that output from 'git merge --abort' is rather strange. maybe you have a fairly old version of Git, from before that option was added? | 14:30 |
|
| there is that, yeah... | 14:30 |
| → masuberu joined | 14:31 |
|
GodGinrai
| visual: the problem you are running into there is that you never pulled the latest master before performing that merge | 14:31 |
|
jast
| it depends on what you merged and where you're pushing, though | 14:31 |
|
yarekt
| Yea, nah, i'm not doing that. visual, it looks like you are using this channel like the manual, and ignoring people's advice | 14:31 |
|
visual
| git version 1.7.1 | 14:31 |
|
GodGinrai
| thus, your update to the remote master is not a fastforward update | 14:31 |
|
visual
| GodGinrai: i did | 14:31 |
|
jast
| yeah, I think that's from before | 14:31 |
|
| next time you can try 'git reset --merge' instead which I think does the same thing | 14:31 |
|
GodGinrai
| visual: you didn't anywhere in that terminal in the screenshot you keep linking | 14:32 |
| ← theiostream left | 14:32 |
|
jast
| if that fails, too, there's always 'git reset --hard' to destroy all evidence of everything ever, but it eliminates all uncommitted changes, too | 14:32 |
| → sunri5e joined | 14:32 |
|
visual
| i posted a screen earlier, and a peep here said "that's a lot of conflicts", remember? | 14:32 |
|
jast
| anyway, getting back to your situation. for instance, merging upgrade_sync into master doesn't mean that pushing master to the remote master will necessarily go through cleanly, e.g. if the remote master has some changes of its own that you haven't merged yet | 14:32 |
|
visual
| jast: yeah, or push --force :^), but that's.. i mean come on | 14:32 |
|
quinq
| visual, do you know about git status? | 14:32 |
| → theiostream joined | 14:33 |
| ← wrouesnel left | 14:33 |
|
visual
| quinq: yeah, checked status, shows unmerged files | 14:33 |
| ← pietv left | 14:33 |
| noteness_ → noteness | 14:34 |
|
jast
| plus uncommitted/unstaged changes and such :) | 14:34 |
|
visual
| jast: how does that make any sense, if you merged the 2, wouldnt the HEAD be at the new commit that was created by the merge? | 14:34 |
| ← guampa left | 14:34 |
| ← LeBlaaanc left | 14:35 |
| ← Gloomy left | 14:35 |
|
visual
| yeah, back to the question | 14:35 |
| ← hahuang61 left | 14:35 |
| → LeBlaaanc joined | 14:35 |
|
visual
| how do you merge locally? | 14:35 |
|
| >fatal: 'merge' is not possible because you have unmerged files. | 14:35 |
|
| >you cant solve this problem, because this problem isnt solved | 14:36 |
|
| only in git | 14:36 |
|
jast
| it means you can't start a new merge because an old merge is still in progress. have you tried the old 'git reset --merge' that I mentioned, in the meantime? | 14:36 |
|
| I don't remember the exact version in which each option was introduced, but worth a try I guess | 14:37 |
| → buzzLightBeer joined | 14:38 |
| → manuelschneid3r joined | 14:38 |
| → maarhart joined | 14:38 |
| ← theiostream left | 14:40 |
|
visual
| well | 14:40 |
|
| git reset --merge | 14:40 |
|
| then git merge origin origin says "fatal 'origin' does not point to a commit' | 14:40 |
|
| :^) | 14:40 |
| → molgrum joined | 14:40 |
| ← molgrum left | 14:40 |
| → molgrum joined | 14:40 |
| ← menip left | 14:41 |
| ← maarhart left | 14:41 |
| ← andrew710 left | 14:41 |
| → guampa joined | 14:41 |
| ← TomyWork left | 14:42 |
| → eroux joined | 14:42 |
|
quinq
| visual, start reading manpages | 14:42 |
| ← lb1c left | 14:42 |
| ← eroux left | 14:42 |
|
quinq
| What do you think merging origin with origin means? | 14:42 |
| ← Murii left | 14:43 |
|
jast
| visual: usually origin is the name of a remote, not the same of a branch. you may have wanted 'origin/master' or something like that... | 14:43 |
| → fbwnd joined | 14:44 |
| → MarioBranco joined | 14:45 |
|
visual
| if i switch to a branch sync_upgrade and try merge master, it says it's up-to-date | 14:45 |
| → Fallen0223 joined | 14:45 |
| ← gunnaro left | 14:45 |
|
visual
| jast: thx btw, that clarified it a little | 14:45 |
|
| so i think what happened was i added the changes to the local master branch, and that's why it says they're up-to-date | 14:46 |
|
GodGinrai
| visual: that's probably because your master probably already successfully merged those changes at some point. What does `git diff master sync_upgrade` return? | 14:47 |
|
visual
| can i fetch remote master into a temporary branch, and then try to merge those? | 14:47 |
|
| GodGinrai: returns nothing | 14:47 |
|
GodGinrai
| visual: yea, from master: `git checkout -b master_merge; git fetch origin/master; git merge origin/master` | 14:48 |
| ← _August_ left | 14:48 |
| ← leeN left | 14:48 |
|
GodGinrai
| visual: assuming you are trying to merge your master with the remote master | 14:48 |
| → _August_ joined | 14:48 |
|
GodGinrai
| after you resolve conflicts in master_merge, you can `git checkout master; git merge master_merge` | 14:48 |
|
| well, after you resolve conflicts and complete the merge | 14:49 |
|
visual
| *sigh* | 14:49 |
|
| http://kopy.io/nNvzH | 14:49 |
| → DaveTaboola joined | 14:49 |
|
visual
| why why | 14:49 |
| ← masuberu left | 14:49 |
|
GodGinrai
| visual: sorry, my fault | 14:49 |
|
| I gave you the wrong syntax for fetch | 14:49 |
|
| also | 14:50 |
|
| you need to merge origin/master | 14:50 |
|
| not master | 14:50 |
|
visual
| oh no worries mate, i wrote right syntax (fetch origin master) after that | 14:50 |
|
| merge origin/master? | 14:50 |
|
GodGinrai
| master is your local, origin/master is the remote branch | 14:50 |
|
| yup | 14:50 |
|
quinq
| visual, you would have wasted less of your (and people trying to help you) time learning git instead of asking to type in commands for you | 14:50 |
|
visual
| what do i learn specifically? | 14:51 |
|
| every register move and every stack change that happens inside? | 14:51 |
|
quinq
| Yes, exactly | 14:52 |
|
visual
| i know how to pull, push and branch, why would that no be enough to make a simple merge? | 14:52 |
|
quinq
| Well, now you need to learn merge | 14:52 |
|
| What's origin, what's a clone, what's a remote | 14:52 |
|
visual
| im trying to, but clearly the docs ( https://git-scm.com/docs/git-merge ) arent helpful | 14:52 |
|
quinq
| Anyway, good luck :) | 14:52 |
|
visual
| thanks | 14:52 |
|
| you too | 14:52 |
|
jast
| the manpages have a tendency to be a little on the technical side | 14:53 |
|
| if you ever want to take the time to read a proper book about it, there's always !book | 14:53 |
|
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 | 14:53 |
| ← thallada left | 14:54 |
|
jast
| and if you like looking at pictures of data structures, !gcs is worth a look, too, to get a better idea of what all these operations do on a structural level | 14:54 |
|
gitinfo
| [!concepts] "Git Concepts Simplified" presents all the important structures in Git, step by step, including selected internal details so it becomes much easier to understand what's going on whenever something's going on. http://gitolite.com/gcs.html | 14:54 |
| → thallada joined | 14:54 |
|
visual
| quinq: why are you even here? to tell people they need to disassemble git to understand how to make a merge? | 14:54 |
| → vuoto joined | 14:55 |
|
visual
| jast: thanks man, i'll try to find the time for that | 14:55 |
| → eroux joined | 14:55 |
| ← User458764 left | 14:55 |
| ← Eou left | 14:55 |
|
visual
| doesnt seem like a necessary time investment for such a simple concept :I | 14:55 |
|
| read an entire book i mean | 14:55 |
| ← eroux left | 14:56 |
| → eroux joined | 14:56 |
| → beaky joined | 14:56 |
|
beaky
| hello | 14:56 |
|
quinq
| visual, you said that, my answer was sarcasm obviously | 14:56 |
|
| You can have a look at https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging https://git-scm.com/book/en/v2/Git-Basics-Working-with-Remotes | 14:57 |
| ← eroux left | 14:57 |
|
beaky
| how do i pick particular diffs per file instead of commiting everything i've changed in a file | 14:57 |
| ← blackpajamas left | 14:57 |
| → eroux joined | 14:57 |
|
visual
| beaky: git diff other_branch path/to/file | 14:57 |
|
GodGinrai
| visual: yea, I highly recommend the Pro Git book. It explains things really well and teaches the basics that are needed | 14:57 |
|
visual
| literally doing it rn ) | 14:57 |
| → Ice_Strike joined | 14:57 |
|
beaky
| ah thanks | 14:57 |
| → leeN joined | 14:57 |
|
Ice_Strike
| Can you do mulitple "git add ." and then do git commit later? | 14:58 |
|
_ikke_
| yes | 14:58 |
|
visual
| yeah | 14:58 |
|
GodGinrai
| Ice_Strike: sure | 14:58 |
|
kadoban
| beaky: Usually 'git add -p somefile' or if you've already staged, 'git commit -p' exists, but I never use it. | 14:58 |
| ← muhannad left | 14:58 |
| ← eroux left | 14:58 |
|
beaky
| thanks i will give those a try | 14:58 |
|
Ice_Strike
| cool | 14:58 |
|
visual
| GodGinrai: alright, and quinq will do, seems like helful (and succint !! )info | 14:58 |
| ← chele left | 14:58 |
|
beaky
| i love git it is so awesome i can do anything | 14:59 |
| → eroux joined | 14:59 |
|
beaky
| (rather than leave my work in a messed-up state) | 14:59 |
| ← eroux left | 14:59 |
|
visual
| yeah? try upgrading your app/framework, and pushing that :^) | 14:59 |
|
jast
| beaky: git add -p (or git commit -p to save one step) is my absolute favourite tool for that kind of thing | 15:01 |
| → roelmonn_ joined | 15:01 |
| → eblip joined | 15:01 |
| → Levin^ joined | 15:01 |
|
Levin^
| hello there | 15:01 |
|
| I'm really confused from what I researched on internet | 15:02 |
| ← ekinmur_ left | 15:02 |
| → User458764 joined | 15:02 |
|
jast
| Levin^: hi :) let's see if we can clear it up, then! | 15:02 |
|
quinq
| Levin^, you should be careful about what you search on the Internet | 15:02 |
| → ekinmur joined | 15:02 |
|
visual
| WHAT THE FUC | 15:02 |
|
| git edited my files | 15:02 |
|
| it added <<<<< HEAD, etc to my files | 15:03 |
|
jast
| those are called conflict markers | 15:03 |
|
Levin^
| so I'll ask here. git refused my push claiming I need to pull first. but I'm scared it will pull and rewrite my other files edited locally beforehand | 15:03 |
| → jimklo joined | 15:03 |
| → math-alpha joined | 15:03 |
| ← math-alpha left | 15:03 |
| ← marianina8 left | 15:03 |
|
visual
| http://kopy.io/eJGgs | 15:03 |
| ← Es0teric left | 15:03 |
|
jast
| visual: during a merge that's not at all unusual. it means both sides of the merge have made changes to the same parts of some files, you can manually edit the files to resolve the conflicts, or use a merge tool to help you. | 15:03 |
|
Levin^
| is there a command to check what it will pull to my local machine? | 15:04 |
|
jast
| of course if you accidentally add and commit these conflict markers, that's not good, but before that it's the normal state of things, and every other VCS that supports merging does the same thing, in fact :) | 15:04 |
| ← kbeflo__ left | 15:04 |
|
quinq
| Levin^, you can branch before-hand | 15:04 |
|
| and work there | 15:04 |
| → dave0x6d joined | 15:04 |
| ← roelmonnens left | 15:05 |
|
kadoban
| Levin^: First do 'git fetch', then you can check your favorite way(s) the differences between your local branch and the remote tracking branch. Then you can merge/rebase/other as you like. | 15:05 |
|
jast
| Levin^: pull is actually a shorthand for fetch (to download the changes) and merge (to apply them). you can run 'git fetch' individually and then look at and compare yourbranch and origin/yourbranch | 15:05 |
| → mischat joined | 15:05 |
| ← roelmonn_ left | 15:05 |
|
Levin^
| oh | 15:05 |
| → kbeflo joined | 15:05 |
| ← kbeflo left | 15:05 |
|
kadoban
| Levin^: As a shortcut, @{u} refers to the "upstream" branch, if one is set. | 15:06 |
|
visual
| jast: no man, it fucked up royally | 15:06 |
|
| look | 15:06 |
|
| http://kopy.io/eJGgs | 15:06 |
| → overlord_tm joined | 15:06 |
|
visual
| it aded shit like >>>>origin/master to my fucking *files* | 15:06 |
|
kadoban
| If you're not sure how to compare branches, gitk --all is a decent start, or !lol if you're into that. There's a few more specific log options that might help as well | 15:06 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 15:06 |
|
Levin^
| can I run the fetch command without commitment? | 15:07 |
|
kadoban
| visual: Welcome to exactly what jast described above. | 15:07 |
|
jast
| visual: that looks awfully like one generation of conflict markers got committed in an earlier, screwed up merge | 15:07 |
|
visual
| FUUUUUUUUUUUUUUU | 15:07 |
|
| how do i rever | 15:07 |
|
| t | 15:07 |
| → kbeflo joined | 15:07 |
|
jast
| it happens if someone is not paying attention while merging | 15:07 |
| → eroux joined | 15:07 |
|
Levin^
| I mean, does it require me to run another command to "confirm" something after the fetch? | 15:07 |
|
jast
| the bad news is that reverting merges is a bit of a can of worms | 15:07 |
|
| !revert_merge | 15:07 |
|
gitinfo
| [!faulty_merge] If you have published a merge commit that turned out to be faulty and you'd like to get rid of it, you're probably not going to have a good time. Here's the full story: https://raw.github.com/git/git/master/Documentation/howto/revert-a-faulty-merge.txt | 15:07 |
| ← thiago left | 15:07 |
| ← SteffanW left | 15:07 |
|
kadoban
| Levin^: 'git fetch' is *quite* hard to hurt anything, all it does is update your local view of the remote branches. Or in other words, it updates the "remote tracking branches" | 15:07 |
| ← eroux left | 15:08 |
| → maxpss joined | 15:08 |
| → sspssptt joined | 15:08 |
| ← MutantMa_ left | 15:08 |
|
kadoban
| It won't mess with your local branches, or the files in your working directory, or the index or etc. | 15:08 |
|
Levin^
| hmm | 15:08 |
| → DarkPsydeLord joined | 15:09 |
|
visual
| FUUUUUUCK IT ADDED THEM TO MASTER BRANCH | 15:09 |
|
Levin^
| I dont't understand the "local view" | 15:09 |
|
| visual: does it have lots and lots of <<<< stuff? | 15:09 |
|
visual
| Levin^: http://kopy.io/eJGgs | 15:10 |
| → Es0teric joined | 15:10 |
|
visual
| not lots, but to lots of files | 15:10 |
|
| hundreds | 15:10 |
|
| god fucking damn it | 15:10 |
|
Levin^
| oh sad | 15:10 |
|
kadoban
| Levin^: Are you familiar with branches like origin/master ? | 15:10 |
|
Levin^
| do a find/replace at least :/ | 15:10 |
| ← bgerber left | 15:10 |
|
Levin^
| kadoban: I'm learning | 15:10 |
|
| didn't reach that knowledge yet | 15:11 |
|
kadoban
| Those are the "remote tracking branches". Those are what 'git fetch' updates. Along with tags, if you tell it to. | 15:11 |
| ← mischat left | 15:11 |
| ← ronin_work left | 15:11 |
|
Levin^
| I know they exist, but I didn't learn how to use it | 15:11 |
| ← kbeflo left | 15:11 |
|
visual
| btw, with that link, when fixing a fauly merge | 15:11 |
|
| i cant fucking revert because "you have unmerged files" | 15:11 |
|
kadoban
| origin/master is essentially your local view of what the master branch looks like at the remote "origin". Git doesn't do network stuff unless you tell it to, so that's its way of being able to "see" remote things without having to always go to the network. | 15:11 |
| → ronin_work joined | 15:11 |
| → plasticle joined | 15:11 |
| → eroux joined | 15:12 |
|
visual
| lesson learned: fuck git | 15:12 |
|
| copy-paste it is | 15:12 |
| ← eroux left | 15:12 |
|
Levin^
| hm | 15:12 |
| ← sbasso left | 15:13 |
| ← zerow_ left | 15:13 |
| → zerow joined | 15:13 |
|
nedbat
| visual: you probably don't want to hear this, but you're going to have to understand it at some point: git didn't add those markers to your master branch. | 15:14 |
| ← synthroid left | 15:14 |
|
visual
| nedbat: who did then? | 15:14 |
|
| i did? copy pasted these markers into hundreds of files myself just to complain here? | 15:14 |
|
nedbat
| visual: you did when you used "git add" and "git commit" on a file with merge conflict markers in them. | 15:14 |
|
visual
| is that what you're suggesting? | 15:14 |
|
nedbat
| visual: git added the markers, to show you where you needed to resolve conflicts. | 15:14 |
|
| then you didn't resolve them, added the files, and now they are in the files. | 15:14 |
|
visual
| in what world does adding data to files constitute as a viable way to show changes? | 15:15 |
|
nedbat
| visual: svn does this also, with the same markers. | 15:15 |
|
visual
| not create a .tmp file, not keep them in memory, but *editing the fucking files* | 15:15 |
| ← thebope left | 15:15 |
|
jast
| in all version controls systems that ever became popular | 15:15 |
| ← ekinmur left | 15:15 |
|
visual
| that's fucking retarded | 15:15 |
|
jast
| including cvs, svn, mercurial, tla, bzr, darcs | 15:15 |
|
nedbat
| visual: you're going to have to deal with this. | 15:15 |
| ← ronin_work left | 15:15 |
| → eroux joined | 15:15 |
|
nedbat
| visual: your attitude seems to be, "I don't want to understand git, it should be simpler!" | 15:16 |
|
visual
| that's like me opening up windows/system32, and overwriting some files so i can remember which files i'd like to use at some point | 15:16 |
| ← eroux left | 15:16 |
| ← plasticle left | 15:16 |
|
visual
| instead of creating a list of the files i need | 15:16 |
|
jast
| a list of files would be pretty worthless | 15:16 |
| → paws_ joined | 15:16 |
| → plasticle joined | 15:16 |
|
Levin^
| visual: it's sad, but you'll have to spend your time to find and solve each of the conflicts yourself, I think | 15:16 |
| → AnimeLife joined | 15:16 |
|
nedbat
| visual: you should take a deep breath, and commit to learning git, or you should stop using git. | 15:16 |
|
visual
| yeah? well a list of files wouldnt fuck up your application | 15:16 |
|
jast
| that wouldn't tell you which sections of the file are affected, and I'm sure you don't want to manually compare 40000 lines of two copies of a file | 15:16 |
|
nedbat
| visual: you are grabbing the knife by the blade, and getting angry at the knife. | 15:17 |
|
jast
| the merge didn't fuck up your application | 15:17 |
|
Levin^
| but isn't there a way to do a revert to a certain commit code? | 15:17 |
| → kbeflo joined | 15:17 |
|
jast
| at some point you went, "hey, let's just assume everything magically did what I think it did", and cast the temporary conflict markers into stone | 15:17 |
| ← utrack_ left | 15:17 |
|
Levin^
| I readed about that | 15:17 |
| ← Brski left | 15:17 |
|
visual
| nedbat: that's why i joined to ask few simple questions, hwo do i resolve a bunch of conflicts | 15:17 |
|
jast
| Levin^: reverts are a bit special when merges are involved | 15:17 |
|
visual
| help from here resulted in fucking up the whole application | 15:17 |
|
| nice | 15:17 |
|
| top of the morning to you lad | 15:17 |
|
nedbat
| visual: yes, but maybe you should really wait until you are done ranting, and interested to learn. | 15:17 |
|
visual
| god fucking damn it | 15:17 |
|
quinq
| Yeah, we did it on purpose | 15:17 |
|
| Because everything is other's fault | 15:18 |
|
jast
| nobody told you to just 'git add' everything without looking at it, you know | 15:18 |
|
AnimeLife
| hello guys, I need help, how do I begin going through souce code of git, I am able to checkout and build, but where do I go next? is there a developer mannual or any arch design showcasing modules | 15:18 |
| → eroux joined | 15:18 |
| ← ThomasLocke left | 15:18 |
| ← eroux left | 15:18 |
|
visual
| i didnt know git marks files as "edited" by fucking adding it to them | 15:18 |
|
jast
| anyway, I need to leave, good luck getting this cleaned up... | 15:18 |
|
nedbat
| visual: what did you think "resolve the conflicts" meant? | 15:19 |
| ← snits left | 15:19 |
|
GodGinrai
| visual: the point of adding the data to the files is three-fold. 1) Since code from both branches are there, you can easily choose one or the other, or concoct a merger of the two by hand. 2) Thanks to the markers, it is easy to find where you need to resolve the conflicts 3) By adding the markers, it prevents you from ignoring the conflicts. You either need to finish the merge or give up on it to | 15:19 |
|
canton7
| (visual is a known troll from another channel. Not saying he's trolling now necessarily, but bear the possibility in mind) | 15:19 |
|
GodGinrai
| proceed with your work. | 15:19 |
|
visual
| that's like OS's adding "opened on 1.1.2017" to Word Documents *inside* the files | 15:19 |
|
| canton7: yeah no, i was fucking around in c# | 15:19 |
| ← ponyofdeath left | 15:19 |
| → fahadash joined | 15:19 |
|
visual
| this shit's serious | 15:19 |
|
nedbat
| visual: or, it's like the way Word will let you merge documents together, by showing you both changes inside Word.... | 15:19 |
| → snits joined | 15:19 |
|
AnimeLife
| hello guys, I need help, how do I begin going through souce code of git, I am able to checkout and build, but where do I go next? is there a developer mannual or any arch design showcasing modules | 15:20 |
|
GodGinrai
| nedbat: Word can merge documents? wut | 15:20 |
|
visual
| instead of using an external file? what if there's a power surge in the middle of the thing, you're now left with hundreds of fucked files :I | 15:20 |
| → peterbecich joined | 15:20 |
|
nedbat
| visual: what did you think "resolve the conflicts" meant? | 15:20 |
| → eroux joined | 15:20 |
|
jast
| no, Git retains all versions of the files until you conclude the merge | 15:20 |
|
| if you do, incorrectly, it's on you | 15:20 |
|
GodGinrai
| AnimeLife: are you trying to view git's source? Or your project's source using git? | 15:20 |
|
AnimeLife
| GodGineai, yes I am trying to view git's source | 15:21 |
|
visual
| i did merging before, it shows the "+' and the "-" and you either choose which file you want to use, or you choose which "chunks" of files you want to use | 15:21 |
| ← eroux left | 15:21 |
| → jagob joined | 15:21 |
| → tang^ joined | 15:22 |
| → utrack joined | 15:22 |
|
visual
| alright | 15:22 |
|
GodGinrai
| visual: not really. If the merge gets corrupted somehow, there are a number of ways to abort it | 15:22 |
|
visual
| GodGinrai: in a perfect world, you'd be right | 15:22 |
|
| i tried that twice, remember? | 15:22 |
|
| both times it fucked up | 15:22 |
| ← alezandro left | 15:22 |
|
visual
| "cant abort because of unresolved merge", then some other error | 15:22 |
|
GodGinrai
| visual: you never did `git reset --hard HEAD`, tho', did you? | 15:23 |
|
visual
| i did reset, and abort | 15:23 |
| → eroux joined | 15:23 |
|
visual
| no i didnt do it with the --hard HEAD, you never suggested that :I | 15:23 |
|
kadoban
| visual: Typing the wrong commands quite often doesn't have the desired effect. Even if your intent is clear to you. That doesn't mean it's impossible. | 15:23 |
|
GodGinrai
| yea, I did | 15:23 |
|
AnimeLife
| GodGinrai, yes I am trying to view git's source. sorry for typo | 15:23 |
| ← eroux left | 15:23 |
|
GodGinrai
| it was the first thing I suggested when you said `git merge --abort` didn't work | 15:23 |
|
visual
| see, even this guy's trying to rewrite git because its shit )) | 15:23 |
| ← King_Hual` left | 15:23 |
|
visual
| right | 15:23 |
|
| well, too late for could'ves, right | 15:23 |
|
AnimeLife
| lol | 15:24 |
| → King_Hual joined | 15:24 |
| ← King_Hual left | 15:24 |
| → King_Hual joined | 15:24 |
| ← clmsy left | 15:24 |
|
nedbat
| visual: it's not too late, git still has the history of all the files. | 15:24 |
|
visual
| is there a pull --force? | 15:24 |
| → patarr_ joined | 15:24 |
|
kadoban
| visual: Probably not as you mean | 15:24 |
|
| What would it do? | 15:24 |
|
AnimeLife
| Anyone? | 15:25 |
|
visual
| edit and remove (if necessary) all the files that are different locally | 15:25 |
|
nedbat
| AnimeLife: what are you trying to change in git? | 15:25 |
|
visual
| you know? | 15:25 |
| ← peterbecich left | 15:25 |
|
kadoban
| AnimeLife: This channel isn't primarily git developers, you might have to wait a few. | 15:25 |
|
visual
| nedbat: >fatal: 'revert' is not possible because you have unmerged files. | 15:25 |
|
AnimeLife
| nedbat: I am working on their microprojects for gsoc | 15:26 |
| → marianina8 joined | 15:26 |
|
kadoban
| visual: That's not what pull is for. If you just want the state of files and the history to be the same as a remote, that's a different command. If you just want the state of files, but *not* the history to be the same, that's yet another command. Neither one is pull. | 15:26 |
|
nedbat
| visual: i don't know specifically how to fix that problem. I know that your current style of "stomp around, and try things I half-understand" isn't going to work. | 15:26 |
|
visual
| sure it will | 15:27 |
|
| :^) | 15:27 |
|
AnimeLife
| kadoban: thnx, can is their any channel for git devs? | 15:27 |
|
visual
| rm -rf; git pull {branch} and then re-upgrade the thing | 15:27 |
| ← patarr left | 15:27 |
| → latenite joined | 15:27 |
|
visual
| should've done it an hour ago instead of fucking it up like this | 15:27 |
|
nedbat
| visual: ok, do that now then, and put us all out of your misery :) | 15:27 |
|
visual
| nedbat: done | 15:27 |
|
| ) | 15:27 |
|
| fuck git | 15:27 |
| ← buzzLightBeer left | 15:28 |
|
latenite
| Hi folks, why does git not recognize my new 'test' directory? https://gist.github.com/anonymous/8b44cd34554cd5d0c7d1dbf07d4d187a | 15:28 |
|
visual
| thanks for your patience everybody | 15:28 |
|
kadoban
| AnimeLife: #git-devel exists, but I don't know how active it is. Looks pretty small | 15:28 |
| → marsmellow joined | 15:28 |
| → sgen joined | 15:28 |
| → steeze joined | 15:28 |
|
perlpilot
| latenite: If it's empty git won't pay attention to it. | 15:29 |
|
latenite
| perlpilot, I just cloned it. There are many files... | 15:29 |
|
| perlpilot, what do you mean by "empty"? | 15:29 |
| → Glooomy joined | 15:29 |
| ← kexmex left | 15:30 |
|
perlpilot
| latenite: your paste shows "mkdir test" but not that you put any files into it | 15:30 |
|
nedbat
| AnimeLife: i would expect gsoc to provide you with a contact, or some support. | 15:30 |
| → eroux joined | 15:30 |
|
kadoban
| latenite: You added the directory 'test', but there's no files in it. Git doesn't consider an empty directory as "content" worth tracking. | 15:30 |
|
latenite
| perlpilot, right, I need an empty directory like this. | 15:30 |
| ← eroux left | 15:30 |
|
AnimeLife
| thnx guys, I will try these channels | 15:30 |
|
kadoban
| I'm not really clear why this is, since it considers an empty file as content, but it is what it is. | 15:30 |
|
latenite
| why does git not honor that? | 15:30 |
|
perlpilot
| latenite: a common technique is to stick a .gitignore file in the dir. | 15:31 |
| → bgerber joined | 15:31 |
|
nedbat
| latenite: why is the directory there if it is empty? The answer to that would be a good thing to put into a README in the directory. | 15:31 |
| ← sspssptt left | 15:31 |
| ← marianina8 left | 15:31 |
| → eroux joined | 15:31 |
|
visual
| for all of you saying git is so sleek | 15:31 |
| → ash_workz joined | 15:31 |
|
perlpilot
| latenite: also, why do you "need" an empty dir? | 15:31 |
| → sbasso joined | 15:32 |
|
visual
| run git & svn side by side, and try to sync those :^) | 15:32 |
| ← eroux left | 15:32 |
|
latenite
| so when my project tree has some empty directories....they will not be part of the git repo, IF I dont put a .gitignore in them? | 15:32 |
|
kadoban
| visual: This thread of conversation seems overdone already. Now you really are starting to sound like a troll. | 15:32 |
|
visual
| i know experienced devs who quit because of that | 15:32 |
|
perlpilot
| latenite: if the dirs have no files, git won't bother with them. | 15:32 |
| ← MarioBranco left | 15:32 |
| ← varo left | 15:32 |
| → eroux joined | 15:32 |
|
latenite
| so I have to make a 'find-empty-dir-and-add-gitignore' script then..? | 15:32 |
|
perlpilot
| latenite: why do you need empty dirs? | 15:33 |
| ← finalbeta left | 15:33 |
| → MarioBranco joined | 15:33 |
| ← maxpss left | 15:33 |
|
latenite
| perlpilot, for future project layout | 15:33 |
| ← eroux left | 15:33 |
|
visual
| kadoban: yeah well your interpretation of it is irelevant, it was in part due to your suggestions that i lost a a day's work, isnt it? | 15:33 |
| → finalbeta joined | 15:33 |
|
perlpilot
| latenite: just add those dirs to git when you actually put files in them | 15:34 |
| → jn__ joined | 15:34 |
|
latenite
| perlpilot, that absurdes the idea of "FUTURE layout" | 15:35 |
|
| why does git have this policy? | 15:35 |
|
kadoban
| visual: I *highly* doubt that I told you to type any command that hurt anything. If you can show where I did, that'd be interesting information to me. But regardless, you're always responsible for understanding what people suggest before using their suggestions. | 15:35 |
| → sspssptt joined | 15:35 |
|
perlpilot
| latenite: I don't know really. I've always thought it odd. | 15:35 |
| ← sspssptt left | 15:36 |
| ← imrg left | 15:36 |
|
latenite
| perlpilot, me too | 15:36 |
|
| then why not change it | 15:36 |
|
nedbat
| this from the guy who was banned from another channel for suggesting a cloaked "rm -rf *" when someone needed help... | 15:36 |
|
visual
| if you understood every suggestion, you wouldnt've asked for help, would you? | 15:36 |
|
latenite
| #bug report? | 15:36 |
|
kadoban
| visual: And my interpretation is indeed relevant; I am one of the people entrusted with keeping this channel functioning smoothly. Nobody minds if you want to make some snide comments, but continuing it won't be a fruitful conversation, you're not going to convince everyone to use svn. | 15:36 |
| → mazert_ joined | 15:36 |
|
perlpilot
| visual: people are responsible for their own actions. period. The onus of understanding what you're doing is still on you. | 15:37 |
| → dimi1947 joined | 15:37 |
|
kadoban
| visual: You are presumably not a robot. You can take people's suggestions, and if you don't understand them, look up what they do ... or ask (usually after trying to look it up). | 15:37 |
|
visual
| i wasnt trying to convince to use svn, im saying running those 2 side by side and trying to keep them synced made experienced devs quit | 15:37 |
| → brent__ joined | 15:37 |
| ← chardan left | 15:37 |
| ← sgen left | 15:37 |
| ← jstein left | 15:38 |
|
visual
| whatever man, you dont expect people who dont understand the question to attempt to give answers, thus not always spending time on researching every answer | 15:38 |
|
| if it doesnt look like a rm -rf, why would they purposely mislead you | 15:39 |
| ← chigang left | 15:39 |
|
latenite
| perlpilot, nedbat, kadoban thank you for helping. | 15:39 |
|
visual
| if it's a bad answer by accident, usually others correct it | 15:39 |
|
latenite
| :D | 15:39 |
| → ResidentBiscuit joined | 15:39 |
| → maarhart joined | 15:39 |
|
visual
| latenite: yeah, check to see if your files dont contain <<<<<HEAD and shit like that | 15:39 |
| → kexmex joined | 15:39 |
|
kadoban
| visual: There are commands that are both dangerous and useful. | 15:40 |
|
perlpilot
| latenite: good luck (though, find empty dirs and add .gitignore is an easy script if you have to write it :) | 15:40 |
|
visual
| yeah well, there's no point in arguing | 15:40 |
|
| i've asked my boss and a a coleague to stay here past closing time (40+ minutes now) so i can fix this mistake :^) | 15:40 |
|
| im gonna get back to it | 15:40 |
|
kadoban
| Good luck. | 15:40 |
|
visual
| you too | 15:40 |
| ← User458764 left | 15:40 |
|
mar77i
| hmm. how can I merge part of a different branch onto which I cherry-picked? | 15:41 |
| ← brent__ left | 15:41 |
| → brent__ joined | 15:41 |
| → YuGiOhJCJ joined | 15:41 |
| ← maarhart left | 15:42 |
|
kadoban
| mar77i: Can you explain a bit more what you're attempting to acheive? Not really clear to me. | 15:42 |
|
mar77i
| like master has A, B, C, D, E, F, G branch A, B, C and E off of master. I'd like to put branch into a state where master was on F. | 15:43 |
| → nixjdm_ joined | 15:43 |
| → theiostream joined | 15:43 |
|
mar77i
| and... including D. | 15:43 |
| ← nixjdm_ left | 15:44 |
|
kadoban
| mar77i: I believe that's just 'git checkout otherbranch' and then 'git merge F', where F is any way you want to refer to that commit. Though make a !backup just in case I'm still misunderstanding you. | 15:44 |
|
gitinfo
| mar77i: Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups | 15:44 |
| → cagomez joined | 15:44 |
| ← cagomez left | 15:45 |
| → cagomez_ joined | 15:45 |
| ← MarioBranco left | 15:45 |
|
kadoban
| mar77i: You can refer to it by shaid, or something like master~1 if you're comfortable with those, etc. | 15:45 |
|
mar77i
| hmm. how comes I get conflicts for that, then? | 15:45 |
| ← drodger left | 15:45 |
|
kadoban
| Well, conflicts are a fairly expected part of merging sometimes. Do some of them not look like they should be happening? | 15:46 |
|
| I've found !eek helpful before, if you're not that comfortable with merging yet | 15:46 |
|
gitinfo
| [!eekaconflict] Merge conflicts are a natural part of collaboration. When facing one, *don't panic*. Read "How to resolve conflicts" in man git-merge and http://git-scm.com/book/ch3-2.html#Basic-Merge-Conflicts then carefully go through the conflicts. Picking one side verbatim is not always the right choice! A nice video explaining merge conflicts: https://www.youtube.com/watch?v=zz7NuSCH6II | 15:46 |
|
quinq
| Humm, is there a reason “git shortlog --date='format:%Y' --format='format:%ad'” isn't printing only the commit year? | 15:47 |
|
mar77i
| strangely, though, all of them are of the form <<<HEAD\n===\n...\n>>> | 15:48 |
|
kadoban
| They're entirely whitespace you mean? | 15:48 |
|
mar77i
| no, not whitespace. they're completely empty. | 15:48 |
| ← elect left | 15:48 |
| → tyreld joined | 15:49 |
|
kadoban
| The whole conflict is empty? That's ... weird. Or you mean only one side? | 15:49 |
| → User458764 joined | 15:49 |
|
mar77i
| one side. | 15:49 |
|
| which I find rather remarkable, really. | 15:50 |
| → eroux joined | 15:50 |
|
kadoban
| I think it means that one side deleted that section and the other side changed that section, at least usually. | 15:50 |
| ← eroux left | 15:51 |
| → drodger joined | 15:51 |
|
mar77i
| now i have a case where the clearly old part is on one side an the clearly "new" part is on the other. | 15:53 |
| → synthroid joined | 15:53 |
| → eroux joined | 15:54 |
|
mar77i
| ah, I understand. there's this merge strategies thing and the default seems rather awkward. | 15:54 |
| ← eroux left | 15:54 |
| → eroux joined | 15:55 |
|
kadoban
| The default is generally okay, but yeah there are other strategies. Be careful they actually give you what you want though, it's easy to just get it to give you *a* result, not a useful result. | 15:55 |
| ← eroux left | 15:55 |
|
perlpilot
| graphical merge tools help greatly | 15:56 |
|
Levin^
| visual: I think you should do as I'm doing | 15:57 |
|
| to read a book about git | 15:57 |
|
| the basics | 15:57 |
|
| my book is explaining how to deal with merge conflicts | 15:57 |
| → orbyt_ joined | 15:58 |
|
Levin^
| maybe you can find a good book in your language | 15:58 |
|
mar77i
| yup. the result I'm looking for treats the current branch as behind from master, but it seems "theirs" isn't even a valid strategy? | 15:58 |
| → Doros joined | 15:58 |
| → eroux joined | 15:59 |
|
latenite
| Hi folks, I have added a hook script that simply appends the date to a file. THen I have pushed to the master. But the hook did not run. What am I missing? | 15:59 |
|
kadoban
| mar77i: If this is too much of a mess, you can try just cherry-picking the two commits you're missing. Though it may (will?) result in the same thing. | 15:59 |
|
_ikke_
| What hook did you create and where did you create it? | 15:59 |
|
| latenite: ^ | 15:59 |
|
mar77i
| turns out I was reading the manual the wrong way. | 15:59 |
| ← eroux left | 15:59 |
| → dreiss joined | 15:59 |
| ← jnavila left | 15:59 |
| → freimatz_ joined | 15:59 |
| → eroux joined | 16:00 |
|
Levin^
| visual: and when I'm scared on some git command, all I do is to backup all my files so if there's a mistake, you can revert it | 16:00 |
| ← jwsuiw left | 16:00 |
| ← eroux left | 16:00 |
|
Levin^
| but I'm learning it's troublesome to backup and restore files like that, it seems git doesn't like it | 16:00 |
|
| hmmm | 16:01 |
| → thebope joined | 16:01 |
| → hahuang61 joined | 16:01 |
| ← oxguy3 left | 16:01 |
|
latenite
| _ikke_, this is what I have done: https://gist.github.com/anonymous/df3920a645cee3cdf88762a36aaa2f94 | 16:01 |
|
Levin^
| it seems git detects your massive changes and blames everything is not sync | 16:01 |
|
_ikke_
| latenite: (what a long promt) | 16:02 |
| → thiago joined | 16:02 |
|
latenite
| _ikke_, sorry I have not set it. I might have to change that later... | 16:02 |
|
_ikke_
| latenite: git hooks have predefined names, you cannot just put a file with a random name in the hooks dir | 16:02 |
|
perlpilot
| latenite: which hook calls write-date.bash? | 16:02 |
|
kadoban
| latenite: Hooks have to be named a specific thing, which corresponds to when git will run them. | 16:02 |
|
latenite
| oh like post-receive | 16:03 |
|
| so I 'mv write-date.bash post-receive' | 16:03 |
|
_ikke_
| post receive runs on the server side | 16:03 |
| ← freimatz left | 16:03 |
|
mar77i
| ah, I managed to simplify it a lot by specifying --strategy=recursive -X theirs. now it was only confused about the file adds, which created the same file twice with different ~derp suffixes. | 16:04 |
|
latenite
| _ikke_, want this to run on the serverside, yes | 16:04 |
|
_ikke_
| ok | 16:04 |
|
| latenite: and you need to make sure it's executable | 16:04 |
|
kadoban
| mar77i: Sounds like an improvement. Do make sure at the end that the result still makes sense though, and includes all the stuff you think it should. | 16:05 |
| ← thebope left | 16:05 |
|
perlpilot
| latenite: why do you want to write the date to a file each time someone pushes changes? | 16:05 |
| ← Doros left | 16:05 |
| → Doros joined | 16:05 |
|
latenite
| _ikke_, renaming did the trick. thank you | 16:06 |
|
kadoban
| I kind of assume that's just a test to figure out hooks | 16:06 |
| ← hahuang61 left | 16:06 |
|
latenite
| perlpilot, just to test. Actually I want to start an ansible job up on a receive. | 16:06 |
| ← guampa left | 16:06 |
|
perlpilot
| kadoban: one would hope. I just like to be sure :) | 16:06 |
|
latenite
| kadoban, indeed :D | 16:06 |
| → oxguy3 joined | 16:06 |
|
kadoban
| :) | 16:06 |
|
_ikke_
| Make sure it runs asyncronously | 16:06 |
| ← ferr1 left | 16:06 |
| → porsche944 joined | 16:07 |
|
latenite
| _ikke_, asyncronously? could you explain what you mean by that? | 16:07 |
| → Doros_ joined | 16:07 |
| ← Doros_ left | 16:07 |
| → robotroll joined | 16:08 |
| → freimatz joined | 16:08 |
| ← Doros left | 16:08 |
| → Constant544 joined | 16:09 |
|
mar77i
| ...weird stuff. | 16:09 |
| → jstein_ joined | 16:09 |
|
kadoban
| latenite: I believe that git will make the client wait while the hook runs, so that any output can be directed to the client. Which is usually not what you want to happen, so you probably want to set it up so the hook does a very small amount of work that later triggers an automatic thing to do the long-running task. | 16:10 |
| ← manuelschneid3r left | 16:10 |
|
latenite
| kadoban, ah ok, sure I'll do that. Thank you. | 16:11 |
| → eroux joined | 16:12 |
| jstein_ → jstein | 16:12 |
| ← Constant544 left | 16:12 |
| ← fbwnd left | 16:12 |
| ← sbasso left | 16:12 |
| → Constant544 joined | 16:12 |
| ← eroux left | 16:12 |
| → ronin_work joined | 16:12 |
| → sbasso joined | 16:13 |
|
mar77i
| hmm. seems I was using cherry-pick for too long. the branches aren't considered the same by git at all. | 16:13 |
| ← kegster left | 16:13 |
| → lhcrkd joined | 16:13 |
|
mar77i
| that is, by a lot of the recent history, but going 15 into the complete history. | 16:13 |
|
latenite
| Is there a way to tell the hook which files have changed? I'd like to write an email and add file names of changed files ... | 16:13 |
|
mar77i
| 15%. | 16:13 |
|
GodGinrai
| latenite: I'm pretty sure the files changed are passed to the hooks | 16:14 |
| ← acetakwas left | 16:14 |
|
GodGinrai
| latenite: which hook are you looking at? | 16:14 |
|
latenite
| GodGinrai, post-receive | 16:14 |
| → durham joined | 16:15 |
| → madewokherd joined | 16:15 |
| → eroux joined | 16:15 |
| → kegster joined | 16:16 |
| ← eroux left | 16:16 |
| ← cam27 left | 16:17 |
| ← sbasso left | 16:17 |
| ← sotoz left | 16:17 |
|
GodGinrai
| latenite: it looks like post-receive is given a list of the updated refs, so you would just need to use those to find the changed files. I'm not sure exactly what command you would need to pass these refs into to get that list of files, tho'. Maybe one of the gits here can help you on that matter. | 16:19 |
|
latenite
| GodGinrai, maybe I just use bash and parse $@ and see.... :D | 16:20 |
| → eroux joined | 16:20 |
|
latenite
| GodGinrai, thank you for pointing the right direction. | 16:20 |
|
GodGinrai
| np | 16:20 |
| ← Es0teric left | 16:20 |
| ← eroux left | 16:21 |
| → peterbecich joined | 16:21 |
| ← lhcrkd left | 16:21 |
| → buzzLightBeer joined | 16:22 |
| ← batrick left | 16:25 |
| → mischat joined | 16:25 |
| ← peterbecich left | 16:25 |
| → MathNeverEnds joined | 16:25 |
| ← buzzLightBeer left | 16:26 |
| ← kristofferR left | 16:26 |
| → eroux joined | 16:26 |
| ← Rodya_ left | 16:26 |
| ← eroux left | 16:27 |
| ← vuoto left | 16:27 |
| → scoobert1on joined | 16:27 |
| ← fission6 left | 16:27 |
| → eroux joined | 16:27 |
| ← mda1 left | 16:27 |
| → Rodya_ joined | 16:28 |
| ← eroux left | 16:28 |
| → manuelschneid3r joined | 16:28 |
| → mda1 joined | 16:28 |
| ← dhollinger left | 16:28 |
| → Rodya__ joined | 16:28 |
| → buzzLightBeer joined | 16:29 |
| ← oxguy3 left | 16:29 |
| → kristofferR joined | 16:29 |
| ← nowhere_man left | 16:30 |
| ← IRQ` left | 16:30 |
|
latenite
| Using ${@} in a post-receive script does not yield the filenames that where changed. https://gist.github.com/anonymous/f9bdca945f97ae2095a05901db040fa2 | 16:30 |
| ← buzzLightBeer left | 16:31 |
|
latenite
| How can I get the names / paths of the files changed in a post-receive hook? | 16:31 |
| ← scoobertron left | 16:31 |
| ← kurkale6ka left | 16:31 |
| → metachr0n joined | 16:32 |
| ← Rodya_ left | 16:32 |
| → batrick joined | 16:33 |
| → Es0teric joined | 16:33 |
| ← Fallen0223 left | 16:34 |
|
perlpilot
| latenite: normal git commands should work. | 16:34 |
|
| latenite: something like: git diff --name-only COMMIT | 16:35 |
| ← Rodya__ left | 16:35 |
| → eahmedshendy joined | 16:36 |
|
kadoban
| Be a bit careful if this is important. It's ambiguous what "changed" means. If I change a file in one commit and revert that change in the next, was that file changed? | 16:36 |
|
latenite
| perlpilot, kadoban (yes it was changed twice ... thank for the hint) | 16:38 |
|
| https://gist.github.com/anonymous/01b36c90c9837229c7e87aca37c79af2 | 16:38 |
|
| I get this ^^ but no list of files | 16:38 |
| ← mikecmpbll left | 16:38 |
| ← Ryanar left | 16:39 |
| ← freimatz_ left | 16:39 |
|
GodGinrai
| latenite: I told you, it gives you a list of refs, not files | 16:39 |
|
latenite
| GodGinrai, there was nothing in ${@}, no files names not refs. | 16:40 |
|
GodGinrai
| weird | 16:40 |
| ← Constant544 left | 16:41 |
| ← User458764 left | 16:41 |
|
_ikke_
| latenite: you have to read stdin | 16:41 |
|
| It doesn't get the refs as arguments | 16:41 |
|
latenite
| GodGinrai, see my last paste https://gist.github.com/anonymous/f9bdca945f97ae2095a05901db040fa2 | 16:41 |
|
_ikke_
| latenite: post-receive gets the refs via stdin | 16:43 |
|
latenite
| _ikke_, so I do 'cat /dev/stdin' in post-receive? | 16:43 |
| → boombatower joined | 16:43 |
|
_ikke_
| "It takes no arguments, but gets the same information as the pre-receive hook does on its standard input." | 16:43 |
| ← LBV_User left | 16:43 |
|
_ikke_
| for example | 16:43 |
| ← orbyt_ left | 16:44 |
| ← jstein left | 16:44 |
| ← holodoc left | 16:44 |
|
_ikke_
| while read commit_old commit_new ref; do echo $commit_old $commit_new $ref; done | 16:45 |
|
latenite
| _ikke_, great | 16:45 |
|
| https://gist.github.com/anonymous/dfb688ed1cd721b1dfbd0472fb91a83f | 16:45 |
|
| there we go | 16:45 |
|
| no what are "refs" and how to I work with them? Its a new term to me. | 16:45 |
| → gareppa joined | 16:45 |
|
_ikke_
| ref is the name for branches, tags etc | 16:45 |
| → TomyLobo2 joined | 16:46 |
| ← ronin_work left | 16:46 |
| → nowhere_man joined | 16:46 |
| → holodoc joined | 16:46 |
|
_ikke_
| a branch is a type of ref | 16:47 |
|
latenite
| 'git show' seems to give me all the info I want in the email. nice | 16:48 |
|
_ikke_
| git show just shows the changes of a single commit | 16:49 |
|
| if you were to push more commits, than you would miss information | 16:49 |
| ← marsmellow left | 16:49 |
| → sbasso joined | 16:51 |
| ← flaviodesousa left | 16:52 |
|
latenite
| _ikke_, true it only shows the last commit | 16:53 |
|
| https://gist.github.com/anonymous/bfbf517161c07508bdc4f18cfe393eae | 16:53 |
|
| thats bad... hmm | 16:53 |
|
| is there a command to show the changes between to pushs? | 16:53 |
|
kadoban
| git show on a commit indeed just shows information about that particular commit. You probably need to figure out the previous commit that a ref pointed to and then use something like log or something lower level. | 16:54 |
| → octo8 joined | 16:54 |
| ← octo8 left | 16:54 |
| → octo8 joined | 16:54 |
| → thebope joined | 16:55 |
| ← gareppa left | 16:55 |
| → oxguy3 joined | 16:55 |
|
latenite
| kadoban, that sounds doable but tedious. I was hoping git comes with a command to show diffs | 16:56 |
| ← dreiss left | 16:56 |
|
octo8
| today I asked a question about webhooks, I figured out the solution, http://stackoverflow.com/questions/43065897/webhook-php-file-work-from-terminal-but-not-from-bitbucket .... I would like to either make a video tutorial or write an article, which is best ? | 16:56 |
|
GodGinrai
| octo8: I prefer articles over videos. I tend to absorb better from articles, plus you can actually copy the examples instead of being angry that you can't copy what you are seeing. ;) | 16:56 |
|
kadoban
| latenite: Not a lot of hookish stuff is very pretty | 16:57 |
| → dhollinger joined | 16:57 |
|
octo8
| GodGinrai: but what is more viral ? | 16:57 |
|
GodGinrai
| octo8: dunno. would either of them be all that viral? | 16:57 |
| ← Es0teric left | 16:58 |
| ← g0d355__ left | 16:58 |
|
octo8
| GodGinrai: which one is better to show for future employers ? | 16:58 |
|
_ikke_
| latenite: why not git diff <old> <new> | 16:58 |
| → freimatz3 joined | 16:58 |
|
GodGinrai
| octo8: I would assume an article would be better to show future employers. Unless you are looking for a job that has video creation as one of your job responsibilities | 16:59 |
|
latenite
| _ikke_, sounds great, if I would only knew what <old> <new> referes to. | 16:59 |
| ← Sound left | 16:59 |
|
_ikke_
| latenite: man githooks explains what data you get from stdin | 16:59 |
|
gitinfo
| latenite: the githooks manpage is available at http://jk.gs/githooks.html | 16:59 |
| → MarioBranco joined | 16:59 |
|
octo8
| GodGinrai: some people say if i show my face, then employers would know more about me... | 16:59 |
|
| i don't know... i will make an article I think | 17:00 |
|
| ok, now i go back to watching a whole series about git, to be more familiar with it | 17:00 |
|
GodGinrai
| octo8: showing your face is for your interviews, IMO. Show up in person (or do a remote video chat) and be cordial | 17:00 |
| ← thebope left | 17:01 |
| → t0by joined | 17:01 |
| ← t0by left | 17:01 |
| → t0by joined | 17:01 |
| → hahuang61 joined | 17:01 |
| → svm_invictvs joined | 17:01 |
| ← freimatz left | 17:02 |
| ← salamanderrake left | 17:02 |
| ← shinnya left | 17:02 |
| → livingstn joined | 17:03 |
| ← livingstn left | 17:03 |
| ← eahmedshendy left | 17:03 |
|
quinq
| Have a good day | 17:03 |
| ← quinq left | 17:03 |
| → salamanderrake joined | 17:03 |
| → fission6 joined | 17:04 |
|
latenite
| _ikke_, git diff <old> <new> indeed gives me the files and also what changed. But now I am spoiled from the 'git show' output and want info about the user, date as well | 17:04 |
|
| where is that stored? | 17:04 |
|
| Oh I see in 'git show <last>' | 17:05 |
| → kpease joined | 17:05 |
|
latenite
| cool that pretty much does it. | 17:06 |
| → salamanderrake_ joined | 17:06 |
|
latenite
| _ikke_, great thank you. | 17:06 |
| → matoro joined | 17:06 |
|
_ikke_
| git show <last> still shows one commit.. | 17:06 |
| → xmj joined | 17:06 |
|
xmj
| moin | 17:06 |
|
_ikke_
| latenite: Don't you want git log --patch <old>..<new>? | 17:06 |
|
xmj
| is there a way to partially revert a commit, that is, restore two files but not restore the rest? | 17:06 |
| ← sbasso left | 17:07 |
|
_ikke_
| xmj: git checkout <commit> <file1> <file2> | 17:07 |
|
| xmj: This will overwrite any local changes to those files | 17:07 |
|
xmj
| ah interesting | 17:07 |
| ← theiostream left | 17:07 |
|
xmj
| _ikke_: can i use paths as well? | 17:07 |
| → plicki joined | 17:07 |
|
_ikke_
| sure | 17:08 |
| → PaoloP joined | 17:08 |
| → User458764 joined | 17:08 |
| ← kpease left | 17:08 |
| ← salamanderrake left | 17:09 |
| → peterbecich joined | 17:09 |
| → fbwnd joined | 17:09 |
| ← Levin^ left | 17:10 |
| → faLUCE joined | 17:10 |
|
faLUCE
| Hello. After doing: git add file1; git commit -m "comment1"; git add file2; git commit -m "comment2"; <--- how can I create two patches from these commits and squash them into one patch file? | 17:11 |
| ← salamanderrake_ left | 17:11 |
| ← PaoloP left | 17:11 |
| ← ejnahc_ left | 17:11 |
| ← mischat left | 17:11 |
| ← thallada left | 17:12 |
| → salamanderrake joined | 17:12 |
|
kadoban
| faLUCE: 'git diff HEAD~2 > blah.patch' probably? | 17:12 |
| → ejnahc joined | 17:12 |
| ← jstimm left | 17:12 |
| ← hahuang61 left | 17:14 |
| ← CheckDavid left | 17:14 |
| → hahuang65 joined | 17:14 |
| → al-damiri joined | 17:15 |
| ← Vector_Gorgoth left | 17:16 |
|
faLUCE
| kadoban: thanks | 17:16 |
| ← fedepad left | 17:16 |
|
latenite
| _ikke_, git log --patch <old>..<new> shows way more that what happend between last and second to last push. | 17:16 |
|
| how come? | 17:16 |
| → thallada joined | 17:18 |
| ← cvcxc__ left | 17:19 |
| ← netroxen left | 17:20 |
| → bitmod joined | 17:20 |
| → sword joined | 17:20 |
| → Fallen0223 joined | 17:20 |
| ← peterbecich left | 17:22 |
| ← octo8 left | 17:22 |
| ← svm_invictvs left | 17:24 |
| ← cagomez_ left | 17:25 |
| → cagomez joined | 17:26 |
| ← bongjovi left | 17:26 |
| → dsantiag_ joined | 17:26 |
| → oleo joined | 17:28 |
| → Ryanar joined | 17:29 |
| ← nd left | 17:29 |
| → cliluw joined | 17:29 |
| → livingstn joined | 17:29 |
| → peterbecich joined | 17:29 |
| ← dsantiago left | 17:29 |
| → [twisti] joined | 17:30 |
| → nd- joined | 17:30 |
| ← fission6 left | 17:30 |
| ← cagomez left | 17:30 |
|
[twisti]
| is it possible to have two 'origin' upstreams, or to chain upstreams somehow ? i would like to use my own gitlab instance for my projects, but it would be nice if they would be transparently 'backed up' to github or bitbucket | 17:31 |
| ← matoro left | 17:32 |
| → gunnaro joined | 17:33 |
| ← Kaisyu left | 17:34 |
| ← peterbecich left | 17:35 |
| → bannakaffalatta joined | 17:35 |
| → dreiss joined | 17:36 |
| ← fbwnd left | 17:36 |
| → Sound joined | 17:37 |
| ← marcogmonteiro left | 17:37 |
|
sonOfRa
| git remote set-url --push --add [email@hidden.address] | 17:37 |
|
| origin between --push | 17:37 |
|
[twisti]
| and then when i push, it will be pushed to both ? | 17:38 |
| → svm_invictvs joined | 17:38 |
| → rominronin joined | 17:38 |
| ← Cabanossi left | 17:38 |
| ← bannakaf_ left | 17:38 |
| → matoro joined | 17:39 |
|
sonOfRa
| Yup | 17:39 |
| → Cabanossi joined | 17:41 |
| ← m1dnight_ left | 17:42 |
| ← finalbeta left | 17:42 |
| → bannakaf_ joined | 17:42 |
| → ronin_work joined | 17:43 |
| → ayogi joined | 17:43 |
| → fedepad joined | 17:43 |
| ← bannakaffalatta left | 17:44 |
| → miczac joined | 17:44 |
| gitinfo set mode: +v | 17:44 |
| ← peepsalot left | 17:45 |
| → raspado joined | 17:46 |
| → thebope joined | 17:49 |
| ← oleo left | 17:49 |
| ← moei left | 17:50 |
| → kasual joined | 17:50 |
|
[twisti]
| cool, thanks | 17:51 |
| ← livingstn left | 17:51 |
| → peterbecich joined | 17:51 |
| → livingstn joined | 17:52 |
| → Rodya_ joined | 17:53 |
| ← thebope left | 17:53 |
| ← cliluw left | 17:53 |
| ← chipotle left | 17:54 |
| ← plasticle left | 17:55 |
| → cliluw joined | 17:56 |
| ← diogenese left | 17:56 |
| → plasticle joined | 17:56 |
| → oleo joined | 17:56 |
| → c0c0 joined | 17:57 |
| ← afuentes left | 17:57 |
| → kpease joined | 17:58 |
| → m1dnight_ joined | 18:00 |
| → mischat joined | 18:00 |
| ← mischat left | 18:00 |
| → mischat joined | 18:01 |
| → procrasinator joined | 18:01 |
|
procrasinator
| Upstream user deleting, creating branches, how to update that in my repo? | 18:01 |
| ← theoceaniscool left | 18:02 |
| ← prg3 left | 18:02 |
|
procrasinator
| How to keep it synced? | 18:02 |
|
| Now I have 12 branches he has only 8 | 18:02 |
| ← svm_invictvs left | 18:02 |
| → Levin^ joined | 18:03 |
|
ojacobson
| procrasinator: `git fetch --prune <remote>` or `git remote update --prune <remote>` will update your view of the <remote>'s branches | 18:03 |
| ← kpease left | 18:04 |
| → svm_invictvs joined | 18:04 |
|
procrasinator
| I did git fetch --all --prune, then git push --all, the upstream is update but not mine. the branches he had they still in my side | 18:05 |
| → satifant joined | 18:05 |
| → prg3 joined | 18:05 |
| ← plasticle left | 18:06 |
| → kpease joined | 18:06 |
| ← dimi1947 left | 18:06 |
| → karols146 joined | 18:07 |
| ← paws_ left | 18:07 |
|
_ikke_
| git fetch and git push will never remove local branches | 18:07 |
|
| you have to manually remove them | 18:07 |
| → plasticle joined | 18:08 |
| → theoceaniscool joined | 18:09 |
| → b100s joined | 18:09 |
|
b100s
| hi2all | 18:09 |
|
| can i search in git in all branches for last year for exact file ? : ) | 18:09 |
|
| i mean, i want to find commits on some file in all branches in all repo | 18:10 |
| ← dmc left | 18:10 |
| ← kpease left | 18:10 |
|
procrasinator
| _ikke_: when do i need to run this command? `git push origin '+refs/remotes/upstream/*:refs/heads/*'` | 18:11 |
| → fission6 joined | 18:11 |
|
procrasinator
| or git push --all 'll work to push new remote branches | 18:11 |
|
b100s
| better to restrict it by date, but not necessarily | 18:11 |
| → dmc joined | 18:12 |
| → ertesx joined | 18:12 |
| → orbyt_ joined | 18:12 |
| ← darkbit left | 18:14 |
|
b100s
| solved; 'git log --all' is what i need | 18:14 |
| → Sasazuka joined | 18:14 |
| → Es0teric joined | 18:15 |
| ← ertes left | 18:15 |
| ertesx → ertes | 18:15 |
| → theiostream joined | 18:15 |
| → Jackneilll joined | 18:16 |
| ← borkr left | 18:16 |
| → dionysus69 joined | 18:16 |
|
dionysus69
| hey all | 18:16 |
|
karols146
| dionysus69: o/ | 18:17 |
| → Cassiopaya joined | 18:17 |
| ← ronin_work left | 18:17 |
|
dionysus69
| I am having trouble with my partner. so I made a pull request but meanwhile my partner had commits. the pull overwrote my partners commits. how can he merge my changes without deleting his own? | 18:17 |
| → diogenese joined | 18:18 |
| → hashtagstrashtag joined | 18:18 |
| ← brent__ left | 18:18 |
| ← Jackneill left | 18:19 |
| ← theiostream left | 18:19 |
| → theiostream joined | 18:20 |
| → brent__ joined | 18:20 |
| ← Jackneilll left | 18:20 |
| ← karols146 left | 18:23 |
| ← orbyt_ left | 18:25 |
| ← peterbecich left | 18:25 |
| ← _August_ left | 18:25 |
| ← theoceaniscool left | 18:26 |
| ← livingstn left | 18:26 |
| → snowalpaca joined | 18:26 |
| ← cdg left | 18:26 |
|
_ikke_
| A normal merge does not overwrite changes | 18:27 |
| → peterbecich joined | 18:27 |
| ← AaronMT left | 18:28 |
| ← snowalpaca left | 18:29 |
| ← steeze left | 18:29 |
| → karols146 joined | 18:30 |
| ← leeN left | 18:30 |
| → dvaske joined | 18:31 |
| ← mischat left | 18:31 |
| ← enckse left | 18:31 |
| → dvaske_ joined | 18:32 |
|
dglambert
| Hey, is it possible to figure out which setup I choose when installing Git for Windows? | 18:32 |
| → orbyt_ joined | 18:33 |
|
dglambert
| I'm talking specifically about the Adjusting your PATH environment setp | 18:33 |
| → peterbec` joined | 18:33 |
| ← peterbecich left | 18:33 |
| → enckse joined | 18:35 |
| ← b100s left | 18:35 |
|
_ikke_
| dglambert: I'd use the default | 18:35 |
|
| unless you want to change what cmd does | 18:35 |
|
dglambert
| I'm trying to compare to existing install | 18:35 |
| ← dvaske left | 18:35 |
| → gunnaro_ joined | 18:36 |
| ← procrasinator left | 18:37 |
| ← miczac left | 18:37 |
| ← gunnaro left | 18:38 |
|
dglambert
| http://imgur.com/a/0CzCx | 18:38 |
|
| Top is the old install, bottom is my install | 18:38 |
|
_ikke_
| How old is the old install? | 18:39 |
|
dglambert
| 2.10 I think | 18:39 |
|
| I installed 2.12 | 18:39 |
| ← kasual left | 18:39 |
| ← Sasazuka left | 18:39 |
| → moei joined | 18:40 |
|
dglambert
| 2.11.1 | 18:40 |
|
| I installed 2.12.2 | 18:40 |
| → Silenced joined | 18:40 |
|
dglambert
| So not very old | 18:40 |
| → Sasazuka joined | 18:41 |
| → roby10 joined | 18:41 |
|
_ikke_
| ok | 18:41 |
| → Noldorin joined | 18:42 |
|
dglambert
| Maybe its just the logo | 18:42 |
| → Disavowed joined | 18:42 |
|
dglambert
| I was just wondering if the original install differed in the setup of the integration with windows | 18:42 |
| → mischat joined | 18:43 |
|
_ikke_
| It should not matter too much | 18:43 |
| → thebope joined | 18:43 |
| ← theiostream left | 18:44 |
| ← peterbec` left | 18:44 |
| ← GT4066 left | 18:44 |
| → theiostream joined | 18:44 |
|
dglambert
| this is what I am talking about in the setup, http://imgur.com/a/HjCNo | 18:44 |
| ← mischat left | 18:44 |
|
dglambert
| I think I will test it by using the find and sort commands | 18:45 |
| → mischat joined | 18:45 |
|
_ikke_
| The default should be good | 18:45 |
| → snowalpaca joined | 18:48 |
| ← thebope left | 18:48 |
| ← imack left | 18:49 |
| → buzzLightBeer joined | 18:49 |
| ← Levin^ left | 18:49 |
| → Cavallari joined | 18:49 |
| ← snowalpaca left | 18:50 |
| ← matoro left | 18:50 |
| ← theiostream left | 18:50 |
| → Darren_ joined | 18:53 |
| ← roby10 left | 18:53 |
| → govg joined | 18:54 |
| ← Fallen0223 left | 18:55 |
| → nd joined | 18:57 |
| → p4trix joined | 18:57 |
| → peterbec` joined | 18:57 |
|
Disavowed
| Morning all. In the event that I want to merge a feature branch back into master but keep all the changes from my feature branch if there are any merge conflicts, what is the idiomatic approach? Generally I'll just delete master and `git co -b master` but something tells me this is a horrifying thing to do! | 18:58 |
| → Gustavo6046 joined | 18:59 |
| → m0viefreak joined | 18:59 |
|
GodGinrai
| Disavowed: what you are describing is not a merge, but a replacement | 18:59 |
|
| Disavowed: a merge would include changes that exist in master | 19:00 |
| ← nd- left | 19:00 |
| → weijunli joined | 19:00 |
|
perlpilot
| Disavowed: Sounds like you want `git checkout master; git merge -s theirs feature-branch` though | 19:00 |
|
weijunli
| i have a super slow connection and everytime i try to clone a big project i end up with this error | 19:01 |
|
| error: RPC failed; curl 56 SSLRead() return error -36 | 98.00 KiB/s | 19:01 |
| → snowalpaca joined | 19:01 |
|
weijunli
| there's a way to prevent that or there's no way around and i need to improve my connection somehow | 19:01 |
|
GodGinrai
| perlpilot: the beginning of his comment sounded like that. But then he literally described what he would usually do which was completely replacing the branch... | 19:01 |
| → paws_ joined | 19:01 |
| → muhannad joined | 19:01 |
|
perlpilot
| GodGinrai: yeah, I'm sort of assuming that was a mistake he's trying to learn from | 19:03 |
| ← AstralStorm left | 19:03 |
| → gunnaro joined | 19:04 |
| → matoro joined | 19:04 |
| → roger_raymond joined | 19:04 |
| ← gunnaro_ left | 19:05 |
| ← mischat left | 19:05 |
|
Disavowed
| I thought theirs was the correct merge strategy too, but it doesn't work for my version of git (2.10.0): Available merge strategies are: octopus ours recursive resolve subtree. | 19:06 |
| → theiostream joined | 19:06 |
| ← ayogi left | 19:06 |
| ← Silenced left | 19:06 |
| ← rogerraymond left | 19:06 |
| → superflat joined | 19:07 |
|
Some_Person
| I need to split a folder way down in the folder heirachy of a repo into its own separate repo. What's the best way to go about this? | 19:07 |
|
| it's like 4 subfolders deep | 19:07 |
|
GodGinrai
| Disavowed: then wouldn't you just merge the other way using ours, then FF merge master? | 19:07 |
| → Silenced joined | 19:07 |
| ← peterbec` left | 19:09 |
| → MonkOfCity joined | 19:09 |
| ← Gsham left | 19:09 |
| ← warthog9 left | 19:10 |
| → Sammitch joined | 19:10 |
|
Disavowed
| I did the first part, and I guess stumbled on the FF merge master. It seemed a roundabout way to do it, but if that's the correct strategy in that instance, then I'll do that in future. | 19:10 |
|
| What happened to 'theirs' anyway? I see it from time to time but I'm guessing it got deprecated? | 19:11 |
| → jstimm joined | 19:11 |
|
Some_Person
| I've been trying but messed it up each time so far | 19:11 |
| → AstralStorm joined | 19:11 |
| ← ujjain left | 19:12 |
|
Sammitch
| we've got a [bad] workflow that results in a number of clean, but abandoned working trees which is beginning to cause problems with disk/inode usage. is there a way to remove all files in a clean working tree, but have them restorable via a simple "git pull"? | 19:12 |
| ← theiostream left | 19:12 |
| → yqt joined | 19:12 |
| ← superflat left | 19:13 |
| ← karols146 left | 19:13 |
| ← GodGinrai left | 19:13 |
| ← c0c0 left | 19:13 |
|
_ikke_
| what do you mean in this case with working trees? do you mean commits, or are you copying the files somewhere? | 19:14 |
| → ronin_work joined | 19:14 |
| → steeze joined | 19:15 |
| ← fedepad left | 19:15 |
|
Sammitch
| basically every user has the repo cloned to their homedir | 19:15 |
| → peterbec` joined | 19:15 |
| → warthog9 joined | 19:15 |
| → sotoz joined | 19:15 |
|
_ikke_
| that's quite normal | 19:16 |
|
Some_Person
| I've been trying using git subtree, but for some reason, I only seem to get some of the history | 19:17 |
| → Brski joined | 19:17 |
|
Some_Person
| Crap... I think I know why. The subdirectory these files are in was renamed at one point | 19:18 |
| ← Cavallari left | 19:18 |
| → ujjain joined | 19:18 |
| ← ujjain left | 19:18 |
| → ujjain joined | 19:18 |
|
Some_Person
| How can I preserve the history despite that? | 19:18 |
|
Sammitch
| _ikke_: it's not abnormal, but we also don't need 50 copies of the same code when 49 have no modifications and might never be touched again | 19:18 |
| → thebird joined | 19:18 |
|
Some_Person
| any ideas? | 19:19 |
| ← rominronin left | 19:19 |
| → peepsalot joined | 19:20 |
| → theiostream joined | 19:20 |
| → Gsham joined | 19:21 |
| ← Sasazuka left | 19:21 |
| ← peterbec` left | 19:22 |
| → kkreate joined | 19:22 |
| ← ujjain left | 19:22 |
| gitinfo set mode: +v | 19:23 |
| → Sasazuka joined | 19:23 |
| → tvw joined | 19:24 |
| → imack joined | 19:25 |
|
_ikke_
| Some_Person: Sorry, too little experience with subtree merge | 19:25 |
|
| Sammitch: git can share files between repos (but not the working tree itself) | 19:26 |
|
| Sammitch: But I'm not really sure what you want to achieve for the rest | 19:26 |
| ← MonkOfCity left | 19:27 |
| ← theiostream left | 19:27 |
| → ujjain joined | 19:27 |
| ← ujjain left | 19:27 |
| → ujjain joined | 19:27 |
| ← Disavowed left | 19:28 |
| ← Brski left | 19:28 |
| ← _Vi left | 19:29 |
|
kkreate
| Hello, I currently work with php files on remote server with NetBeans connected to ftp. Want to use something like the distributed version control described in https://git-scm.com/book/en/v2/Getting-Started-About-Version-Control. Since I work on remote files, can I manage git on that server from within NetBeans? I don't really want to create a local repo that pushes to servers local repo which then pushes to the remote repo server. The | 19:29 |
|
| step. | 19:29 |
| ← robotroll left | 19:30 |
| → kbeflo_ joined | 19:30 |
|
Sammitch
| I have a lot of working trees sucking up disk space, I want to: 1. not have them do that. 2. not break workflow [too much], eg: the standard `git pull` at loging gives the user their up-to-date WT as usual | 19:30 |
| → cagomez joined | 19:31 |
| → sgen joined | 19:31 |
|
_ikke_
| Sammitch: git pull is not a good command to 'get an up-to-date' WT | 19:31 |
| ← kbeflo_ left | 19:31 |
|
_ikke_
| Sammitch: but then you might want to look into git's features regarding sharing objects | 19:32 |
| ← Random832 left | 19:32 |
| → fedepad joined | 19:32 |
|
_ikke_
| Sammitch: not that this is just about the repositories, not about the WTs | 19:33 |
| ← imack left | 19:33 |
| → Random832 joined | 19:33 |
|
Sammitch
| if I were concerned about consolidating the git metadata I'd have asked about that | 19:34 |
|
dglambert
| Hey I am trying to get the mv command to move and rename a folder | 19:34 |
| ← raynold left | 19:34 |
| → aidalgol joined | 19:34 |
|
dglambert
| I have C:\P2\Web, but I want to move \Web to C:\P2 | 19:34 |
|
| I keep trying, but no dice | 19:34 |
|
| I'm trying to do it from within P2 | 19:35 |
|
Sammitch
| dglambert: move the files, not the folder. git doesn't really track folders, but rather the paths to tracked files. | 19:35 |
|
dglambert
| oh ok | 19:35 |
|
| mv is a bash command though | 19:36 |
|
Sammitch
| git mv | 19:36 |
|
_ikke_
| Sammitch: you could just remove the working tree files. Then a "git checkout ." would restore them again | 19:36 |
|
dglambert
| Web is outside of git | 19:36 |
| ← kkreate left | 19:36 |
|
dglambert
| my git starts inside of \Web | 19:36 |
| ← snowalpaca left | 19:36 |
| → kkreate joined | 19:36 |
| → snowalpaca joined | 19:36 |
| gitinfo set mode: +v | 19:37 |
|
kkreate
| I would connect to remote repository in NetBeans, push changes there and then set up some sort of webhook to push to the server but since I do debugging it would require me to debug in one project and work in another... | 19:37 |
| → ahrs joined | 19:37 |
|
dglambert
| if I do something like; mv \Web\* \Web\.. | 19:37 |
|
kkreate
| pull to the server * | 19:37 |
| ← kegster left | 19:37 |
|
dglambert
| IS that what you mean Sammitch | 19:37 |
| → thebope joined | 19:37 |
|
_ikke_
| I'm not sure netbeans supports working on a remote server | 19:38 |
| ← Rodya_ left | 19:39 |
| ← Cabanossi left | 19:39 |
| → MonkOfCity joined | 19:39 |
|
_ikke_
| kkreate: My workflow is the opposite. I work remotely, and have a script (based on rync) sync my files remotely | 19:39 |
|
| sorry | 19:39 |
|
| I work locally | 19:39 |
|
| have git locally | 19:39 |
| → Rodya_ joined | 19:40 |
| ← oxguy3 left | 19:40 |
| → Cabanossi joined | 19:41 |
| ← jstimm left | 19:41 |
| ← ujjain left | 19:41 |
| ← rokups left | 19:42 |
| ← thebope left | 19:42 |
| ← cagomez left | 19:42 |
| → paul424 joined | 19:43 |
| → daivyk joined | 19:43 |
| ← Es0teric left | 19:45 |
| → cagomez joined | 19:45 |
|
kkreate
| That would be fine, and then my local git could push to the remote git repo. Then it is implied the server has the same files as reflected in the remote repo. (so long as no one ever makes changes on the server without pushing the repo) I guess what I was hoping for is some way to have the the "local" git repo on the server and be able to manage it from either ide or ssh. | 19:45 |
| → berndj joined | 19:46 |
| ← plasticle left | 19:47 |
| ← MonkOfCity left | 19:47 |
| ← t0by left | 19:48 |
| ← ronin_work left | 19:48 |
| → theiostream joined | 19:48 |
| → robattila256 joined | 19:49 |
| → benjy joined | 19:51 |
| ← thebird left | 19:51 |
| → Es0teric joined | 19:52 |
| ← austin987 left | 19:53 |
|
cjohnson
| sshfs the dir | 19:53 |
|
| mount it locally, including the .git dir | 19:53 |
|
| then anything that operates on a .git dir will work seamlessly | 19:53 |
| ← buzzLightBeer left | 19:54 |
|
| _ikke_ has bad experiences with sshfs | 19:54 |
|
_ikke_
| locking up all the time | 19:54 |
| ← snowalpaca left | 19:55 |
| ← benjy left | 19:56 |
| ← AnimeLife left | 19:56 |
| ← xmj left | 19:56 |
| ← kexmex left | 19:57 |
|
whitby
| Does anyone know of a "trick" that involves (something along the lines of) stashing multiple times (twice?) and using the diff to do something? | 19:58 |
|
| I'm not sure what it was called but I'm trying to remember what the "trick" was | 19:58 |
| → Fallen0223 joined | 19:59 |
|
_ikke_
| what do you want to achieve with it? | 19:59 |
| ← kkreate left | 19:59 |
|
whitby
| I don't want to use it, I'm just trying to remember what it was | 19:59 |
| → gunnaro_ joined | 19:59 |
| ← ahrs left | 20:00 |
| ← zivester left | 20:00 |
|
faLUCE
| I'm trying git send-email, but it says: "incorrect username or password". Here's the config file: http://paste.ubuntu.com/24269794/ what's wrong ? | 20:00 |
| → ahrs joined | 20:00 |
|
_ikke_
| whitby: I'm not aware of any 'trick' regarding that | 20:01 |
| ← gunnaro left | 20:01 |
| ← Es0teric left | 20:02 |
| → Es0teric joined | 20:03 |
| → kpease joined | 20:04 |
|
whitby
| _ikke_: thanks, I think this was it: http://blog.moertel.com/posts/2013-02-18-git-second-order-diff.html | 20:05 |
| ← molgrum left | 20:07 |
| → hhee joined | 20:07 |
| Vampire0_ → Vampire0 | 20:08 |
| → bgamari joined | 20:08 |
|
whitby
| Googling for things with "git" and "tricks" is quite an ordeal | 20:08 |
| ← hahuang65 left | 20:08 |
| Isla_de_Muerte → NwS | 20:10 |
| ← synthroid left | 20:11 |
| ← brent__ left | 20:11 |
| ← MathNeverEnds left | 20:12 |
| ← ResidentBiscuit left | 20:13 |
| ← netj left | 20:13 |
| → b100s joined | 20:13 |
| → netj joined | 20:13 |
|
cjohnson
| locking up _ikke_? locking up what? | 20:14 |
| → _Vi joined | 20:14 |
| ← zerow left | 20:14 |
|
_ikke_
| cjohnson: my terminals mostly | 20:15 |
| ← Rodya_ left | 20:16 |
| → ResidentBiscuit joined | 20:16 |
|
cjohnson
| strange I've been using it for years for all sorts of stuff, remote mounted codebases, mounting my mp3 collection to my DJ laptop for my DJ software to read my music collection, streaming movies etc | 20:16 |
| ← Silenced left | 20:17 |
| → cdg joined | 20:17 |
| → gugah_ joined | 20:18 |
| ← YuGiOhJCJ left | 20:18 |
| → FilipNortic_ joined | 20:19 |
| → GodGinrai joined | 20:20 |
| → snowalpaca joined | 20:21 |
| ← gugah left | 20:21 |
| ← snowalpaca left | 20:21 |
| → snowalpaca joined | 20:21 |
| ← FilipNortic left | 20:21 |
| → brent__ joined | 20:22 |
| ← Cabanossi left | 20:23 |
| → peterbec` joined | 20:25 |
| → Cabanossi joined | 20:25 |
| ← sotoz left | 20:25 |
| ← brent__ left | 20:27 |
| ← gunnaro_ left | 20:27 |
| → brent__ joined | 20:27 |
| ← lmatteis left | 20:28 |
| ← kpease left | 20:30 |
| ← freimatz3 left | 20:31 |
| → myhau joined | 20:31 |
| → thebope joined | 20:31 |
| → re1 joined | 20:31 |
| ← peterbec` left | 20:32 |
| → Gill joined | 20:33 |
|
Gill
| hey I am trying to figure out how to ignore all files except for .cfg files in my .gitignore is this possible? | 20:33 |
| ← mazert_ left | 20:34 |
| → MathNeverEnds joined | 20:34 |
| ← dvaske_ left | 20:35 |
| → peterbec` joined | 20:35 |
|
preaction
| Gill: !*.cfg | 20:35 |
| ← thebope left | 20:36 |
| ← Sasazuka left | 20:36 |
|
Gill
| preaction: cool that will ignore everything but though? | 20:36 |
|
| do i need a specific rul eot tell it to ignore everything else? | 20:36 |
|
preaction
| no, that adds *.cfg as an exception | 20:36 |
|
| * ignores everything... | 20:36 |
| ← matoro left | 20:37 |
| → askb joined | 20:37 |
|
Gill
| so i have to have 2 lines first * then ~*.cfg? | 20:37 |
|
| !*.cfg | 20:37 |
|
preaction
| what's ~ doing? | 20:37 |
|
Gill
| sorry typo | 20:37 |
|
preaction
| what happens when you try it/ | 20:37 |
| ← cyphase left | 20:37 |
| ← plicki left | 20:37 |
| ← fission6 left | 20:38 |
|
Gill
| when i try !*.cfg its adding other files | 20:38 |
| ← gugah_ left | 20:38 |
|
preaction
| also remember that you can't ignore files that are already in the repository, so if you're trying to ignore changes in a checkout of the repo it won't work | 20:38 |
| → matoro joined | 20:38 |
| ← jeffreylevesque_ left | 20:38 |
| → fission6 joined | 20:39 |
|
Gill
| its ignoring my .gitignore | 20:39 |
| → cyphase joined | 20:39 |
| → roelmonnens joined | 20:39 |
|
preaction
| i assure you it isn't | 20:39 |
|
latenite
| Hi folks, I think I screwd up my index file. https://gist.github.com/anonymous/18d3f7cd1df7cf2cf8cc4763ecd39c0a | 20:39 |
|
| is there a way to fix it? | 20:39 |
|
preaction
| Gill: you might have to use **/* to ignore directories and subdirectories and subsubdirectories | 20:39 |
| → octo8 joined | 20:40 |
| ← octo8 left | 20:40 |
| → octo8 joined | 20:40 |
|
ojacobson
| latenite: mv .git/index .git/index.broken && git reset | 20:40 |
| ← Nilesh_ left | 20:40 |
|
Gill
| Untracked files: | 20:40 |
|
| (use "git add <file>..." to include in what will be committed) | 20:40 |
|
| .gitignore | 20:40 |
|
octo8
| hello, a question : what is the difference between 'git push -u origin master' and 'git push origin master' ?? | 20:40 |
|
preaction
| Gill: don't paste into the channel, please | 20:40 |
|
Gill
| sorry | 20:41 |
|
preaction
| Gill: it's not ignoring it, it's an untracked file. if you also want to ignore hidden files, .* | 20:41 |
| ← Ryanar left | 20:41 |
|
Gill
| should my gitignore file be hidden? | 20:41 |
|
cjohnson
| Gill: untracked files are files that git is NOT ignoring, that it detects aren't yet in the repository | 20:41 |
|
ojacobson
| octo8: with -u, git-push does the equivalent of `git branch --set-upstream-to origin/master master` after the push | 20:41 |
|
| so that the pushed branch tracks the target branch | 20:41 |
|
preaction
| Gill: yes, it must absolutely be ".gitignore" | 20:42 |
| ← peterbec` left | 20:42 |
|
octo8
| ojacobson: i can't find an explanation about the '-u' online ? can you... i searched a lot | 20:42 |
| → Brski joined | 20:42 |
|
Gill
| ok cool | 20:42 |
|
latenite
| ojacobson, nice that did that trick :D | 20:42 |
|
| thank you | 20:42 |
|
ojacobson
| octo8: man git-push | 20:42 |
|
gitinfo
| octo8: the git-push manpage is available at http://jk.gs/git-push.html | 20:42 |
|
ojacobson
| latenite: note that you'll have to restage any formerly-staged changes | 20:43 |
|
latenite
| Now I try to pull and I get this: https://gist.github.com/anonymous/6527469356a6df136bc6a62df7218c91 | 20:43 |
|
| what does that mean? | 20:43 |
| → Sasazuka joined | 20:43 |
|
ojacobson
| if they only existed in the staging area, you'll need to recover them with `git fsck` and that's no fun | 20:43 |
| ← BSaboia left | 20:43 |
|
Gill
| that so in ‘.gitignore’ i have !*.cfg and i just did a push and it pushed test.xml | 20:43 |
|
ojacobson
| error: Your local changes to the following files would be overwritten by merge: | 20:43 |
|
| You have uncommitted changes that conflict with the merge you asked for. | 20:43 |
| ← paul424 left | 20:44 |
|
preaction
| Gill: i already said that .gitignore does not ignore files already tracked by the repository | 20:44 |
|
Gill
| preaction: they were new files… | 20:44 |
|
latenite
| ojacobson, I did not edit any files in the repo I am doing the 'git pull' in | 20:44 |
|
Gill
| i will create test2.xml and try again | 20:44 |
|
cjohnson
| Gill: !*.cfg doesn't match test.xml | 20:44 |
|
preaction
| Gill: "push" doesn't do "new files", ever. did you mean "add"? | 20:44 |
| → peterbec` joined | 20:44 |
|
latenite
| ojacobson, where do these changes come from? | 20:44 |
|
octo8
| ojacobson: if i know nothing about branches yet, or merging yet (i'm still learning), is it ok for me to do push without -u if i have the only master branch ??? | 20:45 |
|
ojacobson
| latenite: something on your machine edited those files | 20:45 |
|
Gill
| i did git add * | 20:45 |
|
ojacobson
| if it wasn't you personally, it was something you ran | 20:45 |
|
preaction
| Gill: so you explicitly added test.xml, which overrides gitignore. you wanted git add -a or git add . | 20:45 |
| → ronin_work joined | 20:45 |
|
latenite
| ojacobson, can I see/look at how the differ? | 20:45 |
| ← roelmonnens left | 20:45 |
|
Gill
| preaction: how does that override gitignore? | 20:45 |
|
preaction
| Gill: but also, unless you have the "*" line that we talked about, it's not being ignored (if it were ignored, it would not show up in "Untracked files") | 20:46 |
|
Gill
| im confused | 20:46 |
| → Rodya_ joined | 20:46 |
|
Gill
| oh | 20:46 |
|
preaction
| Gill: "git add *" is expanded by your shell into "git add <every individual thing in the current directory>", which means you explicitly did "git add test.xml", which means git added it because you said to | 20:46 |
| → roelmonnens joined | 20:46 |
|
Gill
| so when i do a git push should i not be running git add *? | 20:46 |
| → Rodya__ joined | 20:46 |
|
ojacobson
| Gill: push and fetch transfer commits and branches | 20:47 |
|
| git-add doesn't affect any existing commits, or any branches | 20:47 |
|
preaction
| push and add are separate operations that don't have anything to do with each other. push pushes commits. add adds to a commit. commit is the link between them. | 20:47 |
|
ojacobson
| `git add` stages stuff for the next `git commit`, which _does_ create a commit | 20:47 |
| → miczac joined | 20:47 |
| gitinfo set mode: +v | 20:48 |
| → scoobertron joined | 20:48 |
|
latenite
| Hi folks, how can I view the differences of these files: https://gist.github.com/anonymous/6527469356a6df136bc6a62df7218c91 | 20:50 |
| ← Rodya_ left | 20:50 |
|
Gill
| i think i need to do a full git tutorial | 20:50 |
|
| im totally confused now | 20:50 |
| ← peterbec` left | 20:51 |
| ← Rodya__ left | 20:51 |
|
ojacobson
| !gcs | 20:51 |
|
gitinfo
| [!concepts] "Git Concepts Simplified" presents all the important structures in Git, step by step, including selected internal details so it becomes much easier to understand what's going on whenever something's going on. http://gitolite.com/gcs.html | 20:51 |
|
ojacobson
| latenite: `git diff HEAD` will show any uncommitted changes in your work tree | 20:52 |
|
| `git diff --staged HEAD` will show any uncommitted changes you have staged | 20:52 |
| ← scoobert1on left | 20:52 |
| → lmatteis joined | 20:52 |
|
Gill
| thanks! | 20:53 |
| → sz0 joined | 20:53 |
|
ojacobson
| latenite: the output of `git status` will tell you how to manipulate those changes, once you understand what they are :) | 20:53 |
|
latenite
| ojacobson, so ONLY persmissions changed? https://gist.github.com/anonymous/c05167728964fa56318b24690faf12a5 | 20:55 |
| ← UrsoBranco left | 20:56 |
|
ojacobson
| Looks like. | 20:57 |
|
| Committed state has -x perms, disk state has +x perms | 20:57 |
| → peterbec` joined | 20:57 |
| ← dglambert left | 20:58 |
|
latenite
| ojacobson, so git also tracks permissions? I was not aware of that. | 20:58 |
| → imack joined | 20:59 |
|
ojacobson
| Just the X bit | 20:59 |
|
| and only one bit, not three | 20:59 |
|
| All other perms (and, for that matter, the application of the x bit to each of user, group, and other) come from your umask when you run git commands | 20:59 |
| ← Brski left | 21:00 |
| ← warthog9 left | 21:00 |
|
latenite
| ojacobson, oh ok | 21:01 |
|
| that's odd but I'll try to remember :D | 21:01 |
|
cjohnson
| it would be a nightmare if it tracked perms hah | 21:01 |
|
ojacobson
| cjohnson: it's actually one of the more frequent feature requests | 21:02 |
| → austin987 joined | 21:02 |
|
cjohnson
| the idea is if you need special perms you include some sort of setup tool to make those changes | 21:02 |
|
ojacobson
| tools like etckeeper already do that | 21:02 |
|
cjohnson
| Im sure, just seems like it would add a huge amount of mess and complexity | 21:02 |
|
| if it's done in an opt-in way I'm ok with that but | 21:02 |
|
ojacobson
| given how slapdash people are about umask generally, it'd probably lead to a lot of spurious mode change commits | 21:02 |
|
| or disputes about whether a tracked file should be g+w or not | 21:02 |
|
| or some jackass checking in 0777 perms on everything because they had a problem and looked up the solution on stackoverflow | 21:03 |
|
cjohnson
| exactly | 21:03 |
| ← ExoUNX left | 21:03 |
|
cjohnson
| I can barely enforce a consistent indentation method across devs | 21:03 |
| ← peterbec` left | 21:03 |
| ← Gill left | 21:04 |
| → _August_ joined | 21:04 |
| ← dersand left | 21:06 |
| → mojjo joined | 21:07 |
| ← b100s left | 21:08 |
| ← yqt left | 21:08 |
| → Atm0spher1c joined | 21:09 |
| ← s2013 left | 21:09 |
| ← hhee left | 21:10 |
| ← satifant left | 21:11 |
| → borkr joined | 21:14 |
| → MonkOfCity joined | 21:14 |
| → peterbec` joined | 21:14 |
| → jost__ joined | 21:14 |
| ← sammyo left | 21:15 |
| → cdown joined | 21:16 |
| → g0d355__ joined | 21:16 |
| → dsdeiz joined | 21:16 |
| → Endarked joined | 21:17 |
| ← Endarked left | 21:17 |
| ← jost_ left | 21:18 |
| → cdg_ joined | 21:18 |
| ← porsche944 left | 21:19 |
| → sotoz joined | 21:19 |
| ← peterbec` left | 21:20 |
| ← cdg left | 21:20 |
| ← ronin_work left | 21:20 |
| ← aard_ left | 21:20 |
| ← borkr left | 21:21 |
| ← roelmonnens left | 21:21 |
| → roelmonnens joined | 21:22 |
| ← sotoz left | 21:22 |
| → cdown_ joined | 21:23 |
| ← imack left | 21:23 |
| → alhariel joined | 21:24 |
| ← roelmonnens left | 21:24 |
| → roelmonnens joined | 21:25 |
| → zerow joined | 21:25 |
| ← yehowyada left | 21:26 |
| → thebope joined | 21:26 |
| ← cdown left | 21:26 |
| cdown_ → cdown | 21:26 |
| ← Gsham left | 21:26 |
| ← plexigras left | 21:27 |
| ← nivag left | 21:27 |
| ← paws_ left | 21:27 |
| ← octo8 left | 21:28 |
| ← dendazen left | 21:28 |
| → nivag joined | 21:28 |
| ← nivag left | 21:28 |
| ← maroloccio left | 21:29 |
| ← roelmonnens left | 21:29 |
| → oxguy3 joined | 21:29 |
| → nivag joined | 21:30 |
| → marianina8 joined | 21:30 |
| ← thebope left | 21:30 |
| ← zerow left | 21:30 |
| ← prg3 left | 21:31 |
| ← madewokherd left | 21:34 |
| → mikecmpbll joined | 21:34 |
| ← fission6 left | 21:35 |
| → Doginal joined | 21:35 |
| → prg3 joined | 21:35 |
| ← Cassiopaya left | 21:36 |
| → fission6 joined | 21:36 |
| → secki joined | 21:36 |
| ← austin987 left | 21:37 |
| ← atomi left | 21:38 |
| → b100s joined | 21:38 |
|
Some_Person
| How do I do a lightweight tag on an older commit? | 21:38 |
| → sotoz joined | 21:39 |
| ← DarkPsydeLord left | 21:39 |
| ← MarioBranco left | 21:39 |
| → atomi joined | 21:39 |
| ← Cabanossi left | 21:40 |
| → Cabanossi joined | 21:40 |
| ← ankit01ojha left | 21:40 |
| ← muhannad left | 21:41 |
|
preaction
| Some_Person: git tag <name> <commit> | 21:42 |
| ← fees left | 21:43 |
| ← bitmod left | 21:43 |
| ← patarr_ left | 21:43 |
|
Some_Person
| preaction: Thanks! | 21:44 |
| → Ryanar joined | 21:44 |
|
Some_Person
| The next thing I need to do is move 6 commits to a different branch... | 21:44 |
| → bitmod joined | 21:45 |
|
preaction
| rebase is a thing that can do that | 21:46 |
|
| so is cherry-pick | 21:46 |
|
| and then you need to reset to remove them from the branch they were on | 21:46 |
| → gopar joined | 21:47 |
| → Rodya_ joined | 21:47 |
| ← sotoz left | 21:48 |
| → amdi_ joined | 21:49 |
| ← LeBlaaanc left | 21:49 |
| ← schleppel left | 21:50 |
| → cdown_ joined | 21:50 |
| ← myhau left | 21:51 |
| ← bannakaf_ left | 21:51 |
| ← dionysus69 left | 21:51 |
| → jeffreylevesque joined | 21:52 |
| ← Rodya_ left | 21:53 |
| ← cdown left | 21:53 |
| cdown_ → cdown | 21:53 |
| → dionysus69 joined | 21:54 |
| ← buffal0 left | 21:56 |
| → kegster joined | 21:56 |
| → Gill joined | 22:00 |
| ← MrJoshua left | 22:00 |
| ← om_henners left | 22:02 |
| ← miczac left | 22:04 |
| ← cagomez left | 22:04 |
| → cagomez joined | 22:04 |
| ← jagob left | 22:05 |
| ← Dougie187 left | 22:06 |
| → watom- joined | 22:06 |
| ← b100s left | 22:06 |
| ← ResidentBiscuit left | 22:07 |
| ← kbeflo left | 22:07 |
| ← fahadash left | 22:07 |
| ← secki left | 22:08 |
| ← cagomez left | 22:09 |
| → kexmex joined | 22:09 |
| → MarioBranco joined | 22:09 |
| → Aeterne joined | 22:10 |
|
Whiskey
| Many times when i make a commit | 22:10 |
| → anderson_ joined | 22:11 |
|
Whiskey
| and do "git push" it says "Everything up-to-date" so i have to do it repated times untill it accepts it, what can that be? | 22:11 |
| ← cdg_ left | 22:12 |
| ← TomyLobo2 left | 22:12 |
| ← mojjo left | 22:13 |
| → Sasazuka_ joined | 22:14 |
| ← fission6 left | 22:15 |
| ← cyberz left | 22:15 |
| ← Sasazuka left | 22:15 |
| → ronin_work joined | 22:17 |
| ← publio left | 22:17 |
| → cyberz joined | 22:18 |
|
kadoban
| Whiskey: I've never seen it change behavior after repeated attempts, unless someone else changes the remote version in between ... and they'd have to change it in a pretty specific way for your push to get accepted after not being needed. | 22:19 |
| → thebope joined | 22:19 |
| → fission6 joined | 22:20 |
| → cagomez joined | 22:20 |
| ← MrWoohoo left | 22:20 |
| ← fission6 left | 22:20 |
| ← Ryanar left | 22:20 |
|
Whiskey
| kadoban, im the ony one that own the repo, so i the only one that make the changes to it | 22:21 |
|
| its not a big problem, its just a bit enoying | 22:21 |
| ← kexmex left | 22:22 |
|
kadoban
| Are you doing commits between trying to push and it not being needed, and then pushing and it being accepted? | 22:22 |
|
Whiskey
| how do you mean | 22:23 |
| → warthog9 joined | 22:23 |
| → TikityTik joined | 22:23 |
|
Whiskey
| i do a change, git add <file>, git commit -m "my massage", git push | 22:23 |
| ← thebope left | 22:24 |
| → aw1 joined | 22:24 |
|
kadoban
| And then it's accepted? That's what's usually supposed to happen. | 22:24 |
|
Whiskey
| yeh sometimes it works on first try, sometimes i have to try push it multiply times before it get accepted | 22:25 |
|
kadoban
| Not sure, never seen that. | 22:25 |
|
Whiskey
| i have only use git for like 1 month so im not good at this shit | 22:25 |
|
| only handle like 10 commands but, i use a proxy for it to enable ssl for an example | 22:26 |
|
| that can be one problem | 22:26 |
|
| like connection are lost, or the read of current base don´t get right or whatever | 22:26 |
|
| i use git 1,9,1 but i don´t think that has anything to do whit it, atlest not the main problem | 22:27 |
| → TSS_ joined | 22:28 |
| _cyril__ → _cyril_ | 22:28 |
| ← Sasazuka_ left | 22:29 |
|
kadoban
| Even through a proxy, AFAIK it should either succeed normally or fail with an error if the connection can't be done or something. Maybe there's some odd caching thing going on? What transport mechanism are you using, is this HTTP I guess? | 22:29 |
| → afuentes joined | 22:30 |
| → Sasazuka joined | 22:31 |
| ← Glooomy left | 22:32 |
| ← MathNeverEnds left | 22:33 |
| → foul_owl joined | 22:33 |
|
Whiskey
| https, as i told | 22:33 |
|
| the proxy use https, and the connector or whatever you call it use http | 22:34 |
| ← Fallen0223 left | 22:34 |
| → bannakaffalatta joined | 22:34 |
|
kadoban
| Maybe it's caching then, that sounds awful. If you can do another transport mechanism, maybe try that? | 22:34 |
|
Whiskey
| i use gitea, its on localhost so no need use it on https, its just the connection on the proxy it https as i don´t allow anything outside it but it was more easy to use https in apache, then actully do it whit gitea | 22:34 |
| → perrier-jouet joined | 22:35 |
|
Whiskey
| yeh can be that, and na i won´t change it :) it works good at it is | 22:35 |
|
| espect from the commits sometimes :D | 22:35 |
|
yarekt
| Hi, I'm looking for a fail safe and portable way to check if current HEAD is differe (or older) to remote | 22:36 |
|
| repo is cloned with -b <ref> parameter, which could be a branch name, a tag or just a ref | 22:37 |
|
| I suppose there wouldn't really be a failsafe way determine what is the remote ref for something... | 22:37 |
|
| But maybe theres a way to resolve a branch name or a tag to something? | 22:38 |
| ← King_Hual left | 22:38 |
| → fletom joined | 22:39 |
| → Gloomy joined | 22:39 |
| ← Gloomy left | 22:39 |
| → peterbec` joined | 22:41 |
| ← cyberz left | 22:41 |
| → Noodlewitt joined | 22:42 |
| → chipotle joined | 22:43 |
| → cyberz joined | 22:43 |
|
foul_owl
| Is it common practice to have several branches and keep those branches around for long periods of time? ie, master, testing, integ? And of course doing the actual dev work in short term feature branches | 22:44 |
| ← daivyk left | 22:45 |
| → oncall-pokemon joined | 22:45 |
| → Synthead joined | 22:46 |
| → dirtyroshi joined | 22:46 |
|
yarekt
| foul_owl: It depends on your workflow. Generally I wouldn't advice to keep a lot of work in old branches, integration is always harder the bigger the diversion | 22:47 |
| ← faLUCE left | 22:47 |
| ← dirtyroshi left | 22:47 |
| ← prg318 left | 22:47 |
| → dirtyroshi joined | 22:47 |
| → AlexanderS joined | 22:48 |
| → patarr joined | 22:49 |
| ← peterbec` left | 22:50 |
| ← whitby left | 22:50 |
| → peterbec` joined | 22:51 |
| ← steeze left | 22:52 |
| ← latenite left | 22:52 |
| ← anderson_ left | 22:52 |
| ← chipotle left | 22:52 |
| → whitby joined | 22:53 |
| ← ronin_work left | 22:53 |
| ← MarioBranco left | 22:53 |
| ← manuelschneid3r left | 22:53 |
| ← matoro left | 22:53 |
| ← afuentes left | 22:54 |
| → prg318 joined | 22:54 |
| → chipotle joined | 22:54 |
| ← sz0 left | 22:54 |
|
foul_owl
| I was thinking of a workflow like | 22:56 |
|
| * Create feature in feature branch | 22:56 |
|
| * Merge into testing branch | 22:56 |
|
| * Test in testing branch | 22:56 |
| ← oaaao left | 22:56 |
|
foul_owl
| * Merge testing into integration branch | 22:56 |
|
| * Do integration testing | 22:56 |
|
| * Merge into master | 22:57 |
|
yarekt
| Why not test in feature branch? | 22:57 |
| → webdev007 joined | 22:57 |
|
foul_owl
| Sure | 22:57 |
|
yarekt
| Why not run integration testing on feature branch? | 22:57 |
|
| You are only delaying the inevitable work anyway | 22:57 |
|
foul_owl
| Aren't there normally different phases of testing though? | 22:58 |
|
| Performed by different people? | 22:58 |
|
yarekt
| People!? | 22:58 |
|
foul_owl
| Just a way to break up the work over a large codebase at a company? | 22:58 |
|
| Haha | 22:58 |
| ← cagomez left | 22:59 |
| → hahuang65 joined | 22:59 |
| → cagomez joined | 22:59 |
| ← alhariel left | 22:59 |
| ← peterbec` left | 23:01 |
| → peterbec` joined | 23:01 |
| ← _August_ left | 23:02 |
| ← thiago left | 23:02 |
| ← systemovich left | 23:03 |
| → gugah joined | 23:03 |
| → systemovich joined | 23:04 |
| ← dsteplight__ left | 23:06 |
| ← systemovich left | 23:06 |
| ← dirtyroshi left | 23:07 |
| ← Aeterne left | 23:07 |
| → dirtyroshi joined | 23:07 |
| → MarioBranco joined | 23:10 |
| ← gugah left | 23:11 |
| ← watom- left | 23:12 |
| ← aw1 left | 23:12 |
| ← fakenerd left | 23:13 |
| → venmx joined | 23:13 |
| → molgrum joined | 23:13 |
| ← molgrum left | 23:13 |
| → molgrum joined | 23:13 |
| → thebope joined | 23:14 |
| ← patarr left | 23:14 |
| ← tvw left | 23:17 |
| ← weijunli left | 23:17 |
| → matoro joined | 23:17 |
| ← peterbec` left | 23:17 |
| ← thebope left | 23:18 |
| ← tang^ left | 23:18 |
| → octo8 joined | 23:19 |
| → austin987 joined | 23:19 |
| ← Emperor_Earth_ left | 23:20 |
| → peterbec` joined | 23:21 |
| → dendazen joined | 23:24 |
| ← Sauvin left | 23:24 |
| → kyan joined | 23:25 |
| ← p4trix left | 23:25 |
| ← nixjdm left | 23:27 |
| → bocaneri joined | 23:27 |
| ← bocaneri left | 23:27 |
| ← fedepad left | 23:27 |
| → sythe joined | 23:28 |
| ← Tobbi left | 23:29 |
| ← venmx left | 23:29 |
| → patarr joined | 23:30 |
| ← matoro left | 23:30 |
| → MathNeverEnds joined | 23:30 |
| → gableroux joined | 23:30 |
| → bocaneri joined | 23:31 |
| → madewokherd joined | 23:33 |
| → MacWinner joined | 23:37 |
| ← HardlySeen left | 23:39 |
| → HardlySeen joined | 23:40 |
| ← overlord_tm left | 23:41 |
| ← gableroux left | 23:42 |
| → gableroux joined | 23:42 |
| ← m0viefreak left | 23:43 |
| ← prg3 left | 23:43 |
| → MrWoohoo joined | 23:44 |
| ← dsdeiz left | 23:44 |
| ← Wulf left | 23:45 |
| → matoro joined | 23:45 |
| → Taikibansei joined | 23:47 |
| → Lyqyd joined | 23:47 |
| → Gsham joined | 23:47 |
| ← cagomez left | 23:48 |
| → prg3 joined | 23:48 |
| ← patarr left | 23:48 |
| → dsdeiz joined | 23:49 |
| ← dsdeiz left | 23:49 |
| → dsdeiz joined | 23:49 |
| → ronin_work joined | 23:50 |
| → patarr joined | 23:50 |
| ← cdown left | 23:53 |
| ← Cabanossi left | 23:53 |
| → Cabanossi joined | 23:56 |
| ← drodger left | 23:56 |
| → Ahmed90 joined | 23:57 |
| ← MarioBranco left | 23:58 |