| 2020-03-01 |
| ← Sonicbit left | 00:00 |
| → libertyprime joined | 00:00 |
| → Sonicbit joined | 00:01 |
| ← xelxebar left | 00:04 |
| ← jetchisel left | 00:05 |
| ← royal_screwup21 left | 00:09 |
| ← Wetmelon left | 00:14 |
| ← libertyprime left | 00:16 |
| ← malina left | 00:17 |
| ← lucasb left | 00:18 |
| → mealofdoom joined | 00:18 |
|
mealofdoom
| hello | 00:19 |
|
gitinfo
| mealofdoom: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 00:19 |
| → libertyprime joined | 00:22 |
| → nuala joined | 00:25 |
|
PenguinSnail
| !backup | 00:26 |
|
gitinfo
| 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 | 00:26 |
| → dilfridge joined | 00:28 |
| ← hussam left | 00:30 |
| ← dedowsdi left | 00:31 |
| ← DNS left | 00:33 |
| ← clemons1 left | 00:34 |
| → DNS joined | 00:34 |
| ← Khisanth left | 00:36 |
| ← PenguinSnail left | 00:36 |
| ← libertyprime left | 00:38 |
| ← mealofdoom left | 00:41 |
| → libertyprime joined | 00:43 |
| ← santagauss left | 00:47 |
| → Khisanth joined | 00:53 |
| → Wetmelon joined | 00:53 |
| ← brunocarvalho left | 00:56 |
| ← chris349 left | 00:59 |
| ← libertyprime left | 00:59 |
| → dedowsdi joined | 00:59 |
| → libertyprime joined | 01:05 |
| ← lmat left | 01:05 |
| → vicfred joined | 01:09 |
| ← Cabanossi left | 01:15 |
| ← howdoi left | 01:19 |
| ← NODE left | 01:24 |
| ← libertyprime left | 01:24 |
| → NODE joined | 01:25 |
| → Cabanossi joined | 01:27 |
| → libertyprime joined | 01:30 |
| → SuperKaramba joined | 01:30 |
| ← BenderRodriguez left | 01:33 |
| → dmc joined | 01:36 |
| ← libertyprime left | 01:45 |
| → vdamewood joined | 01:48 |
| ← AtumT_ left | 01:50 |
| → libertyprime joined | 01:51 |
| ← olddogbarks left | 01:51 |
| → Neurognostic joined | 01:52 |
| ← leeN left | 01:58 |
| ← cd left | 01:59 |
| → thomasross joined | 02:05 |
| → olddogbarks joined | 02:05 |
| ← olddogbarks left | 02:06 |
| ← libertyprime left | 02:07 |
|
Soni
| why are signatures part of a commit such that you can't sign off on someone's work unless you put a new commit on top? | 02:07 |
|
| also, when checking signatures, do old commits matter or can I assume that the whole history is okay because the DAG is cryptographic? | 02:08 |
| → crose joined | 02:10 |
| → libertyprime joined | 02:13 |
| → Sasazuka joined | 02:19 |
| → olddogbarks joined | 02:21 |
| ← olddogbarks left | 02:22 |
| ← CCR5-D32 left | 02:26 |
| → v0re joined | 02:27 |
| ← m0viefreak left | 02:27 |
| ← libertyprime left | 02:28 |
| ← v0re left | 02:29 |
| → libertyprime joined | 02:33 |
| → Beam_Inn joined | 02:34 |
| ← Beam_Inn left | 02:38 |
| ← comptroller left | 02:43 |
| → gendarme joined | 02:46 |
| ← alip left | 02:47 |
| ← Narrat left | 02:48 |
| ← clime left | 02:50 |
|
gendarme
| I forgot to add changes to a a commited file, what is the workflow to make those changes show up in the commit? | 02:50 |
| ← libertyprime left | 02:53 |
| → dtux joined | 02:53 |
|
mmattice
| interactive rebase with a fixup | 02:53 |
| → comptroller joined | 02:54 |
| → jetchisel joined | 02:54 |
|
gendarme
| ok, thanks | 02:54 |
| ← F0rTex left | 02:55 |
| → F0rTex joined | 02:56 |
| → libertyprime joined | 02:58 |
| ← Sasazuka left | 03:00 |
| ← emmanuelux left | 03:00 |
| ← Cabanossi left | 03:13 |
| ← vdamewood left | 03:13 |
| ← libertyprime left | 03:14 |
| → Cabanossi joined | 03:16 |
| → libertyprime joined | 03:19 |
| → howdoi joined | 03:27 |
| ← libertyprime left | 03:29 |
| ← lagothrix left | 03:37 |
| → lagothrix joined | 03:38 |
| → maryo joined | 03:48 |
| ← MoziM left | 03:56 |
| → MoziM joined | 03:58 |
| → maryo_s joined | 03:59 |
| ← maryo left | 04:02 |
| ← delli3 left | 04:04 |
| → wildlander joined | 04:07 |
| → justanotheruser joined | 04:07 |
| ← Anthaas left | 04:08 |
| → Anthaas joined | 04:09 |
| ← maryo_s left | 04:13 |
| → maryo_t joined | 04:13 |
| → delli3 joined | 04:13 |
| ← jetchisel left | 04:16 |
| → jetchisel joined | 04:18 |
| ← xcm left | 04:18 |
| → xcm joined | 04:19 |
| ← dellprecision left | 04:28 |
| → gschanuel3 joined | 04:28 |
| ← Helenah left | 04:31 |
| ← gschanuel left | 04:31 |
| gschanuel3 → gschanuel | 04:31 |
| → Helenah joined | 04:33 |
| ← orbyt_ left | 04:36 |
| → butterthebuddha joined | 04:36 |
| ← serapath left | 04:37 |
| → serapath joined | 04:37 |
| → omnireq joined | 04:38 |
| ← omnireq left | 04:40 |
| → omnireq joined | 04:41 |
| → omnireq_ joined | 04:45 |
| ← Wetmelon left | 04:46 |
| ← omnireq left | 04:47 |
| ← butterthebuddha left | 04:48 |
| Sonicbit → noxter | 04:51 |
| ← omnireq_ left | 04:51 |
| noxter → noxx | 04:52 |
| noxx → paxter | 04:52 |
| paxter → noxs | 04:53 |
| → libertyprime joined | 04:55 |
| ← gendarme left | 04:59 |
| → Goplat joined | 05:00 |
| → pks_ joined | 05:02 |
| ← pks left | 05:03 |
| pks_ → pks | 05:03 |
| ← justanotheruser left | 05:04 |
| → orbyt_ joined | 05:04 |
| → butterthebuddha joined | 05:06 |
| ← sz0 left | 05:10 |
| noxs → knox | 05:15 |
| ← ferdna left | 05:16 |
| knox → noxr | 05:17 |
| noxr → noxer | 05:18 |
| noxer → Sonicbit | 05:20 |
| → ferdna joined | 05:22 |
| ← kupi left | 05:23 |
| → justanotheruser joined | 05:25 |
| ← maryo_t left | 05:28 |
| ← butterthebuddha left | 05:42 |
| ← jetchisel left | 05:42 |
| → noxer joined | 05:44 |
| ← azwieg103 left | 05:44 |
| ← Sonicbit left | 05:45 |
| → omnireq joined | 05:47 |
| noxer → nox- | 05:49 |
| → maryo_t joined | 05:49 |
| nox- → nocs | 05:50 |
| nocs → e-nox | 05:50 |
| ← jbauer left | 05:51 |
| e-nox → noxx | 05:52 |
| ← omnireq left | 05:52 |
| noxx → mr-nox | 05:52 |
| mr-nox → noxs | 05:55 |
| ← wildlander left | 06:02 |
| → dviola joined | 06:02 |
| → Err0r403 joined | 06:02 |
| → jetchisel joined | 06:05 |
| → wildlander joined | 06:05 |
| ← Err0r403 left | 06:06 |
| → Err0r403 joined | 06:06 |
| ← libertyprime left | 06:07 |
| ← thebope left | 06:09 |
| → thebope joined | 06:09 |
| ← noxs left | 06:17 |
| ← thebope left | 06:17 |
| → Sonicbit joined | 06:17 |
| ← xcm left | 06:18 |
| → xcm joined | 06:18 |
| ← mowcat left | 06:20 |
| caveman → cavetorque | 06:22 |
| → mowcat joined | 06:23 |
| → omnireq joined | 06:25 |
| → omnireq_ joined | 06:28 |
| ← omnireq left | 06:29 |
| → envex joined | 06:29 |
| → Sonicbit_ joined | 06:32 |
| cavetorque → caveman | 06:32 |
| ← sidetrack left | 06:32 |
| ← Sonicbit left | 06:35 |
| ← Sonicbit_ left | 06:37 |
| → juancri joined | 06:39 |
| ← mowcat left | 06:40 |
| → sidetrack joined | 06:41 |
| → thebope joined | 06:43 |
| ← omnireq_ left | 06:45 |
| ← sidetrack left | 06:46 |
| ← thebope left | 06:50 |
| ← wildlander left | 06:51 |
| → hussam joined | 06:59 |
| ← Goplat left | 07:00 |
| ← mat001 left | 07:02 |
| ← dtux left | 07:06 |
| → snowkidimd joined | 07:08 |
| → dtux joined | 07:09 |
| ← dtux left | 07:10 |
| ← jelmer left | 07:13 |
| → jelmer joined | 07:14 |
| → thebope joined | 07:17 |
| ← chiastre left | 07:21 |
| ← thebope left | 07:22 |
| → chiastre joined | 07:24 |
| ← jetchisel left | 07:26 |
| → roadie joined | 07:28 |
| → jetchisel joined | 07:28 |
| ← jetchisel left | 07:33 |
| ← tryte left | 07:39 |
| → tryte joined | 07:40 |
| ← maryo_t left | 07:54 |
| ← howdoi left | 07:56 |
| ← Heirlung left | 08:03 |
| ← juancri left | 08:09 |
| → Heirlung joined | 08:09 |
| → clime joined | 08:12 |
| → feriman joined | 08:16 |
| → maryo_t joined | 08:20 |
| ← maryo_t left | 08:20 |
| → thebope joined | 08:32 |
| ← thebope left | 08:37 |
| → dartmouthed joined | 08:39 |
| ← orbyt_ left | 08:44 |
| → Lucas_Gray joined | 08:45 |
| → lxb joined | 08:45 |
| ← lxb left | 08:46 |
| → lxb joined | 08:46 |
| ← lxb left | 08:46 |
| → AlexApps99 joined | 08:47 |
| ← AlexApps99 left | 08:47 |
| → AlexApps99 joined | 08:47 |
| ← oatmealraisin left | 08:47 |
| ← AlexApps99 left | 08:48 |
| → AlexApps99 joined | 08:48 |
| ← roadie left | 08:52 |
| ← ferdna left | 09:00 |
| ← dedowsdi left | 09:05 |
| → dedowsdi joined | 09:08 |
| ← AlexApps99 left | 09:08 |
| → Gloomeveryday joined | 09:18 |
|
Gloomeveryday
| Hi, I'm a newbie to git. Any advice? I'm going to setup a GitLab server in an LXC container. | 09:18 |
| → Fernando-Basso joined | 09:21 |
| → jetchisel joined | 09:25 |
|
j416
| Gloomeveryday: try and see™ | 09:28 |
|
| Gloomeveryday: !book | 09:28 |
|
gitinfo
| Gloomeveryday: 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 | 09:28 |
|
Gloomeveryday
| Ah, I see. | 09:28 |
|
j416
| Gloomeveryday: I'd start without the server. | 09:28 |
| → sz0 joined | 09:28 |
| ← clime left | 09:30 |
| → KnoP joined | 09:31 |
| ← dedowsdi left | 09:41 |
| → dedowsdi joined | 09:42 |
| ← Err0r403 left | 09:50 |
| ← dedowsdi left | 09:52 |
| → dedowsdi joined | 09:53 |
| → gareppa joined | 09:55 |
| ← gareppa left | 09:56 |
| ← Lucas_Gray left | 09:58 |
| ← luckman212_ left | 10:00 |
| → luckman212 joined | 10:00 |
| → Lucas_Gray joined | 10:04 |
| → Borkr joined | 10:05 |
| → xelxebar joined | 10:08 |
|
Gloomeveryday
| What's the difference between GitLab and other solutions, like Gitea? I'm going to install GitLab in an LXC container. | 10:09 |
| → omnireq joined | 10:13 |
| → duderono_ joined | 10:17 |
| ← duderonomy left | 10:20 |
| → omnireq_ joined | 10:20 |
| ← bookworm left | 10:20 |
| ← Lucas_Gray left | 10:21 |
| ← omnireq left | 10:21 |
| ← feriman left | 10:23 |
|
R2robot
| You'll just have to do a side by side feature comparison for yourself. | 10:24 |
| → feriman joined | 10:24 |
| → kleisli joined | 10:30 |
| → thebope joined | 10:33 |
| ← thebope left | 10:37 |
| ← raven-au left | 10:38 |
| → bookworm joined | 10:38 |
| ← Hello71 left | 10:39 |
| → rsrx joined | 10:40 |
| → raven-au joined | 10:42 |
| → Hello71 joined | 10:46 |
| → raven-au_ joined | 10:47 |
| ← raven-au left | 10:48 |
| raven-au_ → raven-au | 10:48 |
| → leeN joined | 10:50 |
| ← raven-au left | 10:52 |
| → weird_error joined | 11:08 |
| → Lucas_Gray joined | 11:08 |
| ← kleisli left | 11:14 |
| ← rsrx left | 11:19 |
| → troulouliou_dev joined | 11:23 |
| → theoceaniscool joined | 11:23 |
| → jstein joined | 11:24 |
| ← dedowsdi left | 11:27 |
| → dedowsdi joined | 11:29 |
| ← g00s left | 11:29 |
| → raven-au joined | 11:30 |
| → CCR5-D32 joined | 11:32 |
| → raven-au_ joined | 11:36 |
| ← dedowsdi left | 11:36 |
| ← raven-au left | 11:37 |
| → dedowsdi joined | 11:37 |
| → raven-au joined | 11:39 |
|
Gloomeveryday
| Trying out gitea since I had error messages during the install. | 11:41 |
|
| gitea seems nice. Running in an LXC container. | 11:41 |
|
| Gotta love mariadb-server everyday | 11:41 |
| ← raven-au_ left | 11:41 |
| → m0viefreak joined | 11:43 |
| ← dedowsdi left | 11:44 |
| ← weird_error left | 11:44 |
| ← APic left | 11:49 |
| → weird_error joined | 11:50 |
| ← NODE left | 11:51 |
| → NODE joined | 11:52 |
| ← KnoP left | 11:53 |
| → raven-au_ joined | 11:56 |
| → Jitta joined | 11:56 |
| ← raven-au left | 11:58 |
| raven-au_ → raven-au | 11:58 |
| ← ephemer0l left | 12:07 |
| ← dartmouthed left | 12:08 |
| ← vishal left | 12:09 |
| → no_gravity joined | 12:13 |
| → vishal joined | 12:13 |
|
no_gravity
| If there was a huge file in the repo (by accident) up to a certain commit, is it possible to delete that file from the repo history so it takes less space on disk? | 12:14 |
|
BtbN
| yes, but it will completely rewrite history, so nobody can normaly pull anymore | 12:16 |
|
no_gravity
| BtbN: Really? Why that? | 12:17 |
|
BtbN
| Because you rewrote history | 12:17 |
|
no_gravity
| What would happen if I locate versions of the file in question in the .git dir and rm it? | 12:17 |
|
BtbN
| The repository would break | 12:17 |
|
no_gravity
| What does that mean? | 12:18 |
|
BtbN
| Uhm, that it's broken and cannot be worked with anymore. | 12:18 |
|
no_gravity
| Which command would fail for example? | 12:18 |
|
BtbN
| I'd expect most if not all of them to fail if you damage the repository like that. | 12:18 |
|
no_gravity
| I doubt that.. | 12:19 |
|
| Why would git check ages old objects on everyday commands. | 12:19 |
|
BtbN
| Once you commit and push something, it's permanently part of that history. You can rewrite history, but that requires force pushing and will make other people working on the code hate you | 12:19 |
|
no_gravity
| That would be a different approach. | 12:20 |
|
BtbN
| Because of how the repository works. It uses delta compression and combines stuff to packs. It _will_ break if you mess around in its internals by deleting files. | 12:21 |
|
| Either you accept that file being there, or you rewrite history. | 12:21 |
|
no_gravity
| Well, lets do it and see if it breaks commands. | 12:21 |
| → dedowsdi joined | 12:21 |
|
BtbN
| ... | 12:21 |
|
| If you only want to reduce the size of your local clone, do a shallow clone. | 12:22 |
|
no_gravity
| So "git status" still works. | 12:22 |
|
| Which command might break? | 12:22 |
|
BtbN
| Any one of them once it comes accross the pack file that you deleted and it's not there. | 12:22 |
|
no_gravity
| cloning also still works. | 12:23 |
|
BtbN
| Well obviously, if you re-clone it, it's back. | 12:23 |
|
no_gravity
| I mean cloning from the modified repo where I delete the object. | 12:23 |
|
BtbN
| No, that's not gonna work, because cloning transfers every single object | 12:24 |
|
no_gravity
| It worked. I just did it. | 12:24 |
|
BtbN
| Yeah, no, that's impossible. | 12:24 |
|
no_gravity
| Well, its easy to test. And I just tested it. | 12:24 |
|
BtbN
| So you're telling me you just cloned a file to your local PC that you deleted off the server? I have some trouble beliving that. | 12:25 |
|
no_gravity
| The file is gone in the cloned repo as well of course. | 12:25 |
|
BtbN
| unlikely, since clone transfers the full history | 12:25 |
|
no_gravity
| Well, you can easily try it. I did. | 12:25 |
|
BtbN
| sure... | 12:26 |
|
| Have fun with your messed up repo then if you know better. | 12:26 |
|
j416
| cloning will only fetch reachable objects and is an easy way to get rid of data-to-be-gc'd before it gets gc'd | 12:26 |
|
BtbN
| Sounds very reachable to me | 12:26 |
|
j416
| in that case it's easy to test | 12:27 |
|
| git cat-file -t <hash> | 12:27 |
|
BtbN
| If it wasn't reachable, it wouldn't have been cloned in the first place. | 12:27 |
|
j416
| or so | 12:27 |
| ← dedowsdi left | 12:28 |
|
no_gravity
| j416: The file was reachable. Its a file that was in the repo up to certain commit. And then we put it into .gitignore. | 12:28 |
|
j416
| didn't read the backlog; removing an object from the repo by manually deleting it from .git/objects/ is a terrible idea | 12:29 |
|
| don't do it | 12:29 |
|
no_gravity
| j416: Well, I just did. | 12:29 |
|
j416
| glhf | 12:29 |
|
| now try git fsck --full | 12:29 |
|
| what BtbN says makes sense. | 12:30 |
|
no_gravity
| j416: "git fsck --full" reports it as "missig blob" | 12:30 |
|
j416
| yeh | 12:30 |
|
BtbN
| Next time someone else pushes it will be back probably | 12:30 |
|
j416
| now try checking out a commit that has that file | 12:30 |
|
no_gravity
| What would be a "cleaner" way of removing all versions of the file from the repo? | 12:30 |
|
j416
| by cleaner I suppose you mean correct | 12:31 |
|
BtbN
| squash all commits that have it into the first one that does not. Or do a filter-branch that removes it from every commit | 12:31 |
|
j416
| filter-branch, rebase, or so | 12:31 |
|
| nod | 12:31 |
|
no_gravity
| You can delete the history of a file with filter-branch? | 12:32 |
|
j416
| yes | 12:32 |
|
no_gravity
| How so? | 12:32 |
|
BtbN
| By rewriting the entire history of the repository | 12:32 |
|
j416
| man git-filter-branch | 12:32 |
|
gitinfo
| the git-filter-branch manpage is available at https://gitirc.eu/git-filter-branch.html | 12:32 |
|
j416
| look for tree filter | 12:32 |
|
BtbN
| Will require a force-push and every other user will have to manually fix their clone | 12:32 |
| → thebope joined | 12:33 |
|
no_gravity
| BtbN: Thats no problem. | 12:33 |
|
j416
| !backup seems appropriate now | 12:33 |
|
gitinfo
| 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 | 12:33 |
|
BtbN
| It's probably to late for a backup at this point if there is none already | 12:34 |
| ← Borkr left | 12:34 |
|
j416
| nod | 12:34 |
|
| I'd try to get that blob back first | 12:34 |
|
no_gravity
| Thats not a problem either. | 12:35 |
|
| Looks simple on first sight: git filter-branch --tree-filter 'rm filename' HEAD | 12:35 |
|
j416
| something like that | 12:35 |
|
| you'll learn that you need to tweak it a bit | 12:36 |
|
Gloomeveryday
| gitea is beautiful. | 12:36 |
|
| I'm loving the dark theme. | 12:36 |
|
j416
| also, you need to run it on all branches you care to remove it from and also all taga | 12:36 |
|
| tags* | 12:36 |
|
Gloomeveryday
| I'm new to git though. | 12:36 |
|
no_gravity
| j416: There only is one branch, master. | 12:37 |
|
j416
| wasn't gitea the thing that bugged out recently; can't remember the detaiis | 12:37 |
|
no_gravity
| j416: Why all tags? | 12:37 |
|
j416
| no_gravity: great | 12:37 |
|
| no_gravity: because otherwise the file would be part of the tags? | 12:37 |
|
no_gravity
| j416: Tags are like branches? | 12:38 |
|
j416
| tags reference commits, and you're replacing your commits with new ones and so you'd need to update the tags | 12:38 |
|
| no_gravity: similar to branches yes | 12:38 |
| ← thebope left | 12:38 |
|
j416
| tags don't move like branch pointers and you can't check them out | 12:39 |
|
no_gravity
| "The difference between tags and branches are that a branch always points to the top of a development line and will change when a new commit is pushed whereas a tag will not change" | 12:39 |
|
| Aha | 12:39 |
|
j416
| (when you do "git checkout yourtag", you'll get the underlying commit) | 12:40 |
| → mowcat joined | 12:41 |
|
no_gravity
| Ok. Thanks for all the great info. Gotta go now. | 12:41 |
| ← no_gravity left | 12:41 |
| ← andreas31 left | 12:42 |
| ← jaziz left | 12:44 |
| ← causasui left | 12:44 |
| → andreas31 joined | 12:45 |
| ← leeN left | 12:47 |
| ← weird_error left | 12:48 |
| → leeN joined | 12:59 |
| → dartmouthed joined | 13:08 |
| ← Lucas_Gray left | 13:10 |
| → Lucas_Gray joined | 13:11 |
| → igemnace joined | 13:11 |
| → howdoi joined | 13:12 |
| → jess joined | 13:15 |
| → APic joined | 13:20 |
| → tango_ joined | 13:24 |
| → aw1 joined | 13:33 |
| → cdown_ joined | 13:35 |
| ← cdown left | 13:36 |
| cdown_ → cdown | 13:36 |
| ← bvdw left | 13:37 |
| → bvdw joined | 13:37 |
| ← dviola left | 13:41 |
| → brunocarvalho joined | 13:42 |
| ← Eryn_1983_FL left | 13:43 |
| → Wetmelon joined | 13:48 |
| → thebope joined | 13:50 |
| ← thebope left | 13:50 |
| → thebope joined | 13:50 |
| → lucasb joined | 13:52 |
| → Eryn_1983_FL joined | 13:54 |
| ← thebope left | 13:58 |
| ← Fernando-Basso left | 13:59 |
| → Brainium joined | 14:08 |
| ← random_yanek left | 14:08 |
| → donofrio joined | 14:09 |
| → roadie joined | 14:11 |
| → random_yanek joined | 14:15 |
| → HumanGeek joined | 14:19 |
| ← fphilipe_ left | 14:21 |
| ← rustyshackleford left | 14:21 |
| → AtumT joined | 14:22 |
| ← Human_G33k left | 14:22 |
| → magic_ninja_work joined | 14:24 |
| → fphilipe_ joined | 14:26 |
| ← fphilipe_ left | 14:31 |
| → cfoch joined | 14:32 |
| → thebope joined | 14:33 |
| → kleisli joined | 14:35 |
| → nwoob joined | 14:39 |
|
nwoob
| To gitignore a file which is already pushed in repo we can delete the file and then add it to .gitignore | 14:40 |
|
| or git rm --cached filename | 14:41 |
|
| what's the difference between those to way? | 14:42 |
|
| *two | 14:42 |
| ← thebope left | 14:43 |
|
selckin
| it stages the delete without having to delete the file | 14:46 |
|
nwoob
| but if someone else pulls then their file will be deleted from local, correct? | 14:47 |
| → darkbit joined | 14:47 |
|
selckin
| yes | 14:48 |
| ← kleisli left | 14:49 |
| → omega_doom joined | 14:49 |
|
nwoob
| is there a way so that file gets ignored but not delete when other people pulls | 14:50 |
|
selckin
| don't think so | 14:51 |
|
| they can just restore it from the repo, so its not that big of a deal | 14:51 |
|
nwoob
| ok | 14:52 |
|
omega_doom
| hello. How does git determines if merge has been in the process? In other words how it determines that "merge --continue" needs to be resulted in a new commit? | 14:52 |
|
selckin
| state stored in .git dir | 14:53 |
| → butterthebuddha joined | 14:55 |
| → weird_error joined | 14:55 |
| → fphilipe_ joined | 14:59 |
| → sidetrack joined | 15:01 |
|
omega_doom
| @selckin: What state? How can i see what is in process now? | 15:01 |
| ← theoceaniscool left | 15:02 |
| → dviola joined | 15:02 |
| upcrime → CocaineMitch | 15:03 |
| ← sidetrack left | 15:05 |
| ← fphilipe_ left | 15:06 |
| ← xcm left | 15:06 |
| → xcm joined | 15:06 |
| → gareppa joined | 15:09 |
| ← omega_doom left | 15:10 |
| → omega_doom joined | 15:15 |
| → theoceaniscool joined | 15:21 |
| → gnstaxo joined | 15:35 |
| ← Helenah left | 15:36 |
| → fphilipe_ joined | 15:37 |
| ← weird_error left | 15:37 |
| → Helenah joined | 15:37 |
| ← troulouliou_dev left | 15:42 |
| ← fphilipe_ left | 15:42 |
| → pinpox joined | 15:43 |
| → javashin joined | 15:47 |
| ← theoceaniscool left | 15:49 |
| → theoceaniscool_ joined | 15:50 |
| → fphilipe_ joined | 15:50 |
| ← Cabanossi left | 15:51 |
| → maryo joined | 15:52 |
| → Cabanossi joined | 15:55 |
| ← fphilipe_ left | 15:57 |
| ← NODE left | 15:59 |
| → NODE joined | 16:00 |
| ← xcm left | 16:04 |
| → xcm joined | 16:04 |
| → weird_error joined | 16:06 |
| → AtumT_ joined | 16:08 |
| ← AtumT left | 16:11 |
| ← aw1 left | 16:13 |
|
osse
| omega_doom: afaik is the clue is that .git/MERGE_HEAD exists | 16:17 |
| → AtumT joined | 16:22 |
| ← AtumT_ left | 16:22 |
| → jim joined | 16:24 |
| ← sz0 left | 16:28 |
| → raven-au_ joined | 16:28 |
| → fphilipe_ joined | 16:28 |
| ← raven-au left | 16:29 |
| raven-au_ → raven-au | 16:29 |
| ← NODE left | 16:35 |
| ← Piraty left | 16:36 |
| → NODE joined | 16:36 |
| ← ndim left | 16:39 |
| → thebope joined | 16:40 |
| ← fphilipe_ left | 16:40 |
| → kleisli joined | 16:41 |
| → fphilipe_ joined | 16:43 |
| ← maryo left | 16:44 |
| ← thebope left | 16:45 |
| ← Kaivo left | 16:45 |
| → Piraty joined | 16:49 |
| ← cfoch left | 16:52 |
| → raven-au_ joined | 16:53 |
| → ferdna joined | 16:54 |
| ← roadie left | 16:54 |
| → archer121 joined | 16:54 |
| ← raven-au left | 16:55 |
| raven-au_ → raven-au | 16:55 |
| → thebope joined | 16:55 |
| ← apathor left | 16:56 |
| ← gareppa left | 16:58 |
| ← misuto left | 16:59 |
| → maryo joined | 17:01 |
| ← fphilipe_ left | 17:03 |
| → nowhere_man joined | 17:04 |
| ← barteks2x left | 17:12 |
| CocaineMitch → Hoffmachine | 17:12 |
| ← Jackneill left | 17:12 |
| → orbyt_ joined | 17:14 |
| → Jackneill joined | 17:16 |
| → rustyshackleford joined | 17:19 |
| ← butterthebuddha left | 17:22 |
| ← archer121 left | 17:26 |
| ← javashin left | 17:28 |
| → blackandblue joined | 17:31 |
| → fphilipe_ joined | 17:34 |
| ← igemnace left | 17:42 |
| → igemnace joined | 17:43 |
| ← syr left | 17:44 |
| → syr joined | 17:45 |
| ← Lucas_Gray left | 17:56 |
| → ndim joined | 17:59 |
| → regedit joined | 18:04 |
| → Fernando-Basso joined | 18:06 |
| ← nwoob left | 18:09 |
| → irrgit joined | 18:10 |
| → kryptonunited joined | 18:12 |
| ← blackandblue left | 18:16 |
| ← xcm left | 18:16 |
| → xcm joined | 18:18 |
| ← weird_error left | 18:19 |
| ← kreyren left | 18:19 |
| → kreyren joined | 18:19 |
| ← kryptonunited left | 18:20 |
| ← Ignacy left | 18:24 |
| → dtux joined | 18:29 |
| ← mowcat left | 18:31 |
| → mowcat joined | 18:34 |
| → emmanuelux joined | 18:35 |
| → weird_error joined | 18:36 |
| ← dviola left | 18:37 |
| → Ignacy joined | 18:37 |
| → Phylock joined | 18:43 |
| ← crose left | 18:44 |
| ← justanotheruser left | 18:44 |
| ← irrgit left | 18:47 |
| → clime joined | 18:47 |
| ← Ignacy left | 18:47 |
| ← localhorse left | 18:51 |
| → justanotheruser joined | 18:52 |
| → Err0r403 joined | 19:00 |
| ← maryo left | 19:04 |
| ← xcm left | 19:04 |
| → xcm joined | 19:05 |
| → Advant joined | 19:05 |
|
Advant
| Can someone help me what would be the correct process in this scenario. At this point I only have a master branch. I tagged a commit that up to that point ultimately represents my 2018 version. I'm now still working on the master which to this point represents my 2019 release. If I need to back port a change on the 2018 version and have that change available to any of the commits through the | 19:08 |
|
| 2019 code portion, how should I do that? Also is a tag a sufficient representation or should have I actually created branches for 2018 and 2019 instead of just tagging on the master | 19:08 |
| → Ignacy joined | 19:09 |
| ← snowkidimd left | 19:10 |
|
osse
| Advant: tagging to mark spescific versions is fine. what you should do is commit the change on master, then cherry-pick it to wherever you need it | 19:10 |
|
Advant
| ah, ok I got it/ Should have asked here before I messed around | 19:12 |
| ← dtux left | 19:13 |
| Hoffmachine → duckgoose | 19:17 |
| duckgoose → Guest7173 | 19:19 |
| Guest7173 → Hoff | 19:19 |
| ← theoceaniscool_ left | 19:22 |
| ← fphilipe_ left | 19:30 |
| ← kleisli left | 19:32 |
| → dtux joined | 19:32 |
| ← bvdw left | 19:37 |
| → bvdw joined | 19:38 |
| → g00s joined | 19:38 |
| ← xcm left | 19:42 |
| → xcm joined | 19:43 |
| → dmtucker joined | 19:49 |
| ← emmanuelux left | 19:49 |
| ← dtux left | 19:50 |
| sauvin → Boc | 19:50 |
| → irrgit joined | 19:52 |
| → oatmealraisin joined | 19:53 |
| ← omega_doom left | 19:54 |
| → Narrat joined | 19:55 |
| ← puff` left | 20:01 |
| → misuto joined | 20:14 |
| ← theorangeone left | 20:21 |
| ← misuto left | 20:21 |
| ← dmtucker left | 20:23 |
| → theorangeone joined | 20:23 |
| → Lucas_Gray joined | 20:23 |
| → dtux joined | 20:27 |
| ← gnstaxo left | 20:41 |
| → waveclaw joined | 20:42 |
| ← regedit left | 20:43 |
| → gnstaxo joined | 20:44 |
| → fphilipe_ joined | 20:45 |
| → sidetrack joined | 20:50 |
| Hoff → \\\\\\\\\\\\\\ | 20:52 |
| ← Lucas_Gray left | 20:54 |
| ← dtux left | 20:57 |
| ← jess left | 20:58 |
| ← xcm left | 20:58 |
| → xcm joined | 20:59 |
| ← oatmealraisin left | 20:59 |
| ← AtumT left | 21:00 |
| ← shored left | 21:00 |
| → shored joined | 21:01 |
| → Lucas_Gray joined | 21:04 |
| ← feriman left | 21:11 |
| → kleisli joined | 21:14 |
| ← Err0r403 left | 21:15 |
| → AtumT joined | 21:17 |
| ← nowhere_man left | 21:19 |
| ← fphilipe_ left | 21:19 |
| ← Lucas_Gray left | 21:26 |
| → royal_screwup21 joined | 21:28 |
| → lainon joined | 21:28 |
| ← Nokurn left | 21:29 |
| → Lucas_Gray joined | 21:29 |
| → barteks2x joined | 21:32 |
| → AlexApps99 joined | 21:35 |
| ← AlexApps99 left | 21:35 |
| ← xcm left | 21:37 |
| → xcm joined | 21:37 |
| → fstd_ joined | 21:40 |
| → oatmealraisin joined | 21:41 |
| ← fstd left | 21:44 |
| fstd_ → fstd | 21:44 |
| ← SpeakerToMeat left | 21:46 |
| ← Narrat left | 21:48 |
| ← Lucas_Gray left | 21:50 |
| ← oatmealraisin left | 21:52 |
| → Lucas_Gray joined | 21:52 |
| → AlexApps joined | 21:56 |
| → cd joined | 21:58 |
| ← Jitta left | 21:58 |
| ← AlexApps left | 21:58 |
| ← sidetrack left | 22:05 |
| → tryte_ joined | 22:07 |
| ← tryte left | 22:09 |
| ← xcm left | 22:12 |
| → oatmealraisin joined | 22:13 |
| → xcm joined | 22:13 |
| ← kleisli left | 22:15 |
| ← Bagira left | 22:18 |
| ← foul_owl left | 22:19 |
| → foul_owl joined | 22:20 |
| ← oatmealraisin left | 22:20 |
| → mononote joined | 22:22 |
|
mononote
| hello, I want to do a merge with no ff, editing the commit message but I would like to have a list of the edited files in a comment below in the same way as I have it when doing a normal commit, is that possible? | 22:22 |
| ← CCR5-D32 left | 22:24 |
| → mikecmpbll joined | 22:26 |
| → kleisli joined | 22:28 |
| \\\\\\\\\\\\\\ → Hoffman | 22:30 |
| ← irrgit left | 22:30 |
| → Nokurn joined | 22:40 |
| → mat001 joined | 22:49 |
|
mononote
| so essentially I wanted to do --no-ff & --no-commit, nm | 22:49 |
| ← theorangeone left | 22:50 |
| → theorangeone joined | 22:50 |
| ← lucasb left | 22:51 |
| ← Neurognostic left | 22:54 |
| ← kleisli left | 22:56 |
| → dtux joined | 22:57 |
| ← dtux left | 23:02 |
| → puff` joined | 23:07 |
| ← Phylock left | 23:14 |
| ← NODE left | 23:15 |
| → oatmealraisin joined | 23:16 |
| → NODE joined | 23:16 |
| → sidetrack joined | 23:17 |
| ← gnstaxo left | 23:18 |
| ← mikecmpbll left | 23:20 |
| ← igemnace left | 23:24 |
| → dedowsdi joined | 23:25 |
| → jaziz joined | 23:26 |
| → CCR5-D32 joined | 23:26 |
| → irrgit joined | 23:27 |
| ← puff` left | 23:27 |
| → puff` joined | 23:27 |
| ← royal_screwup21 left | 23:28 |
| ← sidetrack left | 23:33 |
| → OnkelTem joined | 23:35 |
|
OnkelTem
| Hi all | 23:35 |
|
| This command doesn't work on server: git diff --name-status master.. | 23:35 |
|
| fatal: ambiguous argument 'master..': unknown revision or path not in the working tree. | 23:35 |
|
| Git version 2.11 | 23:35 |
|
| On my local machine git version is 2.17 | 23:36 |
|
| So do I get that error because of the outdated git on the server? | 23:36 |
| ← puff` left | 23:37 |
|
OnkelTem
| Or... I have to checkout first maybe. But I guess it must be the current branch | 23:37 |
| ← vicfred left | 23:38 |
|
OnkelTem
| Oh my god, it's gonna break everything, dumbass | 23:40 |
|
| it clones only one branch | 23:40 |
|
| Ok, so here is the real question then: if a repository was cloned with --branch option, how to add a new branch now, e.g. master? | 23:41 |
| ← NODE left | 23:44 |
| → NODE joined | 23:45 |
| ← Benett left | 23:46 |
| ← brunocarvalho left | 23:46 |
| → Benett joined | 23:47 |
| → puff` joined | 23:48 |
| ← puff` left | 23:50 |
| → puff` joined | 23:50 |
| ← Benett left | 23:55 |
| → Benett joined | 23:55 |