| 2018-08-30 |
| → wreed joined | 00:00 |
| ← LiftLeft left | 00:03 |
| → dsdeiz joined | 00:03 |
| ← dsdeiz left | 00:03 |
| → dsdeiz joined | 00:03 |
| → LiftLeft joined | 00:06 |
| → diogenese joined | 00:06 |
| → m00sehead joined | 00:08 |
| ← dsdeiz left | 00:08 |
| ← tristanp left | 00:10 |
| → cdown_ joined | 00:10 |
| ← cdown left | 00:12 |
| cdown_ → cdown | 00:12 |
| ← xaa left | 00:15 |
| ← BallChang-CN left | 00:17 |
| ← RoriconKnight left | 00:19 |
| ← str left | 00:19 |
| ← m0viefreak left | 00:22 |
| ← mattcen left | 00:23 |
| → _ADN_ joined | 00:25 |
| ← greatgatsby left | 00:26 |
| → CheckDavid joined | 00:26 |
| → mattcen joined | 00:27 |
| ← CheckDavid left | 00:27 |
| → Kaisyu joined | 00:31 |
| ← lagothrix left | 00:33 |
| → lagothrix joined | 00:35 |
| → BallChang-CN joined | 00:36 |
| → dsdeiz joined | 00:37 |
| ← dsdeiz left | 00:37 |
| → dsdeiz joined | 00:37 |
| ← ilmostro left | 00:39 |
| → ilmostro joined | 00:41 |
| → jasmith joined | 00:41 |
| ← dsdeiz left | 00:42 |
| → zedek joined | 00:42 |
|
zedek
| ? | 00:42 |
| → yyy joined | 00:43 |
| ← al-damiri left | 00:46 |
| → tristanp joined | 00:46 |
| → prakashdanish joined | 00:47 |
| → CheckDavid joined | 00:48 |
| ← zedek left | 00:48 |
| ← CheckDavid left | 00:48 |
| ← tristanp left | 00:49 |
| → tristanp joined | 00:49 |
| → mud joined | 00:50 |
| ← _ADN_ left | 00:53 |
| ← Peetz0r left | 00:54 |
| → Peetz0r joined | 00:55 |
| ← egc left | 01:03 |
| ← tristanp left | 01:03 |
| ← rosco_y left | 01:05 |
| ← arecaceae left | 01:06 |
| ← brettgilio left | 01:08 |
| ← Narrat left | 01:12 |
| ← KeyJoo left | 01:13 |
| → dsdeiz joined | 01:14 |
| ← dsdeiz left | 01:18 |
| → dsdeiz joined | 01:18 |
| ← dsdeiz left | 01:18 |
| → thiago joined | 01:20 |
| → Lunatrius joined | 01:20 |
| → XenophonF joined | 01:22 |
| → finalbeta joined | 01:23 |
| ← yyy left | 01:27 |
| ← F0rTex left | 01:28 |
| ← wreed left | 01:28 |
| → F0rTex joined | 01:28 |
| → arecaceae joined | 01:28 |
| ← James0r left | 01:31 |
| → jakogut_ joined | 01:37 |
| ← watabou_ left | 01:39 |
| → watabou joined | 01:40 |
| → RuckusBringer joined | 01:41 |
| ← TheRuckus left | 01:44 |
| ← MACscr left | 01:46 |
| → str joined | 01:47 |
| ← minionofgozer left | 01:51 |
| → minionofgozer joined | 01:53 |
| → dsdeiz joined | 01:55 |
| ← dsdeiz left | 01:55 |
| → dsdeiz joined | 01:55 |
| → checkItOut joined | 01:57 |
| ← str left | 01:57 |
| → CheckDavid joined | 01:58 |
| ← CheckDavid left | 01:59 |
| ← libregeekingkid left | 02:02 |
| → Goplat joined | 02:06 |
| ← nowhere_man left | 02:09 |
| → nowhere_man joined | 02:10 |
| → igemnace joined | 02:12 |
| → PLLunlock joined | 02:12 |
| ← raven-au left | 02:14 |
| → xirhtogal joined | 02:14 |
| ← nowhere_man left | 02:15 |
| → nowhere_man joined | 02:16 |
| ← lagothrix left | 02:17 |
| → raven-au joined | 02:24 |
| ← kyan left | 02:27 |
| → James0r joined | 02:27 |
| → cagomez joined | 02:29 |
| ← Praxi left | 02:30 |
| → Lyqyd joined | 02:32 |
| ← Lyqyd left | 02:36 |
| ← ryouma left | 02:37 |
| → Lyqyd joined | 02:37 |
| ← sylario left | 02:38 |
| ← prakashdanish left | 02:43 |
|
gendl
| Hi, how do I add a deploy key to a git repository? (i.e. hosting my own plain git repo, not on github or gitlab) | 02:45 |
| → hendry joined | 02:47 |
|
hendry
| say i want to back out of complex merge, how do i do that? reset? | 02:47 |
|
| i think `git merge --abort` | 02:49 |
|
| works | 02:49 |
| → CheckDavid joined | 02:50 |
| ← CheckDavid left | 02:50 |
| → yyy joined | 02:52 |
| ← inovas left | 02:57 |
| ← yyy left | 03:00 |
| → tristanp joined | 03:01 |
| → inovas joined | 03:04 |
| ← ilmostro left | 03:04 |
| → brettgilio joined | 03:05 |
| ← tristanp left | 03:05 |
| → ilmostro joined | 03:06 |
| ← kallisti5 left | 03:09 |
| ← m00sehead left | 03:10 |
|
thiago
| gendl: the typical answer is "don't" | 03:11 |
| → nosferatuman joined | 03:11 |
| → texinwien joined | 03:12 |
| ← applecrumble left | 03:13 |
| ← brent__ left | 03:14 |
| → applecrumble joined | 03:14 |
| → Onionnion joined | 03:15 |
| ← ixian left | 03:17 |
| → figurehe4d joined | 03:20 |
| ← jasmith left | 03:20 |
| → yeshurun joined | 03:22 |
| ← yeshurun left | 03:23 |
| → yeshurun joined | 03:23 |
| ← texinwien left | 03:24 |
| → ixian joined | 03:26 |
| → zrc joined | 03:34 |
|
ekleog
| gendl: you may want to look at git-crypt, if you really want to do that | 03:38 |
| ← Mattiaslndstrm left | 03:38 |
| ← zrc left | 03:38 |
| ← brettgilio left | 03:38 |
| ← applecrumble left | 03:40 |
| ← nosferatuman left | 03:40 |
| ← jakogut_ left | 03:47 |
| → czart_ joined | 03:47 |
| ← graphene left | 03:49 |
| → graphene joined | 03:50 |
| → houami joined | 03:51 |
|
gendl
| ekleog: thanks - but why can't I set up a read-only deploy key on my own git server? | 03:51 |
|
thiago
| you can. You shouldn't | 03:52 |
|
gendl
| Is that a service only offered by services such as github and gitlab? | 03:52 |
|
ekleog
| I don't really get what you're trying to do | 03:52 |
|
gendl
| should I also not do it with github | 03:52 |
|
ekleog
| if it's deploy-on-push, then you don't need to have the deploy key in the repo | 03:52 |
|
| it's just a post-receive hook | 03:52 |
| ← Wetmelon left | 03:53 |
|
ekleog
| ( https://git-scm.com/book/en/v2/Customizing-Git-Git-Hooks ) | 03:53 |
|
| (or maybe update hook would be easier, idk | 03:53 |
|
| ) | 03:53 |
| → Lunatrius` joined | 03:53 |
| ← houami left | 03:54 |
|
gendl
| It's an automated build process on a client machine which should do a pull/clone from the remote before building | 03:54 |
|
| so it needs read-only access to the repo. | 03:54 |
|
thiago
| the key should be out-of-band. Make the deploying system know it, without the repository. | 03:55 |
|
gendl
| just like is done with a deploy key on github or gitlab. | 03:55 |
|
thiago
| that's how you should do it | 03:55 |
| ← Lunatrius left | 03:55 |
| Lunatrius` → Lunatrius | 03:55 |
|
thiago
| you can put the key in the repository. A file is a file, after all, and any file can be added and tracked. That's just a bad idea. | 03:55 |
|
gendl
| on the repository machine it would be just a public key | 03:55 |
|
| the private key is on the client build machine | 03:55 |
| ← mud left | 03:56 |
|
gendl
| I just got it working by appending the public key to the ~git/.ssh/authorized_keys file on the remote repository machine | 03:56 |
| → libregeekingkid joined | 03:56 |
|
gendl
| but I just can't believe that's how a huge service like github would do it | 03:56 |
|
| they have millions of users, they can't have millions of public keys appended to their ~git/.ssh/authorized_keys file... | 03:57 |
|
thiago
| but they do | 03:57 |
|
gendl
| srsly? | 03:57 |
|
| I thought it can also go somewhere in each repository configuration... | 03:58 |
|
thiago
| gitolite uses a single user SSH login, with users identified by their keys | 03:58 |
|
| gitlab does too | 03:58 |
|
ekleog
| gogs has all public keys to ~git/.ssh/authorized_keys too | 03:58 |
|
thiago
| I push to [email@hidden.address] It's the key that identifies me, not something else | 03:58 |
|
| github has usernames in SSH, though whether that is important or not and how they organise is entirely unknown | 03:59 |
|
ekleog
| hmm? I push to [email@hidden.address] personally | 03:59 |
|
gendl
| Ok. Go figure. Thanks guys. | 03:59 |
| → kbZ joined | 03:59 |
|
thiago
| oh, right | 03:59 |
|
| sorry, I'm confusing with some other service then | 04:00 |
|
| so, yes, the SSH username is irrelevant. The key identifies you. | 04:00 |
| ← ilmostro left | 04:00 |
|
ekleog
| hmm, I think you're confusing with github-over-http, which uses username+password for auth :) | 04:00 |
|
thiago
| yeah | 04:00 |
| → CheckDavid joined | 04:00 |
|
thiago
| note that GitHub does not use openssh, so there's no ~git/.ssh/authorized_keys | 04:00 |
| ← CheckDavid left | 04:01 |
|
thiago
| gitlab does | 04:01 |
| → ilmostro joined | 04:02 |
| ← rhinux left | 04:02 |
|
Jonno_FTW
| hello | 04:02 |
|
| I have 2 branches, master and dev, how can I only merge in specific changes into master? | 04:03 |
|
| can I make all diffs a conflict when merging? | 04:03 |
| → Darren joined | 04:03 |
| Darren → Guest62531 | 04:03 |
| → tristanp joined | 04:04 |
| → ismithers joined | 04:04 |
|
ismithers
| Hey all, is there a way for me to git add -i or -p and have them ignore whitespace changes? | 04:04 |
| ← mrCyborg|zzz left | 04:05 |
| → mrCyborg|zzz joined | 04:05 |
|
ismithers
| Oh I may have found it: --ignore-space-change | 04:06 |
| ← tristanp left | 04:07 |
| → tristanp joined | 04:07 |
| ← tango_ left | 04:07 |
| → tango_ joined | 04:09 |
| ← boombatower left | 04:16 |
| ← serialoverflow left | 04:17 |
| ← cagomez left | 04:20 |
| → ShapeShifter499 joined | 04:22 |
| → oojacoboo joined | 04:22 |
| → serialoverflow joined | 04:23 |
| ← dry left | 04:26 |
| ← igemnace left | 04:27 |
| ← wpcarro left | 04:36 |
| ← libregeekingkid left | 04:38 |
|
thiago
| Jonno_FTW: Git won'th elp you. You can only merge full branches. | 04:40 |
|
| more specifically, whenever you merge a commit, you merge all commits leading to it | 04:40 |
| ← Lyqyd left | 04:42 |
| ← Bucciarati left | 04:44 |
| ← zsoc left | 04:47 |
| ← avar left | 04:48 |
| → CheckDavid joined | 04:51 |
| ← CheckDavid left | 04:52 |
|
Jonno_FTW
| thiago: so I have to merge them into a new branch and pick out all the changes myself? | 04:53 |
| ← tristanp left | 04:56 |
| → Envil joined | 04:57 |
| ← ferdna left | 04:59 |
| → zumba_ad_ joined | 04:59 |
| → wpcarro joined | 05:00 |
| → Oatmeal joined | 05:00 |
| → tsdh joined | 05:01 |
| → pks_ joined | 05:01 |
| ← zumba_ad_ left | 05:04 |
| ← pks left | 05:04 |
| pks_ → pks | 05:04 |
| ← Lunatrius left | 05:05 |
| → kotepillar_ joined | 05:07 |
|
kotepillar_
| when I with my friends work on one private project, “Forking with feature branches” or “create new feature branch directly”, which one is better | 05:08 |
| → g00s joined | 05:08 |
| → teodorg joined | 05:09 |
| → Lunatrius joined | 05:11 |
| → oojacobo_ joined | 05:11 |
| → avar joined | 05:12 |
| ← avar left | 05:12 |
| → avar joined | 05:12 |
| → Bucciarati joined | 05:12 |
| ← kotepillar_ left | 05:12 |
| → freimatz joined | 05:14 |
| → prakashdanish joined | 05:14 |
| ← oojacoboo left | 05:14 |
| → kotepillar_ joined | 05:15 |
|
kotepillar_
| when I with my friends work on one private project, “Forking with feature branches” or “create new feature branch directly”, which one is bette | 05:15 |
| → zumba_ad_ joined | 05:16 |
| → orbyt_ joined | 05:17 |
| ← zumba_ad_ left | 05:20 |
| → jenwhite joined | 05:20 |
| → Renter_ joined | 05:20 |
| → schleppel joined | 05:22 |
| → Hounddog joined | 05:23 |
| ← orbyt_ left | 05:24 |
| ← kotepillar_ left | 05:24 |
| → dry joined | 05:25 |
| → kotepillar_ joined | 05:25 |
| → dreiss joined | 05:26 |
| → sauvin joined | 05:27 |
| ← Guest62531 left | 05:28 |
|
hendry
| kotepillar_: forking is more the usual way | 05:29 |
|
kotepillar_
| hendry: forking how to rebase | 05:30 |
| → Darren joined | 05:30 |
| ← Darren left | 05:30 |
|
hendry
| kotepillar_: you don't need to rebase, you merge to keep upto date with master | 05:30 |
| ← zlsyx left | 05:31 |
| → Darren joined | 05:31 |
| ← Darren left | 05:31 |
| → zlsyx joined | 05:31 |
| → genken joined | 05:32 |
| → Darren joined | 05:33 |
| ← Darren left | 05:33 |
| ← dreiss left | 05:33 |
| → dc13ff joined | 05:33 |
| ← oojacobo_ left | 05:33 |
| → Darren joined | 05:34 |
| ← Darren left | 05:34 |
|
kotepillar_
| but the branch tree will be cross lots of commits | 05:34 |
|
| not very clean | 05:35 |
| ← LiftLeft left | 05:35 |
| → KeyJoo joined | 05:35 |
| → brettgilio joined | 05:35 |
| → cur8or joined | 05:36 |
| ← graphene left | 05:36 |
| → graphene joined | 05:37 |
| → Darren joined | 05:37 |
| ← Darren left | 05:37 |
| → Darren joined | 05:40 |
| ← Darren left | 05:40 |
| → Darren joined | 05:42 |
| ← Darren left | 05:42 |
| → zsoc joined | 05:42 |
| ← zsoc left | 05:42 |
| → zsoc joined | 05:42 |
| ← zlsyx left | 05:44 |
| ← freimatz left | 05:44 |
| → zlsyx joined | 05:44 |
| → Darren joined | 05:45 |
| ← Darren left | 05:45 |
| ← checkItOut left | 05:45 |
| ← Bobguy left | 05:46 |
| → Darren joined | 05:46 |
| ← Darren left | 05:46 |
|
hendry
| kotepillar_: big projects operate this well. merging is usually pretty painless if you are not working on the exact same file | 05:47 |
| → Darren joined | 05:48 |
| ← Darren left | 05:48 |
| ← brettgilio left | 05:48 |
| → Darren joined | 05:49 |
| ← Darren left | 05:49 |
| → jgornick joined | 05:50 |
| → Darren joined | 05:51 |
| ← Darren left | 05:51 |
| ← graphene left | 05:51 |
|
johnjay
| yeah does git give an error if commits conflict? | 05:51 |
| → muelleme joined | 05:52 |
| → Darren joined | 05:52 |
| ← Darren left | 05:52 |
| → jacksparling joined | 05:53 |
| → Darren joined | 05:54 |
| ← dsdeiz left | 05:54 |
| ← Darren left | 05:54 |
| ← jacksparling left | 05:55 |
| → Darren joined | 05:55 |
| ← Darren left | 05:55 |
|
hendry
| johnjay: yes | 05:55 |
| → LiftLeft joined | 05:56 |
| → checkItOut joined | 05:56 |
| → Darren joined | 05:57 |
| ← Darren left | 05:57 |
|
johnjay
| ok. i assume it would just go with whichever one was made first and then give an error then | 05:57 |
|
| of course when you have commits like "changed *p = 7 to p = 7" it's hard to have a conflict | 05:58 |
| → soee joined | 05:58 |
| → Darren joined | 05:58 |
| ← Darren left | 05:58 |
| → Darren joined | 06:00 |
| ← Darren left | 06:00 |
| → sz0 joined | 06:00 |
| ← segnior left | 06:01 |
| → Darren joined | 06:01 |
| ← Darren left | 06:01 |
| → CheckDavid joined | 06:02 |
| → kurkale6ka joined | 06:03 |
| → Darren joined | 06:03 |
| ← CheckDavid left | 06:03 |
| ← Darren left | 06:03 |
| ← LiftLeft left | 06:04 |
| → Darren joined | 06:04 |
| ← Darren left | 06:04 |
| → Darren joined | 06:06 |
| ← Darren left | 06:06 |
| ← PLLunlock left | 06:06 |
| → LiftLeft joined | 06:07 |
| → Darren joined | 06:07 |
| ← Darren left | 06:07 |
| → wandering_vagran joined | 06:08 |
| ← figurehe4d left | 06:09 |
| → Darren joined | 06:09 |
| ← Darren left | 06:09 |
| → Darren joined | 06:10 |
| → soee_ joined | 06:10 |
| ← Darren left | 06:10 |
| ← soee left | 06:10 |
| → Darren joined | 06:12 |
| → chele joined | 06:12 |
| ← Darren left | 06:12 |
| → lowbro joined | 06:14 |
| ← lowbro left | 06:14 |
| → lowbro joined | 06:14 |
| ← kurkale6ka left | 06:14 |
| → Darren joined | 06:15 |
| ← jenwhite left | 06:15 |
| ← Darren left | 06:15 |
| ← cur8or left | 06:16 |
| → Darren joined | 06:18 |
| ← Darren left | 06:18 |
| → Darren joined | 06:19 |
| ← Darren left | 06:19 |
| → Darren joined | 06:21 |
| ← Darren left | 06:21 |
| ← teodorg left | 06:22 |
| ← GreenJello left | 06:23 |
| → teodorg joined | 06:23 |
| → Sasazuka joined | 06:24 |
| → Darren joined | 06:24 |
| ← Darren left | 06:24 |
| ← Sasazuka left | 06:24 |
| → Darren joined | 06:25 |
| ← Darren left | 06:25 |
| → Darren joined | 06:27 |
| ← Darren left | 06:27 |
| ← kbZ left | 06:28 |
| → Hi-Angel joined | 06:28 |
| → Darren joined | 06:28 |
| ← Darren left | 06:28 |
| → ocds joined | 06:29 |
| → Darren joined | 06:33 |
| ← Darren left | 06:33 |
| → segnior joined | 06:34 |
| → Masplus joined | 06:34 |
| → Darren joined | 06:34 |
| ← Darren left | 06:35 |
| → floatleft joined | 06:35 |
| ← floatleft left | 06:35 |
| → Darren joined | 06:36 |
| ← Darren left | 06:36 |
| ← ShapeShifter499 left | 06:36 |
| → ShapeShifter499 joined | 06:36 |
| → Darren joined | 06:37 |
| ← Darren left | 06:38 |
| → Darren joined | 06:39 |
| ← Darren left | 06:39 |
| → jakogut_ joined | 06:39 |
| → Darren joined | 06:42 |
| ← TinkerT left | 06:42 |
| ← dakar left | 06:42 |
| ← Darren left | 06:42 |
| → Darren joined | 06:43 |
| → MACscr joined | 06:43 |
| ← Darren left | 06:44 |
| → TinkerT joined | 06:44 |
| → dakar joined | 06:44 |
| ← minionofgozer left | 06:44 |
| → dreiss joined | 06:45 |
| → Darren joined | 06:45 |
| ← Darren left | 06:45 |
| ← muelleme left | 06:45 |
| → Darren joined | 06:48 |
| ← Darren left | 06:48 |
| → Darren joined | 06:49 |
| ← Darren left | 06:50 |
| ← ocds left | 06:50 |
| → minionofgozer joined | 06:51 |
| → dmone joined | 06:51 |
| → Darren joined | 06:51 |
| → pfleck joined | 06:51 |
| ← Darren left | 06:51 |
| → abba joined | 06:51 |
| ← genken left | 06:52 |
| → agris joined | 06:52 |
| → Darren joined | 06:52 |
|
agris
| test | 06:52 |
| ← Darren left | 06:53 |
|
_ikke_
| !hi | 06:53 |
|
gitinfo
| [!welcome] Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see https://gitirc.eu/ - Take backups (type !backup to learn how) before taking advice. | 06:53 |
| ← thiago left | 06:53 |
| → CheckDavid joined | 06:53 |
|
agris
| Can someone please direct me to a good guide on how to properly setup a GIT server? I've setup cgit but apparently that only views repos. I found out i actually have to have a daemon of some kind. | 06:54 |
| ← CheckDavid left | 06:54 |
| → Darren joined | 06:54 |
| ← Darren left | 06:54 |
|
agris
| Also, is it bad to have an open-access-commit server? | 06:54 |
|
_ikke_
| agris: I would say yes | 06:55 |
| → Darren joined | 06:55 |
| ← Darren left | 06:56 |
|
_ikke_
| agris: So you want everyone to be able to push to your repo? | 06:56 |
| → tristanp joined | 06:56 |
| ← zlsyx left | 06:57 |
| → Darren joined | 06:57 |
| ← Darren left | 06:57 |
|
agris
| I've just never done this before. What's the proper way to go about easily accepting patches should someone want to contribute | 06:57 |
| → Darren joined | 06:58 |
| ← Darren left | 06:59 |
| → Poffer joined | 06:59 |
|
_ikke_
| agris: That person could publish their copy of the repository and ask you to pull from them | 06:59 |
|
| That's the original decentralized workflow of git | 07:00 |
|
agris
| wow that is better than sending patches | 07:00 |
| → Darren joined | 07:00 |
| ← Darren left | 07:00 |
|
agris
| I'd love to be able to do that for projects on github. | 07:00 |
|
| Instead of owning an account there | 07:00 |
| ← gxt left | 07:01 |
|
_ikke_
| agris: nothing prevents you from doing that | 07:01 |
| → zefferno joined | 07:01 |
| ← tristanp left | 07:01 |
|
_ikke_
| agris: in your local repository, you just add their repository as a remote | 07:01 |
|
| and fetch from it | 07:01 |
| → Darren joined | 07:02 |
| ← Darren left | 07:02 |
|
agris
| so how do i go about setting up my own git server? | 07:03 |
| → Puffball joined | 07:03 |
| → Darren joined | 07:03 |
| ← Darren left | 07:03 |
|
agris
| Please excuse my greenness. We were all green at some point | 07:04 |
| → Darren joined | 07:05 |
| ← Darren left | 07:05 |
| ← jakogut_ left | 07:05 |
| → roncone joined | 07:05 |
|
_ikke_
| there are 3 main ways to host repositories: 1) via ssh (read-write, authenticated only). 2) http(s) (read-only, unless you use the git http back-end). 3) git deamon (read-only, public) | 07:05 |
|
| no worry | 07:05 |
| → Darren joined | 07:06 |
| ← Darren left | 07:06 |
|
_ikke_
| https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols | 07:07 |
| → Darren joined | 07:08 |
| ← Darren left | 07:08 |
|
agris
| wait, so what your saying is all i have to do is set origin to ssh://my.server.tld:~/Public/git/reponame and then tell cgit to view that directory for public read-only access? | 07:08 |
|
| It's that simple? | 07:08 |
| ← pfleck left | 07:09 |
|
_ikke_
| for 'dumb' http to work you have to do a bit of additional work | 07:09 |
| → Darren joined | 07:09 |
|
agris
| oh? | 07:09 |
| ← Darren left | 07:09 |
|
_ikke_
| Read that page I linked to, it explains the details | 07:09 |
| → dsdeiz joined | 07:09 |
| ← dsdeiz left | 07:09 |
| → dsdeiz joined | 07:09 |
|
agris
| thank you _ikke_ | 07:10 |
|
| I can't believe I was using git in such a centralized manner before when it can be used like this | 07:10 |
| → Darren joined | 07:11 |
| ← Darren left | 07:11 |
| → cur8or joined | 07:11 |
|
_ikke_
| git was meant to be very decentralized, but people found it easier to use a centralized workflow | 07:11 |
| ← g00s left | 07:12 |
| ← dreiss left | 07:12 |
| → Darren joined | 07:12 |
| ← Darren left | 07:12 |
| ← fr33domlover left | 07:13 |
| → texinwien joined | 07:13 |
| ← Poffer left | 07:13 |
| → Darren joined | 07:13 |
| ← Darren left | 07:14 |
| → Darren joined | 07:15 |
| ← Darren left | 07:15 |
| ← m1m3-50 left | 07:16 |
| → Darren joined | 07:16 |
| ← Darren left | 07:17 |
| → kakashiAL joined | 07:17 |
| → Darren joined | 07:18 |
| ← Darren left | 07:18 |
| → Darren joined | 07:19 |
| ← Darren left | 07:20 |
| ← rtjure left | 07:20 |
| → Darren joined | 07:21 |
| ← Darren left | 07:21 |
| → sysvalve joined | 07:21 |
| → Tobbi joined | 07:22 |
|
agris
| if i am pushing to a empty directory over SSH what is the proper way to do that? it complains because a project.git file does not exist | 07:22 |
|
| does not exist yet on the remote repository | 07:22 |
|
cbreak
| agris: git init --bare on the remote | 07:22 |
| → charolastra joined | 07:22 |
| → Darren joined | 07:22 |
|
cbreak
| that will create a repository you can push to | 07:23 |
| ← Darren left | 07:23 |
|
cbreak
| agris: git obviously only allows pushing to git repositories | 07:23 |
| → Darren joined | 07:24 |
| ← Darren left | 07:24 |
| ← Onionnion left | 07:25 |
| → Darren joined | 07:25 |
| ← Darren left | 07:26 |
| → Darren joined | 07:27 |
| ← Darren left | 07:27 |
| ← Codaraxis_ left | 07:28 |
| → Darren joined | 07:29 |
| → blackmesa joined | 07:29 |
| ← Darren left | 07:29 |
| → Darren joined | 07:30 |
| ← Darren left | 07:30 |
| → gxt joined | 07:30 |
| → Codaraxis joined | 07:31 |
| → Darren joined | 07:31 |
| ← Darren left | 07:32 |
| → skisela joined | 07:32 |
| ← dsx_ left | 07:33 |
| → Darren joined | 07:33 |
| ← Darren left | 07:33 |
| → Darren joined | 07:35 |
| ← Darren left | 07:35 |
| ← Tobbi left | 07:35 |
| → skisela_afk joined | 07:36 |
| → Darren joined | 07:36 |
| ← Puffball left | 07:36 |
| ← Darren left | 07:36 |
| → Darren joined | 07:38 |
| ← Darren left | 07:38 |
| ← skisela left | 07:39 |
| → Darren joined | 07:41 |
| ← Darren left | 07:41 |
| → m1m3-50 joined | 07:41 |
| ← blackmesa left | 07:42 |
| ← agris left | 07:42 |
| → plexigras joined | 07:42 |
| → Darren joined | 07:42 |
| ← m1m3-50 left | 07:42 |
| → agris joined | 07:42 |
| Darren → Guest9750 | 07:42 |
| ← Guest9750 left | 07:43 |
| → m1m3-50 joined | 07:43 |
| → bsaboia joined | 07:44 |
| → Darren_ joined | 07:44 |
| ← Darren_ left | 07:44 |
| → Darren_ joined | 07:46 |
| ← Darren_ left | 07:46 |
| → mmmnootka joined | 07:46 |
| → Darren_ joined | 07:48 |
| ← Darren_ left | 07:48 |
|
agris
| cbreak, the files are not showing up | 07:49 |
| → Darren_ joined | 07:49 |
| → Quetzal2 joined | 07:50 |
|
absence
| is it possible to visualise the relationship between two specific branches with git log --graph? it's a convoluted mess when all the branches are shown | 07:50 |
| ← Darren_ left | 07:50 |
|
cbreak
| agris: which files? | 07:50 |
|
agris
| and git init --bare keeps trying to put the management files in . instead of .git . i tried git init --bare .git but the files still don't show | 07:50 |
|
cbreak
| agris: you should see HEAD at least | 07:50 |
|
| agris: and also directories refs, objects | 07:50 |
|
| agris: you don't see those files? | 07:51 |
| ← mmmnootka left | 07:51 |
|
cbreak
| agris: git log will only show the branches you tell it | 07:51 |
|
| sorry, absence | 07:51 |
|
agris
| i see the commit messages but i don't see any of the files in that actual dir | 07:51 |
| → Darren_ joined | 07:51 |
| ← Darren_ left | 07:51 |
|
cbreak
| agris: you should see the files HEAD | 07:51 |
|
| agris: and directories objects, refs and so on | 07:51 |
| ← ismithers left | 07:52 |
|
cbreak
| agris: if you see those, and git log works, then everything seems fine | 07:52 |
|
| don't worry | 07:52 |
|
agris
| i don't though | 07:52 |
|
cbreak
| you don't see HEAD? | 07:52 |
|
agris
| i see the folder head but my code isn't in there | 07:53 |
| → Darren_ joined | 07:53 |
|
cbreak
| it should be directly in the repo directory you did the git init --bare | 07:53 |
| ← Darren_ left | 07:53 |
|
cbreak
| yeah, that's normal | 07:53 |
|
| don't worry about it | 07:53 |
|
| you don't need it in a server repo | 07:53 |
|
| it's efficiently stored in gits object database | 07:53 |
|
| probably in a pack file | 07:53 |
|
agris
| does it have to be that way? | 07:53 |
|
cbreak
| yes | 07:53 |
|
| that's normal | 07:53 |
|
| server repositories are bare | 07:54 |
|
| they don't have a working directory with loose files | 07:54 |
|
| that's why you can push to them safely | 07:54 |
|
| and they're obviously also more efficient :) | 07:54 |
| → Darren_ joined | 07:54 |
| ← Darren_ left | 07:54 |
|
agris
| so how do i get my files out? | 07:55 |
| → Darren_ joined | 07:55 |
|
_ikke_
| agris: when you clone from this repository, you get a normal repository with all the files there | 07:55 |
| ← Darren_ left | 07:56 |
|
cbreak
| agris: the usual way is to clone | 07:57 |
|
agris
| I don't like this at all | 07:57 |
|
cbreak
| but you can also use git archive | 07:57 |
|
| agris: why? | 07:57 |
| → Darren_ joined | 07:57 |
| ← Darren_ left | 07:57 |
|
cbreak
| this is safe, efficient, fast | 07:57 |
|
_ikke_
| Because I guess they want to serve their project from this reposiory | 07:57 |
|
| repository | 07:57 |
| ← Goplat left | 07:57 |
|
cbreak
| that sounds idiotic | 07:58 |
|
| someone didn't read !deploy :( | 07:58 |
|
gitinfo
| 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 | 07:58 |
|
agris
| cgit can't read this | 07:58 |
| → Darren_ joined | 07:58 |
|
cbreak
| if cgit can't handle git repositories | 07:59 |
|
| then it's broken | 07:59 |
| ← Darren_ left | 07:59 |
|
_ikke_
| It should be able to handle bare repos | 07:59 |
|
cbreak
| I remember it being able to handle it half a decade ago | 07:59 |
|
absence
| cbreak: by default there are all kinds of branches visible. if i scroll down, the whole screen is basically full of | characters from all the branches | 07:59 |
|
cbreak
| but I haven't tried it in ages | 07:59 |
|
| absence: you should only see what you tell git | 07:59 |
|
| absence: git log --graph master should only show master branch | 07:59 |
|
| so only what is reachable from master | 08:00 |
|
| nothing else | 08:00 |
| ← serialoverflow left | 08:00 |
| → Darren_ joined | 08:00 |
| ← Darren_ left | 08:00 |
| ← sh3iny left | 08:03 |
| ← andres left | 08:03 |
|
absence
| cbreak: it starts off at master, but there are lots of lines if i scroll down | 08:10 |
|
cbreak
| that's to be expected | 08:10 |
|
| your master likely has lots of history merged in | 08:10 |
|
_ikke_
| --simplyfy-by-decoration | 08:10 |
|
cbreak
| but no worries, this is also part of master's history | 08:10 |
| → Darren_ joined | 08:10 |
| ← Darren_ left | 08:10 |
| → Darren_ joined | 08:10 |
| ← Darren_ left | 08:10 |
| → andres_f joined | 08:10 |
| → sylario joined | 08:10 |
| → mikecmpbll joined | 08:10 |
| → CheckDavid joined | 08:10 |
| → manuelschneid3r joined | 08:10 |
| ← MACscr left | 08:10 |
| → Darren_ joined | 08:10 |
| ← Darren_ left | 08:10 |
| → roro247 joined | 08:10 |
| ← czart_ left | 08:10 |
| → Renter joined | 08:10 |
| → sea-gull_ joined | 08:10 |
| ← hendry left | 08:10 |
| → Darren_ joined | 08:10 |
| ← Darren_ left | 08:10 |
| → serialoverflow joined | 08:10 |
| → Darren_ joined | 08:10 |
| ← Darren_ left | 08:10 |
| ← dex1983 left | 08:10 |
| ← Renter_ left | 08:10 |
| → MACscr joined | 08:10 |
| ← sylario left | 08:10 |
| → sylario joined | 08:10 |
| ← CheckDavid left | 08:10 |
| → CheckDavid joined | 08:10 |
| → dex1983 joined | 08:10 |
| ← xcm left | 08:10 |
| → sh3iny joined | 08:11 |
| → czart joined | 08:11 |
| → xcm joined | 08:11 |
| ← jgornick left | 08:12 |
| → Darren_ joined | 08:13 |
| ← Darren_ left | 08:14 |
| → jgornick joined | 08:15 |
| → Darren_ joined | 08:15 |
| → kurkale6ka joined | 08:15 |
| ← Darren_ left | 08:15 |
| → masterasia joined | 08:15 |
|
masterasia
| Hmm.. why does git rebase --abor | 08:16 |
|
| work | 08:16 |
| → quxgyver joined | 08:16 |
|
jast
| what do you mean? because someone implemented it ;) | 08:16 |
|
masterasia
| I mistyped but it looks like git is smart enough to determine that --abor or even --abo represents --abort | 08:16 |
|
jast
| oh | 08:16 |
|
| that's common with option parsers... any prefix that is unambiguous works | 08:16 |
| → Darren_ joined | 08:17 |
|
jast
| GNU tools usually do this, too | 08:17 |
| ← Darren_ left | 08:17 |
|
masterasia
| Heh | 08:17 |
|
| I think it shouldn't do that | 08:17 |
|
| because it isn't documented anywhere | 08:18 |
|
| Thanks jast | 08:18 |
|
jast
| at this point it's pretty much convention in the linux world | 08:18 |
|
| something that everyone Just Knows(tm) - or doesn't ;) | 08:18 |
| → Darren_ joined | 08:18 |
| ← Darren_ left | 08:18 |
|
masterasia
| well I guess I'm joining the realm of Just Knows(TM) | 08:18 |
|
jast
| welcome to the realm! | 08:19 |
|
| man, this Darren guy needs to fix his IRC client | 08:19 |
|
| let's see if a short ban will help | 08:19 |
| → xaa joined | 08:19 |
|
osse
| $ git fetch --prun | 08:19 |
|
| error: Ambiguous option: prun (could be --prune or --prune-tags) | 08:20 |
| → Darren_ joined | 08:20 |
|
osse
| oh | 08:20 |
|
| nvm | 08:20 |
| ← Darren_ left | 08:20 |
| ChanServ set mode: +o | 08:20 |
| jast set mode: +b | 08:20 |
|
osse
| I thought only git's shell scripts did that | 08:20 |
|
jast
| it's a standard feature of getopt, for instance | 08:20 |
|
osse
| git isn't consistent about it | 08:21 |
|
jast
| I think some of the shell scripts have their own "parsers" | 08:21 |
| → artemis joined | 08:21 |
| ← amirpro left | 08:21 |
| → Tobbi_ joined | 08:22 |
| → dre_ joined | 08:22 |
| ← supernovah left | 08:23 |
| ← artemis left | 08:24 |
| ← crane left | 08:29 |
| ← stoopkid left | 08:29 |
| ← Garen left | 08:30 |
| jast set mode: -b | 08:31 |
| → Darren_ joined | 08:32 |
| ← Darren_ left | 08:32 |
| → Darren joined | 08:33 |
| ← Darren left | 08:33 |
| ← kerframil left | 08:34 |
| → Darren joined | 08:35 |
| ← Darren left | 08:35 |
|
agris
| ok nevermind cgit can handle bare repos | 08:36 |
|
| I've just never seen a bare repo before this | 08:36 |
| ← mooasaurus left | 08:36 |
| → Darren joined | 08:36 |
| ← Darren left | 08:36 |
| → mooasaurus joined | 08:37 |
| ← ilmostro left | 08:37 |
| → Darren joined | 08:37 |
| ← Darren left | 08:38 |
| → Darren joined | 08:39 |
| ← Darren left | 08:39 |
| → ilmostro joined | 08:39 |
| → Darren joined | 08:41 |
| ← Darren left | 08:41 |
| → lanlink joined | 08:41 |
| → Darren joined | 08:42 |
| ← Darren left | 08:42 |
| → manatee_ joined | 08:44 |
| → Darren joined | 08:44 |
| ← Darren left | 08:44 |
| ← manatee_ left | 08:44 |
| → Darren joined | 08:45 |
| ← Darren left | 08:45 |
| → Darren joined | 08:46 |
| ← Darren left | 08:47 |
| → _ADN_ joined | 08:48 |
| → Darren joined | 08:48 |
| ← Darren left | 08:48 |
| → Darren joined | 08:49 |
| ← Darren left | 08:50 |
| → Darren joined | 08:51 |
| ← Darren left | 08:51 |
| → Snakepit joined | 08:51 |
| → Puffball joined | 08:52 |
| → Darren joined | 08:53 |
| ← Darren left | 08:53 |
| → Garen joined | 08:53 |
| ← Snakepit left | 08:54 |
| → Darren joined | 08:54 |
| ← Darren left | 08:54 |
| → kes joined | 08:55 |
| → Darren joined | 08:56 |
| ← Darren left | 08:56 |
| → texinwien_ joined | 08:57 |
| → Darren joined | 08:57 |
| ← Darren left | 08:57 |
| → tristanp joined | 08:58 |
| → Darren joined | 08:59 |
| ← Darren left | 08:59 |
| ← texinwien left | 09:00 |
| → Raimondii joined | 09:01 |
| → Darren joined | 09:02 |
| ← Darren left | 09:02 |
| ← kurkale6ka left | 09:02 |
| → kurkale6ka joined | 09:03 |
| → Darren joined | 09:03 |
| ← Darren left | 09:03 |
| ← tristanp left | 09:03 |
| ← Raimondi left | 09:04 |
| Raimondii → Raimondi | 09:04 |
| ← _flow_ left | 09:04 |
| → sQVe joined | 09:04 |
| → Darren joined | 09:05 |
| → logithack joined | 09:05 |
| ← Darren left | 09:05 |
|
Hi-Angel
| How do I git-push only the current branch, but without explicitly writing its name every time? Something like "git push origin --current" would be nice. Can't find it in man | 09:06 |
| → Darren joined | 09:06 |
| ← cur8or left | 09:06 |
| ← Darren left | 09:06 |
|
osse
| Hi-Angel: you can use HEAD | 09:07 |
|
| maybe even @, not sure | 09:07 |
|
Hi-Angel
| osse, thanks! | 09:07 |
|
osse
| Hi-Angel: add -u to the command line, so that git will configure it. after that you can do 'git push' | 09:07 |
| → Darren joined | 09:08 |
|
logithack
| i'd like to show all files in a repo that are currently being tracked. i've found the command "git ls-tree -r master --name-only", but it gives me "fatal: Not a valid object name master". any ideas? | 09:08 |
| ← Darren left | 09:08 |
| → Live joined | 09:08 |
| ← Live left | 09:08 |
| → Live joined | 09:08 |
| → cur8or joined | 09:08 |
|
osse
| logithack: there is no master branch, it seems | 09:09 |
| → Darren joined | 09:09 |
| ← Darren left | 09:09 |
|
osse
| logithack: provide a valid branch name. see git branch -a | 09:09 |
|
logithack
| osse: well, ive cd'ed into the directoy with git bash and the prompt shows "<dir> (master)" | 09:10 |
|
| git branch -a gives me no output | 09:10 |
|
osse
| logithack: then perhaps the repo is completely empty | 09:11 |
|
| logithack: what does git status say ? | 09:11 |
| → wildermind joined | 09:12 |
| → Darren joined | 09:12 |
| ← Darren left | 09:12 |
|
logithack
| it says "On branch master", "No commits yet", "Changes to be committed:" shows a number of "new file"s in green colour | 09:12 |
|
osse
| that explains it | 09:13 |
|
| in an empty repo there are no branches. it just says on master because that is the default branch name. that branch is created as soon as you make a commit | 09:13 |
| ← dc13ff left | 09:13 |
|
osse
| if the ls-tree command had worked, it wouldn't have listed anything anyway because there is no content | 09:13 |
|
logithack
| osse: i'm completely new to this, i'd like to create a local repository from the directory i'm in and then push it to gitlab, creating a new remote repo. my steps so far: cd'ed into dir, "git init", "git add"ed everything inside it. | 09:14 |
|
osse
| So far, so good. Now do git commit | 09:14 |
| → Darren joined | 09:14 |
|
logithack
| so the next step is to do a commit, right? | 09:14 |
|
| good | 09:14 |
| ← Darren left | 09:14 |
| ← lanlink left | 09:14 |
|
logithack
| oh, one question first though. theres a subdir, which i added with "git add <subdir>". there are some files in there though which i dont want to be tracked. how can i remove them before committing? | 09:15 |
| → DirkjanH joined | 09:15 |
|
osse
| logithack: git reset file(s) | 09:15 |
| → zizo joined | 09:15 |
| → Darren joined | 09:15 |
| ← Darren left | 09:15 |
|
osse
| git status prints usage for the common commands above each group of files | 09:15 |
|
soee_
| hi, if i have branch B created from master and it has several chnages i i would now like to add new chnages from master to my branch B, how would i do that properly? | 09:15 |
|
logithack
| osse: is it possible to add the subdir and only the subdir, ignoring all the files currently in it? | 09:16 |
|
| because now its removed my subdir entirely | 09:17 |
|
osse
| logithack: no. git doesn't let you add empty directories | 09:17 |
|
| you can put a dummy file in it | 09:17 |
|
logithack
| osse: ah, you mean a .gitkeep file | 09:18 |
| ← catsup left | 09:18 |
| → Darren joined | 09:18 |
|
osse
| for example | 09:18 |
| → catsup joined | 09:18 |
| ← Darren left | 09:18 |
|
osse
| but in my opinion the better choice is to just not add it | 09:18 |
| ← catsup left | 09:19 |
| → catsup joined | 09:19 |
| → Darren joined | 09:20 |
| ← Darren left | 09:20 |
|
osse
| if you need it to build/run then make the build system or the program itself create it | 09:20 |
|
| but that's just my opinion. and I'm stypid | 09:20 |
| → Darren joined | 09:21 |
| ← Darren left | 09:21 |
| → Darren joined | 09:23 |
| ← Darren left | 09:23 |
|
logithack
| osse: haha, youre not. you helped me a great deal, thanks! | 09:23 |
| → doev joined | 09:23 |
| ← goweol left | 09:25 |
|
zizo
| Hi all, complete noob here :) Probably I'm using the wrong tool, but please let me know if what I'm trying to do is completely wrong... I've many linux machines on my network, with many common scripts and programs that helps the normal routine. Not all files are on all machines, and it is what I want. So I thought to set up a git repo where all can push but a script fetches and checkouts only existing files. The | 09:25 |
|
| problem is that when pushing from machine x, with x that has only a small amount of files, it deletes all the files missing locally but found in remote. Can I avoid it? Is there a way only for "push-add" instead of standard push? Thanks for your help | 09:25 |
| → Darren joined | 09:26 |
| ← Darren left | 09:26 |
|
psprint
| Hey, an alternate Git progress bar: https://asciinema.org/a/pmMhiH3jSULsuWg7rmj4uAQQE | 09:27 |
| → Darren joined | 09:27 |
| ← Darren left | 09:27 |
| ← fatalhalt left | 09:28 |
|
psprint
| I would want to write to [email@hidden.address] (or what was the address), with feature request: core.progress_pipe , to be able to set it to above script | 09:29 |
|
_ikke_
| [email@hidden.address] | 09:29 |
|
psprint
| a config option | 09:29 |
|
| thanks | 09:29 |
|
_ikke_
| If you're able to, it's even better to provide a patch | 09:29 |
| → Darren joined | 09:30 |
| ← Darren left | 09:30 |
|
psprint
| Hmm, maybe, it seems easy to popen() the script, write what would have been written to stderr, read from popen, write to stderr. But adding a config option, I could have problems with this | 09:31 |
|
i7c
| zizo, you cannot have "partials" of the tracked files with git. If you track a file, it will be there when you checkout the repository, if you delete it and commit+push the deletion it will be gone in that next revision, for everyone that checks it out. | 09:31 |
| → Darren joined | 09:32 |
| ← Darren left | 09:32 |
|
_ikke_
| psprint: https://github.com/git/git/blob/master/Documentation/technical/api-config.txt | 09:32 |
| → Darcidride joined | 09:32 |
|
psprint
| thanks | 09:32 |
|
i7c
| zizo, you could checkout the whole repository in one location and only symlink the parts in-place that you actually want. But afaik there’s now way to checkout partials like that. | 09:33 |
| → libregeekingkid joined | 09:33 |
| → Darren joined | 09:33 |
| ← Darren left | 09:33 |
| ← dsdeiz left | 09:34 |
| → Darren joined | 09:35 |
| ← Darren left | 09:35 |
|
zizo
| i7c: thanks for your help, the last one is a good suggestion | 09:35 |
| → Darren joined | 09:36 |
| ← Darren left | 09:36 |
| → Darren joined | 09:38 |
| ← Darren left | 09:38 |
|
i7c
| Glad if it helps you. Ofc you can also use branches, but it might be extremly expensive in terms of effort to maintain one branch per machine ... | 09:38 |
|
zizo
| i7c: i found something about the sparse checkout, it seems to fit my requests, let me read about it... | 09:38 |
| → Darren joined | 09:39 |
| ← Darren left | 09:39 |
| ← texinwien_ left | 09:40 |
| → Darren joined | 09:41 |
| ← Darren left | 09:41 |
| → planetcall|work joined | 09:41 |
| → texinwien joined | 09:41 |
| → Darren joined | 09:42 |
| ← Darren left | 09:42 |
| ← kotepillar_ left | 09:43 |
| → Darren joined | 09:45 |
| ← Darren left | 09:45 |
| → Darren joined | 09:47 |
| ← Darren left | 09:47 |
| → Darren joined | 09:48 |
| ← Darren left | 09:48 |
| → Darren joined | 09:50 |
| ← Darren left | 09:50 |
| → Darren joined | 09:51 |
|
psprint
| if one would spare a $10 donation I would code the progress-pipe patch quickly | 09:51 |
| ← Darren left | 09:51 |
| → Darren joined | 09:53 |
| → Silenced joined | 09:53 |
| ← Darren left | 09:53 |
| → Darren joined | 09:54 |
| ← Darren left | 09:54 |
| ← tty left | 09:55 |
| → Darren joined | 09:56 |
| ← Darren left | 09:56 |
|
kakashiAL
| in git terms, what does | 09:56 |
| → slacker_nl joined | 09:56 |
|
kakashiAL
| working tree or working directory means? | 09:56 |
|
| does it mean the .git folder? | 09:56 |
|
_ikke_
| The files you actually work on | 09:56 |
|
| no | 09:57 |
| → Darren joined | 09:57 |
|
_ikke_
| "The tree of actual checked out files. The working tree normally contains the contents of the HEAD commit’s tree, plus any local changes that you have made but not yet committed." according to man gitglossary | 09:57 |
|
gitinfo
| the gitglossary manpage is available at https://gitirc.eu/gitglossary.html | 09:57 |
| ← Darren left | 09:57 |
|
kakashiAL
| _ikke_: lets say I cd my_git_test, and do git initi --bare test_repo.git | 09:58 |
|
_ikke_
| A bare repository doesn't have a working tree | 09:58 |
|
kakashiAL
| what does it mean for the my_get_test folder? | 09:58 |
|
_ikke_
| That's just the repository directory | 09:59 |
|
kakashiAL
| it still have a .git folder, right? | 09:59 |
|
_ikke_
| no | 09:59 |
|
| it *is* the .git folder basically | 09:59 |
|
kakashiAL
| does git creates some hidden folder in this folder (in my case my_git_test ? | 09:59 |
|
_ikke_
| no | 10:00 |
|
kakashiAL
| hmm...so git saves that internaly? | 10:00 |
| → Darren joined | 10:00 |
| ← Darren left | 10:00 |
|
_ikke_
| no, everything is in there | 10:01 |
| ← lankanmon left | 10:01 |
|
_ikke_
| try to execute git init --bare my_git_test.git and check the contents of that folder | 10:01 |
| ← hussam left | 10:01 |
| → Darren joined | 10:02 |
| ← Darren left | 10:02 |
|
kakashiAL
| _ikke_: okay, as you mentioned it contains all the files that .git has | 10:02 |
| → zulutango joined | 10:03 |
|
kakashiAL
| now, as I know you cant execute git commit in that folder | 10:03 |
| ← kini left | 10:03 |
|
_ikke_
| no, correct | 10:03 |
|
| a bare repository is not meant to directly work with | 10:03 |
| → Darren joined | 10:03 |
| ← Darren left | 10:03 |
|
kakashiAL
| _ikke_: yes, it is only used for a shared repository | 10:04 |
|
| you only can push stuff in it | 10:04 |
| → supernovah joined | 10:04 |
|
kakashiAL
| not commit | 10:04 |
|
| _ikke_: for example if you want to create a shared-server-repository | 10:04 |
| → Darren joined | 10:05 |
| ← Darren left | 10:05 |
|
kakashiAL
| and again, it is "commits protected" | 10:05 |
| ← DirkjanH left | 10:05 |
|
kakashiAL
| _ikke_: is that correct so far? | 10:05 |
| → DirkjanH joined | 10:05 |
| → Darren joined | 10:06 |
| ← Darren left | 10:06 |
| → Darren joined | 10:08 |
| ← Darren left | 10:08 |
| → hussam joined | 10:09 |
| → Darren joined | 10:09 |
|
i7c
| You are inventing new terms ("commit protected") which are not well-defined and ask if they are correct. | 10:09 |
| ← Darren left | 10:09 |
| ← DirkjanH left | 10:10 |
| → kini joined | 10:10 |
|
kakashiAL
| i7c: ahh okay | 10:10 |
|
i7c
| That’s the response: 12:03 <_ikke_> a bare repository is not meant to directly work with | 10:10 |
|
kakashiAL
| with "commit protected" I mean "you cant do commits inside" | 10:10 |
|
| you only can push | 10:10 |
| → Darren joined | 10:11 |
| ← Darren left | 10:11 |
|
i7c
| You can probably fiddle-in a commit with plumbing ("low-level") commands, though I’m not sure of it. But yes, it’s not meant for that, as you said. It’s meant to be pushed to and fetched from. | 10:12 |
| ← Bucciarati left | 10:12 |
|
i7c
| I’m just answering this way, because "protected" sounds like a security measure. And there is none. | 10:12 |
| → Darren joined | 10:12 |
| → CodeSlingerPaul joined | 10:12 |
| ← Darren left | 10:12 |
|
i7c
| If somebody has access to the bare repo, they can tinker stuff. | 10:13 |
|
| There is no secret protection. | 10:13 |
| → Darren joined | 10:14 |
| ← Darren left | 10:14 |
| ← Kaisyu left | 10:14 |
| → Darren joined | 10:15 |
| ← Darren left | 10:15 |
| → Darren joined | 10:17 |
| ← Darren left | 10:17 |
| → spY|da joined | 10:17 |
| → Darren joined | 10:18 |
| ← Darren left | 10:18 |
| → Darren joined | 10:20 |
| ← Darren left | 10:20 |
| → Darren joined | 10:21 |
| ← Darren left | 10:21 |
| → kurkale61 joined | 10:22 |
| ← kurkale6ka left | 10:22 |
| → Darren joined | 10:23 |
| ← Darren left | 10:23 |
| → Bucciarati joined | 10:23 |
| → Darren joined | 10:24 |
| ← Darren left | 10:24 |
| → oxymoron93 joined | 10:25 |
|
kakashiAL
| i7c: so with other words, I as "Bruce Wayne" create a bare repo, I as "Bruce Wayne" push a new repo to it to master and I as "Bruce Wayne" can decide what to merge | 10:26 |
| → Darren joined | 10:27 |
| ← Darren left | 10:27 |
| ← kurkale61 left | 10:29 |
|
jast
| git itself doesn't decide who is allowed to push to a repo | 10:30 |
| jast set mode: -o | 10:30 |
| → Darren joined | 10:30 |
| → yyy joined | 10:30 |
|
jast
| in a simple setup, it's decided by filesystem permissions (e.g. you push via SSH and your SSH user's permissions determine what repos you can update) | 10:30 |
| ← Darren left | 10:30 |
|
jast
| more fancy setups for git servers usually check your permissions in their own way in a pre-receive/update hook or in whatever ways they can think of :) | 10:31 |
| → Darren joined | 10:32 |
| ← dpyro left | 10:32 |
| ← Darren left | 10:32 |
| → Darren joined | 10:33 |
| ← Darren left | 10:33 |
|
kakashiAL
| jast: okay, but if I create a bare repo as "Bruce Wayne", amd I not the owner of that repo? | 10:35 |
| → Darren joined | 10:35 |
| ← Darren left | 10:35 |
| → kurkale6ka joined | 10:35 |
|
kakashiAL
| and am I not the one who can decide what to merge and what not? | 10:36 |
| ← dre_ left | 10:36 |
| → tmm88 joined | 10:36 |
| → Darren joined | 10:36 |
| ← Darren left | 10:36 |
| → Darren joined | 10:38 |
| ← Darren left | 10:38 |
| → agowa338 joined | 10:38 |
| → Darren joined | 10:39 |
| ← Darren left | 10:39 |
| → lankanmon joined | 10:41 |
| → tomfarr joined | 10:41 |
| → Darren joined | 10:42 |
| ← Darren left | 10:42 |
| → Darren joined | 10:44 |
| ← Darren left | 10:44 |
| → Darren joined | 10:45 |
| ← Darren left | 10:46 |
| → karstenk joined | 10:46 |
|
karstenk
| I try to pull a project and ignoring a file I have changed. But I write the file with full relative path to .gitignore and .git/info/exclude , but it still want to merge or not to continue befor stashed | 10:48 |
| → Darren joined | 10:48 |
| ← Darren left | 10:48 |
| → Darren joined | 10:50 |
| ← Darren left | 10:50 |
|
bremner
| karstenk: gitignore does not work for tracked files | 10:51 |
| → Darren joined | 10:51 |
|
bremner
| karstenk: sounds like you need to read !config | 10:51 |
|
gitinfo
| karstenk: [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas | 10:51 |
| ← Darren left | 10:52 |
| ← wandering_vagran left | 10:52 |
| → Darren joined | 10:53 |
| ← Darren left | 10:53 |
| → Wetmelon joined | 10:53 |
|
jast
| kakashiAL: depends. Git itself doesn't manage access rights at all. if you create a bare repo on your own local filesystem, then filesystem permissions decide who owns the repo and thus who can change it (e.g. push to it). on github, for example, the SSH/HTTPS service they wrap around git decides whether you're allowed, based on your authentication. | 10:55 |
| ← livcd left | 10:56 |
| → Darren joined | 10:56 |
| ← Darren left | 10:56 |
| → Mimicize joined | 10:57 |
| ← libregeekingkid left | 10:57 |
| → fission6 joined | 10:58 |
| ← hoek_ left | 10:58 |
| ← tmm88 left | 10:58 |
| → hoek_ joined | 10:58 |
| ← hoek_ left | 10:58 |
| → hoek joined | 10:58 |
| ← hoek left | 10:58 |
| → elichai2 joined | 10:58 |
| → hoek joined | 10:59 |
| → Darren joined | 10:59 |
| ← Darren left | 10:59 |
| ← m1m3-50 left | 11:00 |
| → Darren joined | 11:00 |
| ← Darren left | 11:01 |
| → throstur_tp joined | 11:03 |
| → Darren joined | 11:03 |
| ← Darren left | 11:04 |
| → paco joined | 11:04 |
| → Darren joined | 11:05 |
| ← Darren left | 11:05 |
| → Darren joined | 11:06 |
| ← Darren left | 11:07 |
| ← checkItOut left | 11:07 |
| → DirkjanH joined | 11:08 |
| → Darren joined | 11:08 |
| ← Darren left | 11:08 |
| → Darren joined | 11:09 |
| ← Darren left | 11:10 |
| → Darren joined | 11:11 |
| ← Darren left | 11:11 |
| → Darren joined | 11:12 |
| ← Darren left | 11:13 |
| → tmm88 joined | 11:13 |
| → Darren joined | 11:14 |
| ← Darren left | 11:14 |
| → amirpro joined | 11:14 |
| → leeN joined | 11:15 |
| → Darren joined | 11:15 |
| ← Darren left | 11:16 |
| ← ilmostro left | 11:16 |
| → c0c0 joined | 11:16 |
| → Darren joined | 11:17 |
| ← Darren left | 11:17 |
| → Darren joined | 11:18 |
| ← Darren left | 11:19 |
| → Darren joined | 11:20 |
| ← Darren left | 11:20 |
| → kotepillar_ joined | 11:20 |
| → Darren joined | 11:21 |
| ← Darren left | 11:22 |
| ← Silenced left | 11:22 |
| → Darren joined | 11:23 |
| ← kfoonamalik left | 11:23 |
| ← Darren left | 11:23 |
| ← inovas left | 11:24 |
| → miczac joined | 11:24 |
| → Darren joined | 11:24 |
| ← Darren left | 11:25 |
| → Silenced joined | 11:26 |
| → Darren joined | 11:26 |
| ← Darren left | 11:26 |
| → Darren joined | 11:27 |
| ← Darren left | 11:28 |
| → KBme joined | 11:28 |
|
KBme
| hello | 11:28 |
| → Darren joined | 11:29 |
| → inovas joined | 11:29 |
| ← Darren left | 11:29 |
|
KBme
| I just got an ambiguous object name error from git, so I've started converting my code to using explicit object names like refs/heads/mybranch or refs/tags/mytag. My issue is that now I try to git branch -D refs/heads/mybranch and git says it can't find that branch. | 11:29 |
|
| git show-ref does show refs/heads/mybranch | 11:30 |
|
| and it does show up in git branch | 11:30 |
| → Darren joined | 11:30 |
| ← Darren left | 11:31 |
|
osse
| KBme: i think git branch unconditionally prepends "refs/heads" to stuff | 11:31 |
|
KBme
| so it's an inconsistent naming of branches | 11:31 |
| ← sQVe left | 11:32 |
| → Darren joined | 11:32 |
| ← Darren left | 11:32 |
| ← cdown left | 11:33 |
|
KBme
| but yes that does seem to be the case | 11:33 |
| → Darren joined | 11:33 |
| ← Darren left | 11:34 |
| → Darren joined | 11:35 |
| ← Darren left | 11:35 |
| → Darren joined | 11:36 |
| ← Darren left | 11:37 |
|
_ikke_
| git branch is porcelain | 11:37 |
|
| KBme: use git update-ref instead | 11:37 |
|
| (porcelain, being meant for end users) | 11:38 |
| → Darren joined | 11:38 |
| ← kakashiAL left | 11:38 |
| ← Darren left | 11:38 |
| → Darren joined | 11:39 |
| ← Darren left | 11:40 |
| → Darren joined | 11:41 |
| ← James0r left | 11:41 |
| ← Darren left | 11:41 |
|
KBme
| ah uh | 11:41 |
|
| _ikke_, okay thanks i'll check | 11:41 |
| → Darren joined | 11:42 |
| ← Darren left | 11:43 |
| → Darren joined | 11:44 |
| ← Darren left | 11:44 |
| → timj joined | 11:44 |
| ← agowa338 left | 11:45 |
| → Darren joined | 11:45 |
| ← Darren left | 11:46 |
| → Darren joined | 11:47 |
| ← Darren left | 11:47 |
| → Darren joined | 11:48 |
| ← Darren left | 11:49 |
|
KBme
| thanks, bye. | 11:49 |
| ← KBme left | 11:49 |
| → ubuntuisloved joined | 11:49 |
| → Darren joined | 11:50 |
| ← Darren left | 11:50 |
| → kakashiAL joined | 11:51 |
| → Darren joined | 11:51 |
| → str joined | 11:52 |
| ← Darren left | 11:52 |
| ← lkurusa left | 11:52 |
| ← paco left | 11:52 |
| → Darren joined | 11:53 |
| ← Darren left | 11:53 |
| ← Masplus left | 11:54 |
| → Darren joined | 11:54 |
| ← Darren left | 11:55 |
| → e_l1997 joined | 11:55 |
| → Darren joined | 11:56 |
| ← Darren left | 11:56 |
| → tvw joined | 11:57 |
| → cdown joined | 11:57 |
| → Darren joined | 11:57 |
| ← Darren left | 11:58 |
| → amirpro_ joined | 11:58 |
| → _flow_ joined | 11:58 |
| → Darren joined | 11:59 |
| ← Darren left | 11:59 |
| → cr1mson_king joined | 12:00 |
| → Darren joined | 12:00 |
| ← amirpro left | 12:01 |
| amirpro_ → amirpro | 12:01 |
| ← Darren left | 12:01 |
| ← cr1mson_king left | 12:01 |
| ← jokajak left | 12:01 |
| ← amirpro left | 12:01 |
| → cr1mson_king joined | 12:01 |
| ← cr1mson_king left | 12:01 |
| → amirpro joined | 12:02 |
| → Darren joined | 12:02 |
| ← Darren left | 12:02 |
| → Darren joined | 12:03 |
| ← Darren left | 12:04 |
| → Darren joined | 12:05 |
| ← prakashdanish left | 12:05 |
| ← Darren left | 12:05 |
| → fmcgeough joined | 12:06 |
| ← fmcgeough left | 12:06 |
| → Darren joined | 12:06 |
| ← Darren left | 12:07 |
| ← kurkale6ka left | 12:07 |
| → Darren joined | 12:08 |
| ← Darren left | 12:08 |
| → roban joined | 12:09 |
| → Darren joined | 12:09 |
| ← Darren left | 12:10 |
| → jokajak joined | 12:10 |
| → lkurusa joined | 12:10 |
| ← roban left | 12:10 |
| lkurusa → Guest69272 | 12:10 |
| → Darren joined | 12:11 |
| ← Darren left | 12:11 |
| → Darren joined | 12:12 |
| ← Darren left | 12:13 |
| → Darren joined | 12:14 |
| ← Darren left | 12:14 |
| → Darren joined | 12:16 |
| ← Darren left | 12:16 |
| → kurkale6ka joined | 12:16 |
| → Darren joined | 12:17 |
| ← Darren left | 12:17 |
| → Darren joined | 12:18 |
| ← Darren left | 12:19 |
| → Darren joined | 12:20 |
| ← kurkale6ka left | 12:20 |
| ← Darren left | 12:20 |
| → Darren joined | 12:21 |
| ← Darren left | 12:22 |
| → Regon joined | 12:23 |
| → Darren joined | 12:23 |
|
parsnip
| Darren: | 12:23 |
| ← Darren left | 12:23 |
| → timj1 joined | 12:24 |
|
parsnip
| Darren fix your connection | 12:24 |
| → Darren joined | 12:24 |
| ← Darren left | 12:25 |
| → brettgilio joined | 12:25 |
| → Darren joined | 12:26 |
| ← cdown left | 12:26 |
| ← Darren left | 12:26 |
| → boombatower joined | 12:26 |
| → kurkale6ka joined | 12:27 |
| ← timj left | 12:27 |
| → Darren joined | 12:27 |
| ← Darren left | 12:28 |
| ← DirkjanH left | 12:28 |
| → Darren joined | 12:29 |
| ← Darren left | 12:29 |
| → Darren joined | 12:31 |
| ← Darren left | 12:31 |
| → Darren joined | 12:32 |
| ← Darren left | 12:32 |
| ← throstur_tp left | 12:33 |
| → Darren joined | 12:33 |
| ← Darren left | 12:34 |
| → wandering_vagran joined | 12:34 |
| ← amirpro left | 12:35 |
| → amirpro joined | 12:35 |
| → Darren joined | 12:35 |
| ← Darren left | 12:35 |
| → Darren joined | 12:37 |
| ← Darren left | 12:37 |
| → Darren joined | 12:38 |
| ← Darren left | 12:38 |
| ← c0c0 left | 12:39 |
| → Darren joined | 12:39 |
| ← Darren left | 12:40 |
| → Darren joined | 12:41 |
| ← Darren left | 12:41 |
| → Darren joined | 12:42 |
| ← BallChang-CN left | 12:43 |
| ← Darren left | 12:43 |
| → ilmostro joined | 12:43 |
| → BallChang-CN joined | 12:43 |
| → Darren joined | 12:44 |
| ← Darren left | 12:44 |
| → Darren joined | 12:45 |
| ← Darren left | 12:46 |
| → Darren joined | 12:47 |
| ← Darren left | 12:47 |
| → rchavik joined | 12:48 |
| → Darren joined | 12:48 |
| ← Darren left | 12:49 |
|
jast
| okay, I'm gonna make this permanent | 12:49 |
| ChanServ set mode: +o | 12:49 |
| jast set mode: +b | 12:50 |
| jast set mode: -o | 12:50 |
| ← skisela_afk left | 12:51 |
|
kakashiAL
| I dont understand the command: | 12:53 |
|
| git add -u | 12:53 |
|
jast
| it automatically stages all modifications/deletions on files that are already tracked (in the current directory and subdirs if you don't give a path argument) | 12:54 |
|
| one use of -u is to avoid accidentally adding new files | 12:54 |
|
DelTree
| sometimes better than -A, indeed... | 12:55 |
|
jast
| another is to just stage all of your changes in tracked files (and also unstage deleted files, unlike 'git commit -a') | 12:55 |
|
| -A goes even further by also staging new files | 12:55 |
| → planetcalls|work joined | 12:56 |
| → applecrumble joined | 12:56 |
| → mkalfon_ joined | 12:56 |
| ← planetcalls|work left | 12:57 |
|
kakashiAL
| jast: hmm, so lets say I have a folder with the files foo.txt and bar.txt | 12:58 |
|
| and they allready staged (with git add -A) | 12:58 |
| ← zefferno left | 12:58 |
|
kakashiAL
| if I delete bar.txt and run git -u, what will happen? | 12:59 |
|
jast
| bar.txt will be unstaged | 12:59 |
| → ableto joined | 12:59 |
|
jast
| i.e. the next commit won't have it | 12:59 |
|
kakashiAL
| jast: and if I add baz.txt and run git add -u it will be staged? | 12:59 |
|
osse
| you mean staged for deletion, right? | 13:00 |
| → planetcalls|work joined | 13:00 |
|
jast
| kakashiAL: no, because now it's technically a new file, which -u doesn't do anything with | 13:01 |
|
kakashiAL
| jast: so "git add -u" only means "check if the files are still there, and if some files are missing, remove them from the repo, so on next commit they are not part of the commit" ? | 13:02 |
| → stoopkid joined | 13:02 |
| ← Hounddog left | 13:03 |
| → m00sehead joined | 13:03 |
|
jast
| it also stages changes in files that are already tracked that you modified in the meantime | 13:03 |
|
kakashiAL
| jast: what does that means? could you give me a simple example? | 13:03 |
| ← mkalfon_ left | 13:03 |
| → al-damiri joined | 13:03 |
| → Hounddog joined | 13:04 |
| ← planetcalls|work left | 13:04 |
|
jast
| step 1: foo.txt is tracked, no changes in "git status". step 2: you edit foo.txt, changes now show up as "not staged for commit". step 3: you run "git add -u", changes now show up as "to be committed" | 13:05 |
| → agowa338 joined | 13:05 |
| ← avar left | 13:06 |
|
kakashiAL
| jast: wait! | 13:07 |
| → geekodour08 joined | 13:08 |
|
kakashiAL
| jast: does this means that you have to run "git add -u" bbefore every "git commit" so "git commit knows what files it has to commit" ? | 13:08 |
| → fmcgeough joined | 13:09 |
| → eset joined | 13:12 |
| → gunnarx joined | 13:12 |
| ← gunnarx left | 13:12 |
| → gunnarx joined | 13:12 |
| ← geekodour08 left | 13:12 |
| ← amirpro left | 13:14 |
| → fmcgeough_ joined | 13:14 |
| → cdown joined | 13:14 |
| ← fmcgeough left | 13:14 |
| ← KeyJoo left | 13:14 |
| fmcgeough_ → fmcgeough | 13:14 |
|
kakashiAL
| jast: it makes sense for me to run "git add -u" if I delete a file | 13:14 |
|
| jast: but I dont understand why you need to other "refresh" behavior of "git add -u" | 13:15 |
|
osse
| if you remove a tracked file and run git add -u then that file will be staged for removal | 13:15 |
|
parsnip
| esc: | 13:15 |
| → dendazen joined | 13:15 |
|
parsnip
| oops | 13:15 |
|
kakashiAL
| osse: sure, a deleted file + "git add -u" means that this deleted file is not part of the next commit | 13:16 |
|
| osse: but why do I have to run "git add -u" if I change a file? | 13:16 |
|
parsnip
| eset has passwords in his repo, sounds like they can't just amend an earlier commit. | 13:17 |
| ← BallChang-CN left | 13:17 |
|
osse
| kakashiAL: you don't have to | 13:17 |
| ← kes left | 13:17 |
|
osse
| kakashiAL: the whole intermediate step is there so that you can select what to commit or not | 13:17 |
|
kakashiAL
| osse: okay, but whats about the other behavior of "git add -u" that is described as "updating file changes" | 13:18 |
| → kes joined | 13:18 |
|
osse
| what about it? | 13:18 |
|
kakashiAL
| I dont understand it | 13:18 |
|
osse
| it git adds all changed files | 13:19 |
|
| "changed" includes "removed" | 13:19 |
|
kakashiAL
| osse: what files does it adds that are not removed? and how can I imagine that? | 13:19 |
| → zsocw joined | 13:20 |
| ← zsoc left | 13:20 |
|
osse
| kakashiAL: files that you have edited | 13:20 |
| zsocw → zsoc | 13:20 |
| ← zsoc left | 13:20 |
| → zsoc joined | 13:20 |
| → kerframil joined | 13:20 |
|
kakashiAL
| osse: okay, so lets say I have a file called foo.text with the content Apple, and I add Banana to it | 13:20 |
|
| now I would only run "git commit" | 13:21 |
| → kurvivor joined | 13:21 |
|
kakashiAL
| so why do I need "git add -u", even if I edited the file? | 13:21 |
|
parsnip
| eset: you could potentially do an interactive rebase. | 13:21 |
|
osse
| i explained that already | 13:21 |
|
kakashiAL
| osse: I dont get that :( | 13:21 |
|
osse
| you need to tell git commit what to commit | 13:21 |
|
| in that case you can use git commit -a as a shortcut | 13:22 |
|
kakashiAL
| osse: you mean "git commit" alone would ignore that file changes, unless I run "git add -u" before or "git commit -a" | 13:22 |
|
| correct? | 13:22 |
|
osse
| yes | 13:22 |
|
| git commit alone only cares about what is staged | 13:23 |
| ← eigenvalue left | 13:23 |
|
kakashiAL
| osse: thanks!!! | 13:23 |
| → eigenvalue joined | 13:23 |
|
osse
| kakashiAL: the reason is: suppose you add Banana to foo.text like you said, but also add Orange to bar.text, and you only want to commit one of the tings | 13:25 |
|
| things | 13:25 |
|
| without the git add step, you would have to undo one change before making a commit | 13:25 |
|
kakashiAL
| osse: I see, for example if you want to experiment or if its still in process | 13:25 |
| ← brettgilio left | 13:26 |
|
osse
| yes, or you add some extra printouts for debugging | 13:26 |
|
tobiasvl
| or you added Banana to foo.text and also Orange to foo.txt, for that matter. I use `git add -p` a lot | 13:26 |
|
osse
| that too | 13:26 |
| → zefferno joined | 13:28 |
|
kakashiAL
| osse: thanks, makes sense! | 13:30 |
| ← nowhere_man left | 13:31 |
| ← kurkale6ka left | 13:32 |
| → throstur_tp joined | 13:32 |
| → kurkale6ka joined | 13:34 |
| ← mostlybadfly left | 13:35 |
| ← dry left | 13:35 |
| → TheRuckus joined | 13:36 |
| ← zefferno left | 13:38 |
| ← RuckusBringer left | 13:39 |
| ← Silenced left | 13:40 |
| ← fission6 left | 13:41 |
|
eset
| Hi some developer had added a commit and pushed to github enterprise password with plaintext | 13:42 |
|
satoriprints
| change the password | 13:42 |
|
eset
| he realise that he done it after few commits later when he changed the password in code and pushed that then he saw that in commit history he sees those changed (he didn't realise that this password was there previously added) | 13:43 |
|
| satoriprints: I said that but this is a generic something | 13:43 |
| ← plexigras left | 13:43 |
|
eset
| he asked me to urease those commits | 13:43 |
|
| erase | 13:43 |
| → zumba_ad_ joined | 13:43 |
| → zefferno joined | 13:44 |
|
eset
| satoriprints: but you are right | 13:45 |
|
| I will blaim him that security was breached need to change this password | 13:45 |
| ← sauvin left | 13:46 |
| → AndresInSpace joined | 13:46 |
| → TomyWork joined | 13:47 |
| → mostlybadfly joined | 13:48 |
|
Hedgework
| eset: So what's the question? Change the password and move on... or if you're especially thorough... change the password, write a git hook to reject future commits with passwords in likely places for mistakenly committed passwords, and move on. | 13:51 |
| ← cdown left | 13:53 |
| ← Puffball left | 13:53 |
| ← teodorg left | 13:53 |
| → plexigras joined | 13:53 |
| ← oxymoron93 left | 13:54 |
| ← timj1 left | 13:54 |
|
eset
| Hedgework: basically no further questions :) | 13:54 |
|
osse
| yer 'onah | 13:55 |
| → tristanp joined | 13:55 |
| ← rchavik left | 13:56 |
| → mud joined | 13:56 |
| ← ilmostro left | 13:58 |
| → Masplus joined | 13:59 |
| → ilmostro joined | 13:59 |
| → fluxAeon_ joined | 14:00 |
| ← Envil left | 14:00 |
| ← kerframil left | 14:01 |
| ← Mimicize left | 14:01 |
| → fission6 joined | 14:02 |
| → m1m3-50 joined | 14:02 |
|
kurvivor
| hello! sourry for stupid question, but what perl modules need to be in system for git svn to work properly? | 14:03 |
|
| assuming one adds them one by one by hand | 14:03 |
|
| or with cpan | 14:03 |
| → cdown joined | 14:05 |
| ← mud left | 14:05 |
| → mrtnt joined | 14:06 |
| → crose joined | 14:06 |
| ← m1m3-50 left | 14:06 |
| → RoriconKnight joined | 14:10 |
| ← miczac left | 14:10 |
| → libregee1ingkid joined | 14:10 |
| ← crose left | 14:11 |
| ← fission6 left | 14:13 |
| ← tsdh left | 14:13 |
| → SpeakerToMeat_ joined | 14:16 |
| ← RzR left | 14:16 |
| → RzR joined | 14:16 |
| → avar joined | 14:17 |
| ← avar left | 14:17 |
| → avar joined | 14:17 |
| ← Guest69272 left | 14:18 |
| → lkurusa joined | 14:19 |
| → thiago joined | 14:20 |
| ← kakashiAL left | 14:21 |
| → f2k joined | 14:24 |
| → greggerz joined | 14:24 |
| → fission6 joined | 14:26 |
| ← karstenk left | 14:28 |
| → dsdeiz joined | 14:30 |
| ← f2k left | 14:33 |
| ← notnull left | 14:33 |
| ← TheRuckus left | 14:36 |
| → TheRuckus joined | 14:37 |
| → zumba_addict joined | 14:37 |
| → rsrx joined | 14:37 |
| ← zumba_ad_ left | 14:38 |
| ← irwiss left | 14:44 |
| ← rsrx left | 14:44 |
| → irwiss joined | 14:44 |
| ← doev left | 14:44 |
| → houami joined | 14:45 |
| ← netj left | 14:45 |
| → netj joined | 14:45 |
| → Envil joined | 14:47 |
| ← houami left | 14:49 |
| ← eigenvalue left | 14:50 |
|
XenophonF
| kurvivor: maybe just Term::Readkey? | 14:50 |
|
| plus Subversion's Perl bindings | 14:50 |
|
| which I don't think are in CPAN but I could be wrong | 14:53 |
| ← thiago left | 14:55 |
|
XenophonF
| (this is all from my reading of the FreeBSD port definitions for devel/git-subversion and devel/p5-subversion) | 14:56 |
| ← TheRuckus left | 14:56 |
| → Dougie187 joined | 14:57 |
| ← lowbro left | 14:59 |
| ← introom left | 14:59 |
| → introom joined | 14:59 |
| ← bsaboia left | 15:01 |
| ← abba left | 15:02 |
| ← kurkale6ka left | 15:02 |
| → T_UNIX joined | 15:03 |
| → kurkale6ka joined | 15:03 |
| ← chele left | 15:05 |
| ← fluxAeon_ left | 15:06 |
| ← fstd left | 15:07 |
| → fstd joined | 15:07 |
| → kneeki joined | 15:07 |
| ← applecrumble left | 15:07 |
| ← SpeakerToMeat_ left | 15:09 |
| xirhtogal → lagothrix | 15:10 |
| → Pugabyte25 joined | 15:13 |
| ← Pugabyte25 left | 15:15 |
| → ajbura joined | 15:18 |
| ← tjbp left | 15:21 |
| → amirpro joined | 15:21 |
| → gareppa joined | 15:22 |
| → TheRuckus joined | 15:25 |
| → tjbp joined | 15:25 |
| ← cur8or left | 15:26 |
| → spacesuitdiver joined | 15:27 |
| → c0c0 joined | 15:28 |
| ← Hi-Angel left | 15:28 |
| → fluxAeon_ joined | 15:28 |
| ← TheRuckus left | 15:29 |
| → jhaenchen joined | 15:29 |
| ← jhaenchen left | 15:29 |
| → jhaenchen joined | 15:29 |
| → Hi-Angel joined | 15:30 |
| → bsanford joined | 15:31 |
| ← manuelschneid3r left | 15:32 |
| → teodorg joined | 15:34 |
| ← Hi-Angel left | 15:35 |
| → lomex joined | 15:36 |
| → houami joined | 15:36 |
| ← jab416171 left | 15:37 |
| → rsrx joined | 15:38 |
| ← zefferno left | 15:39 |
| → olux joined | 15:40 |
| ← plexigras left | 15:40 |
| ← olux left | 15:40 |
| ← rsrx left | 15:40 |
| → olux joined | 15:40 |
| ← houami left | 15:40 |
| → rafasc joined | 15:42 |
| → plexigras joined | 15:42 |
| ← ajbura left | 15:42 |
| → ajbura` joined | 15:43 |
| ← ajbura` left | 15:43 |
| ← mattcen left | 15:43 |
| → ajbura` joined | 15:43 |
| ← ilmostro left | 15:45 |
| ← ajbura` left | 15:46 |
| → thiago joined | 15:46 |
| → ajbura` joined | 15:47 |
| ← thiago left | 15:47 |
| ← TinkerT left | 15:48 |
| ← ajbura` left | 15:48 |
| → ajbura` joined | 15:48 |
| → kurkale61 joined | 15:48 |
| → TinkerT joined | 15:49 |
| → kurkale62 joined | 15:50 |
| ← kurkale6ka left | 15:50 |
| → ilmostro joined | 15:50 |
| → mattcen joined | 15:50 |
| → TripFandango joined | 15:52 |
| ← TripFandango left | 15:52 |
| ← kurkale61 left | 15:53 |
| → jab416171 joined | 15:53 |
| ← ajbura` left | 15:54 |
| → dfaught joined | 15:54 |
| → manuelschneid3r joined | 15:55 |
| → Sasazuka joined | 15:56 |
| → TheRuckus joined | 15:56 |
| → xfil joined | 15:57 |
| → thiago joined | 15:57 |
| → thebope joined | 15:57 |
| ← xfil left | 15:58 |
| → BrianBlaze8 joined | 16:01 |
| ← TheRuckus left | 16:01 |
| ← tombusby left | 16:02 |
| → tombusby joined | 16:03 |
| → miczac joined | 16:04 |
| ← manuelschneid3r left | 16:05 |
| → fryst1 joined | 16:06 |
| ← fryst1 left | 16:06 |
| ← str left | 16:07 |
| ← BrianBlaze8 left | 16:07 |
| ← libregee1ingkid left | 16:07 |
| ← charolastra left | 16:08 |
| → applecrumble joined | 16:08 |
| ← wpcarro left | 16:09 |
| → wpcarro joined | 16:10 |
| ← wpcarro left | 16:10 |
| → wpcarro joined | 16:11 |
| ← Tobbi_ left | 16:11 |
| → ZetFury joined | 16:13 |
| → veegee joined | 16:13 |
| → MLock joined | 16:14 |
| ← MLock left | 16:16 |
| ← agowa338 left | 16:17 |
| → opalepatrick joined | 16:18 |
| ← jhaenchen left | 16:18 |
| → MLock joined | 16:18 |
| ← ubuntuisloved left | 16:18 |
| → jhaenchen joined | 16:20 |
| ← jhaenchen left | 16:20 |
| → jhaenchen joined | 16:20 |
| → qpdb joined | 16:20 |
| ← fission6 left | 16:20 |
| → geekodour08 joined | 16:26 |
| ← throstur_tp left | 16:27 |
| → TheRuckus joined | 16:29 |
| → throstur_tp joined | 16:30 |
| → oojacoboo joined | 16:30 |
| ← mikecmpbll left | 16:31 |
| → Poffer joined | 16:32 |
| → m1m3-50 joined | 16:34 |
| ← TheRuckus left | 16:34 |
| → kerframil joined | 16:35 |
| ← kotepillar_ left | 16:37 |
| → Tobbi joined | 16:37 |
| → profall24 joined | 16:37 |
| → kotepillar_ joined | 16:37 |
| ← kotepillar_ left | 16:37 |
| ← kurkale62 left | 16:37 |
| ← Sasazuka left | 16:37 |
| ← Masplus left | 16:39 |
| ← wpcarro left | 16:39 |
| ← zumba_addict left | 16:40 |
| → wpcarro joined | 16:41 |
| ← profall24 left | 16:42 |
| → eggy16 joined | 16:45 |
| ← jhaenchen left | 16:45 |
| ← m1m3-50 left | 16:45 |
| ← quxgyver left | 16:46 |
| ← Guest7814 left | 16:46 |
| ← gunnarx left | 16:46 |
| → zaratustra7 joined | 16:47 |
| ← MLock left | 16:48 |
| → MLock joined | 16:48 |
| ← eggy16 left | 16:49 |
| → eNbass27 joined | 16:49 |
| ← eNbass27 left | 16:50 |
| → TheRuckus joined | 16:52 |
| → orbyt_ joined | 16:53 |
| ← zaratustra7 left | 16:54 |
| → darkbit joined | 16:54 |
| ← MLock left | 16:54 |
| ← orbyt_ left | 16:54 |
| → fatalhalt joined | 16:54 |
| ← gxt left | 16:54 |
| → AtumT joined | 16:55 |
| → orbyt_ joined | 16:56 |
| → HarryS21 joined | 16:58 |
| ← HarryS21 left | 17:00 |
| → maryo_ joined | 17:00 |
| ← Tobbi left | 17:00 |
|
kegster
| so i'm trying to go back to a specific commit, and then push it up. i've tried git revert hash and it doesnt seem to do the trick | 17:02 |
|
jast
| !revert | 17:03 |
|
gitinfo
| That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]? | 17:03 |
| ← thiago left | 17:03 |
|
jast
| or f) make a new commit on top of everything that contains exactly the same file versions as an older commit :) | 17:03 |
| ← cdown left | 17:04 |
| ← ski7777 left | 17:05 |
| → thiago joined | 17:05 |
|
kegster
| maybe i'm confused on all the types of reerts haha | 17:05 |
| ← maryo_ left | 17:05 |
|
kegster
| reverts | 17:05 |
|
| i don't want to lose my commits, so git checkout -p seems to be the tool | 17:06 |
| → maryo_ joined | 17:06 |
| ← amirpro left | 17:07 |
| → ski7777 joined | 17:08 |
| → chaosruler joined | 17:10 |
| ← sysvalve left | 17:10 |
| ← bsanford left | 17:10 |
| → sauvin joined | 17:10 |
| → amirpro joined | 17:12 |
| → Theking^17 joined | 17:15 |
| ← tombusby left | 17:15 |
| ← Theking^17 left | 17:16 |
| → tombusby joined | 17:18 |
| ← lomex left | 17:18 |
| → str joined | 17:18 |
| ← ski7777 left | 17:22 |
| ← nuxdie_ left | 17:22 |
| → nuxdie joined | 17:22 |
| → d^sh joined | 17:23 |
| → cylon512_ joined | 17:23 |
| → houami joined | 17:24 |
| ← rafasc left | 17:25 |
| → ubuntuisloved joined | 17:27 |
| → muelleme joined | 17:27 |
| ← houami left | 17:29 |
| ← maryo_ left | 17:29 |
| → ski7777 joined | 17:29 |
| ← _ADN_ left | 17:30 |
| → akushner joined | 17:30 |
| ← dmone left | 17:32 |
| ← cylon512_ left | 17:32 |
| ← netj left | 17:33 |
| → netj joined | 17:33 |
| ← soee_ left | 17:34 |
| → soee joined | 17:35 |
| ← muelleme left | 17:36 |
| ← throstur_tp left | 17:37 |
| → mr1holmes joined | 17:39 |
| → karstensrage joined | 17:40 |
| ← wandering_vagran left | 17:40 |
| ← olbat[m] left | 17:41 |
| → olbat[m] joined | 17:41 |
| ← olbat[m] left | 17:41 |
| → olbat[m] joined | 17:41 |
| → ice9 joined | 17:43 |
| → roygbiv joined | 17:43 |
|
ice9
| how to completely reset things i've done in the current branch? | 17:43 |
| ← kes left | 17:44 |
| ← Muzer left | 17:44 |
| → rond_ joined | 17:46 |
|
heftig
| ice9: git reset --hard will throw away all uncommitted changes | 17:47 |
|
rond_
| hi! I want to delete some commits from my branch (they ONLY contain commit message, no files are changed). However, after that there were some meaningful commits that I want to keep. How to delete the unwanted ones? | 17:47 |
|
heftig
| ice9: git clean -xfd will purge all untracked files and directories | 17:47 |
|
| ice9: needless to say both commands are dangerous | 17:47 |
| ← mr1holmes left | 17:48 |
|
heftig
| rond_: git rebase -i <commit-before-first-commit-you-want-to-throw-away> | 17:48 |
|
| rond_: then replace the relevant "pick"s with "drop" | 17:49 |
| → dpyro joined | 17:50 |
|
rond_
| heftig: so, basically, it means "Show all commits from <commit-before-first-...> to the recent ones. there will be "pick" for all of them - so it would change nothing. having "drop" in some cases will result in deleting them | 17:50 |
|
| heftig: am I getting it right? | 17:51 |
|
heftig
| rond_: are you familiar with how cherry-pick works? | 17:52 |
| → soee_ joined | 17:52 |
|
rond_
| heftig: not really | 17:53 |
|
| so my understanding was wrong? | 17:53 |
|
heftig
| rond_: no, it was pretty much right | 17:53 |
| ← soee left | 17:53 |
| ← fstd left | 17:54 |
| → fstd_ joined | 17:54 |
| → Praxi joined | 17:54 |
| fstd_ → fstd | 17:54 |
|
heftig
| rond_: rebase basically resets the branch to the commit you specified and then tries to reapply ("cherry-pick") the commits that were removed | 17:54 |
| ← tvw left | 17:54 |
|
heftig
| rond_: -i lets you change the behavior interactively | 17:54 |
|
rond_
| nice. thank yo | 17:55 |
|
| you | 17:55 |
|
heftig
| in actuality it's a lot more complex (there are at least three backend mechanisms to rebase that get selected by different options, but that's the basics) | 17:55 |
| ← T_UNIX left | 17:56 |
| → Tobbi joined | 17:59 |
| ← floppydh left | 17:59 |
| → manuelschneid3r joined | 18:00 |
|
rond_
| heftig: can I pass commit id instead of counting "Head-N" ? | 18:01 |
|
_ikke_
| yes | 18:02 |
|
heftig
| rond_: you can pass anything understood by rev-parse (see man git-rev-parse, /SPECIFYING REVISIONS) | 18:02 |
|
gitinfo
| rond_: the git-rev-parse manpage is available at https://gitirc.eu/git-rev-parse.html | 18:02 |
| ← darkbit left | 18:05 |
| ← manuelschneid3r left | 18:06 |
| → libregee1ingkid joined | 18:08 |
| → Muzer joined | 18:09 |
| → m1m3-50 joined | 18:09 |
| → texinwien_ joined | 18:12 |
| ← yyy left | 18:12 |
| → yyy joined | 18:12 |
| → shicks2525 joined | 18:14 |
| → Sasazuka joined | 18:14 |
| ← shicks2525 left | 18:14 |
| → soee joined | 18:15 |
| ← texinwien left | 18:15 |
| → shicks2525 joined | 18:15 |
| ← soee_ left | 18:15 |
| → Mattiaslndstrm joined | 18:15 |
| ← thomasross left | 18:16 |
| → GreenJello joined | 18:16 |
| → jhaenchen joined | 18:16 |
| ← jhaenchen left | 18:16 |
| → jhaenchen joined | 18:16 |
| → thomasross joined | 18:16 |
|
rond_
| heftig: If I use "squash" instead of "pick", then there will be no commit, but the code will remain? | 18:16 |
|
| heftig: or, maybe the better solution would be: create new branch, pull from remote master. copy relevant commits from the other branch | 18:18 |
|
heftig
| rond_: yes, the changes will be added into the current head at that step of the rebase | 18:18 |
|
| so pick 1 squash 2 squash 3 will create a commit combining 1, 2 and 3 | 18:19 |
| ← yyy left | 18:19 |
|
rond_
| heftig: I think that the thing I would want is to to the latter one: create new branch, pull from remote master. copy relevant commits from the other branch | 18:20 |
| ← m1m3-50 left | 18:20 |
| → kurkale62 joined | 18:20 |
|
heftig
| git provides many ways to get the same result | 18:20 |
| ← tmz left | 18:21 |
| ← GreenJello left | 18:21 |
| → GreenJello joined | 18:21 |
| ← thebope left | 18:22 |
| → haivron joined | 18:23 |
| ← vavkamil left | 18:24 |
|
rond_
| heftig: could you help me with "create a new branch X, sync it with remotes/origin/HEAD, copy commit C from local branch Y to X. push" ? | 18:25 |
| ← kurkale62 left | 18:25 |
| → jnavila joined | 18:26 |
| → thebope joined | 18:26 |
| ← haivron left | 18:27 |
|
heftig
| rond_: git fetch origin; git checkout -b X origin; git cherry-pick C; git push origin --set-upstream X:X | 18:30 |
| → cur8or joined | 18:31 |
|
rond_
| thank you! | 18:32 |
| → Sna4x8 joined | 18:32 |
| → houami joined | 18:35 |
| ← Guest6180 left | 18:36 |
| → fury joined | 18:37 |
| ← netlar left | 18:37 |
| → virmaha joined | 18:37 |
| → nosferatuman joined | 18:38 |
|
virmaha
| Hello. Need some help. Earlier, I was on say branch x. I then did git checkout tags/mytag -b branch_y. But since it had similar files, I got unable to rmdir, file already exists error. So I manually deleted all the folders (but made sure not to commit them since I dont want branch x to be affected) | 18:39 |
|
| after that, i was able to checkout. I added 3 git submodules on branch_y. But when I do git status, I see all the deleted files | 18:39 |
|
| how do I fix this mess | 18:39 |
| ← houami left | 18:39 |
|
rond_
| heftig: "git remote show origin" shows "Fetch URL: MY REPO", not the original one that I forked. I think that after your commands I've reproduced my local master, not the master from original rpeo | 18:41 |
|
| repo | 18:41 |
|
heftig
| rond_: did you clone your own repo again? | 18:41 |
|
| none of the commands I gave you alters the remote config | 18:42 |
| ← nosferatuman left | 18:42 |
|
rond_
| i think so | 18:42 |
|
heftig
| (--set-upstream only affects the branch "X" config) | 18:42 |
|
| rond_: if you clone a repo, you get a new repo that's downstream of the cloned repo | 18:43 |
|
| rond_: no matter if that repository is local or remote | 18:43 |
| → zumba_addict joined | 18:44 |
| ← roygbiv left | 18:45 |
| → jhutchins joined | 18:45 |
| ← jhutchins left | 18:46 |
|
Sna4x8
| I have a project that uses a submodule. The submodule is versioned using semver, and each version is tagged (so theres a 1.0.0 tag, a 1.1.0, a 2.0.1, etc.). I want my project to use a specific tag, but I can't seem to get that working right. | 18:47 |
|
| I tried putting branch = tags/1.0.3 in .gitmodules, but that doesn't seem to do the trick. Any help is appreciated. | 18:48 |
| ← TomyWork left | 18:49 |
|
virmaha
| Sna4x8: git clone parentRepo ; git submodule update --init --recursive; cd submodule; git checkout tags/1.1.0 ; cd .. '; git add submodule; | 18:49 |
| → cdown joined | 18:49 |
|
virmaha
| git commit and push | 18:49 |
| → brettgilio joined | 18:51 |
|
rond_
| heftig: I don't get one thing. I performed "git fetch upstream; git checkout -b NEW_BRANCH; git merge upstream/master; git push origin NEW_BRANCH" and the github says it's still "17 commits ahead of projectname:master" | 18:52 |
|
| git remote -v shows that upstream is set correctly to the original repo, not my forked one | 18:53 |
| → tmz joined | 18:53 |
|
ice9
| how to commit with multi line message? | 18:54 |
|
virmaha
| ice9: git commit. That'll open a text editor and you can put multi line message | 18:54 |
|
rond_
| ice9: maybe commit -m "First Line\nSecond line", but I've never tried | 18:55 |
| → tty joined | 18:55 |
|
Sna4x8
| virmaha: Thank you. When I do want to bump the version of my submodule, I should just checkout the new tag that I want in the submodule folder? | 18:55 |
| ← plexigras left | 18:55 |
|
virmaha
| yes Sna4x8. That'll work. | 18:56 |
|
| Sna4x8: also, what I'd recommend is create a sample branch in your parent - say test. Try out the submodule bump after checking out test | 18:56 |
| ← RoriconKnight left | 18:56 |
|
Sna4x8
| virmaha: If I do a git submodule update --remote it pulls in the latest version from master. Is there a way to use the .gitmodule file to specify the tag I want to use? | 18:57 |
|
virmaha
| in another terminal, do git clone parentRepo; git checkout test; git submodule update --init --recursive; cd submodule; git log -n 1 | 18:57 |
| → RoriconKnight joined | 18:57 |
|
Sna4x8
| ^^ I'm using a test branch and a test submodule. | 18:57 |
|
virmaha
| verify that it has latest tag | 18:57 |
|
| and then do the same on your main/master branch | 18:57 |
| ← czart left | 18:57 |
|
ice9
| how to set vim as editor for commit messages? | 18:57 |
| → dskotnik joined | 18:57 |
| ← ilmostro left | 18:57 |
| → pawle joined | 18:57 |
|
virmaha
| Sna4x8: i am just a beginner..so I am unaware | 18:57 |
| → plexigras joined | 18:58 |
|
virmaha
| ice9: export EDITOR=/usr/bin/vim or whatever | 18:58 |
|
Sna4x8
| ice9: editor = vim under [core] in ~/.gitconfig | 18:58 |
|
virmaha
| I've my own doubt. How do I make sure that if I am in branch_x, I am not having any stale files of branch_y | 18:58 |
|
| basically, I want to make sure my local repo has only those files as branch_x on remote | 18:59 |
| → ilmostro joined | 18:59 |
| ← planetcall|work left | 19:00 |
| → sdwrage joined | 19:00 |
|
miczac
| Hi, I can't push my local branch to origin "because the tip of your current branch is behind its remote counterpart." - I'm looking at gitk and git log 3.10..remotes/origin/3.10 but I can't see why. I just don't want simple push --force ... | 19:00 |
| → nowhere_man joined | 19:01 |
| ← dskotnik left | 19:01 |
| ← netj left | 19:01 |
|
virmaha
| miczac: git pull. Looks like your remote had more commits which your local doesn't have | 19:01 |
| → netj joined | 19:02 |
| → mikecmpbll joined | 19:02 |
| → tvw joined | 19:02 |
| → cliluw joined | 19:02 |
| ← pawle left | 19:04 |
|
miczac
| virmaha: yeah, that's what logic suggests. This is why I'm confused about that: I forked upstream on github (getting origin). I recursively cloned origin to local. I'm working locally and fetch/merge updates from _upstream_. Actually I don't touch origin at all, except pushing from local and issue PRs to upstream. | 19:06 |
|
virmaha
| miczac: sorry no idea then. Some expert might be able to help you out | 19:07 |
|
miczac
| np, thx virmaha | 19:08 |
| ← dsdeiz left | 19:09 |
| → timj joined | 19:10 |
| ← kerframil left | 19:10 |
| ← plexigras left | 19:11 |
| → plexigras joined | 19:14 |
| Megaf → RoaryTiger | 19:14 |
|
rond_
| If I want to change the branch in pull_request, can I do something else then closing the old pull_request and opening a new one ? | 19:17 |
|
dex1983
| hi | 19:18 |
|
j416
| rond_: that's a github question better answered at ##github; but I suspect the answer is no. | 19:18 |
|
rond_
| j416: right | 19:19 |
| → pawle joined | 19:19 |
|
demize
| rond_: Which branch do you want to change? | 19:19 |
| → aFeijo joined | 19:20 |
| ← diogenese left | 19:20 |
|
trineroks
| hey all, I posted this question on reddit but I am wondering if such a monorepo is possible to build https://www.reddit.com/r/git/comments/9beldj/is_it_possible_to_create_a_monorepo_with_this/ | 19:20 |
|
aFeijo
| hi folks. Is it possible to make git track a folder inside an ignored folder? | 19:20 |
|
rond_
| demize: Let' say there is branch X and Y. X is under pull_request. Instead, I want to now make pull_request with Y. | 19:20 |
|
aFeijo
| /web/sites/files is ignored, but I want to track /web/sites/files/images | 19:21 |
|
rond_
| I'd be nice to have the discussion intact | 19:21 |
|
GreenJello
| rond_, you can replace a branch with another in git | 19:21 |
|
rond_
| GreenJello: what do you mean? | 19:21 |
|
| git reset --hard origin/Y | 19:21 |
|
| ? | 19:21 |
|
GreenJello
| rond_, git reset --hard other-branch; git push -f | 19:21 |
|
| yeah | 19:21 |
|
j416
| rond_: what is "pull_request"? is it the github feature or something else? | 19:21 |
|
rond_
| j416: well, it is... | 19:21 |
|
GreenJello
| and before that you'd git checkout -b branch-backup; and push that | 19:22 |
| ← libregee1ingkid left | 19:22 |
|
rond_
| push what? | 19:22 |
|
GreenJello
| rond_, probably best to open a new PR and avoid screwing up history | 19:22 |
|
| rond_, you'll be erasing any changes on the branch, so copy the current branch to another branch to preserve it | 19:22 |
|
| then you can switch back and hard reset the PR branch | 19:23 |
|
rond_
| I have all I need on branch Y | 19:23 |
| ← olux left | 19:23 |
|
j416
| rond_: it is what? | 19:23 |
| ← dopplergange left | 19:23 |
| → libregee1ingkid joined | 19:24 |
|
rond_
| there were some old unnecessary commits on branch X which is currently under pull_request | 19:24 |
|
GreenJello
| PRs are weird, since you often need to force push things | 19:24 |
| → ktanner joined | 19:25 |
|
rond_
| i think I'll go with reset --hard and push --force | 19:25 |
|
| thank you | 19:25 |
|
GreenJello
| I haven't had this specific case before, but like if you rebase on master you have to force push that | 19:25 |
|
rond_
| (I've already cherry-picked what's necessary :) ) | 19:25 |
|
GreenJello
| I don't understand how it works, but if you do a normal push, all of the changes you rebased show up in the PR | 19:26 |
| ← trineroks left | 19:26 |
| → dopplergange joined | 19:27 |
| ← plexigras left | 19:27 |
| → trineroks joined | 19:27 |
|
rond_
| GreenJello: Worked like a charm!! :) | 19:27 |
| ← Darcidride left | 19:27 |
| → _ADN_ joined | 19:29 |
| ← Mattiaslndstrm left | 19:29 |
| ← dpyro left | 19:29 |
| ← dopplergange left | 19:31 |
| → dopplergange joined | 19:31 |
|
miczac
| Hi, what is git log 3.10..remotes/origin/3.10 different from git log remotes/origin/3.10..3.10 ? | 19:32 |
| ← Celelibi left | 19:34 |
| ← bubo left | 19:34 |
| ← planigan_ left | 19:35 |
| RoaryTiger → Megaf | 19:35 |
| → bubo joined | 19:35 |
| ← nowhere_man left | 19:36 |
| ← lkurusa left | 19:37 |
| → dege joined | 19:37 |
| → planigan joined | 19:37 |
| ← kneeki left | 19:37 |
|
j416
| miczac: man gitrevisions | 19:39 |
|
gitinfo
| miczac: the gitrevisions manpage is available at https://gitirc.eu/gitrevisions.html | 19:39 |
| → lkurusa joined | 19:39 |
| lkurusa → Guest54870 | 19:39 |
| → Celelibi joined | 19:40 |
| → crawler joined | 19:41 |
| ← Dougie187 left | 19:42 |
| ← Envil left | 19:42 |
| ← planigan left | 19:42 |
| ← Guest54870 left | 19:43 |
| ← soee left | 19:44 |
| → lkurusa_ joined | 19:44 |
| → houami joined | 19:46 |
| ← aFeijo left | 19:48 |
| ← houami left | 19:50 |
| ← wpcarro left | 19:50 |
| ← ableto left | 19:51 |
| ← gareppa left | 19:52 |
| → pfleck joined | 19:53 |
|
heftig
| rond_: yes, because you have more commits than master | 19:54 |
|
ice9
| what is 'upstream'? | 19:54 |
|
rond_
| heftig: hmm? (I've already solved the issue with fetching from upstream, cherry-picking commits of interest and pushing them) | 19:54 |
|
| ice9: https://help.github.com/articles/configuring-a-remote-for-a-fork/ | 19:55 |
|
heftig
| [20:52:30] <rond_> heftig: [...] github says it's still "17 commits ahead of projectname:master" | 19:55 |
| ← brettgilio left | 19:55 |
|
rond_
| heftig: I think I understand clearly what happened and what I was doing wrong and why my last solution worked :) | 19:56 |
|
| Thank you very much for you help!!! | 19:56 |
|
heftig
| okay, yw | 19:56 |
| → planigan joined | 19:58 |
|
ice9
| i forked a repo, how can i pull to my local branch with the main repo that i forked from? | 19:58 |
|
miczac
| virmaha: I couldn't find it. I deleted origin, did a new fork and pushed --all from local. Now all is fine. | 19:58 |
| → codenix joined | 19:58 |
| → tristanp_ joined | 19:59 |
|
virmaha
| miczac: cool | 19:59 |
| → anubani joined | 19:59 |
| ← tristanp left | 19:59 |
| ← grumble left | 20:00 |
| ← foul_owl_ left | 20:01 |
| → Hobby joined | 20:01 |
| Hobby → Guest5409 | 20:02 |
| ← kurvivor left | 20:04 |
| → todevil joined | 20:05 |
| ← todevil left | 20:06 |
| ← Guest5409 left | 20:06 |
| ← pfleck left | 20:06 |
| → Sample joined | 20:08 |
| ← Sample left | 20:08 |
| → Sample joined | 20:08 |
| ← elichai2 left | 20:08 |
| ← Sample left | 20:09 |
| → nolfie joined | 20:10 |
|
rond_
| ice9: rephrase your question | 20:12 |
| → m0viefreak joined | 20:12 |
| ← fmcgeough left | 20:12 |
| ← libregee1ingkid left | 20:13 |
|
ice9
| rond_, i forked repo B from repo A, I create a branch X in repo B; Now I want to sync branch X with repo A master | 20:14 |
| → grumble joined | 20:14 |
| ← geekodour08 left | 20:14 |
| → yyy joined | 20:14 |
| ← lf94 left | 20:15 |
|
rond_
| ice9: https://help.github.com/articles/syncing-a-fork/ | 20:15 |
| → notnull joined | 20:17 |
| ← notnull left | 20:17 |
| → notnull joined | 20:17 |
| → foul_owl_ joined | 20:18 |
| ← schleppel left | 20:18 |
| → taotaomona joined | 20:19 |
| taotaomona → diogenese | 20:19 |
| → wpcarro joined | 20:19 |
| ← Poffer left | 20:25 |
| ← grumble left | 20:27 |
| → grumble joined | 20:28 |
| → aOssed28 joined | 20:28 |
| → cr1mson_king joined | 20:28 |
| ← cr1mson_king left | 20:30 |
| ← aOssed28 left | 20:30 |
| ← planigan left | 20:32 |
| → planigan joined | 20:33 |
| ← dendazen left | 20:33 |
| → eset_ joined | 20:35 |
| ← dfaught left | 20:35 |
| ← m00sehead left | 20:35 |
| ← applecrumble left | 20:36 |
| ← ilmostro left | 20:37 |
| → Dougie187 joined | 20:38 |
| ← pawle left | 20:38 |
| → applecrumble joined | 20:39 |
| ← mlopezviedma left | 20:41 |
| → sourcream joined | 20:41 |
| → mlopezviedma joined | 20:42 |
| → hypercore joined | 20:42 |
|
hypercore
| do you guys use git even for projects where it's just you working on it? | 20:42 |
|
nedbat
| hypercore: yes | 20:43 |
|
j416
| hypercore: yes | 20:43 |
|
nedbat
| hypercore: it's useful to be able to go back in time. | 20:43 |
|
| hypercore: and you never know when a project will grow beyond just you | 20:44 |
|
Dougie187
| The uses are endless. | 20:44 |
| ← notnull left | 20:44 |
|
j416
| I tend to put most things in a repo. Just in case. | 20:44 |
|
hypercore
| maybe i don't understand it's utility, at the moment all i do is add the new/modified file, and then commit it. I never do anything else, so i guess that makes me question if i really need it or not | 20:44 |
|
Dougie187
| It also makes it easy to share, and test out changes without having to lose older versions. | 20:45 |
| → cr1mson_king joined | 20:45 |
|
Dougie187
| Sometimes it's great if you want to add the new modified file, test it, and if it doesn't work, remove the changes. | 20:45 |
|
hypercore
| (and i create branches too, but often they conflict with one another and then it becomes a hassle because i can't see the full current state of the application) | 20:45 |
| ← cr1mson_king left | 20:45 |
| → cr1mson_king joined | 20:45 |
|
Dougie187
| hypercore: I don't know why you couldn't see the full current state of the application. | 20:46 |
|
hypercore
| Dougie187: i definitely see the advantages for teams, just not so much when it's just me | 20:46 |
|
j416
| hypercore: spend a couple of days reading up on it. You'll see. It saves a ton of time and allows you to do things that would be very painful otherwise. !book | 20:46 |
|
gitinfo
| hypercore: 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 | 20:46 |
|
hypercore
| ok i'll give it another shot | 20:46 |
|
Dougie187
| hypercore: It's saved my butt many times just working by myself. | 20:46 |
|
j416
| hypercore: if you understand the basic concepts, the commands (save the syntax of them) will be mostly self-explanatory | 20:47 |
|
| at least, that's what I'd think | 20:47 |
|
hypercore
| i think i understand the "basics", maybe it's just a habit i have to form | 20:47 |
|
Dougie187
| hypercore: What were your complaints from the last time you used it? | 20:47 |
|
hypercore
| (it feels a lot quicker just to prototype without using it, rather than having to commit every single change i make. Or maybe i'm just using it wrong) | 20:48 |
|
j416
| hypercore: you don't need to make proper commits to start with | 20:48 |
|
| make temporary commits as you go, just to keep track of state | 20:49 |
| ← mattcen left | 20:49 |
|
Dougie187
| If it's literally just you, and you don't want to make your commits useful, you can even use it to just auto-commit. | 20:49 |
|
| hypercore: https://stackoverflow.com/questions/420143/making-git-auto-commit | 20:49 |
|
j416
| when you have something isolated that would make a good commit, squash into a proper commit | 20:49 |
| ← eset_ left | 20:49 |
|
hypercore
| Dougie187: ok so the last time i used it for a personal app (being worked on only by me), i would change so styles in my header template, e.g. linking feature x or y, then i would checkout feature z and start working on that, but then there was a mismatch between all the features (because none were merged), so i didn't really get a good feel for the current progress of the application | 20:50 |
| ← chaosruler left | 20:50 |
|
anubani
| hypercore: git can save you the nightmare of creating a hundread backup folders of your work | 20:50 |
| → dpyro joined | 20:50 |
| andres_f → andres | 20:50 |
| → mattcen joined | 20:50 |
|
Dougie187
| hypercore: I'd suggest in that case that your branches should either be merged, or you shouldn't use branches for those separate projects. | 20:50 |
|
| hypercore: Fundamentally, the branching structure is up to you as the project creator. | 20:51 |
|
| hypercore: You could only have a single master branch, until you have a *need* for branches. | 20:51 |
|
hypercore
| anubani: i must admit i do create a few backup folders (for saving state) as i develop applications, but i'm not sure how to reference the different states using git | 20:51 |
|
anubani
| it also makes it easier for others to track your changes if you ever publish your repo | 20:51 |
|
Dougie187
| hypercore: Referencing the different states is easy. We could help you with that. This would just take away the manual upkeep of maintaining the different versions, and keeping track of what's what. | 20:52 |
|
anubani
| it helps others understand why you certain changes too | 20:52 |
| → scrptktty joined | 20:52 |
|
hypercore
| anubani: yeah i definitely see the benefits when more than one person is working on the project, no doubt | 20:52 |
|
| Dougie187: how would you recommend saving the project at a particular state? | 20:52 |
| → plexigras joined | 20:52 |
|
anubani
| from your git commits and their body (which had an extended explanation of the commit msg) | 20:53 |
|
Dougie187
| hypercore: I'd recommend commiting when you have something that's testable. Either that, or commit as frequent as you can, and squash when it's testable like was suggested earlier. | 20:53 |
|
| hypercore: it largely depends on your workstyle. | 20:53 |
|
hypercore
| anubani: so "git checkout some-hash-here"? | 20:53 |
|
Dougie187
| hypercore: If you work on a project until it's complete, or if you context switch a lot. | 20:53 |
|
hypercore
| Dougie187: what is squashing? | 20:53 |
|
Dougie187
| hypercore: It's the process of taking multiple linear commits, and combining them to make a single commit. | 20:54 |
|
hypercore
| oh ok | 20:54 |
| Guest44294 → ec | 20:54 |
| → Rutice joined | 20:55 |
|
anubani
| hypercore: if others do 'git log' in your project | 20:55 |
|
| they can every commit you made | 20:55 |
|
Dougie187
| So, you could make checkpoint commits as frequent as you want, and then at some interval (once you're done with the project) you can squash all the checkpoints into a single working commit. | 20:55 |
|
anubani
| the msg of the commits says what it did | 20:55 |
|
| and thus helps peple reading your code | 20:55 |
|
| people* | 20:56 |
| ← jp left | 20:56 |
| → Nick`24 joined | 20:56 |
|
anubani
| even if you are working alone, I mean if you ever publish it for others to read and use | 20:56 |
| ← Oatmeal left | 20:57 |
| ← opalepatrick left | 20:57 |
|
Dougie187
| It sometimes helps you by yourself understand what your changes were as well. | 20:57 |
|
hypercore
| guess i need to force myself to use it until it becomes a habit, objectively speaking i know using git is beneficial, im just lazy | 20:57 |
|
Dougie187
| If you find a bug for example. | 20:57 |
|
| hypercore: Doesn't sound like your that lazy if you manage backups manually. :P | 20:57 |
| ← cr1mson_king left | 20:58 |
| ← Nick`24 left | 20:59 |
| ← Praxi left | 20:59 |
|
anubani
| hypercore: 'git show <hash>' is also useful | 21:00 |
| ← jnavila left | 21:00 |
| ← mattcen left | 21:03 |
| ← surfist left | 21:03 |
| → surfist joined | 21:04 |
| → m1m3-50 joined | 21:04 |
| → dsdeiz joined | 21:05 |
| ← dsdeiz left | 21:05 |
| → dsdeiz joined | 21:05 |
| → kurkale62 joined | 21:05 |
| → kerframil joined | 21:07 |
| ← dsdeiz left | 21:09 |
| ← amirpro left | 21:11 |
| → amirpro joined | 21:12 |
| ← Quetzal2 left | 21:12 |
| ← kiltzman left | 21:13 |
| → libregee1ingkid joined | 21:17 |
| → Oatmeal joined | 21:18 |
| ← m1m3-50 left | 21:18 |
| → KindOne27 joined | 21:20 |
| → mattcen joined | 21:20 |
| → rafasc joined | 21:20 |
| ← kurkale62 left | 21:22 |
| ← KindOne27 left | 21:22 |
| → Mattiaslndstrm joined | 21:23 |
| → greatgatsby joined | 21:24 |
| → MACscr|lappy joined | 21:25 |
| ← tureba left | 21:25 |
| ← Oatmeal left | 21:25 |
| → wreed joined | 21:26 |
| ← sdwrage left | 21:26 |
| → tureba joined | 21:27 |
| ← angular_mike_2 left | 21:28 |
| → angular_mike_2 joined | 21:28 |
| ← mattcen left | 21:29 |
| → akushner_ joined | 21:29 |
| → nowhere_man joined | 21:31 |
| → kurkale62 joined | 21:32 |
| ← akushner left | 21:32 |
| → jp joined | 21:33 |
| ← ubuntuisloved left | 21:34 |
| → MACscr|l_ joined | 21:34 |
| ← leeN left | 21:34 |
| ← alcohol left | 21:36 |
| → alcohol joined | 21:37 |
| ← MACscr|lappy left | 21:37 |
| ← eset left | 21:38 |
| ← tvw left | 21:38 |
| ← Tobbi left | 21:38 |
| → m00sehead joined | 21:38 |
| ← rond_ left | 21:38 |
| → ubuntuisloved joined | 21:39 |
| ← nowhere_man left | 21:40 |
| ← AndresInSpace left | 21:41 |
| ← spacesuitdiver left | 21:42 |
| → Tobbi joined | 21:43 |
| ← str left | 21:44 |
| ← MACscr|l_ left | 21:45 |
| → MACscr|lappy joined | 21:46 |
| → dc13ff joined | 21:47 |
| → houami joined | 21:47 |
| → MACscr|l_ joined | 21:48 |
| ← fluxAeon_ left | 21:50 |
| ← marlinc left | 21:50 |
| → mattcen joined | 21:51 |
| ← MACscr|lappy left | 21:51 |
| ← houami left | 21:51 |
| ← kurkale62 left | 21:52 |
| → kurkale62 joined | 21:52 |
| → Sophira6 joined | 21:53 |
| → Puffball joined | 21:54 |
| ← TheRuckus left | 21:56 |
| ← Sophira6 left | 21:57 |
| → eset joined | 21:58 |
| ← eset left | 21:58 |
| → eset joined | 21:58 |
| ← tmm88 left | 21:58 |
| → marlinc joined | 21:59 |
| → jnavila joined | 22:04 |
| ← jnavila left | 22:04 |
| → dsdeiz joined | 22:05 |
| ← dsdeiz left | 22:05 |
| → dsdeiz joined | 22:05 |
| ← CodeSlingerPaul left | 22:05 |
| ← Tobbi left | 22:05 |
| ← m00sehead left | 22:07 |
| → brettgilio joined | 22:08 |
| ← dsdeiz left | 22:09 |
| ← JJonah_ left | 22:09 |
| ← thebope left | 22:09 |
| → JJonah joined | 22:09 |
| → m00sehead joined | 22:09 |
| ← eset left | 22:10 |
| → MACscr|lappy joined | 22:10 |
| → fstd_ joined | 22:10 |
| ← MACscr|l_ left | 22:11 |
| → eset joined | 22:12 |
| ← eset left | 22:12 |
| → eset joined | 22:12 |
| → yaymuffins24 joined | 22:14 |
| ← zulutango left | 22:14 |
| → Tobbi joined | 22:14 |
| ← fstd left | 22:15 |
| fstd_ → fstd | 22:15 |
| → Smithe joined | 22:15 |
| → pmn joined | 22:16 |
|
Smithe
| If I already have raw data of a project but not the git data (commits and such) how can I retrieve it? | 22:16 |
|
_ikke_
| Smithe: You have to still clone the project | 22:18 |
| → str joined | 22:18 |
| → philipp64|laptop joined | 22:18 |
| ← Dougie187 left | 22:18 |
| ← pmn left | 22:18 |
|
philipp64|laptop
| Hi… question about filter-branch and this example… http://gbayer.com/development/moving-files-from-one-git-repository-to-another-preserving-history/ | 22:18 |
| ← yaymuffins24 left | 22:19 |
| → kfoonamalik joined | 22:19 |
|
philipp64|laptop
| I tried this, but after doing the filter-branch and running "git branch -a" I'm only seeing the branch I was on... | 22:19 |
|
| how do I do this for all branches? | 22:20 |
| ← mattcen left | 22:20 |
| ← MACscr|lappy left | 22:20 |
|
_ikke_
| what command did you run? | 22:20 |
|
philipp64|laptop
| I thought the -- --all handled that but it doesn't seem to. | 22:21 |
| ← applecrumble left | 22:21 |
|
_ikke_
| it should | 22:22 |
|
philipp64|laptop
| ah… the "git remote rm origin" blows away all the other branches but the current one… | 22:24 |
| → Rostfrei joined | 22:24 |
| → ferdna joined | 22:24 |
| ← roro247 left | 22:25 |
|
philipp64|laptop
| is it safe to omit that? | 22:25 |
| → mattcen joined | 22:27 |
|
agris
| how would one go about hosting git repos and collaborating with them over a distibuted peer-to-peer transport protocol like IPFS? | 22:28 |
| ← amirpro left | 22:28 |
| ← rafasc left | 22:28 |
| → rafasc joined | 22:29 |
|
dzho
| https://github.com/clehner/git-ssb | 22:29 |
|
agris
| hmm. not exactly what i had in mind. Is ScuttleButt better suited for this than IPFS? | 22:31 |
| → kus joined | 22:31 |
| ← ice9 left | 22:33 |
| ← profmac left | 22:33 |
| → profmac joined | 22:34 |
| → z|bandito joined | 22:34 |
| → dviola joined | 22:36 |
| → tmsmith joined | 22:37 |
| → jasmith joined | 22:39 |
| → amirpro_ joined | 22:39 |
| ← crawler left | 22:39 |
| ← nivag left | 22:42 |
| ← kurkale62 left | 22:43 |
| ← cur8or left | 22:45 |
| ← z|bandito left | 22:46 |
| ← justanotheruser left | 22:46 |
| → z|bandito joined | 22:46 |
| ← z|bandito left | 22:47 |
| → justanotheruser joined | 22:47 |
| → nivag joined | 22:47 |
| ← ubuntuisloved left | 22:48 |
| ← brettgilio left | 22:49 |
| → z|bandito joined | 22:49 |
| ← z|bandito left | 22:49 |
| → z|bandito joined | 22:49 |
| ← str left | 22:51 |
| → z1haze joined | 22:52 |
|
z1haze
| is it possible to delete a remote commit that is not the last commit? | 22:53 |
|
_ikke_
| fix your local repo, then force push | 22:53 |
|
| !rewrite | 22:53 |
|
gitinfo
| Rewriting public history is not recommended. Everyone who has pulled the old history will have to do work (and you'll have to tell them to), so it's infinitely better to just move on. If you must, you can use `git push --force-with-lease <remote> <branch>` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 22:53 |
| → olik joined | 22:54 |
| ← mikecmpbll left | 22:54 |
| ← PioneerAxon left | 22:56 |
| → PioneerAxon joined | 22:56 |
| → dendazen joined | 23:04 |
| ← finalbeta left | 23:04 |
| → goweol joined | 23:08 |
| → PLLunlock joined | 23:09 |
| ← PioneerAxon left | 23:11 |
| ← dege left | 23:11 |
| ← goweol left | 23:12 |
| → goweol joined | 23:13 |
| → TheRuckus joined | 23:14 |
| → mud joined | 23:14 |
| ← TheRuckus left | 23:18 |
| ← bucketm0use left | 23:19 |
| ← mattcen left | 23:24 |
| ← vTox left | 23:25 |
| → mattcen joined | 23:26 |
| ← thiago left | 23:32 |
| ← greggerz left | 23:33 |
| ← AtumT left | 23:34 |
| → UTAN_dev_ joined | 23:35 |
| ← akushner_ left | 23:36 |
| ← UTAN_dev left | 23:36 |
| → darkbit joined | 23:36 |
| ← avar left | 23:36 |
| → akushner joined | 23:37 |
| ← m0viefreak left | 23:37 |
| ← Bucciarati left | 23:37 |
| → houami joined | 23:38 |
| → avar joined | 23:38 |
| ← avar left | 23:38 |
| → avar joined | 23:38 |
| → Bucciarati joined | 23:38 |
| → teej joined | 23:38 |
| ← plexigras left | 23:39 |
| ← oojacoboo left | 23:41 |
| ← houami left | 23:42 |
| → plexigras joined | 23:42 |
| → Bobguy joined | 23:42 |
| → figurehe4d joined | 23:45 |
| ← figurehe4d left | 23:45 |
| → Vortex-Sec joined | 23:45 |
| → dtux joined | 23:46 |
|
dtux
| I have a clone on GitHub that was made with `git push --mirror`, and I want to convert that to a plain old repo. Do I need to do anything special? | 23:48 |
| ← Forkk left | 23:48 |
| → Forkk joined | 23:49 |
|
mud
| dtux: Only thing --mirror does is push extra refs (more than it usually would). So if you don't care that those exist, no. | 23:50 |
|
dtux
| mud: ok, cool. so it would be a reasonable thing to create a cross-server "fork" by doing the initial upload with --mirror and then never doing that again? | 23:51 |
| ← akushner left | 23:51 |
| ← SpeakerToMeat left | 23:52 |
|
mud
| dtux: I suppose it wouldn't be that bad, the only thing is I think it also pushes refs/remotes/*, which could be a tad odd to have at the destination. Or I might be misremembering that | 23:53 |
| → SpeakerToMeat joined | 23:53 |
|
dtux
| mud: i thought so too, but if i browse the branches on the mirror, it doesn't link to public github (which i suspect it would if the remote refs weren't adjusted somehow?) | 23:54 |
| ← e_l1997 left | 23:55 |
|
mud
| Hm, well if it doesn't list them then it's probably fine. Even if it did it probably wouldn't really hurt anything | 23:55 |
| ← plexigras left | 23:55 |
| → bucketm0use joined | 23:55 |
| → z8z joined | 23:56 |
| ← Rutice left | 23:57 |
|
dtux
| ok, sounds kosher... we're not trying to sever from the upstream necessarily, it's just abandoned basically | 23:58 |
| ← z1haze left | 23:59 |