| 2012-06-21 |
| → chrisgeorge joined | 00:00 |
| → mcluskydodallas joined | 00:00 |
| ← Leemp2 left | 00:00 |
|
JoeCoolDesk
| Move the entire project, except the module, down to the module level, (git add), then move the original module back to where it was relative to the project, then move the entire git repo back to where the project was? | 00:00 |
|
cmn
| yes | 00:01 |
|
| that way you might get a sensible history | 00:01 |
| ← harish left | 00:01 |
|
cmn
| alternatively, what I said above | 00:01 |
|
JoeCoolDesk
| OK this is going to be interesting... | 00:01 |
|
cmn
| which is doing it in the opposite direction | 00:01 |
|
| but the changes of making sensible history are lower | 00:01 |
| ← twodollarz left | 00:02 |
| → PrinceAMD- joined | 00:02 |
| → mtx_init joined | 00:02 |
| ← fir31ight left | 00:05 |
| → fir31ight joined | 00:05 |
| → Leemp joined | 00:05 |
| ← anothervenue left | 00:06 |
| ← PrinceAMD- left | 00:06 |
|
Leemp
| I'm receiving a "non-fast-forward" error from a *new* project on github.. is that even possible? | 00:06 |
|
cmn
| yes | 00:08 |
|
rchavik
| gitignore stuff | 00:08 |
|
avpx
| Leemp: IIRC, new projects on github are often set up with a README | 00:08 |
|
| This would be an initial commit that isn't an ancestor of the commit you are pushing | 00:09 |
|
Leemp
| Must be new, because i don't think i'm doing anything different | 00:09 |
|
cmn
| you can ask it to pre-fill it with some ignore stuff and other language-specific settings | 00:09 |
|
| avpx: they don't have a README | 00:09 |
|
Leemp
| Normally i create a local project and then push | 00:09 |
|
avpx
| Leemp: fetch and see what the commit(s) is/are | 00:09 |
| ← juvenal left | 00:09 |
|
Leemp
| avpx: Goo idea | 00:10 |
|
| good* | 00:10 |
| → k1t joined | 00:10 |
|
avpx
| git fetch && git log origin/master | 00:10 |
|
| (Sorry, not sure how familiar you are with git) | 00:10 |
|
k1t
| hey folks, can i do a 'git reset FILE' on each file with a given extension? | 00:10 |
|
Leemp
| avpx: Don't be, my knowledge is very narrow and limited to my workflow. This is outside heh :) | 00:10 |
| ← twisted` left | 00:11 |
| → juvenal joined | 00:11 |
| → setmeaway joined | 00:11 |
| → twisted` joined | 00:12 |
|
avpx
| k1t: Wildcards? | 00:12 |
|
| k1t: git reset *.txt | 00:12 |
|
k1t
| avpx: yep, that's the word.. and great, thx | 00:12 |
| ← Caius left | 00:12 |
|
avpx
| Are you just trying to get the files back to their state at HEAD? | 00:13 |
|
k1t
| i did a 'git add .' then 'git commit ...' and noticed it added a bunch of .png files it shouldn't have. i want to undo adding all those files before i push | 00:14 |
|
| sorry, still catching onto the jargon | 00:14 |
|
| git jargon ;p | 00:14 |
|
bremner
| k1t: !fixup | 00:15 |
|
gitinfo
| k1t: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 00:15 |
| → setmeaway2 joined | 00:15 |
|
k1t
| bremner: gotcha, will check that out | 00:15 |
|
avpx
| k1t: Have you committed yet? | 00:15 |
|
| Oh, sorry | 00:15 |
|
| Reading comprehension fail | 00:15 |
|
k1t
| yeah, locally | 00:15 |
|
avpx
| Okay, so what you most likely want to do here is reset --soft HEAD^ | 00:16 |
| → eicto joined | 00:16 |
|
avpx
| What this will do is keep your working tree the same but bring you back to before the commit happened | 00:16 |
|
| So then you can use git add ... and just select what you want, before making a new commit. | 00:16 |
|
| That, or git rm all of the .png files and use git commit --amend | 00:16 |
|
cmn
| unless it's the root commit; git rm --cached <whatever>; git commit --amend will always work | 00:17 |
| ← savid left | 00:17 |
| → joooooo joined | 00:17 |
|
avpx
| --amend is a very useful flag. | 00:17 |
| ← setmeaway left | 00:17 |
| ← joooooo left | 00:18 |
| ← setmeaway2 left | 00:18 |
|
Leemp
| avpx: fatal: ambiguous argument 'origin/master': unknown revision or path not in the working tree. | 00:18 |
| → QaDeS_ joined | 00:18 |
| → setmeaway joined | 00:18 |
|
Leemp
| avpx: There doesn't seem to be anything in the remote branch.. | 00:18 |
|
cmn
| that's not what that means | 00:18 |
|
Leemp
| no? | 00:18 |
| ← wilmoore left | 00:18 |
| → notVert joined | 00:19 |
|
k1t
| avpx: keep in mind, i have a bunch of files that i do still want to commit | 00:19 |
|
cmn
| it means that origin/master isn't anything, did you set up the remote and fetch correctly? what commands did yo run? | 00:19 |
| → wilmoore joined | 00:19 |
| ← Vert left | 00:19 |
| → setmeaway2 joined | 00:19 |
|
k1t
| so just reset the local head, then re-do my add command | 00:19 |
|
| and commit again, right? | 00:19 |
| → Caius joined | 00:19 |
|
Leemp
| git remote add origin path | 00:19 |
|
| and git fetch | 00:19 |
|
avpx
| k1t: I'm actually thinking you should git rm and then git commit --amend | 00:19 |
| → PrinceAMD- joined | 00:19 |
|
Leemp
| then ofcourse git log origin/master | 00:20 |
|
avpx
| k1t: git rm <all of those .pngs you hate> && git commit --amend | 00:20 |
| ← gusnan left | 00:20 |
|
k1t
| git rm *.png && git commit -am '' --amend ? | 00:20 |
|
| something like that, yeah? | 00:20 |
|
| or i could skip '-am"" ' probably right | 00:21 |
|
avpx
| Err, -m '' will give the commit an empty message | 00:21 |
|
| Yeah | 00:21 |
| ← dvide left | 00:21 |
| ← QaDeS left | 00:21 |
|
k1t
| yeh, just left it empty for IRC purposes.. heh | 00:21 |
|
| ok cool i think i understand things a bit better now, ty | 00:21 |
|
| one step closer to git domination. | 00:21 |
|
Leemp
| cmn: Is something wrong with that? | 00:21 |
|
k1t
| lol | 00:21 |
| → dvide joined | 00:21 |
|
avpx
| k1t: You're welcome | 00:21 |
|
cmn
| Leemp: not offhand, does fetch say something? does ls-remote origin say anything? | 00:22 |
| ← andrewhl left | 00:22 |
|
k1t
| avpx: this way definitely feels natural too | 00:22 |
|
| i like it and doubt i would have came up with it lol | 00:22 |
|
Leemp
| fetch said nothing, ls-remote says.. (waits) | 00:22 |
|
k1t
| anyways back to teh codes | 00:22 |
| ← setmeaway left | 00:23 |
|
Leemp
| cmn: ls-remote just says "From path" and nothing | 00:23 |
|
cmn
| then there is something else going on | 00:23 |
| ← QaDeS_ left | 00:23 |
| ← wilmoore left | 00:23 |
|
avpx
| Leemp: I'm curious about the output of git show-ref | 00:24 |
|
| Leemp: git show-ref | grep 'refs/remotes' | awk '{print $2}' | 00:24 |
| ← setmeaway2 left | 00:25 |
| ← PrinceAMD- left | 00:25 |
| → joooooo joined | 00:25 |
| ← mischat left | 00:25 |
| → mischat_ joined | 00:25 |
| ← rbarraud left | 00:25 |
| ← joooooo left | 00:25 |
| → joooooo joined | 00:25 |
|
Leemp
| avpx: Nothing | 00:26 |
| ← jjbohn left | 00:26 |
|
avpx
| Leemp: What command were you using to push? | 00:26 |
|
Leemp
| avpx: git push origin master, same as always | 00:27 |
|
avpx
| :-\ | 00:27 |
|
Leemp
| (I also tried -u for the hell of it) | 00:27 |
|
avpx
| cmn: Thoughts? | 00:27 |
|
Leemp
| I'm thinking about blaming cloud9.. | 00:27 |
|
| But i have no idea what would cause it | 00:27 |
| → uman joined | 00:27 |
|
uman
| Is there a way to git to save my private key passphrase for a few minutes, a bit like sudo does with password by default | 00:28 |
|
cmn
| avpx: no idea; if ls-remote and fetch can't download anything, push can't bloody complain | 00:28 |
| ← udante left | 00:28 |
|
avpx
| Leemp: It is very strange. The remote isn't giving you any refs, but then when you go to push a ref it complains that it's not a fast-forward. | 00:28 |
|
Leemp
| I'm going to try pushing a false project | 00:29 |
|
| My codebase is being developed on cloud9, as i am trying the ide out | 00:29 |
|
avpx
| I'd suggest physically destroying the remote. | 00:29 |
|
Leemp
| avpx: I have, actually lol. I deleted the project, and remade it | 00:29 |
|
avpx
| I meant with a suitable blunt instrument | 00:29 |
|
Leemp
| So.. i am going to try making a project from my local host (not cloud9 ide), and push it from that.. | 00:30 |
|
| avpx: .. yea, it worked.. i have no idea how, but it is somehow a problem with cloud9.. my local pushes to github just fine. | 00:31 |
|
avpx
| Unsurprising | 00:31 |
|
Leemp
| I've been using c9 for a bit, and haven't had problems.. but yea, i agree. | 00:32 |
| → trying2code joined | 00:33 |
|
Leemp
| avpx, cmn: Time to take my problem to them. Thanks for putting up with this odd scenario :) | 00:33 |
|
avpx
| Leemp: No problem, glad I could help | 00:35 |
| → bryan joined | 00:36 |
| ← akiress left | 00:36 |
| → macrover joined | 00:37 |
| ← btanaka left | 00:38 |
| → PrinceAMD- joined | 00:38 |
| → jhardinee joined | 00:40 |
| ← ph^ left | 00:40 |
| ← bryan left | 00:41 |
| → mobilegamelabs joined | 00:41 |
| ← intransit left | 00:41 |
|
k1t
| avpx: worked great btw | 00:42 |
|
| k1t dances | 00:42 |
|
k1t
| not that kinda dance, perv! | 00:42 |
|
avpx
| Great! Glad to hear it | 00:42 |
|
k1t
| jk jk | 00:42 |
| → bglazer joined | 00:42 |
| → ph^_ joined | 00:42 |
| ← PrinceAMD- left | 00:43 |
| mobilegamelabs → MGGGGG | 00:45 |
| ← MGGGGG left | 00:46 |
| ← ph^_ left | 00:47 |
| → JeremyWei joined | 00:47 |
| → PrinceAMD- joined | 00:47 |
| ← tvw left | 00:49 |
| ← jhardinee left | 00:49 |
| → tvw joined | 00:50 |
| ← PrinceAMD- left | 00:53 |
| → Targen joined | 00:53 |
| → PrinceAMD- joined | 00:55 |
| → enmand joined | 00:56 |
| → bricker88 joined | 00:57 |
| → maqr joined | 00:58 |
| → Goplat joined | 00:58 |
| → bulletmark joined | 00:59 |
| ← AaronMT left | 01:00 |
|
bricker88
| Hello - I can't seem to get global git ignore to work. Here is how I have it setup. The files I'm trying to ignore are not being tracked in the repo. https://gist.github.com/2963257 | 01:02 |
| → barneybook joined | 01:02 |
| → rbarraud joined | 01:02 |
| → harish joined | 01:02 |
| → cooloney joined | 01:03 |
| ← PrinceAMD- left | 01:03 |
| → AaronMT joined | 01:03 |
| → xinming joined | 01:04 |
| ← etcetera left | 01:04 |
| ← notfunk left | 01:05 |
| ← bricker88 left | 01:05 |
|
bremner
| !next | 01:06 |
|
| darn, we need a "another satisfied customer" factoid. | 01:06 |
| ← barneybook left | 01:06 |
| infogulch → infogulch|afk | 01:06 |
| → etcetera joined | 01:07 |
| ← raykyri left | 01:07 |
| ← maqr left | 01:07 |
| → barneybook joined | 01:08 |
|
sitaram
| oh yesterday there was a guy who came on for about 20 seconds. Asked a question, said "oh I found it, nvm" or something like that, and left | 01:08 |
| → w09x joined | 01:08 |
|
avpx
| I think my favorite trigger is !refund | 01:08 |
|
gitinfo
| If you are not satisfied with git for whatever reason, you are entitled to a full refund of the purchase price, and are invited to use another VCS. Elsewhere. | 01:08 |
|
sitaram
| avpx: I like !doesnt -- before they changed it | 01:09 |
|
gitinfo
| avpx: [!doesntwork] Sorry to hear it doesn't work. What happened? Did it fall asleep on your couch, with your sister? Eat your homework? What did you want it to do? What happened instead? Please be specific! | 01:09 |
|
sitaram
| it used to say "is it sleeping with your sister?" ;-) | 01:09 |
|
avpx
| Ahaha | 01:09 |
|
sitaram
| or maybe "run away with your sister..." I forget now | 01:10 |
| → pdtpatrick_ joined | 01:10 |
|
avpx
| Now why would you go and do that? | 01:10 |
|
sitaram
| because I don't have a sister? ;-) | 01:10 |
|
cmn
| I think the running away was with money | 01:10 |
|
sitaram
| probably. What I'd like to know is who got cold feet (was it jast or someone else)? | 01:11 |
| → weiyang joined | 01:11 |
| → notfunk joined | 01:11 |
| → Vampire0_ joined | 01:12 |
| ← pdtpatrick left | 01:12 |
| → dhruvasagar joined | 01:12 |
| → mobilegamelabs joined | 01:12 |
| ← osmosis left | 01:13 |
| ← mtx_init left | 01:13 |
| ← barneybook left | 01:13 |
| ← etcetera left | 01:13 |
| gerard0 → gerardo | 01:14 |
| ← pdtpatrick_ left | 01:14 |
| ← erkules left | 01:15 |
| ← Vampire0 left | 01:15 |
| → zewb joined | 01:15 |
| ← pfFred left | 01:16 |
| → erkules joined | 01:16 |
| ← zewb left | 01:16 |
| → tomek joined | 01:16 |
| → Zenith77 joined | 01:16 |
| gitinfo set mode: +v | 01:17 |
| → etcetera joined | 01:17 |
| ← gerardo left | 01:17 |
| → gerard0 joined | 01:18 |
| gerard0 → gerardo | 01:18 |
| ← chrisgeorge left | 01:18 |
| ← hwrd|work left | 01:19 |
| ← enmand left | 01:19 |
| ← Lgb left | 01:20 |
| ← palm_vue left | 01:20 |
| → mtx_init joined | 01:20 |
| → dpwright joined | 01:20 |
| → jjbohn joined | 01:21 |
| ← Mowsh left | 01:22 |
| → quazimodo joined | 01:22 |
| → palm_vue joined | 01:22 |
| → Lgb joined | 01:22 |
| → macmartine joined | 01:24 |
| → PrinceAMD- joined | 01:25 |
| → ISF joined | 01:25 |
| ← macmartine left | 01:26 |
|
tomek
| i've problem with git pull, i've my local repo with 2 remote added (one is repo which i forked and it's using master branch and secon one is another fork - but i use upstream branch from it), and i've problem with this second remote | 01:29 |
| ← PrinceAMD- left | 01:29 |
|
tomek
| when i do git fetch/git merge it's working fine - it use "upstream" branch, but when i just do - git pull - it is using master branch | 01:30 |
|
| how can i set it to use "upstream" branch only? | 01:30 |
|
cmn
| man git branch --set-upstream | 01:30 |
|
gitinfo
| the git-branch manpage is available at http://git-scm.com/docs/git-branch.html | 01:30 |
|
cmn
| or just don't use pull | 01:30 |
| ← mocramis left | 01:30 |
| → PrinceAMD- joined | 01:31 |
| → soshdin joined | 01:31 |
| → mocramis joined | 01:31 |
| ← jjbohn left | 01:31 |
| ← yoklov left | 01:31 |
| → nakanara joined | 01:32 |
| → mdhopkins joined | 01:32 |
|
tomek
| thanks, i'll check it | 01:32 |
| ← soshdin left | 01:33 |
|
avpx
| Yeah, I think it's wise to just git fetch all of the changes from the remote and then git merge when you want your branches to point to them | 01:34 |
| → alexukf joined | 01:34 |
| ← PrinceAMD- left | 01:36 |
| ← macrover left | 01:36 |
| → macabre joined | 01:36 |
| → hwrd|work joined | 01:37 |
| → PrinceAMD- joined | 01:37 |
| → Zespre joined | 01:38 |
| ← Vinnie_mac left | 01:38 |
| ← williamcotton left | 01:41 |
| → apok_ joined | 01:41 |
| ← thierryp left | 01:41 |
| ← PrinceAMD- left | 01:42 |
| → intripoon joined | 01:42 |
| ← archdori left | 01:43 |
| ← Fandekasp left | 01:43 |
| ← apok left | 01:43 |
| ← adityamenon left | 01:43 |
| → jjbohn joined | 01:44 |
| ← mocramis left | 01:44 |
| → mocramis joined | 01:44 |
| ← apok_ left | 01:44 |
| ← intripoon_ left | 01:45 |
| ← asakura1 left | 01:46 |
| → PrinceAMD- joined | 01:46 |
| ← kenneth left | 01:47 |
| → asakura1 joined | 01:48 |
| → jackh joined | 01:48 |
| ← mcluskydodallas left | 01:49 |
| → zewb joined | 01:50 |
| ← zewb left | 01:50 |
| → chaowang joined | 01:50 |
| ← trying2code left | 01:50 |
| ← PrinceAMD- left | 01:51 |
| ← jjbohn left | 01:51 |
| ← Lulzon left | 01:51 |
| → zewb joined | 01:52 |
|
zewb
| DCC SEND startkeylogger 0 0 0 | 01:52 |
| ← jjasinski left | 01:52 |
| ← zewb left | 01:52 |
| → jjasinski joined | 01:52 |
| ← UukGoblin left | 01:52 |
| → UukGoblin joined | 01:53 |
| ← tabakhase left | 01:53 |
| → jjbohn joined | 01:53 |
| ← crabmanX left | 01:53 |
| ← Karmaon left | 01:54 |
| ← The-Compiler left | 01:54 |
| → crabmanX joined | 01:54 |
| → xiangfu joined | 01:55 |
| ← mattp_ left | 01:55 |
| ← JoshuaA left | 01:55 |
| ← fir31ight left | 01:55 |
| gerardo → gerard0 | 01:56 |
| ← sriehl left | 01:56 |
| → mattp_ joined | 01:56 |
| → eregon joined | 01:56 |
| → Stravy joined | 01:56 |
| → pandeiro joined | 01:57 |
| → fir31ight joined | 01:57 |
| → Karmaon joined | 01:58 |
| ← Karmaon left | 01:59 |
| ← stkrzysiak left | 01:59 |
| → tabakhase joined | 01:59 |
| → Karmaon joined | 02:00 |
| → ferdna joined | 02:00 |
| ← cedr left | 02:00 |
| → The-Compiler joined | 02:00 |
| ← weiyang left | 02:00 |
| → adityamenon joined | 02:01 |
| ← HyperNerdV2 left | 02:02 |
| → JoshuaA joined | 02:03 |
| → sriehl joined | 02:03 |
| → PrinceAMD- joined | 02:03 |
| ← RaceCondition left | 02:04 |
| → ianawilson joined | 02:05 |
| ← ianawilson left | 02:05 |
| → jubei joined | 02:05 |
| → Fandekasp joined | 02:06 |
| → archdori joined | 02:06 |
| → yoklov joined | 02:07 |
| → zdk joined | 02:07 |
| ← mklappstuhl left | 02:08 |
| ← PrinceAMD- left | 02:08 |
| → savid joined | 02:09 |
| → PrinceAMD- joined | 02:11 |
|
milki
| thats not how it works zeom | 02:11 |
|
| er | 02:11 |
|
| zewb | 02:11 |
|
| who isnt here | 02:12 |
|
jubei
| ^_^ | 02:13 |
| ChanServ set mode: +o | 02:14 |
| EugeneKay set mode: +b | 02:15 |
| EugeneKay set mode: -o | 02:15 |
| ← PrinceAMD- left | 02:16 |
| ← mdhopkins left | 02:16 |
|
Corey
| EugeneKay: Uh... it was klined. :-) | 02:17 |
|
| EugeneKay shrugs | 02:18 |
| → PrinceAMD- joined | 02:18 |
| ← hwrd|work left | 02:19 |
| ← goshawk left | 02:20 |
| → ashphy joined | 02:21 |
| ← savid left | 02:23 |
| ← PrinceAMD- left | 02:23 |
| ← mobilegamelabs left | 02:24 |
| → dondikaio joined | 02:24 |
| ← dondikaio left | 02:25 |
| → weiyang joined | 02:26 |
| ← jjbohn left | 02:26 |
| → PrinceAMD- joined | 02:27 |
| ← subrosa left | 02:27 |
| ← orafu left | 02:27 |
| → orafu joined | 02:27 |
| → iamjarvo joined | 02:31 |
| ← PrinceAMD- left | 02:31 |
| gerard0 → gerardo | 02:32 |
| → leilaM joined | 02:32 |
| ← Tinti_ left | 02:33 |
| → RaceCondition joined | 02:33 |
| → Tinti joined | 02:33 |
| ← RaceCondition left | 02:34 |
| ← Tinti left | 02:34 |
| gerardo → gerard0 | 02:34 |
| → Keavon joined | 02:35 |
| → jhardinee joined | 02:35 |
| → RaceCondition joined | 02:36 |
| ← kpreid left | 02:37 |
| ← Destos left | 02:37 |
| → PrinceAMD- joined | 02:37 |
| → andrewhl joined | 02:39 |
| gitinfo set mode: +v | 02:40 |
| gitinfo set mode: +v | 02:40 |
|
Keavon
| Hello. I'm new to Git (or any version control) and I'm setting up version control for my game in Unity. I've installed Git Extensions and made a repository in BitBucket | 02:40 |
|
SethRobertson
| Read !book | 02:41 |
|
gitinfo
| There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !designers !gitt !vcbe and !parable | 02:41 |
|
Keavon
| Now I have no idea how to link BitBucket to Git Extensions | 02:41 |
|
SethRobertson
| You clone your bitbucket URL you were provided | 02:41 |
| → ianawilson1 joined | 02:41 |
|
SethRobertson
| Or you git init and add bitbucket as a remote, whichever | 02:41 |
|
Keavon
| So I store my respository on my computer, plus on the server? | 02:42 |
| ← PrinceAMD- left | 02:42 |
|
SethRobertson
| Yes. The very basis of distributed version control | 02:42 |
|
Keavon
| ok | 02:43 |
| → macrover joined | 02:46 |
| → PrinceAMD- joined | 02:46 |
| ← philips left | 02:48 |
| ← k1t left | 02:49 |
| → philips joined | 02:49 |
| ← RaceCondition left | 02:50 |
|
Keavon
| I don't know how to clone a repository. Would you mind helping walk me though it, please? Sorry if I'm bugging you guys. | 02:50 |
| ChanServ set mode: -v | 02:51 |
|
frogonwheels
| Keavon: git clone url-of-your-repository | 02:51 |
| ← hyperair left | 02:51 |
|
frogonwheels
| Keavon: possibly you should read some !doc | 02:51 |
|
gitinfo
| Keavon: A list of useful documentation of all kinds is here: http://git-scm.com/documentation -- or try the wiki at http://git.wiki.kernel.org/. Also try typing "!book" "!cs" "!bottomup" "!parable" "!best_practices" or "!vcbe" or "!designers" here in IRC. !book is probably the most helpful. | 02:51 |
|
SethRobertson
| He is using git extensions. A GUI. | 02:51 |
| → hyperair joined | 02:51 |
|
SethRobertson
| We generally support the command line. | 02:51 |
|
| However, if you look at the gitextensions home page, they have video tutorials | 02:52 |
|
Keavon
| is there a Git Extensions IRC to ask in then? | 02:52 |
| ← PrinceAMD- left | 02:52 |
|
Keavon
| okay, I'll try that | 02:52 |
| ← yaymukund left | 02:52 |
|
frogonwheels
| Keavon: explorer. right-click on folder Git Extensions|Clone | 02:52 |
| → michaelmartinez joined | 02:53 |
|
Keavon
| the folder I would use would be a new folder I make that I want to be the local respository files? | 02:53 |
|
frogonwheels
| Keavon: really - it's not that hard. I didn't know and it took me 10s to find out. | 02:53 |
|
| Keavon: no. the parent folder | 02:53 |
|
| Keavon: !sias | 02:53 |
|
| Keavon: !tias | 02:53 |
|
gitinfo
| Keavon: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://sitaramc.github.com/1-basic-usage/tias.html may help with git-specific TIAS. | 02:53 |
| ← ianawilson1 left | 02:54 |
|
frogonwheels
| Keavon: the dialog that comes up is pretty good | 02:54 |
|
Keavon
| I unchecked the contextual menu option though | 02:54 |
|
| I'll try reinabling it | 02:54 |
|
frogonwheels
| Keavon: I'm not sure what the point of using git extensions is then :| | 02:54 |
|
Keavon
| re-enableing* | 02:54 |
|
| I was told by somebody to use it who used Unity, and he left but I still have questions. I just did what he said, Extensions, when he was on | 02:55 |
|
frogonwheels
| Keavon: and really, if you ran the main git extensions program.. there's a Clone repository button. | 02:55 |
|
Keavon
| yes, I know | 02:56 |
| ← michaelmartinez left | 02:56 |
|
Keavon
| I don't know what to do with that though | 02:56 |
|
frogonwheels
| press it? | 02:56 |
| → michaelmartinez joined | 02:56 |
|
Keavon
| lol of course | 02:56 |
|
frogonwheels
| Keavon: just plonk the url into the Repository To Clone button | 02:56 |
|
| *edit box | 02:56 |
| → PrinceAMD- joined | 02:56 |
|
Keavon
| URL? Okay | 02:57 |
|
| That's where I was confused, since it was asking for a file path | 02:57 |
|
frogonwheels
| Keavon: it can be. | 02:57 |
|
Keavon
| so mine would be [email@hidden.address] > | 02:58 |
|
| ? | 02:58 |
| ← pandeiro left | 02:58 |
|
Keavon
| ( > meant to be ? ) | 02:58 |
|
SethRobertson
| If that is what bitbucket told you | 02:59 |
| → burak575_ joined | 02:59 |
|
Keavon
| okay | 02:59 |
|
| just making sure | 02:59 |
|
| So "Destination:" would be a local path to where I want it to go on my hard drive, right? | 02:59 |
|
frogonwheels
| Keavon: that's an rsync style speficiation, and is valid | 02:59 |
|
| Keavon: the parent directory | 03:00 |
|
Keavon
| of what? | 03:00 |
|
| Git Exensions? | 03:00 |
|
frogonwheels
| the directory you want the clone to go into. | 03:00 |
|
Keavon
| ok | 03:00 |
| → jjbohn joined | 03:00 |
|
frogonwheels
| if you want the clone to go into c:\projects\repository-name-here then specify it as c:\projects and 'subdirectory to create' will probably default to repository-name-here anyway | 03:00 |
|
Keavon
| I see | 03:01 |
|
frogonwheels
| Keavon: but really, you can do just as well on the command line. and if you ask in here that's what people know | 03:01 |
| → ipoval joined | 03:01 |
|
frogonwheels
| Keavon: you will still be able to interact with it under git extensions. | 03:01 |
| ← PrinceAMD- left | 03:01 |
|
Keavon
| ok, well I've got this almost done now | 03:02 |
|
frogonwheels
| Keavon: git extensions doesn't add anything special to know that there's a git repo there. | 03:02 |
|
Keavon
| should I check Initialize all submodules? What that mean? | 03:02 |
|
frogonwheels
| Keavon: check it, it won't hurt. it depends on whether your repo has a !submodule | 03:02 |
|
gitinfo
| Keavon: git-submodule is ideal to add subsidiary git repositories to a git superproject when you do not control the subprojects or more specifically wish to fix the subproject at a specific revision even as the subproject changes upstream. See http://book.git-scm.com/5_submodules.html | 03:02 |
| ← ben_alman left | 03:02 |
|
frogonwheels
| Keavon: if you look at man git-clone see the -r option. | 03:02 |
|
gitinfo
| Keavon: the git-clone manpage is available at http://git-scm.com/docs/git-clone.html | 03:02 |
| ← weiyang left | 03:03 |
|
frogonwheels
| Keavon: but as I said, checking it won't hurt. | 03:03 |
|
Keavon
| ok | 03:03 |
| ← eletuchy left | 03:03 |
|
Keavon
| hopefully this works | 03:03 |
| ← macrover left | 03:03 |
|
Keavon
| oh, dang | 03:03 |
|
| it didn't xD | 03:03 |
|
| Permission denied | 03:04 |
| → rurufufuss joined | 03:04 |
| ← Sidnicious left | 03:04 |
| ← jjbohn left | 03:04 |
|
Keavon
| Ok I'll do it by command line | 03:04 |
| → kenneth joined | 03:05 |
|
Keavon
| Would that be Git Bash? | 03:05 |
| ← kenneth left | 03:05 |
| → Yuuhi` joined | 03:05 |
| → PrinceAMD- joined | 03:06 |
| ← Yuuhi left | 03:07 |
| → glennpratt joined | 03:08 |
| → ben_alman joined | 03:08 |
| ← dreiss left | 03:08 |
| ← ipalaus left | 03:10 |
| ← PrinceAMD- left | 03:11 |
| ← simesy_work left | 03:11 |
| → PrinceAMD- joined | 03:13 |
| → simesy_work joined | 03:13 |
| ← ashphy left | 03:13 |
| ← alexukf left | 03:13 |
| ← leilaM left | 03:14 |
| ← duckxx left | 03:14 |
| ← thearthur left | 03:15 |
| ← andref_dias left | 03:16 |
| ← PrinceAMD- left | 03:17 |
| → PrinceAMD- joined | 03:19 |
|
frogonwheels
| Keavon: you'll probably n eed the key in pageant | 03:20 |
|
| Keavon: assuming you're using plink/putty | 03:20 |
| → HyperNerdV2 joined | 03:22 |
| ← bglazer left | 03:26 |
| → bglazer joined | 03:27 |
| ← AaronMT left | 03:27 |
| → enmand joined | 03:27 |
| → x0rs joined | 03:28 |
| ← PrinceAMD- left | 03:28 |
| → hoymkot joined | 03:29 |
| → igotnolegs joined | 03:29 |
|
Keavon
| I'm not | 03:32 |
|
| I'm using... err, I forgot | 03:32 |
| → weiyang joined | 03:32 |
|
Keavon
| not PuTTY | 03:32 |
| ← micah left | 03:32 |
| ← mrtazz left | 03:32 |
|
Keavon
| OpenSSH | 03:32 |
| ← bglazer left | 03:32 |
| ← avpx left | 03:32 |
|
Keavon
| ugh I give up | 03:33 |
|
| this is way too complicated | 03:33 |
| → leilaM joined | 03:33 |
|
frogonwheels
| Keavon: use the git:// url or http:// if it gives one | 03:35 |
|
| Keavon: in order to use the ssh url, you need to have your key set up properly | 03:36 |
|
Keavon
| do I set it up in Extended? | 03:36 |
|
| Extensions* | 03:36 |
| ← Eridius left | 03:37 |
|
frogonwheels
| Keavon: there should be a howto set up your ssh key. it's not really a git thing - it's just a ssh key. you can test it with ssh | 03:37 |
|
| Keavon: did you generate a key for your bitbucket account? | 03:37 |
|
Keavon
| heh, I don't know about SSH, but I'll look it up | 03:38 |
|
| not yet | 03:38 |
|
frogonwheels
| Keavon: ok. well without t hat, you can't use ssh protocol | 03:38 |
|
Keavon
| ok | 03:38 |
|
frogonwheels
| Keavon: bitbucket should give you a git or http: (hopefully a smart one) protocol for read-only acces | 03:39 |
|
Keavon
| it does | 03:39 |
|
| so could anybody use that link to download my source code? | 03:40 |
| ← Internet13 left | 03:40 |
| ← joooooo left | 03:45 |
| → setmeaway joined | 03:45 |
| → Internet13 joined | 03:45 |
| → dreiss joined | 03:47 |
| ← thursday left | 03:47 |
| ← enmand left | 03:49 |
| ← ivan\ left | 03:49 |
| → ivan\ joined | 03:50 |
| ← dvide left | 03:50 |
| → subrosa joined | 03:52 |
| → rhl joined | 03:52 |
|
subrosa
| Hey guys what's the purpose of having a local/origin/live server setup. Can't I just do local/live ? | 03:53 |
|
| offby1 idly wonders what a "local/origin/live server setup" is | 03:53 |
| ← bambams left | 03:54 |
| ← rchavik left | 03:54 |
|
subrosa
| offby1 that would be git on my local machine then a hosted server at hosting company X for the origin and then a different server with company X for the live site | 03:55 |
|
| reboot | 03:55 |
|
| opps sorry | 03:55 |
| → eletuchy joined | 03:56 |
| ← ISF left | 03:56 |
|
offby1
| *shrug& | 03:58 |
| ← etcetera left | 03:59 |
| → dr_win joined | 03:59 |
|
subrosa
| ok different question then | 03:59 |
| → jlebar joined | 03:59 |
|
subrosa
| if I have a site locally do I create a database there to use or do I use the same database on the live server? | 04:00 |
|
jlebar
| For scripting purposes, how do I get the upstream branch of the current branch? | 04:00 |
|
subrosa
| or is the local database files pushed to the database? | 04:00 |
| → bearlulz joined | 04:00 |
| → mobilegamelabs joined | 04:00 |
| ← notVert left | 04:00 |
| → ashphy joined | 04:01 |
| → mdhopkins joined | 04:01 |
| ← eletuchy left | 04:02 |
| ← mischat_ left | 04:03 |
| ← mdhopkins left | 04:03 |
| ← glennpratt left | 04:05 |
| ← marcuy_ left | 04:06 |
|
offby1
| subrosa: it's up to you, but I'd personally prefer to run a database on a machine that was professionally hosted, with a good internet connection. | 04:09 |
|
| And backed up regularly etc. | 04:09 |
| ← cilly left | 04:09 |
|
offby1
| Not sure what you mean by "have a site locally". Anyway, that question isn't pertinent to git, and I'm not a web programmer. | 04:09 |
| → joshteam joined | 04:10 |
| → lnostdal_ joined | 04:10 |
| ← Diego_g left | 04:11 |
| → hwrd|work joined | 04:12 |
| ← bearlulz left | 04:13 |
| → cilly joined | 04:13 |
| ← lindenle left | 04:14 |
| ← guampa left | 04:16 |
| → ISF joined | 04:16 |
| ← ivan\ left | 04:16 |
| ← ology left | 04:17 |
| → n2i joined | 04:17 |
| → beautifulmind joined | 04:18 |
| ← juvenal left | 04:18 |
| → duckxx joined | 04:20 |
| → ivan\ joined | 04:21 |
| ← subrosa left | 04:22 |
| ← uman left | 04:23 |
| → sangi joined | 04:24 |
| ← madewokherd left | 04:25 |
| ← neurodrone left | 04:25 |
| ← JeremyWei left | 04:29 |
| ← sangi left | 04:31 |
| → sangi joined | 04:32 |
| ← nakanara left | 04:33 |
| ← checkers left | 04:34 |
| → justgage joined | 04:34 |
| ← HyperNerdV2 left | 04:39 |
| ← philips left | 04:40 |
| ← wolfcore left | 04:40 |
| ← Keavon left | 04:43 |
| → akiress joined | 04:43 |
| → philips joined | 04:44 |
| → iwoj joined | 04:45 |
| ← joshteam left | 04:45 |
| ← justgage left | 04:45 |
| → osmosis joined | 04:46 |
| → mharris joined | 04:46 |
| ← macabre left | 04:47 |
| → ehsan joined | 04:48 |
| → macabre joined | 04:49 |
| ← bgerber left | 04:51 |
| ← d3vic3 left | 04:51 |
| → PRETTY_FUNCTION joined | 04:51 |
| → wilmoore joined | 04:51 |
| ← x0rs left | 04:52 |
| → d3vic3 joined | 04:53 |
| ← jlebar left | 04:55 |
| → yaymukund joined | 05:00 |
|
MiJyn
| bbl | 05:00 |
| ← Bass10 left | 05:00 |
| → bubbles10101 joined | 05:00 |
| ← _Vi left | 05:01 |
| → _Vi joined | 05:01 |
| ← tansell left | 05:02 |
| → macmartine joined | 05:02 |
| → cedr joined | 05:02 |
| → bgerber joined | 05:03 |
| ← macabre left | 05:04 |
| → h0bbit joined | 05:04 |
| → harshpb joined | 05:05 |
| ← iwoj left | 05:05 |
| ← Karmaon left | 05:06 |
| r0bby_ → robbyoconnor | 05:06 |
| ← duckxx left | 05:07 |
| → nigelb joined | 05:07 |
| ← gavin_huang left | 05:08 |
| ← jason237 left | 05:08 |
| → gavin_huang joined | 05:11 |
| → JeremyWei joined | 05:11 |
| → thiago joined | 05:12 |
| → ColKurtz joined | 05:13 |
| ← kenperkins left | 05:14 |
| → tansell joined | 05:14 |
| → kenperkins joined | 05:15 |
| → brettgoulder joined | 05:17 |
| ← Targen left | 05:17 |
| gitinfo set mode: +v | 05:18 |
|
brettgoulder
| how do you read a git diff header? (e.g @@ -1,5 +1,5 @@ ) | 05:19 |
|
| what's the 5 in it? | 05:19 |
|
thiago
| brettgoulder: it's just like a regular diff | 05:19 |
|
| I assume you know it | 05:19 |
| → Garrick joined | 05:20 |
|
brettgoulder
| nope, i do not | 05:20 |
| → ToBeFree joined | 05:21 |
|
brettgoulder
| i'll figure it out though | 05:21 |
| gitinfo set mode: +v | 05:21 |
|
Garrick
| hi everyone | 05:22 |
|
gitinfo
| Garrick: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 05:22 |
|
Garrick
| Is there a way to move/copy a file from one branch to another while including its commit history? I know git checkout <branch> <file> will do it, but without the files commit history. | 05:24 |
| → PrinceAMD- joined | 05:24 |
| → patrick99e99 joined | 05:25 |
|
DrNick
| files don't have history | 05:27 |
| ← bubbles10101 left | 05:28 |
| ← dhruvasagar left | 05:28 |
| ← _Vi left | 05:29 |
| → _Vi joined | 05:30 |
| ← patrick99e99 left | 05:30 |
| → pranjal710 joined | 05:30 |
| ← osmosis left | 05:31 |
| → mikepack joined | 05:31 |
| ← _Vi left | 05:31 |
| → imrobert joined | 05:32 |
| → _Vi joined | 05:32 |
|
imrobert
| Can I move local repositories around without messing anything up? | 05:32 |
|
| e.g. I have a repo in /home/robert/repo and I want to move it to /home/robert/code/repo | 05:33 |
| → arti_t joined | 05:34 |
| → airborn joined | 05:35 |
| ← pranjal710 left | 05:35 |
| ← bartman`` left | 05:36 |
| → arvind_khadri joined | 05:36 |
| ← arvind_khadri left | 05:36 |
| → arvind_khadri joined | 05:36 |
|
wereHamster
| imrobert: mv /home/robert/repo /home/robert/code/ | 05:36 |
| → angelsl joined | 05:36 |
|
wereHamster
| imrobert: and next time, !tias | 05:36 |
|
gitinfo
| imrobert: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://sitaramc.github.com/1-basic-usage/tias.html may help with git-specific TIAS. | 05:36 |
|
imrobert
| wereHamster: Actually just tried it with cp -r :) | 05:37 |
| → pranjal710 joined | 05:37 |
| ← pranjal710 left | 05:38 |
|
imrobert
| thanks | 05:38 |
|
| wereHamster++ | 05:38 |
| → sq-one joined | 05:38 |
| → tigrang_ joined | 05:39 |
| ← tigrang left | 05:41 |
| ← imrobert left | 05:42 |
| → bartman`` joined | 05:43 |
|
wereHamster
| brettgoulder: google 'unified diff' | 05:45 |
|
brettgoulder
| cool, thanks wereHamster | 05:45 |
| → mishok13 joined | 05:48 |
| → siprbaum joined | 05:48 |
| → rchavik joined | 05:48 |
| ← rchavik left | 05:48 |
| → rchavik joined | 05:48 |
| ← dreiss left | 05:49 |
| ← Chaser_ left | 05:50 |
| → Eridius joined | 05:50 |
| ← bosspetta left | 05:50 |
| ← andrewhl left | 05:51 |
| → bosspetta joined | 05:51 |
| → bicranial joined | 05:51 |
| → jkitchen joined | 05:51 |
| md_5|away → md_5 | 05:51 |
| → naught101 joined | 05:52 |
| ← tigrang_ left | 05:53 |
|
naught101
| I have a file that I have some stub changes to, that will eventually need to be thrown out. I don't want to commit them, but git diff keeps telling em about them. Is there any way of telling git to ignore the changes to the file (considering the original version is already commited)? | 05:53 |
|
| I thought a temporary branch might be good, but I don't really want to have to keep switching branches and rebasing | 05:54 |
| gitinfo set mode: +v | 05:54 |
| → soee joined | 05:55 |
| ← yoklov left | 05:56 |
| ← n2i left | 05:56 |
| → Pupeno_W joined | 05:56 |
| ← sq-one left | 05:57 |
| → Axfy joined | 05:57 |
| ← ToBeFree left | 05:57 |
| → pantsman joined | 05:57 |
| ← pantsman left | 05:57 |
| → pantsman joined | 05:57 |
| → bosspetta_ joined | 05:57 |
| → dreiss joined | 05:57 |
| → flijten joined | 05:59 |
| ← madsy left | 05:59 |
| ← bosspetta left | 06:00 |
| bosspetta_ → bosspetta | 06:00 |
| → marc_kdab joined | 06:00 |
| ← Sky[x] left | 06:05 |
| ← beautifulmind left | 06:05 |
| → afuentes joined | 06:07 |
| → Sitethief joined | 06:07 |
| ← macmartine left | 06:09 |
| ← tonyj left | 06:09 |
| ← mikepack left | 06:10 |
| gitinfo set mode: +v | 06:10 |
|
dpwright
| I'm just taking a look through the git.git log to get a feel for their development structure | 06:12 |
| ← dreiss left | 06:12 |
|
dpwright
| and there's one or two things I'm not entirely clear on | 06:12 |
| ← mishok13 left | 06:12 |
|
dpwright
| as far as I can tell, patches are sent in series to the mailing list and then applied to a feature branch by the maintainer | 06:13 |
| → mikepack joined | 06:13 |
|
dpwright
| these branches seem to be local, but are merged into the "pu" branch which is public | 06:13 |
|
| they're moved into "next" and eventually "master" as they are developed and tested and deemed ready for it | 06:14 |
|
| so far I think I understand | 06:14 |
|
| the thing I'm not entirely sure about is, if a patch series is discussed on the mailing list and it's determined that it should be done a different way, often a new patch series is created | 06:14 |
| ← airborn left | 06:15 |
|
dpwright
| what happens to the original branch? Does junio throw it away, apply the new patch series as a new branch, and then merge that new branch into "pu"? Doesn't that mean "pu" (a public branch) is constantly being rebased? | 06:15 |
| → hoschi joined | 06:16 |
|
dpwright
| similarly, as branches may be moved into "next" in a different order than they were applied to "pu", does this require a rebase? | 06:16 |
| → cbreak-work joined | 06:16 |
| → mischat joined | 06:16 |
| → ThomasLocke joined | 06:19 |
|
wereHamster
| dpwright: man gitworkflow | 06:19 |
|
| dpwright: man gitworkflows | 06:19 |
|
gitinfo
| dpwright: the gitworkflows manpage is available at http://git-scm.com/docs/gitworkflows.html | 06:19 |
|
dpwright
| wereHamster, aha! Thanks, I'll give that a read | 06:19 |
| → beautifulmind joined | 06:19 |
| ← notmypudding left | 06:20 |
|
oo_miguel
| hi | 06:20 |
| ← Tabmow left | 06:20 |
| ← bosspetta left | 06:24 |
| → senny joined | 06:24 |
|
wereHamster
| !hi | 06:25 |
|
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 http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice. | 06:25 |
| ← hwrd|work left | 06:26 |
| ← thiago left | 06:26 |
| ← dcarper left | 06:28 |
| ← yaymukund left | 06:28 |
| → Jackneill joined | 06:28 |
| → Xizor joined | 06:29 |
| ← angelsl left | 06:31 |
| ← oo_miguel left | 06:32 |
| → Sitethief{afk} joined | 06:32 |
| → angelsl joined | 06:32 |
| → oo_miguel joined | 06:32 |
| ← arti_t left | 06:32 |
| ← bgerber left | 06:32 |
| → Rapp joined | 06:33 |
|
Rapp
| hi everybody | 06:34 |
|
gitinfo
| Rapp: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 06:34 |
|
Rapp
| i have a subdirectory in my repository, which i cannot remove with git: git rm -r somedir says "cannot remove somedir, it's a directory" | 06:34 |
| ← michaelmartinez left | 06:34 |
| → ph^ joined | 06:35 |
| ← Sitethief left | 06:35 |
|
Rapp
| but just doing a rmdir somedir doesn't help either, because later git will again fetch it from the remote | 06:35 |
|
| how can i get rid of this directory? | 06:35 |
| → mishok13 joined | 06:36 |
| ← mikepack left | 06:36 |
|
naught101
| Rapp: git doesn't track directories, just file (contents). So you need to delete everything in that directory | 06:36 |
|
sitaram
| git rm -r should work; there's something else wrong with this. Can you try this in a fresh clone of your repo? | 06:36 |
|
naught101
| Rapp: if the directory is empty, git will ignore it | 06:36 |
|
Rapp
| the directory is empty, but it was another git repo, which i did not add as a submodule (but which i want to add as one now) | 06:37 |
|
sitaram
| aah submodules... I suddenly remembered an urgent meeting | 06:38 |
|
Rapp
| fresh clone, did ls -al on that dir -- it's empty | 06:38 |
|
| so i think git half-added the submodule, and is confused now | 06:38 |
| ← mharris left | 06:39 |
|
Rapp
| hm, i think the problem is, that .gitmodules did not get the right entry after i accidentally added somedir | 06:40 |
| → bgerber joined | 06:41 |
| ← Sitethief{afk} left | 06:43 |
| → Sitethief joined | 06:44 |
| ← mobilegamelabs left | 06:44 |
| → JohnBat26 joined | 06:45 |
| → resmo_ joined | 06:45 |
| → kcj joined | 06:47 |
| → toabctl joined | 06:48 |
| → arti_t joined | 06:48 |
| → dc5ala joined | 06:49 |
| ← ipoval left | 06:50 |
| → marthinal joined | 06:51 |
| ← innrwrld left | 06:52 |
| ← Lemon|mbp left | 06:53 |
| ← yizumi left | 06:54 |
| → yizumi joined | 06:54 |
| → dreiss joined | 06:55 |
| ← bicranial left | 06:55 |
| → dsdeiz joined | 06:57 |
| ← tonesfrommars left | 06:58 |
| ← Xizor left | 06:59 |
| ← diegoviola left | 06:59 |
| ← yizumi left | 07:00 |
| ← arvind_khadri left | 07:00 |
| → yizumi joined | 07:00 |
| → caddoo joined | 07:00 |
|
dsdeiz
| hi! i renamed some files. and i think i did it wrong cause when i do 'git status' it says that the files were deleted an i need to add the renamed files. tried to do git mv [delete file] [new file] but god fatal: bad source. any suggestions? or is the output of 'git status' normal? | 07:00 |
| → macrover joined | 07:00 |
| → Innocentus joined | 07:03 |
| ← bgerber left | 07:04 |
| → frnkkpp joined | 07:06 |
| → robotmay joined | 07:06 |
| → Chib joined | 07:07 |
| → barmaglot joined | 07:07 |
|
dpwright
| that output sounds normal | 07:07 |
|
| if you add the new files and delete the old ones, later, when you do blames/logs, git can track the movement | 07:08 |
|
cbreak-work
| dsdeiz: just add the new files | 07:09 |
|
dsdeiz
| os the log of the file name before gonna be recorded on the new one? | 07:09 |
|
| is* | 07:09 |
|
cbreak-work
| and maybe you have to stage the removal too wight git add -u | 07:09 |
|
| dsdeiz: no | 07:09 |
|
dpwright
| also, you'll notice when you do that the output of "git commit" will mark it as a file movement | 07:09 |
|
cbreak-work
| git does not recorde logs on any filename | 07:09 |
| ← toabctl left | 07:10 |
| ← ferdna left | 07:10 |
|
dpwright
| it will actually do this even if you don't rename a file, but if you just move large chunks of code from one file into a new one, which gives you the clue that it's working it out based on the content of the file, not its filename | 07:10 |
| → caseymcg joined | 07:10 |
| → goshawk joined | 07:10 |
| → Lemon|mbp joined | 07:11 |
|
dsdeiz
| ah cool. thx! | 07:11 |
| → purencool joined | 07:11 |
| → tsdh joined | 07:13 |
| → arvind_khadri joined | 07:14 |
| ← arvind_khadri left | 07:14 |
| → arvind_khadri joined | 07:14 |
| → toabctl joined | 07:14 |
|
purencool
| I have been working on a file in my git repo but I have wrecked it has not been added or commited to the repo. How do I get the last changes I made out of the git repo | 07:14 |
|
| I am using the commandline | 07:14 |
| ← goshawk left | 07:15 |
| → bgerber joined | 07:15 |
| → jason237 joined | 07:15 |
|
barmaglot
| <purencool> git reset --hard commit_hash ? | 07:16 |
|
purencool
| what if I want to do it to one file not the rest | 07:16 |
|
cbreak-work
| purencool: just git checkout someoldcommit -- filename | 07:17 |
|
| obviously the file has to be committed in some old version | 07:17 |
|
barmaglot
| <purencool> yes.. --filename.. i don`t right understand you | 07:17 |
|
purencool
| yes and thanks I will give a try thanks | 07:18 |
| ← naught101 left | 07:18 |
| ← kdub3 left | 07:18 |
| ← palm_vue left | 07:20 |
| ← Lgb left | 07:20 |
|
purencool
| that did it thanks | 07:20 |
| ← bgerber left | 07:21 |
| → dhruvasagar joined | 07:21 |
| ← cilly left | 07:21 |
| → palm_vue joined | 07:22 |
| → Lgb joined | 07:22 |
| → thierryp joined | 07:24 |
| ← ISF left | 07:25 |
| ← beneggett left | 07:25 |
| → thiago joined | 07:25 |
| ← robotmay left | 07:27 |
| ← toabctl left | 07:27 |
| → madsy joined | 07:29 |
| ← beautifulmind left | 07:30 |
|
quazimodo
| sitaram: recon gitolite can be extended to handle many servers, each copy taking its config from a central store? | 07:30 |
| ← marc_kdab left | 07:30 |
| → goshawk joined | 07:31 |
| ← dhruvasagar left | 07:31 |
| → dhruvasagar joined | 07:32 |
|
cbreak-work
| gitolite handles many servers | 07:33 |
|
| I have one, and I bet I am not the only one :) | 07:34 |
|
| (besides, you can push the admin repo to as many servers as you want) | 07:34 |
| → nhooey|mini__ joined | 07:35 |
| ← yizumi left | 07:36 |
| → bgerber joined | 07:36 |
| → yizumi joined | 07:37 |
| ← frnkkpp left | 07:37 |
| → hafos joined | 07:38 |
| ← macrover left | 07:38 |
| ← nhooey|mini_ left | 07:38 |
|
hafos
| Since my last commit I made some changes that I actually wanted to make in a new branch... what should I do to fix this? | 07:38 |
|
cbreak-work
| did you commit? | 07:38 |
|
hafos
| not yet | 07:38 |
|
cbreak-work
| then just switch to an other branch and commit there | 07:39 |
|
hafos
| ok thanks | 07:39 |
|
cbreak-work
| committing is what assigns state to a branch | 07:39 |
|
| if you haven't committed, then your stuff is not on any branch | 07:39 |
|
hafos
| right, I had a hunch that would be the case :) | 07:39 |
|
| just wanted to make sure I wouldnt lose the changes | 07:39 |
| → tylerwhitney joined | 07:40 |
|
tylerwhitney
| I'm a subversion guy, new to git, but going to use it for a few projects... if I already have a directory on a server that I want to make into a repository can I use the "git init" command on a full directory? | 07:41 |
| ← igotnolegs left | 07:42 |
| ← thierryp left | 07:43 |
| → klj613 joined | 07:44 |
| ← Lemon|mbp left | 07:44 |
| ← brettgoulder left | 07:44 |
|
thiago
| tylerwhitney: yes | 07:44 |
| → yaymukund joined | 07:45 |
| ← pantsman left | 07:45 |
| → needsch joined | 07:45 |
| ← simesy_work left | 07:46 |
|
tylerwhitney
| thiago: thank you, generally I think I've done "git init --bare" to create a new repo while playing around, but from what i'm reading of the docs its as simple as doing "git init" when I'm in the directory of existing files, right? | 07:46 |
| ← asakura1 left | 07:46 |
|
tylerwhitney
| with no other flags I mean | 07:46 |
|
sitaram
| quazimodo: I did not understand the question. Each gitolite instance can only control stuff on its own server. Unless you're talking about mirroring, which of course is supported | 07:46 |
| ← arvind_khadri left | 07:47 |
| → toabctl joined | 07:48 |
| ← dhruvasagar left | 07:48 |
| ← teukka left | 07:49 |
| ← toabctl left | 07:49 |
| → dhruvasagar joined | 07:49 |
| → thierryp joined | 07:51 |
| ← _huoxito left | 07:54 |
| → kdub3 joined | 07:54 |
| ← MissionCritical left | 07:54 |
| → arietis joined | 07:54 |
| ← spyro left | 07:55 |
| → spyro joined | 07:56 |
| ← Fudge left | 07:56 |
| ← nevyn left | 07:56 |
| ← maletor left | 07:56 |
| ← scientes left | 07:57 |
| → asakura1 joined | 07:59 |
| → francisfish joined | 07:59 |
| ← w41_ left | 07:59 |
| → maletor joined | 08:00 |
| → simesy_work joined | 08:01 |
| ← thiago left | 08:02 |
| → LimeBlast joined | 08:03 |
| → BarryCrayon joined | 08:04 |
| → bosspetta joined | 08:04 |
| ← goshawk left | 08:07 |
| → Fudge joined | 08:07 |
| ← dhruvasagar left | 08:09 |
| → dhruvasagar joined | 08:09 |
| ← wagle left | 08:10 |
|
afuentes
| I have a branch in a server so i can access from 2 computers that i would like to rebase with master from time to time... thing is... i am not supposed to rebase branches already in server... And i have to commit this branch in order to be able to access it from another computer :S | 08:14 |
| → monsieurlu joined | 08:14 |
|
afuentes
| how is the workflow supposed to go? | 08:14 |
| → dzonder joined | 08:15 |
|
FauxFaux
| You're not supposed to rebase branches that other people might care about. So long as you make sure the branch is PRIVATE-AFUENTES-master then you should be fine. | 08:15 |
|
afuentes
| yeah, well, im the only person using the repo... thing is i need to access from 2 computers, so i have to push it to the server | 08:16 |
|
FauxFaux
| Yeah, that's fine. | 08:17 |
|
afuentes
| but then i have to rebase the branch in the server :S | 08:17 |
|
| from time to time | 08:17 |
|
| how to do that? checkout branch, rebase it and and push it again overwritting branch in repo? | 08:17 |
|
| is that how the flow is supposed to go? | 08:17 |
|
jast
| sitaram: there's a version history on the website, and feel free to change it and stuff | 08:18 |
|
| fwiw the same person that added it removed it, too (or, rather, reworded it) | 08:19 |
| ← Gitzilla left | 08:19 |
| → lukosanthropos_ joined | 08:20 |
| ← lukosanthropos_ left | 08:20 |
| ← lukosanthropos left | 08:20 |
| → rtuin joined | 08:20 |
| → lukosanthropos joined | 08:20 |
|
sitaram
| jast: I only wanted to pull his leg/tease him about it, whoever it was. Nothing serious :) | 08:20 |
| → Desproges joined | 08:20 |
| ← dsdeiz left | 08:20 |
| → alexukf joined | 08:21 |
| → Gitzilla joined | 08:21 |
| → ziro` joined | 08:21 |
| ← monsieurlu left | 08:22 |
| → federic joined | 08:22 |
| ← alexukf left | 08:25 |
| ← Gitzilla left | 08:26 |
| ← mischat left | 08:26 |
| ← purencool left | 08:27 |
| → marcogmonteiro joined | 08:27 |
| → jkremser joined | 08:27 |
| → Gitzilla joined | 08:28 |
| → wagle joined | 08:28 |
| → dcarper joined | 08:28 |
| → OOPMan joined | 08:28 |
| ← MiJyn left | 08:28 |
|
jast
| sitaram: feel free to use the history for nothing serious, then. :) | 08:29 |
| → lnostdal__ joined | 08:29 |
| → nevyn joined | 08:30 |
| → MiJyn joined | 08:30 |
| → blacktulip joined | 08:30 |
| ← maletor left | 08:31 |
| → roofi joined | 08:32 |
| → dr_lepper joined | 08:32 |
| ← lnostdal_ left | 08:32 |
| ← roofi left | 08:32 |
| → whitman joined | 08:32 |
| ← dcarper left | 08:33 |
|
whitman
| I have a file which has been deleted in my develop branch but needs a hot fix in master. When I merge develop into master will there be a merge conflict even though the file is just being deleted? | 08:34 |
| → TheHaven joined | 08:34 |
| → und3f joined | 08:35 |
| → sebrock joined | 08:35 |
| → shruggar joined | 08:36 |
| ← Gitzilla left | 08:36 |
| ← GeorgeJ left | 08:36 |
| → Tabmow joined | 08:37 |
| → Gitzilla joined | 08:38 |
| → GeorgeJ joined | 08:38 |
| ← quazimodo left | 08:38 |
| → thiago joined | 08:40 |
| → MissionCritical joined | 08:40 |
| ← needsch left | 08:43 |
| → tjadc joined | 08:44 |
| ← thiago left | 08:46 |
|
toed
| when i do git remote -v i see that one source is there twice, for fetch and for push. but i'd like to remove the push one -- make it fetch only. is this possible? | 08:47 |
| ← tjadc left | 08:47 |
| → jatt joined | 08:49 |
| → Sitethief{afk} joined | 08:51 |
| ← yizumi left | 08:51 |
| → yizumi joined | 08:52 |
| → PigeonFriend joined | 08:52 |
| ← Sitethief left | 08:54 |
| → robotmay joined | 08:55 |
|
cbreak-work
| toed: what for? | 08:57 |
|
| toed: man git-config | 08:58 |
|
gitinfo
| toed: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 08:58 |
|
cbreak-work
| look for remote.<...>.url and pushurl | 08:58 |
|
toed
| i want to make sure i don't accidentally push into the wrong thing | 08:59 |
|
| thanks | 09:00 |
| ← JoshuaA left | 09:00 |
| → Pentla joined | 09:00 |
| → arvind_khadri joined | 09:03 |
|
RichiH
| is there any way to suplement GIT_DIR with a path when using submodules? | 09:04 |
|
| erm, GIT_WORK_TREE, i mean | 09:04 |
| → Element9 joined | 09:05 |
| ← hoschi left | 09:05 |
| → mischat joined | 09:06 |
| → timini joined | 09:08 |
| → berserkr joined | 09:08 |
| → Nedvajz joined | 09:09 |
| → stamina joined | 09:09 |
|
timini
| Hi I just switched to an ond branch hopeing to find some file there that wern't on the master branch and got this http://dpaste.com/761930/ The files I need are listed with the D at the beginning of the line, what does that mean? | 09:10 |
| ← tvw left | 09:10 |
| → jceb joined | 09:11 |
|
jast
| RichiH: meaning? | 09:12 |
|
| timini: that refers to uncommitted changes you've made that have been 'floated over' into the branch | 09:13 |
|
| remember that uncomitted changes don't belong to any specific branch | 09:13 |
| → stodan joined | 09:13 |
| ← spyro left | 09:13 |
|
timini
| so if i commit then checkout another branch things should change | 09:13 |
| → ipalaus_ joined | 09:14 |
| ← yaymukund left | 09:15 |
| ← harshpb left | 09:16 |
|
jast
| timini: yes. be sure to be on the right branch when committing, though. :) | 09:16 |
| → uraimo joined | 09:16 |
| → spyro joined | 09:16 |
| ← spyro left | 09:16 |
| → spyro joined | 09:16 |
| ← harish left | 09:16 |
| → harshpb joined | 09:17 |
|
timini
| so you can overrite the any branch with your current state? | 09:17 |
| → drizzd_ joined | 09:17 |
| → cissu joined | 09:18 |
|
RichiH
| jast: for reference: https://github.com/RichiH/vcsh/issues/27#issuecomment-5354870 | 09:20 |
|
timini
| Are the uncommited changes called HEAD? | 09:20 |
|
RichiH
| i am trying to figure out how to best solve this | 09:20 |
| ← drizzd left | 09:20 |
| ← Sitethief{afk} left | 09:21 |
|
RichiH
| that GIT_WORK_TREE overrides the full path in git submodule seems less than ideal (with limited understanding; i never used submodules) | 09:21 |
| → Sitethief joined | 09:21 |
| → cortana2 joined | 09:22 |
| ← arti_t left | 09:23 |
| → shreya joined | 09:24 |
| → hoschi joined | 09:26 |
| ← harshpb left | 09:26 |
| → harshpb joined | 09:26 |
| → barmaglot_ joined | 09:28 |
| → yaymukund joined | 09:29 |
| ← ipalaus_ left | 09:29 |
| → thiago joined | 09:30 |
| → andref_dias joined | 09:31 |
| ← _Vi left | 09:31 |
| → _Vi joined | 09:32 |
| ← OOPMan left | 09:32 |
| ← dhruvasagar left | 09:32 |
| → irqq joined | 09:32 |
| → dhruvasagar joined | 09:33 |
| → vano joined | 09:33 |
| → arti_t joined | 09:34 |
| ← spyro left | 09:34 |
| → Lord_DeathMatch_ joined | 09:34 |
| ← harshpb left | 09:35 |
| → tcurdt joined | 09:35 |
| ← tcurdt left | 09:35 |
| → harshpb joined | 09:35 |
| → spyro joined | 09:37 |
| project2501b → project2501a | 09:38 |
|
boob00
| hi | 09:39 |
| → srinivas07 joined | 09:40 |
|
boob00
| git init <dir> I can put repo above it, but git init --bare, I cant, right? | 09:40 |
| → adhawkins joined | 09:41 |
|
boob00
| git init --bare, is the upper level? | 09:41 |
|
vano
| I have fetched in from a wrong repository (after adding the wrong repo as remote) and have merged them. Thankfully the wrong repo is older than the new project, so I have the First commit of my project there and the rest of the stuff after it still intact. How can I fix this (remove all the old stuff previous to the first commit that has been included by mistake?) Thanks | 09:41 |
| → RaceCondition joined | 09:42 |
| ← dhruvasagar left | 09:44 |
| ← ehsan left | 09:44 |
| ← weiyang left | 09:45 |
| → dhruvasagar joined | 09:45 |
| ← shreya left | 09:46 |
| → mklappstuhl joined | 09:47 |
| ← vano left | 09:47 |
| → snearch joined | 09:47 |
| → beneggett joined | 09:50 |
| ← jceb left | 09:53 |
| ← jackh left | 09:54 |
| → pureluck_ joined | 09:54 |
|
jast
| timini: !HEAD | 09:57 |
| → pulse00 joined | 09:57 |
| ← Goplat left | 09:57 |
|
jast
| oh, come on, bot | 09:57 |
| ← dr_win left | 09:57 |
|
pulse00
| hi all. can anyone recommend a self-hosted github alternative? | 09:57 |
|
gitinfo
| timini: HEAD is a 'pointer' in the repository that refers to whatever is currently checked out (or the default branch in bare repositories). It's not specific to any branch. | 09:57 |
|
jast
| there we go | 09:57 |
| → dr_win joined | 09:57 |
| ← pureluck_ left | 09:58 |
| → pureluck joined | 09:58 |
|
timini
| Thanks | 09:58 |
| ← dhruvasagar left | 09:58 |
| → dhruvasagar joined | 09:58 |
| → keex joined | 09:59 |
| ← mklappstuhl left | 10:00 |
|
dpwright
| pulse00, gitorious seems to be the done thing there | 10:00 |
|
| http://gitorious.org/ | 10:00 |
|
| I have not tried it. It looks pretty good but I hear the setup is hard | 10:00 |
|
pulse00
| dpwright: thanks. that's one of the 2 we're evaluting atm, the other one is http://gitlabhq.com/ | 10:00 |
| ← Sitethief left | 10:00 |
|
pulse00
| dpwright: yeah, that setup is what our admins are struggling with currently ;) | 10:01 |
| ← sebrock left | 10:01 |
| → ipalaus_ joined | 10:02 |
| ← irqq left | 10:02 |
| → raatiniemi joined | 10:02 |
| → irqq joined | 10:03 |
| → mobilegamelabs joined | 10:03 |
|
dpwright
| gitlab looks interesting -- very much github-inspired | 10:03 |
|
| how is the setup for that? We are currently accessing repos on each others' computers directly using git-daemon, but it has its issues and the notorious gitorious setup (has a ring to it, that) is the only thing putting us off giving it a try | 10:04 |
| → gusnan joined | 10:04 |
| ← cissu left | 10:05 |
| ← mobilegamelabs left | 10:05 |
| → jceb joined | 10:06 |
| ← chaowang left | 10:07 |
| ← caseymcg left | 10:07 |
|
bremner
| !gitlab | 10:08 |
|
gitinfo
| gitlab is a git hosting package(similar to GitHub) built atop !gitolite(though it does not use the fancy ACL magic): http://www.gitlabhq.com/ | 10:08 |
| ← dhruvasagar left | 10:09 |
| → mobilegamelabs joined | 10:09 |
|
rchavik
| dpwright, i had success using the vm they provided. | 10:09 |
| → dhruvasagar joined | 10:09 |
| → udante joined | 10:10 |
|
rchavik
| some issues during install process, but i managed to get it working after updating to latest stable | 10:10 |
| → beautifulmind joined | 10:11 |
|
jast
| dpwright: if all you need is repo access/management, gitolite is pretty easy to install | 10:12 |
|
| and has little overhead | 10:12 |
| → marhaban joined | 10:13 |
| ← ipalaus_ left | 10:14 |
| → ipalaus_ joined | 10:14 |
|
dpwright
| jast, yeah, we're a small team, we don't need much, but some people like a bit of a visual interface and are familiar with github, so gitlab looked like a possibility | 10:14 |
| ipalaus_ → ipalaus | 10:14 |
|
jast
| right | 10:14 |
|
dpwright
| anyway, thanks for the advice! time now to head to the pub | 10:14 |
| ← JeremyWei left | 10:15 |
| ← gavin_huang left | 10:15 |
| ← strobert left | 10:15 |
| → jn_ joined | 10:16 |
| Lord_DeathMatch_ → Lord_DeathMatch | 10:17 |
| ← jkremser left | 10:18 |
| ← bgerber left | 10:19 |
| ← ph^ left | 10:20 |
| → bgerber joined | 10:20 |
| → ph^ joined | 10:20 |
|
boob00
| any idea how I can put GIT build in CruiseControl.NET "Last build label" ? | 10:21 |
| ← mischat left | 10:23 |
| ← dhruvasagar left | 10:23 |
|
jast
| !GIT ;) | 10:24 |
|
gitinfo
| Git is not an acronym. Writing it in all caps is heresy and will be punished by Subversion or SCCS for more grievous offences. It's "git" or "Git". Thank you for your help in making the world a better place. | 10:24 |
| ← keex left | 10:24 |
| → dhruvasagar joined | 10:24 |
|
jast
| anyway, you can get the most recent commit ID on the current branch using this: git rev-parse HEAD | 10:24 |
|
| maybe that helps | 10:24 |
| → harish joined | 10:24 |
| → n0xie joined | 10:25 |
| ← ph^ left | 10:25 |
| gitinfo set mode: +v | 10:26 |
|
n0xie
| question: is there a simple way to merge part of a branch. I have a branch which i want to merge up until 2 commits ago. (so everything except the last 2) | 10:26 |
| → RaceCondishun joined | 10:27 |
| ← thiago left | 10:28 |
| → dcarper joined | 10:29 |
| ← RaceCondition left | 10:30 |
| RaceCondishun → RaceCondition | 10:30 |
| ← noisebleed left | 10:32 |
| ← dr_win left | 10:33 |
| ← udante left | 10:33 |
| ← dcarper left | 10:33 |
| → udante_ joined | 10:33 |
| → udante joined | 10:34 |
| ← udante left | 10:35 |
| → mischat joined | 10:35 |
| → tjadc joined | 10:36 |
| ← caddoo left | 10:37 |
| ← udante_ left | 10:37 |
|
adhawkins
| +n0xie: I think you can merge against a specific commit can't you? | 10:38 |
| md_5 → md_5|away | 10:38 |
|
adhawkins
| After all, a branch is just a pointer to the commit at the head of the branch. | 10:38 |
|
n0xie
| you can? | 10:39 |
|
| you can! | 10:39 |
| → caddoo joined | 10:39 |
|
n0xie
| you learn something new every day | 10:39 |
|
| thanks adhawkins | 10:39 |
|
adhawkins
| np | 10:39 |
| → RaceCondishun joined | 10:39 |
| ← RaceCondition left | 10:40 |
| RaceCondishun → RaceCondition | 10:40 |
| → ph^ joined | 10:43 |
| ← jn_ left | 10:46 |
|
Jackneill
| can you help me? i have a repo with a branch 'master'. another person has the same repo with some + commits and i pulled it to 'sth' | 10:46 |
|
| but it says CONFLICT errors | 10:46 |
|
FauxFaux
| And? | 10:47 |
|
Jackneill
| i want to merge my old repo to my friend's new commits | 10:47 |
|
FauxFaux
| Sounds like yuo tried to do that, and have conflicts. You have to resolve them by hand. | 10:47 |
|
Jackneill
| how can i do it? just because now i cant checkout master branch | 10:47 |
|
FauxFaux
| Read what "git status" says. | 10:48 |
|
Jackneill
| and then git add . and git commit -am ".."? | 10:48 |
|
| after i can merge? | 10:48 |
|
FauxFaux
| You're already trying to do a merge. The above will commit the merge conflict markers, which exist /because you havea CONFLICT/. | 10:49 |
|
Jackneill
| then? | 10:49 |
|
FauxFaux
| 21/11:47:49 < FauxFaux> Sounds like yuo tried to do that, and have conflicts. You have to resolve them by hand. | 10:50 |
| ← gchristensen left | 10:51 |
| ← dreiss left | 10:54 |
| ← piotr left | 10:55 |
| ← wolog left | 10:56 |
|
heoa
| Is there some fast way to process conflicts after push? | 10:58 |
|
| Suppose I clear the screen, how can I find the conflicts now? | 10:58 |
| ← pureluck left | 10:59 |
|
cbreak-work
| heoa: man git-diff | 10:59 |
|
gitinfo
| heoa: the git-diff manpage is available at http://git-scm.com/docs/git-diff.html | 10:59 |
|
cbreak-work
| heoa: also look at git status and the files themselves | 11:00 |
|
| they should contain conflict markers | 11:00 |
| → piotr joined | 11:00 |
| → wolog joined | 11:01 |
| ← arti_t left | 11:01 |
| → w09x_ joined | 11:01 |
| ← dhruvasagar left | 11:01 |
| → neurodrone joined | 11:02 |
| ← neurodrone left | 11:02 |
| → neurodrone joined | 11:02 |
| → SkAzZ joined | 11:02 |
| → dhruvasagar joined | 11:02 |
| ← jatt left | 11:02 |
| → kpreid joined | 11:03 |
| → jkremser joined | 11:03 |
| → arti_t joined | 11:04 |
| ← w09x left | 11:04 |
| ← raatiniemi left | 11:04 |
| ← beneggett left | 11:05 |
| ← zdk left | 11:05 |
| → AdrienBrault joined | 11:06 |
| ← blacktulip left | 11:08 |
| → enmand joined | 11:08 |
| ← toed left | 11:09 |
| → mischat_ joined | 11:09 |
| ← harish left | 11:10 |
| ← mischat left | 11:11 |
| mischat_ → mischat | 11:11 |
| → raatiniemi joined | 11:12 |
| → pureluck joined | 11:12 |
| ← arti_t left | 11:14 |
| → mklappstuhl joined | 11:18 |
| ← dhruvasagar left | 11:18 |
| → dhruvasagar joined | 11:19 |
| → jimmy1980 joined | 11:21 |
| → w09x joined | 11:21 |
| → sc joined | 11:21 |
| → pfFredd joined | 11:22 |
| ← w09x_ left | 11:22 |
| ← neurodrone left | 11:24 |
| → zinjacoder joined | 11:27 |
| ← dhruvasagar left | 11:28 |
| → ToBeFree joined | 11:28 |
| → dhruvasagar joined | 11:29 |
| → harish joined | 11:30 |
| → matessim joined | 11:31 |
| → chrisgeorge joined | 11:31 |
| ← PrinceAMD- left | 11:32 |
| ← rbarraud left | 11:33 |
| → fluxdude joined | 11:33 |
| ← sc left | 11:34 |
| ← mischat left | 11:34 |
| ← ph^ left | 11:34 |
|
fluxdude
| I'm getting more in to Git, can someone explain to me how storing files as blobs is a good idea, doesn't this mean that when making minor changes to txt files such as source code it has to store the whole thing again instead of just a small delta? Isn't this very space inefficient? | 11:34 |
| → mischat joined | 11:34 |
| → dabd joined | 11:35 |
| ← Cerise left | 11:35 |
| → ph^ joined | 11:35 |
| → Cerise joined | 11:35 |
|
cmn
| it's a tradeoff | 11:37 |
| ← Innocentus left | 11:37 |
|
cmn
| the loose objects mean faster access time | 11:37 |
|
| and after a while, they'll be compressed in a packfile | 11:37 |
|
fluxdude
| so it will take up a lot more space? This isn't such good news for my SSD laptop with 6GB left...! | 11:38 |
|
sitaram
| fluxdude: http://keithp.com/blogs/Repository_Formats_Matter/ and search for the string "2.7" | 11:38 |
|
cmn
| huh? | 11:38 |
|
sitaram
| huh indeed | 11:39 |
|
cmn
| how is "they'll be compressed" -> "take up a lot more space"? | 11:39 |
| ← ph^ left | 11:39 |
|
sitaram
| cmn: he focused on the "after a while", which means right now they're uncompressed | 11:39 |
|
cmn
| ok, but a lot more space is then related to what? | 11:40 |
| ← iamjarvo left | 11:40 |
|
cmn
| he already said it'd take up the size of the file several times over | 11:40 |
|
| gc won't increase the filesystem size | 11:40 |
| ← yizumi left | 11:41 |
| → jatt joined | 11:43 |
| ← dhruvasagar left | 11:43 |
| → BobMarley joined | 11:44 |
| → dhruvasagar joined | 11:44 |
|
BobMarley
| hi | 11:44 |
|
| how do i remove all the tild files from the github? | 11:44 |
|
cmn
| tild files? | 11:45 |
|
| is this github-specific? | 11:45 |
|
fluxdude
| sitaram: thanks for the link reading it now | 11:45 |
|
| not sure how the size shrinks but reading the whole page | 11:45 |
| → erasmospunk joined | 11:46 |
| → jn_ joined | 11:46 |
| → hodgy joined | 11:46 |
|
BobMarley
| cmn, https://github.com/GreatMaster/edk2/tree/master/UefiCpuPkg/CpuDxe , all files that end with ~ | 11:47 |
|
cmn
| same way you compress anything else, you identify common content and reference that instead of having it in the same object | 11:47 |
|
| BobMarley: you delete them with git rm <whatever>~ just like any other file | 11:47 |
|
| or use a glob, *~ | 11:47 |
|
wereHamster
| BobMarley: git rm '*~' && git commit | 11:47 |
|
cmn
| it's just another file; | 11:47 |
|
erasmospunk
| does anybody knows how to change the type of an object? I have an error that the commit "is a tag, not a commit" | 11:48 |
| ← jceb left | 11:48 |
|
wereHamster
| erasmospunk: why. why change? | 11:48 |
|
BobMarley
| and how do i remove an entire folder? | 11:48 |
|
wereHamster
| BobMarley: git rm folder/ | 11:48 |
|
FauxFaux
| erasmospunk: From what command? Most should automatically resolve. If not, append "^{}" or whatever it is. | 11:48 |
| → tvw joined | 11:48 |
|
wereHamster
| BobMarley: really, is it that not obvious? | 11:48 |
|
BobMarley
| wereHamster, i am begining to use the git, i know that i have really very easy qestions, but that is the reallity | 11:49 |
|
erasmospunk
| The repo corrupted, I get this error with git fsck error: Object 34c22466e6db485638f457d2337de577c0c8488c is a tag, not a commit and this error in commit 527abd718d58471b2ea3ac8b4046c7a5df549c29: parent objects missing | 11:49 |
| → blacktulip joined | 11:49 |
|
wereHamster
| BobMarley: http://git-scm.com/documentation | 11:49 |
|
erasmospunk
| the 527abd718d has the parent 34c22466e6db but it is a tag | 11:50 |
| ← fisted left | 11:50 |
|
wereHamster
| erasmospunk: restore the repo from backup | 11:50 |
|
cmn
| that output makes no sense | 11:50 |
| ← BobMarley left | 11:50 |
| → ph^ joined | 11:51 |
|
cmn
| so you've either cracked SHA-1 or been playing around with commit-tree | 11:51 |
|
erasmospunk
| wereHamster this is the last option | 11:51 |
| ← matessim left | 11:51 |
|
wereHamster
| erasmospunk: your only option, I'm afraid | 11:51 |
| → fisted joined | 11:52 |
|
erasmospunk
| the only backup is the distributed stuff we have | 11:52 |
|
cmn
| huh? | 11:52 |
| → neurodrone joined | 11:52 |
| ← neurodrone left | 11:52 |
| → neurodrone joined | 11:52 |
| → rearth_ joined | 11:53 |
|
cmn
| something created horribly a horribly broken commit, you need to restore | 11:53 |
| ← RaceCondition left | 11:53 |
|
erasmospunk
| I mean we have a central repo and the repos in our pcs | 11:53 |
|
cmn
| so you mean that you have no backups | 11:53 |
|
erasmospunk
| mine is not corrupted | 11:53 |
| → matessim joined | 11:54 |
|
cmn
| good for you | 11:54 |
|
erasmospunk
| not of the central repo | 11:54 |
|
cmn
| that's still not a backup | 11:54 |
|
erasmospunk
| you have a point | 11:54 |
| ← enmand left | 11:54 |
| → Vert joined | 11:55 |
| ← bartman`` left | 11:56 |
| ← hodgy left | 11:56 |
| ← fluxdude left | 11:57 |
| ← p3rror left | 11:58 |
| ← piotr left | 11:58 |
| → enmand joined | 11:59 |
| ← erasmospunk left | 11:59 |
| → piotr joined | 11:59 |
| → erasmospunk joined | 11:59 |
| ← piotr left | 12:00 |
| ← w09x left | 12:00 |
| → Stormbytes joined | 12:01 |
| → i42n joined | 12:01 |
| → JeremyWei joined | 12:02 |
| → Innocentus joined | 12:02 |
| → bartman`` joined | 12:03 |
| ← dhruvasagar left | 12:03 |
| → dhruvasagar joined | 12:04 |
| → piotr joined | 12:04 |
| ← bulletmark left | 12:04 |
| ← kcj left | 12:05 |
| → dvide joined | 12:05 |
| → marlun joined | 12:05 |
| → erichynds joined | 12:06 |
| → thiago joined | 12:07 |
| ← pfFredd left | 12:10 |
| → p3rror joined | 12:11 |
| → marc_kdab joined | 12:11 |
| ← beautifulmind left | 12:11 |
| ← madsy left | 12:12 |
| ← JoeCoolDesk left | 12:12 |
| ← dvide left | 12:12 |
| → dvide joined | 12:15 |
| ← Fudge left | 12:15 |
| ← rtuin left | 12:15 |
| ← berserkr left | 12:15 |
| → jajmon joined | 12:16 |
|
jajmon
| any idea why my latest commit does not show up in gitk? (tried restarting gitk) | 12:16 |
|
| it shows in git log though | 12:16 |
| ← dhruvasagar left | 12:16 |
|
FauxFaux
| Running gitk with arguments? | 12:16 |
| → Stormbytes2 joined | 12:17 |
|
jajmon
| just & | 12:17 |
| → dhruvasagar joined | 12:17 |
| → Fudge joined | 12:17 |
|
| FauxFaux shrugs. | 12:17 |
|
jajmon
| ok actually i had --all as well | 12:18 |
|
| using an alias so forgot | 12:18 |
| → plasticle joined | 12:18 |
| ← thiago left | 12:18 |
|
jajmon
| also the commit does not get pushed when i push | 12:18 |
|
| O_O | 12:19 |
| → glennpratt joined | 12:19 |
|
jajmon
| hmm | 12:20 |
|
| if i stash my changes it appears | 12:20 |
|
FauxFaux
| I suspect that you're crazy. | 12:20 |
| → ianawilson joined | 12:20 |
|
jajmon
| ill show some screens | 12:20 |
| → thiago joined | 12:20 |
| → Tinti joined | 12:21 |
| ← Stormbytes2 left | 12:23 |
| → cannonball joined | 12:24 |
| → joshteam joined | 12:24 |
| → baazigar joined | 12:25 |
|
jajmon
| http://83.248.110.56/git-missing-commit-when-popped.png | 12:27 |
| → RaceCondition joined | 12:27 |
|
baazigar
| Hello, I am on errorbranch, and i want to commit the local changes to main branch , to that I have to change the branch to main branch by <git checkout main> but i cant because there are local uncommited changes. Any help? | 12:28 |
|
jajmon
| so i guess the commit is stashed somehow? | 12:28 |
|
baazigar
| jajamon : asking me ? | 12:28 |
|
jajmon
| no | 12:29 |
|
baazigar
| k | 12:29 |
|
jajmon
| FauxFaux, am i crazy? | 12:29 |
|
FauxFaux
| jajmon: That text doesn't look like bold, which implies you're not actually on the master branch, and are just confused by the --all output. | 12:29 |
| ← yaymukund left | 12:29 |
|
FauxFaux
| Or your shit operating system doesn't do bold. Which, y'know, is possible. | 12:29 |
| → d3c joined | 12:29 |
| ← Nedvajz left | 12:29 |
| → iamjarvo joined | 12:29 |
| ← dhruvasagar left | 12:30 |
| ← matessim left | 12:30 |
| → d0k joined | 12:31 |
| → beautifulmind joined | 12:31 |
| ← beautifulmind left | 12:32 |
|
jajmon
| FauxFaux, it does a ywllow dot | 12:32 |
| → sebrock joined | 12:32 |
| → w0m joined | 12:33 |
| → jcromartie joined | 12:34 |
| → TheJH joined | 12:34 |
| → matessim joined | 12:35 |
| ← matessim left | 12:35 |
| → beautifulmind joined | 12:36 |
| → Mowsh joined | 12:36 |
|
jajmon
| ok so i now my problem. i checked out the latest commit by the hash and not with "master" | 12:36 |
|
cbreak-work
| detached HEAD | 12:37 |
| ← thiago left | 12:37 |
| → tommyvyo joined | 12:37 |
|
FauxFaux
| So, not actually on the master branch. | 12:37 |
| ← glennpratt left | 12:37 |
| → RaceCondishun joined | 12:38 |
| ← blacktulip left | 12:38 |
| ← hyperair left | 12:38 |
| ← RaceCondition left | 12:39 |
| RaceCondishun → RaceCondition | 12:39 |
| → resmo__ joined | 12:39 |
| → guampa joined | 12:40 |
| ← sangi left | 12:42 |
| → hyperair joined | 12:42 |
| ← resmo left | 12:43 |
| → Bass10 joined | 12:45 |
| ← jatt left | 12:45 |
| → glennpratt joined | 12:45 |
| ← p3rror left | 12:46 |
|
baazigar
| Hello, I am on errorbranch, and i want to commit the local changes to main branch , to that I have to change the branch to main branch by <git checkout main> but i cant because there are local uncommited changes. | 12:46 |
|
| Please help | 12:46 |
|
cbreak-work
| baazigar: man git-stash | 12:46 |
|
gitinfo
| baazigar: the git-stash manpage is available at http://git-scm.com/docs/git-stash.html | 12:46 |
|
cbreak-work
| you'll have to resolve conflicts on stash pop with some likelyhood | 12:46 |
|
baazigar
| ok i will try that | 12:47 |
| ← Fandekasp left | 12:47 |
| ← archdori left | 12:47 |
| → rtuin joined | 12:48 |
| ← jMCg left | 12:48 |
|
baazigar
| cbreak-work : that helped, thanks | 12:50 |
| → jatt joined | 12:52 |
| → mastro__ joined | 12:53 |
| ← mastro left | 12:54 |
| ← jatt left | 12:56 |
| → achadwick joined | 12:56 |
| → mastro joined | 12:57 |
| ← plasticle left | 12:58 |
| ← piotr left | 12:59 |
| → piotr joined | 12:59 |
| ← harshpb left | 12:59 |
| → obiwahn joined | 13:00 |
| ← mklappstuhl left | 13:00 |
| ← PRETTY_FUNCTION left | 13:00 |
|
obiwahn
| i wirte a small install script that does for normal users a git fetch && reset --hard | 13:00 |
| ← i42n left | 13:01 |
|
obiwahn
| but should have the option to pull as well | 13:01 |
| → thiago joined | 13:01 |
|
cmn
| unattended merges are a bad idea | 13:01 |
| ← jimmy1980 left | 13:01 |
| → p3rror joined | 13:01 |
|
obiwahn
| git pull -no-commit | 13:01 |
| ← afuentes left | 13:02 |
|
obiwahn
| mh should i leave the option away? | 13:02 |
| → mklappstuhl joined | 13:02 |
|
cbreak-work
| if someone wants to pull then he can do that himself | 13:03 |
|
cmn
| not commiting wins you precisely zero; the problem with merging are conflicts | 13:03 |
|
baazigar
| cbreak-work : i am getting conflicts when i stash pop, how can i recover that file from stash area? | 13:04 |
| ← RaceCondition left | 13:04 |
| → RaceCondition joined | 13:04 |
|
cbreak-work
| baazigar: useless | 13:04 |
| → revagomes joined | 13:04 |
|
cbreak-work
| resolve the conflict | 13:04 |
|
| (you can use git checkout --ours / --theirs but I recommend not doing that) | 13:04 |
| ← robbyoconnor left | 13:05 |
|
baazigar
| i checked out the new version of that file | 13:05 |
|
| the old version is lost? | 13:05 |
|
| in the stash area? | 13:05 |
| → jimmy1980 joined | 13:07 |
| ← Lisimba3 left | 13:08 |
| ← sebrock left | 13:09 |
| → macabre joined | 13:09 |
| ← baazigar left | 13:10 |
| → baazigar joined | 13:12 |
| ← erasmospunk left | 13:13 |
|
baazigar
| someone help please : i need to recover a stashed file | 13:13 |
| → OOPMan joined | 13:14 |
| → oriba joined | 13:14 |
|
baazigar
| because i cant resolve a conflict | 13:14 |
| ← arietis left | 13:14 |
|
baazigar
| ...after stashing and then popping | 13:14 |
| → linusoleander joined | 13:15 |
| → Fandekasp joined | 13:15 |
| → archdori joined | 13:15 |
| ← arvind_khadri left | 13:16 |
| → dv310p3r joined | 13:16 |
| → maleknet joined | 13:17 |
|
cmn
| why can't you resolve it? | 13:18 |
| → nicesukhi joined | 13:18 |
|
cmn
| cbreak already gave you the command to put one of the versions in the working directory | 13:18 |
|
baazigar
| i dont know how, i dont have the previous file version | 13:19 |
|
| git checkout --ours? | 13:19 |
| ← gerard0 left | 13:19 |
|
cmn
| you have a mixture of both versions | 13:19 |
| ← Lgb left | 13:20 |
| ← palm_vue left | 13:20 |
|
baazigar
| fatal: --ours/--theirs is incompatible with switching branches. | 13:20 |
|
cmn
| and you need to figure out what the conflicting parts should look like | 13:20 |
| → gerard0 joined | 13:20 |
| → AaronMT joined | 13:21 |
|
baazigar
| cmn : git checkout testing gives | 13:21 |
|
| Scribus/scribus/ui/newfile.cpp: needs merge | 13:21 |
|
| error: you need to resolve your current index first | 13:21 |
| → Lgb joined | 13:21 |
| → palm_vue joined | 13:21 |
|
cmn
| right | 13:21 |
|
baazigar
| how to do that merge? | 13:21 |
|
| and resolve the index | 13:22 |
|
| and i want to go back to the state before stashing | 13:22 |
| ← crs left | 13:22 |
|
baazigar
| because stashing created all problems | 13:22 |
|
cbreak-work
| text editor | 13:22 |
|
| stashing didn't create any problems | 13:22 |
| → mkj_wk joined | 13:23 |
| → dcarper joined | 13:23 |
|
cmn
| you /are/ doing the merge | 13:23 |
| → hellopat joined | 13:23 |
|
baazigar
| my code is in the stash, | 13:23 |
|
cmn
| that's why you have conflicts; solve them | 13:23 |
| ← _Vi left | 13:23 |
|
baazigar
| i need the code from stash | 13:24 |
|
cbreak-work
| no | 13:24 |
|
| git status/git diff | 13:24 |
|
cmn
| not really, and you already have it | 13:24 |
|
cbreak-work
| find the conflict | 13:24 |
|
| open with text editor | 13:24 |
|
| fix | 13:24 |
|
| git add to resolve | 13:24 |
|
| done | 13:24 |
|
baazigar
| i will check that again | 13:24 |
| → gyre007 joined | 13:24 |
| ← nicesukhi left | 13:24 |
| → nicesukhi joined | 13:26 |
| → nadavoid joined | 13:26 |
|
baazigar
| aha thanks, cbreak-work , resolved it finally, maybe i missed the git add step last time :P | 13:30 |
| → hwrd|work joined | 13:30 |
| ← mklappstuhl left | 13:30 |
| ← uraimo left | 13:30 |
| ← Innocentus left | 13:31 |
| ← hellopat left | 13:31 |
| ← cooloney left | 13:31 |
| → uraimo joined | 13:31 |
| → hellopat joined | 13:31 |
| → Innocentus joined | 13:32 |
| → PrinceAMD- joined | 13:32 |
| → gdmfsob joined | 13:32 |
| ← OOPMan left | 13:33 |
| ← The-Compiler left | 13:33 |
| → OOPMan joined | 13:34 |
| ← piotr left | 13:35 |
| → piotr joined | 13:35 |
| ← mishok13 left | 13:35 |
| ← piotr left | 13:36 |
| → Hounddog joined | 13:36 |
| ← TheJH left | 13:37 |
| → juanfer joined | 13:37 |
| → ehsan joined | 13:37 |
| ← maleknet left | 13:37 |
|
Hounddog
| is there a way to somehow prevent git from mergin a certain file through .gitattributes or something? i have seen that there is something with an sh file and config change but we have no ssh access or anything on that server to apply this... | 13:37 |
| → Dreamer3 joined | 13:38 |
| → stuntmachine joined | 13:38 |
| ← MiJyn left | 13:38 |
| → MiJyn joined | 13:38 |
| ← stuntmachine left | 13:39 |
| → piotr joined | 13:40 |
| → yoklov joined | 13:41 |
| ← beautifulmind left | 13:41 |
| → harshpb joined | 13:42 |
| → john2496 joined | 13:42 |
| → TeckniX joined | 13:44 |
| ← ehsan left | 13:44 |
|
cmn
| something with an sh file? | 13:44 |
|
Hounddog
| yeah | 13:44 |
|
| i can't do that... | 13:44 |
|
| our admins are securing everything so nicely... | 13:45 |
| ← jubei left | 13:45 |
|
cmn
| you call tell git to simply mark a file as conflicted and let you resolve it | 13:45 |
|
Hounddog
| cmn: this is on jenkins | 13:45 |
|
| i cannot resolve everything | 13:45 |
|
| ok... just for you to understand | 13:45 |
|
cmn
| I'm asking because "sh file" makes no sense in the case of a remote repo | 13:45 |
|
Hounddog
| yeah, let me just explain what i am doing | 13:45 |
|
cmn
| why on earth is jenkins even merging anything? | 13:45 |
|
FauxFaux
| "it wrong". | 13:46 |
| → Ecesis joined | 13:46 |
| ← tsdh left | 13:46 |
| → LittleIdiot joined | 13:47 |
|
Hounddog
| i have an autobuild.cfg in which i define which branches shall be autobuilt. this file i read out by a post receive on the remote. then i decide to do only a branch build or let jenkins merge it and build it. | 13:47 |
|
| so it is wrong to let jenkins merge it? | 13:47 |
|
| why? | 13:47 |
|
cmn
| if the merge isn't clean, there's no hope of doing anything sane | 13:47 |
|
Hounddog
| i let jenkins merge the branch on the master run the build and then only it get's pushed to master | 13:47 |
|
| if the build with all the tests are successfull ;) | 13:48 |
| ← lnostdal__ left | 13:48 |
|
cmn
| but that can only happen on a clean merge | 13:48 |
| ← PrinceAMD- left | 13:48 |
|
Hounddog
| if there is a conflict it just aborts | 13:48 |
|
| and you have to do it manually and push again to your branch | 13:48 |
|
| this is to avoid people pushing on to the master | 13:48 |
|
cmn
| right, so what's the problem? | 13:49 |
| ← nicesukhi left | 13:49 |
|
FauxFaux
| Because it conflicts... | 13:49 |
|
Hounddog
| this autobuild.cfg shall not be merged but has to be pushed for the post-receive to evaluate if it shall be built on a personal branch or on to the master | 13:49 |
|
| FauxFaux: it conflicts? | 13:49 |
|
| have not had problems with that till now. | 13:50 |
| ← sitaram left | 13:50 |
|
Hounddog
| if we have a conflict it will simply not merge | 13:50 |
|
RandalSchwartz
| Hounddog !config | 13:50 |
|
gitinfo
| [!configfiles] the recommended way is to change your application so that you can (perhaps optionally) store site-specific configuration/data in separate files, then keep those files out of version control. Still, see https://gist.github.com/1423106 for ways people have worked around the problem. | 13:50 |
| → eijk joined | 13:50 |
| → sitaram joined | 13:50 |
|
cmn
| and you've already said how you deal with conflicts, you let a human solve it | 13:50 |
|
Hounddog
| RandalSchwartz: thx. as mentioned. i have no access to the config... | 13:50 |
| ← piotr left | 13:51 |
|
cmn
| you have no access to the file you're trying to merge? what? | 13:51 |
|
Hounddog
| .git/config i have no access to | 13:51 |
| → piotr joined | 13:51 |
|
cmn
| so? | 13:51 |
|
| that file isn't tracked | 13:51 |
|
| and has nothing to do with anything | 13:51 |
|
Hounddog
| hmm ok | 13:51 |
| ← dabd left | 13:52 |
| → jhegge joined | 13:52 |
| → Amicasa joined | 13:52 |
|
Hounddog
| ok, if it is not tracked... how to read it from the post-recieve hook? | 13:52 |
|
cmn
| however you want, it's at $GIT_DIR/config | 13:53 |
| ← Amicasa left | 13:53 |
|
cmn
| but that's repo-specific | 13:53 |
|
| and you haven't mentioned why that file is relevant | 13:53 |
| ← kermit left | 13:53 |
|
Hounddog
| i havent? | 13:54 |
|
| 15:49 <Hounddog> this autobuild.cfg shall not be merged but has to be pushed for the post-receive to evaluate if it shall be built on a personal branch or on to the master | 13:54 |
|
| 15:47 <Hounddog> i have an autobuild.cfg in which i define which branches shall be autobuilt. this file i read out by a post receive on the remote. then i decide to do only a branch build or let jenkins merge it and build it. | 13:54 |
|
| anyway | 13:54 |
| ← JohnBat26 left | 13:54 |
|
cmn
| since when is autobuild.cfg and .git/config the same file? | 13:54 |
|
Hounddog
| http://pastie.org/4126452 | 13:54 |
|
| that is the file which i need to ignore | 13:54 |
|
| from the merge | 13:54 |
| → erasmospunk joined | 13:54 |
|
RandalSchwartz
| Hounddog - did you not read what I sent you? | 13:54 |
|
| I'm not talking about git config | 13:55 |
|
Hounddog
| am trying to understand it | 13:55 |
|
RandalSchwartz
| I'm talking about how to deal with files that should not be tracked because they are site-local | 13:55 |
|
| I didn't read the whole scrollback, but that's usually the cause of things you're reporting as symptoms | 13:56 |
| ← gyre007 left | 13:56 |
|
Hounddog
| but this is just like creating autbuild.predefined.cfg which can be tracked and from there everyone shall only create their own autobuild.cfg | 13:56 |
|
| i need it tracked. to read it on the remote | 13:56 |
|
RandalSchwartz
| Hounddog it should create autbuild.predefined.cfg.sample and check that in | 13:56 |
|
cmn
| so track it | 13:56 |
|
RandalSchwartz
| then everyone copies that to their own .cfg | 13:57 |
|
Hounddog
| i am tracking it | 13:57 |
|
RandalSchwartz
| NOT in the repo | 13:57 |
|
Hounddog
| ok... | 13:57 |
| → Destos joined | 13:57 |
|
RandalSchwartz
| then nobody has conflicts when you update it. :) | 13:57 |
| ← Stormbytes left | 13:57 |
|
cmn
| RandalSchwartz: that doesn't work when the build is being done on a different computer | 13:58 |
|
Hounddog
| yes nice but also my hook is obsolete cause it cannot read a non existant autobuild.cfg | 13:58 |
|
RandalSchwartz
| oh | 13:58 |
|
Hounddog
| i think i am not explaining myself correctly | 13:58 |
|
RandalSchwartz
| sounds like a mistake in design then | 13:58 |
|
cmn
| I was about to say the same; it sounds like you need a better way of describing what should happen | 13:58 |
|
| because if you want to track it, it's going to get merged | 13:58 |
|
| you can use merge=ours IIRC in the attributes, but that's bound to backfire | 13:59 |
|
Hounddog
| i tried that in the gitattributes but still merged it from the other branch | 14:00 |
|
| http://pastie.org/4126490 | 14:00 |
| ← xiangfu left | 14:00 |
| → polymar joined | 14:00 |
| ← rearth_ left | 14:00 |
| ← soee left | 14:00 |
|
Hounddog
| this is what i have... now if i want my branch to be autobuilt i just add mybranch=autobuild and push it. the server receives it and runs the job to merge build the system | 14:00 |
|
| but this should not get into master nor should the master file then get back into my branch... | 14:01 |
|
| i saw the sh solution... | 14:01 |
|
LittleIdiot
| i've got a problem: "git clone https://android.googlesource.com/kernel/samsung.git" downloads 474M of data, but no files are in the directory... there's just a .git directory in it with two .pack files that seem to contain the actual contents, yet git doesn't unpack it - what am i doing wrong? | 14:03 |
| ← _sundar_ left | 14:03 |
|
FauxFaux
| LittleIdiot: What does git clone print? | 14:03 |
| ← thiago left | 14:05 |
| → JohnBat26 joined | 14:05 |
| ← baazigar left | 14:05 |
|
mkj_wk
| I have run into an line ending normalization problem that I haven't figured out how to resolve, after reading docs and googling... Some developers are using egit on windows, which seems to be not honoring text=auto in .gitattributes. When, running git on Linux, I check out commits in which egit one windows has failed to normalize CRNL->NL, I can't switch branches without first committing line ending normalization because my working directory is dirty, and I | 14:05 |
| → kukks joined | 14:05 |
| ← kukks left | 14:05 |
| → kukks joined | 14:05 |
|
LittleIdiot
| FauxFaux: just a sec, have to find the shell where i pulled it ;) | 14:05 |
| ← harshpb left | 14:05 |
| → andrewhl joined | 14:06 |
| ← archdori left | 14:06 |
| ← Fandekasp left | 14:06 |
| ← Ecesis left | 14:06 |
| ← Lord_DeathMatch left | 14:06 |
| → harshpb joined | 14:06 |
| → tyatpi joined | 14:07 |
| → ehsan joined | 14:07 |
| → eurbach joined | 14:07 |
|
PerlJam
| LittleIdiot: What makes you think *you're* doing something wrong? :) | 14:07 |
| → barq joined | 14:09 |
| ← Desproges left | 14:10 |
|
PerlJam
| LittleIdiot: when I browse around on android.googlesource.com, there's not much there. and nothing in kernel/samsung | 14:10 |
|
LittleIdiot
| PerlJam: there's the complete output: http://ix.io/2AB | 14:11 |
| ← cagedwisdom left | 14:11 |
| ← oo_miguel left | 14:12 |
|
mkj_wk
| is that repository intended to be used with the Android "repo" tool? | 14:12 |
|
FauxFaux
| It should have then printed more stuff. | 14:12 |
| → macmartine joined | 14:13 |
| ← ph^ left | 14:13 |
| ← codeM0nK3Y left | 14:13 |
| ← harshpb left | 14:13 |
| → codeM0nK3Y joined | 14:13 |
| → ph^ joined | 14:13 |
| → _sundar_ joined | 14:14 |
| → harshpb joined | 14:14 |
|
LittleIdiot
| mkj_wk: i thought so too, but this is the exact command that they provide in their official documentation (http://source.android.com/source/building-kernels.html) | 14:14 |
| ← zinjacoder left | 14:14 |
| ← und3f left | 14:14 |
| → und3f joined | 14:15 |
| ← h0bbit left | 14:15 |
| ← leilaM left | 14:16 |
| ← ShooterMG left | 14:16 |
| ← ToBeFree left | 14:16 |
|
mkj_wk
| LittleIdiot: oh, well then! :) | 14:17 |
| → baazigar joined | 14:17 |
| ← ph^ left | 14:18 |
| ← mobilegamelabs left | 14:19 |
| → jjbohn joined | 14:19 |
| ← ashphy left | 14:20 |
| ← marhaban left | 14:20 |
| → dhruvasagar joined | 14:20 |
| → ashphy joined | 14:20 |
|
LittleIdiot
| is there something i'm missing? some magical command or mechanism in git? | 14:20 |
| ← d3c left | 14:21 |
|
LittleIdiot
| or "may be missing" - i know you can't read minds... at least i hope ;) | 14:22 |
| ← axl_ left | 14:22 |
| ← PigeonFriend left | 14:23 |
| → axl_ joined | 14:23 |
| ← gdmfsob left | 14:23 |
| ← axl_ left | 14:23 |
| → Jay_Levitt joined | 14:24 |
|
haarg
| LittleIdiot: what do you get from running git log kernel? | 14:24 |
| ← ashphy left | 14:24 |
|
haarg
| it looks like those instructions want you to check out a specific commit after doing the clone | 14:25 |
| ← rhl left | 14:25 |
| ← piotr left | 14:25 |
| → piotr joined | 14:26 |
| → beatak joined | 14:26 |
| → axl_ joined | 14:27 |
| → zinjacoder joined | 14:28 |
|
cmn
| LittleIdiot: the default branch is emtpy, checkout one of the others | 14:28 |
|
LittleIdiot
| haarg: i've checked out the entire tree, so when doing that in the path device/samsung/crespo4g, "git clone" prints " unknown revision or path not in the working tree" | 14:28 |
|
| i just found out that there are branches other than master, but i wonder why git branch --list did just show the master branch then | 14:29 |
| → leilaM joined | 14:29 |
|
cmn
| because that's the only local one | 14:29 |
| ← _sundar_ left | 14:30 |
|
LittleIdiot
| ahh ;) | 14:30 |
| ← baazigar left | 14:31 |
| → fly9 joined | 14:31 |
| ← zinjacoder left | 14:31 |
| → _sundar_ joined | 14:32 |
|
LittleIdiot
| okay, it works now when specifying the branch | 14:33 |
| → quazimodo joined | 14:33 |
| ← jcromartie left | 14:33 |
|
LittleIdiot
| just didn't they were only local - thank you guys! ;) | 14:33 |
| ← asakura1 left | 14:34 |
| → blacktulip joined | 14:34 |
| ← jason237 left | 14:35 |
| ← linusoleander left | 14:36 |
|
comps
| how can I push to remote repo's HEAD (bare)? .. is it possible or does it have to be set manually (locally)? | 14:37 |
| → lacrymology joined | 14:37 |
|
_ikke_
| comps: What do you want to achieve? | 14:37 |
|
cbreak-work
| push to a branch | 14:37 |
| ← jargon- left | 14:37 |
| → airborn joined | 14:38 |
|
cbreak-work
| HEAD is a symref, you can only change it locally | 14:38 |
|
comps
| _ikke_: to set the default branch to be checkouted on clone | 14:38 |
|
| cbreak-work: thanks | 14:38 |
|
cbreak-work
| (and normally that's not done) | 14:38 |
| → duckxx joined | 14:38 |
|
cbreak-work
| comps: man git-symbolic-ref for details | 14:38 |
|
gitinfo
| comps: the git-symbolic-ref manpage is available at http://git-scm.com/docs/git-symbolic-ref.html | 14:38 |
| → ryez joined | 14:39 |
|
comps
| cbreak-work: yes, but I hoped it can be done remotely | 14:39 |
| → troulouliou_dev joined | 14:39 |
|
_ikke_
| nope | 14:39 |
| ← fayimora left | 14:40 |
| → PigeonFriend joined | 14:41 |
| ← axl_ left | 14:42 |
| → ipoval joined | 14:42 |
| → eletuchy joined | 14:43 |
| → axl_ joined | 14:43 |
|
troulouliou_dev
| hi i m trying to push to origin master on github and the command always freeze at " POST git-receive-pack (chunked)" | 14:43 |
|
| any idea ? | 14:43 |
| → marhaban joined | 14:43 |
|
EugeneKay
| !ssh | 14:43 |
|
| EugeneKay pokes gitinfo with a stick | 14:44 |
| → Vile joined | 14:44 |
|
gitinfo
| Please use SSH to talk to remote repos. http:// and git:// are completely unsecured. You can try to configure "smart" https:// access, but it is usually much easier to just stick with ssh:// | 14:44 |
| ← andrewhl left | 14:44 |
| ← dhruvasagar left | 14:44 |
| → andrewhl joined | 14:44 |
| ← srinivas07 left | 14:45 |
| ← rchavik left | 14:45 |
| ← kenperkins left | 14:45 |
|
troulouliou_dev
| EugeneKay, ok will try that | 14:45 |
| → kermit joined | 14:46 |
| ← wilmoore left | 14:46 |
| → axl__ joined | 14:47 |
| ← axl__ left | 14:47 |
| ← Chib left | 14:47 |
| → jason237 joined | 14:48 |
| ← axl_ left | 14:48 |
| → asakura1 joined | 14:49 |
| infogulch|afk → infogulch | 14:49 |
| ← jhardinee left | 14:51 |
| → axl_ joined | 14:51 |
| ← Araxia_ left | 14:52 |
| ← marhaban left | 14:52 |
| → dunpeal_ joined | 14:52 |
| → goshawk joined | 14:53 |
| ← flijten left | 14:53 |
| ← PigeonFriend left | 14:53 |
| ← dunpeal_ left | 14:53 |
| → dunpeal joined | 14:54 |
|
dunpeal
| Hey. If a developer sets `git config --global core.eol lf`, does that mean git will convert all CRLFs to LFs in all his code files? | 14:55 |
|
| (Upon commit) | 14:55 |
| → PrinceAMD- joined | 14:55 |
| ← axl_ left | 14:56 |
| → berserkr joined | 14:56 |
| → axl_ joined | 14:57 |
|
FauxFaux
| dunpeal: !tias | 14:57 |
|
gitinfo
| dunpeal: Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://sitaramc.github.com/1-basic-usage/tias.html may help with git-specific TIAS. | 14:57 |
| → pranjal710 joined | 14:57 |
| → dfr|mac joined | 14:57 |
| ← axl_ left | 14:57 |
| ← tabakhase left | 14:58 |
| → tabakhase joined | 14:58 |
| ← ryez left | 15:00 |
| ← polymar left | 15:00 |
| ← PrinceAMD- left | 15:00 |
|
dunpeal
| FauxFaux: I tried it in Linux and it worked, but I don't have Windows XP, Windows 7, etc.? | 15:01 |
| → axl_ joined | 15:01 |
| ← macmartine left | 15:01 |
|
EugeneKay
| !crlf | 15:02 |
|
gitinfo
| to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/ | 15:02 |
|
EugeneKay
| !read | 15:02 |
|
| .trigger_edit read Don't expect everything to be spoon fed to you - the man pages and other documents do not bite, you need to spend some time and effort reading them. | 15:02 |
|
gitinfo
| EugeneKay: Okay. | 15:02 |
| → fluxdude joined | 15:02 |
| ← marcogmonteiro left | 15:03 |
| → Targen joined | 15:03 |
| ← axl_ left | 15:04 |
| → SegFaultAX joined | 15:04 |
|
dunpeal
| Uhmm, ok. | 15:04 |
| ← dunpeal left | 15:04 |
| ← ThomasLocke left | 15:04 |
| ← leilaM left | 15:05 |
| → PigeonFriend joined | 15:05 |
| → setmeaway2 joined | 15:05 |
| → axl_ joined | 15:05 |
| ← rtuin left | 15:06 |
| ← fluxdude left | 15:06 |
| → shtrb joined | 15:07 |
| → FreeArtMan joined | 15:07 |
| → sebrock joined | 15:08 |
| ← Innocentus left | 15:08 |
| ← axl_ left | 15:08 |
| ← setmeaway left | 15:09 |
| ← cbreak-work left | 15:09 |
| ← hafos left | 15:10 |
| ← FreeArtMan left | 15:10 |
| → axl_ joined | 15:10 |
|
shtrb
| [running on Win7] - Is there a way I could take a git svn clone and push it inside an svn directory without bringing havoc ? I have few gigabytes of source code under svn control - I wish to switch to git-svn what I clone with git svn download all in a diffrent dir but now I wish only to bring the git structure to where the SVN lives | 15:11 |
| → ph^ joined | 15:11 |
| → Twigg joined | 15:12 |
|
shtrb
| for example : I have c:\source I do git svn to c:\temp and wish to bring all the git stuff to c:\source (without the sources files them self) the question how to do that (I would still need to be able to do svn update/commit etc) | 15:13 |
|
FauxFaux
| shtrb: It should work if you just move the .git folder across. | 15:13 |
| → The-Compiler joined | 15:13 |
| ← harshpb left | 15:13 |
| → thiago joined | 15:14 |
|
shtrb
| hmm .. when I just moved all .git dirs I was getting the git client to crash | 15:14 |
|
The-Compiler
| Heya. Is there an easy way to get the diff of changes introduced with a commit-id? So, a more simple way to write git diff commitid~1 commitid ? | 15:14 |
|
FauxFaux
| The-Compiler: git show commitid, or git diff commitid^! | 15:14 |
| → harshpb joined | 15:14 |
|
barq
| How can I move my git repository from my local comp to my server? | 15:15 |
|
cmn
| move as in move all of it or transfer the history? | 15:16 |
|
EugeneKay
| barq - read chapter 4 of the !book | 15:16 |
|
gitinfo
| barq: 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 !designers !gitt !vcbe and !parable | 15:16 |
| → savid joined | 15:16 |
| ← thierryp left | 15:17 |
|
barq
| cmn: Move the whole thing and delete the local repository. | 15:18 |
| ← fission6 left | 15:18 |
|
cmn
| use your favourite file tranfer tool | 15:18 |
|
| but you probably don't want to | 15:18 |
| → notmypudding joined | 15:18 |
|
barq
| I don't want to? | 15:18 |
|
cmn
| there is generally no good reason why you'd have a non-bare repo on anything considered a "server" | 15:19 |
|
barq
| Where else should it be? | 15:19 |
|
cmn
| wherever you work on it | 15:20 |
| ← PigeonFriend left | 15:20 |
|
cmn
| why else would you have files? | 15:20 |
| ← yoklov left | 15:20 |
|
cmn
| read that chapter of the book | 15:20 |
|
barq
| And how do the different users sync without a server? | 15:20 |
|
cmn
| 'cos it seems the bare/non-bare isn't clear to you | 15:20 |
|
| again, that's what the docs are for; | 15:20 |
| → QaDeS joined | 15:21 |
|
cmn
| and I never said you wouldn't use a server | 15:21 |
| → davidjdagino joined | 15:21 |
| ← barmaglot left | 15:21 |
|
cmn
| the issue is the /non-bare/ repo | 15:21 |
| → fgro joined | 15:22 |
| btree__ → btree | 15:22 |
| ← orbital left | 15:22 |
|
barq
| Aight, I'll read then | 15:23 |
|
fgro
| my fellow develper commmit some changes in the wrong branch. I'd like to undo the commits and move them to a new branch. How to do best? | 15:23 |
| ← harshpb left | 15:23 |
|
FauxFaux
| fgro: !fixup | 15:23 |
|
gitinfo
| fgro: So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 15:24 |
|
fgro
| it was actually one one commit | 15:24 |
|
| thanx | 15:24 |
| → jaylevitt joined | 15:25 |
| → Mkaysi_ joined | 15:25 |
| ← erichynds left | 15:26 |
| → jbohn joined | 15:26 |
| ← jjbohn left | 15:27 |
| ← ianawilson left | 15:28 |
| ← barq left | 15:28 |
| → AeroNotix joined | 15:28 |
| ← ipoval left | 15:28 |
| ← Targen left | 15:28 |
| → mikepack joined | 15:29 |
| ← Jay_Levitt left | 15:29 |
| → wilmoore joined | 15:30 |
|
comps
| just out of curiosity: can I somehow do git checkout --orphan without creating a new local branch? .. like putting all zeros to .git/HEAD | 15:30 |
| Mkaysi_ → Mkaysi | 15:30 |
| ← thiago left | 15:30 |
|
comps
| ie. HEAD would be moved to the newly created initial commit | 15:30 |
|
| (still detached) | 15:30 |
| ← jbohn left | 15:31 |
| ← wilmoore left | 15:31 |
| → ianawilson joined | 15:31 |
| → wilmoore joined | 15:31 |
| → stkrzysiak joined | 15:31 |
| → PigeonFriend joined | 15:32 |
| ← erasmospunk left | 15:32 |
|
SethRobertson
| comps: I think you can probably create a detached orphan commit if you try hard enough, but it surely will be easier to delete the branch afterward | 15:35 |
| → erasmospunk joined | 15:35 |
|
SethRobertson
| comps: This might do it: git checkout `echo "empty" | git commit-tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904` | 15:36 |
| → mishok13 joined | 15:37 |
| → kenperkins joined | 15:38 |
| → thornofmight joined | 15:39 |
| gitinfo set mode: +v | 15:39 |
| → cagedwisdom joined | 15:40 |
| ← eurbach left | 15:42 |
| → harshpb joined | 15:43 |
| ← harshpb left | 15:43 |
|
comps
| SethRobertson: I know it can be probably done with a custom set of commands that create an empty tree and use it for git-commit-tree (and update HEAD afterwards), but I was hoping for a --orphan revspec trick that would do the same thing | 15:44 |
| → harshpb joined | 15:44 |
| ← harshpb left | 15:44 |
|
comps
| SethRobertson: though there probably isn't any, nevermind then, thanks for the info | 15:45 |
| → harshpb joined | 15:45 |
| → macmartine joined | 15:45 |
| ← blacktulip left | 15:45 |
| → robbyoconnor joined | 15:47 |
| → aurum23 joined | 15:47 |
| ← mkj_wk left | 15:47 |
| ← uraimo left | 15:47 |
| ← adhawkins left | 15:48 |
| → mischat_ joined | 15:48 |
| ← totte left | 15:48 |
| → yoklov joined | 15:49 |
| → virunga joined | 15:49 |
| → barneybook joined | 15:49 |
| ← barneybook left | 15:49 |
|
virunga
| Hi, to download my repo on github should i clone it? | 15:49 |
| → barneybook joined | 15:49 |
| ← JeremyWei left | 15:50 |
|
virunga
| download the repo to my machine | 15:50 |
|
wereHamster
| maybe | 15:50 |
| → igotnolegs joined | 15:50 |
| ← kpreid left | 15:50 |
| ← mischat left | 15:50 |
| mischat_ → mischat | 15:50 |
|
virunga
| wereHamster: are there other methods? | 15:51 |
| → needsch joined | 15:51 |
| → yaymukund joined | 15:51 |
| ← pureluck left | 15:51 |
| → dr_diamond joined | 15:52 |
| ← dr_diamond left | 15:52 |
| → dr_diamond joined | 15:52 |
|
thorbjornDX
| virunga: I think you can get just the source as a .zip or .tar.gz | 15:52 |
| → fission6 joined | 15:52 |
|
cmn
| depends on what you mean by "download" | 15:52 |
|
thorbjornDX
| virunga: but if you want to modify it and push, you definitely want to clone | 15:52 |
|
virunga
| thorbjornDX: yes, i want to do that, thank you :) | 15:53 |
| ← adityamenon left | 15:53 |
| ← aurum23 left | 15:54 |
| → suedoh joined | 15:54 |
| → avandenhoven joined | 15:55 |
|
suedoh
| hi all, i just removed a huge directory from my repo and pushed to HEAD. Still it seems a pull is trying to receive the objects in that large directory | 15:55 |
|
| This causes a crash when doing a clone on a VM w/ small amount of memory | 15:55 |
|
cmn
| the dir is still in the history | 15:55 |
|
suedoh
| Any suggested way of permanently removing or removing from HEAD so that it doesn't bother grabbing anything about this directory on a clone | 15:56 |
| → lotus joined | 15:56 |
|
cmn
| man git filter-branch | 15:56 |
|
gitinfo
| the git-filter-branch manpage is available at http://git-scm.com/docs/git-filter-branch.html | 15:56 |
| → ToBeFree joined | 15:56 |
|
cmn
| but be aware of !rewrite | 15:56 |
|
gitinfo
| [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 15:56 |
|
suedoh
| cmn, I've done: sudo git filter-branch --index-filter "git rm -rf --cached --ignore-unmatch ./incrementals/*" HEAD | 15:56 |
|
cmn
| upgrading git should also help deal with larger data | 15:56 |
|
suedoh
| I already tried this :-( | 15:56 |
|
lotus
| hey, I have a dev branch and a live branch. I have a .htaccess file which differs between the two branches. When I merge the two branches, I want it to consistently not merge the .htaccess file. How should I set this up? | 15:56 |
|
suedoh
| I am running version 1.7.9 | 15:56 |
|
| I believe this is a good version | 15:56 |
|
cmn
| then that command didn't take or wasn't made correctly | 15:57 |
|
suedoh
| lotus, consider the use of symlinks? | 15:57 |
|
cmn
| other branches can still have that information | 15:57 |
|
| and your branch might not have been rewritten | 15:57 |
|
lotus
| suedoh, doing the work in windows | 15:58 |
|
suedoh
| Rewrite b145bc6315e7aeba9b826f21e827ed635c0ee6e4 (32/32)error: duplicate parent a5b3f576b384c9ab0404d3e7c3cde8eb20026eb6 ignored | 15:58 |
|
| should I worry about this? | 15:58 |
| ← troulouliou_dev left | 15:58 |
|
lotus
| suedoh, symlinks will be more trouble than they are worth. Also, I'm not sure how they'd help. | 15:58 |
|
obiwahn
| how can i ginore untracked files for the moment whithout deleteing them | 15:58 |
|
| when i do a git diff --name-only | 15:58 |
| ← dfr|mac left | 15:59 |
| → davpoind joined | 16:00 |
|
suedoh
| cmn, could you recommend the command to run for removing an entire directory? | 16:01 |
| ← davpoind left | 16:01 |
| ← andrewhl left | 16:01 |
|
cmn
| that command looks fine, the manpage tells you what to do | 16:01 |
| → davpoind joined | 16:01 |
|
cmn
| but you may not have rewritten any branchesw | 16:01 |
|
suedoh
| I'm just confused by the following after that command: | 16:01 |
|
cmn
| or at least not all of them | 16:02 |
|
suedoh
| Rewrite b145bc6315e7aeba9b826f21e827ed635c0ee6e4 (33/34)error: duplicate parent a5b3f576b384c9ab0404d3e7c3cde8eb20026eb6 ignored | 16:02 |
|
| Rewrite 7dc0f37cea91415039255623129c062a27ae1246 (34/34)error: duplicate parent 4718b410f54bf6751e73caccf33d726e0af87317 ignored | 16:02 |
|
| Ref 'refs/heads/master' was rewritten | 16:02 |
|
| ]$ sudo git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch ./incrementals/*" | 16:02 |
| ← hwrd|work left | 16:02 |
|
cmn
| no idea what that error means | 16:02 |
|
| do you have other branches? | 16:02 |
|
suedoh
| After this command a 'git push' states the following: | 16:02 |
|
| To ssh://gitro@108.166.212.51:26022/usr/local/git_root/wwwmotion.git | 16:02 |
|
| ! [rejected] master -> master (non-fast-forward) | 16:02 |
|
| rror: failed to push some refs to 'ssh://gitro@108.166.212.51:26022/usr/local/git_root/wwwmotion.git' | 16:03 |
| → ferdna joined | 16:03 |
|
suedoh
| To prevent you from losing history, non-fast-forward updates were rejected | 16:03 |
|
| confused | 16:03 |
|
_ikke_
| suedoh: You have to pull first | 16:03 |
|
| suedoh: The remote has changes you don't have locally | 16:03 |
|
suedoh
| _ikke_, I've done this before all this work | 16:04 |
|
| so git pull claims 'Already up-to-date.' | 16:04 |
|
_ikke_
| suedoh: Oh, I see you have altered history | 16:04 |
|
suedoh
| Then I run the remove | 16:04 |
|
_ikke_
| !rewrite | 16:04 |
|
gitinfo
| [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 16:04 |
|
cmn
| so the push was rejecteed | 16:05 |
|
| thus the new history isn't there | 16:05 |
|
| and pulling in that case is an extremely bad idea | 16:05 |
|
suedoh
| git push -f doesn't go through | 16:05 |
|
| what should I do now? | 16:06 |
|
_ikke_
| suedoh: What do you mean with, doesn't go through | 16:06 |
| → robotmay_ joined | 16:06 |
|
suedoh
| okay, let me paste | 16:06 |
|
| should have done that from first :) | 16:06 |
| ← barneybook left | 16:07 |
|
_ikke_
| yes | 16:07 |
| ← whitman left | 16:07 |
|
cmn
| doesn't go through? | 16:07 |
|
| if your admin doesn't allow you to rewrite history, then that's that | 16:07 |
| → fl0w joined | 16:08 |
| ← robotmay left | 16:08 |
| → mobilegamelabs joined | 16:08 |
| → de_ joined | 16:08 |
| → mmc2 joined | 16:08 |
| ← oriba left | 16:08 |
| → pureluck joined | 16:09 |
| → jargon- joined | 16:09 |
| → sq-one joined | 16:09 |
| → FreeArtMan joined | 16:10 |
|
suedoh
| _ikke_, cmn, http://ideone.com/UjFVE | 16:10 |
| → egarcia joined | 16:10 |
|
suedoh
| This is the run through/break down of the commands I am running\ | 16:11 |
|
| and the responses I receive | 16:11 |
|
cmn
| and the force-push that you say doesn't work? | 16:11 |
|
suedoh
| no | 16:12 |
|
| sudo git push -f, doesn't work | 16:12 |
| ← nadavoid left | 16:12 |
|
_ikke_
| !doesn't | 16:12 |
|
suedoh
| it says rejected | 16:12 |
|
gitinfo
| [!doesntwork] Sorry to hear it doesn't work. What happened? Did it fall asleep on your couch, with your sister? Eat your homework? What did you want it to do? What happened instead? Please be specific! | 16:12 |
| → pdtpatrick joined | 16:12 |
|
suedoh
| Sorry | 16:12 |
|
_ikke_
| Then the admin has disabled non-ff pushes | 16:13 |
| → aantix joined | 16:13 |
|
suedoh
| error: failed to push some refs to 'ssh://gituser@x.x.x.x/usr/local/git_root/project.git | 16:13 |
| ← senny left | 16:13 |
| ← john_anderson left | 16:13 |
| ← aantix left | 16:13 |
|
suedoh
| _ikke_, I'm not sure how I got into this fast forward stage | 16:14 |
| → senny joined | 16:14 |
| → john_anderson joined | 16:14 |
| → nadavoid joined | 16:14 |
|
cmn
| why on earth are you doing sudo? | 16:14 |
| → aantix joined | 16:14 |
| ← und3f left | 16:14 |
|
_ikke_
| :-| | 16:14 |
|
cmn
| and what is the error message? | 16:14 |
| → psakrii joined | 16:14 |
|
suedoh
| Is there any way to enable fast forward, so I can get past this hurdle | 16:14 |
|
_ikke_
| Do you have access to the repo in question? | 16:15 |
| ← joshteam left | 16:15 |
| → Vile1 joined | 16:15 |
|
suedoh
| what does this mean: | 16:16 |
|
| Merge made by the 'recursive' strategy. | 16:16 |
|
| ? | 16:16 |
| ← Vile left | 16:16 |
| ← robotmay_ left | 16:17 |
|
cmn
| fast-forward is the normal case | 16:17 |
| → leilaM joined | 16:17 |
| → apok joined | 16:17 |
| → maletor joined | 16:17 |
|
cmn
| non-fast-forwards are when you need to force-push | 16:17 |
| → jackyyll joined | 16:17 |
| ← mikepack left | 16:17 |
|
cmn
| that message means it's merging; why are you merging if you're tring to overwrite history? | 16:17 |
| → hwrd|work joined | 16:18 |
|
suedoh
| i'm not, it's doing it auto-magically | 16:18 |
| → mwrosen joined | 16:18 |
| ← de_ left | 16:18 |
| ← jaylevitt left | 16:18 |
| ← senny left | 16:19 |
|
jackyyll
| hi i accidentally checked out a new branch, from another working branch that was ahead of my development branch.. so it had changes that aren't supposed to be in my new branch that i just created.. And then i made changes and commited them to the new branch.. Is there a way to remove the changes in the new branch that are from the branch i accidentally checked the new branch out from? | 16:19 |
|
cmn
| git doesn't merge automagically | 16:19 |
| ← nadavoid left | 16:19 |
| → jcromartie joined | 16:19 |
|
cmn
| and if you don't want to say what you're doing, there's no way to try to figure out what's happening | 16:19 |
|
jackyyll
| that way it matches development branch, but still has the changes i've made in the new branch | 16:19 |
| → alberto56 joined | 16:21 |
| → mikepack joined | 16:21 |
| ← axl_ left | 16:21 |
| ← psakrii left | 16:21 |
| → JoshuaA joined | 16:22 |
| ← project2501a left | 16:22 |
| → ottoshmidt joined | 16:22 |
| ← LimeBlast left | 16:22 |
|
JoshuaA
| Hey guys, is there a way to have git log show two repos, side by side? (preferably even as to branches, or chronologically sorted) | 16:23 |
|
jackyyll
| anyone? :( | 16:23 |
|
| i need to merge my new branch into the development branch but i cna't have the changes in it that are from the accidental checkout | 16:24 |
|
charon
| JoshuaA: fetch one into the other and use a normal log? | 16:24 |
|
shtrb
| about the git-svn with svn in the same dir , I started to test modified and commited with svn but when I do git rebase I get (filename that I updated via svn: needs update \n update-index --refresh: command returned error: 1) how can I fix that ? | 16:24 |
|
charon
| jackyyll: !fixit | 16:24 |
|
gitinfo
| jackyyll: [!fixup] So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 16:24 |
| → nadavoid joined | 16:24 |
| → axl_ joined | 16:24 |
| ← berserkr left | 16:24 |
|
charon
| shtrb: tracking the same dir with both git-svn and svn sounds like a recipe for disaster. !repro | 16:25 |
|
gitinfo
| shtrb: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting. | 16:25 |
| → h0bbit joined | 16:25 |
| ← tjadc left | 16:25 |
|
shtrb
| charon , modifed a file localy and commited via svn , then I wish to bring git files to update with svn and did git rebase (now preparing a transcript to paste here) | 16:26 |
| → Shusshu joined | 16:27 |
| ← jackyyll left | 16:28 |
|
suedoh
| yea, I give up | 16:28 |
|
| man, I don't know what I did to get here | 16:28 |
| ← Shusshu left | 16:28 |
|
suedoh
| Rewrite b145bc6315e7aeba9b826f21e827ed635c0ee6e4 (37/42)error: duplicate parent a5b3f576b384c9ab0404d3e7c3cde8eb20026eb6 ignored | 16:28 |
| ← harshpb left | 16:28 |
|
suedoh
| That's the problem ^ | 16:28 |
| ← Hounddog left | 16:29 |
| → harshpb joined | 16:29 |
| ← harshpb left | 16:29 |
| ← klj613 left | 16:29 |
| → robottinosino joined | 16:29 |
| → harshpb joined | 16:30 |
|
JoshuaA
| Is there a way to merge the logs of the two branches after a subtree merge? | 16:31 |
|
| As in, history will then appear chronologically? | 16:31 |
| → pandeiro joined | 16:32 |
|
FauxFaux
| JoshuaA: man git log --[something]-order | 16:33 |
|
gitinfo
| JoshuaA: the git-log manpage is available at http://git-scm.com/docs/git-log.html | 16:33 |
| → axl__ joined | 16:33 |
| ← axl__ left | 16:33 |
|
JoshuaA
| FauxFaux: ThanksQ | 16:34 |
| → axl__ joined | 16:34 |
| ← JohnBat26 left | 16:34 |
| → Einzig_ joined | 16:35 |
|
shtrb
| charon , my intention to track the dir with both svn and git (here is some transcript - http://pastebin.com/fdueaJZR ) | 16:35 |
|
| s/git/git-svn | 16:35 |
|
Einzig_
| hello, I wonder if I can push only a specific commit, instead of all commits to a remote server. | 16:36 |
|
| and which number can I use to identify it | 16:36 |
|
EugeneKay
| No, that's not how git's history model works. | 16:36 |
| ← BarryCrayon left | 16:36 |
| ← axl_ left | 16:36 |
| axl__ → axl_ | 16:36 |
|
charon
| shtrb: so umm. you change a file behind git's back, then you are surprised that it doesn't work? | 16:36 |
| → noisebleed joined | 16:36 |
| ← noisebleed left | 16:36 |
| → noisebleed joined | 16:36 |
|
suedoh
| so any ideas on duplicate parent error? | 16:37 |
|
FauxFaux
| Einzig_: You can push commits /up to/ a certain point, and not things after there, quite easily. | 16:37 |
|
charon
| shtrb: i think you can solve this particular problem simply by letting git redo the change: git reset --hard && git svn rebase | 16:37 |
|
| shtrb: but i stick to my statement: managing it in both is a recipe for disaster | 16:37 |
|
suedoh
| only with the filter-branch? | 16:37 |
| → thiago joined | 16:37 |
| → williamcotton joined | 16:37 |
|
Einzig_
| FauxFaux: I want to commit only some script, other code is broken and needs fixing first | 16:38 |
|
| so ommit the code commits and push the documentation and scripts | 16:38 |
| ← mikepack left | 16:38 |
|
FauxFaux
| The easiest way is probably to branck from the remote tracking branch (@{upstream}) and cherry-pick what you want. | 16:39 |
|
| Then rebase your old master atop the new branch. But, y'know, if taht doesn't make any sense you're pretty much screwed. !fixup | 16:39 |
|
gitinfo
| So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 16:39 |
| → arietis joined | 16:39 |
| ← ben_alman left | 16:39 |
|
shtrb
| charon , so baiscly when I would screw up the files behind git's back I could allways do hard reset ? what about local modification (not on the rep ) could I work around it ? | 16:39 |
| ← harshpb left | 16:40 |
| → dfr|mac joined | 16:40 |
| → etcetera joined | 16:41 |
| → tewecske joined | 16:41 |
| ← francisfish left | 16:41 |
| → Araxia_ joined | 16:41 |
| ← mischat left | 16:42 |
| → psakrii joined | 16:42 |
| → jrots joined | 16:43 |
| ← OOPMan left | 16:44 |
| → joshteam joined | 16:44 |
| ← stodan left | 16:45 |
| → lindenle joined | 16:45 |
| → Sky[x] joined | 16:45 |
| → tonesfrommars joined | 16:45 |
| → axl__ joined | 16:45 |
| ← axl__ left | 16:46 |
| → mxweas_ joined | 16:46 |
| → axl__ joined | 16:47 |
| → imrobert joined | 16:47 |
| → andrewhl joined | 16:47 |
| → axl___ joined | 16:47 |
| → bilel joined | 16:48 |
| ← achadwick left | 16:48 |
| ← axl_ left | 16:48 |
| → axl____ joined | 16:48 |
| ← axl____ left | 16:48 |
| → apok_ joined | 16:48 |
| → kmap2 joined | 16:49 |
| → admsyn joined | 16:49 |
| gitinfo set mode: +v | 16:49 |
| → axl_ joined | 16:49 |
|
bilel
| hi, is there a simple way to do a branch that we don't want to track? something like a sandbox, but I don't want to track change history, it's only for tests things like that. | 16:49 |
| → cmullican joined | 16:50 |
| → ben_alman joined | 16:50 |
| → iwoj joined | 16:50 |
| → scientes joined | 16:51 |
| → mischat joined | 16:51 |
|
EugeneKay
| bilel - just make the changes, then `git reset --hard HEAD` when you wanna get back to normal. | 16:51 |
| ← axl__ left | 16:51 |
| ← apok left | 16:51 |
| apok_ → apok | 16:51 |
| ← ziro` left | 16:51 |
| ← dr_lepper left | 16:52 |
| → pfFredd joined | 16:52 |
|
suedoh
| Rewrite 42b3bde9474fb428212c302db3691f2b11f9fcdc (48/48)error: duplicate parent 5de0fa27edae02d2fa0824ed9932c78fe34217a2 ignored | 16:52 |
|
| Ref 'refs/remotes/origin/master' was rewritten | 16:52 |
|
| Ref 'refs/heads/master' was rewritten | 16:52 |
|
cmullican
| i created a branch, and committed my working files, and it gave a bunch of create mode ... [path] and also some delete mode ... [path] output, and now, when I tried to switch back to master, it tells me "error: Untracked working tree file 'html/display_account_export.html' would be removed by merge.", only I see that file in the web UI for the repo, and it's in my directory. git status shows a LOT of changes I don't want, including dele | 16:52 |
| ← axl___ left | 16:52 |
|
suedoh
| Please help me get rid of this, I've tried every command set that I could find online, and nothing gets me past this stagte | 16:52 |
|
charon
| shtrb: dunno. i haven't thought about it for too long. i suppose it would work if, every time you switch vcs, you issue 'git reset --hard' or 'svn revert', depending | 16:53 |
|
| shtrb: but what problem are you trying to solve? | 16:53 |
|
| by using both, i mean | 16:53 |
|
suedoh
| is there something I am missing? | 16:53 |
| ← erasmospunk left | 16:54 |
|
suedoh
| I do a git pull, a git pull --rebase, git fsck, git fsck-full, git push origin master, git push, all these things | 16:54 |
| ← dc5ala left | 16:54 |
|
suedoh
| but when I run this command: sudo git filter-branch -f --index-filter "git rm -rf --cached --ignore-unmatch ./incrementals/*" origin master | 16:54 |
|
| it gives me those errors | 16:54 |
|
| and it doesn't allow me to push my changes | 16:54 |
| → brentratliff joined | 16:55 |
| ← fuzzybunny69y left | 16:55 |
| → codebeaker joined | 16:55 |
| → dreiss joined | 16:55 |
| → erasmospunk joined | 16:56 |
| ← apok left | 16:56 |
| ← Fudge left | 16:56 |
| ← shruggar left | 16:56 |
| → apok joined | 16:56 |
| → PrinceAMD- joined | 16:57 |
|
shtrb
| charon, currently I bound to have some scripts that will execute svn on a source tree (rarly called) , so until I fix them I wish to coninue to use git-svn (it would be a rare case to use both vcs but I need to know how to fix that if it happens) | 16:57 |
|
charon
| suedoh: i think duplicate parents are not an error | 16:57 |
|
suedoh
| What is your local repository name ? I know that my remote is origin master | 16:57 |
| → fuzzybunny69y joined | 16:57 |
|
suedoh
| charon, Yes, but I am unable to check in the changesd | 16:57 |
|
| *changes | 16:57 |
| → OOPMan joined | 16:57 |
|
charon
| suedoh: that's highly surprising when you filter-branch. </sarcasm> see !rewriting | 16:57 |
|
gitinfo
| suedoh: [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 16:57 |
|
shtrb
| charon, I had two diffrent source trees and I realized I could work in only one (I have one for git-svn and another for only svn) | 16:57 |
| ← marc_kdab left | 16:58 |
| ← jrots left | 16:58 |
| → alvaro_o joined | 16:58 |
|
bilel
| EugeneKay: in fact I want to keep the state somehow, it's just about the history I don't want to keep it as it's only for tests and a local use | 16:58 |
|
EugeneKay
| bilel - man git-stash may be of interest. | 16:58 |
|
gitinfo
| bilel: the git-stash manpage is available at http://git-scm.com/docs/git-stash.html | 16:58 |
|
suedoh
| charon, BTW, I've done all of what is said above by gitinfo bot | 16:58 |
| ← alvaro_o left | 16:58 |
| ← caddoo left | 16:58 |
| → Fudge joined | 16:58 |
|
EugeneKay
| You still keep the history, but it's not in a conventional branch | 16:58 |
| → osmosis joined | 16:59 |
|
EugeneKay
| I would just create a testing branch, but not configure it to be pushed | 16:59 |
|
charon
| suedoh: on the contrary, if you actually ran 'git pull --rebase' in the same repo as the one that did the filtering, you just blindly ran the commands from the quote | 16:59 |
| ← john_anderson left | 16:59 |
|
charon
| suedoh: at the very least read !gcs and some explanation of what filter-branch does, so that you will understand | 16:59 |
|
suedoh
| !gcs | 16:59 |
| ← aruiz left | 16:59 |
|
charon
| suedoh: then force the push. if the server denies forced pushes, you're out of luck | 16:59 |
|
| hrm | 16:59 |
|
| http://sitaramc.github.com/gcs/ | 17:00 |
|
suedoh
| so if I am denied forced pushes, what option do I have? | 17:00 |
|
charon
| delete the ref remotely, and re-push | 17:00 |
| ← jargon- left | 17:00 |
|
FauxFaux
| .trigger_edit gcs http://sitaramc.github.com/gcs/ | 17:00 |
|
gitinfo
| FauxFaux: Okay. | 17:00 |
|
charon
| but the admin may have wisened up to that trick, aand deny deletes | 17:00 |
|
suedoh
| delete the ref? | 17:00 |
|
charon
| in which case you're screwed | 17:00 |
| ← mischat left | 17:00 |
|
suedoh
| can't I just check or clone it again? | 17:00 |
|
charon
| yes, push --delete origin foo && git push origin foo | 17:00 |
| ← rurufufuss left | 17:01 |
|
charon
| huh | 17:01 |
|
suedoh
| shit, i might have to standby on this one | 17:01 |
| ← jkremser left | 17:01 |
|
suedoh
| the admin is me, that's why this is a mess :) | 17:01 |
|
| the repo is on my VM | 17:01 |
| → spaceonline joined | 17:01 |
|
suedoh
| so i have full control over it | 17:01 |
|
| i did do a lot of moving directories around | 17:01 |
|
| so I believe this is what caused it | 17:01 |
|
bilel
| EugeneKay: I don't know, in that case I won't be able to use git stash for a normal use right? for example when there is an important thing to fix there is already a lot of changes | 17:02 |
|
EugeneKay
| bilel - you can have multiple stashes.... | 17:02 |
|
JoshuaA
| Hey guys, I've been going through the process of figuring out how to work with git-svn (since at work I'm forced to use svn..) and I had a question related to svn:externals | 17:02 |
| ← TheHaven left | 17:02 |
|
suedoh
| charon, do you have a recommended way of cleaning up directories/files from the repository in a cached way? so that it is removed from the index | 17:02 |
|
JoshuaA
| I've found a little script that after the original git-svn clone let's you look for externals, git-svn clones them in .git_externals and symlinks them | 17:03 |
|
suedoh
| my objective was to make the repository size when doing a clone much smaaller | 17:03 |
|
bilel
| EugeneKay: oh didn't know about that, ok I will take a look at that, thanks | 17:03 |
|
suedoh
| I run out of memory on many of my VM's | 17:03 |
| ← mxweas_ left | 17:03 |
| → vervein joined | 17:03 |
| → fromspain joined | 17:03 |
|
JoshuaA
| The problem is that git status now won't show me changes made in externals | 17:03 |
| → ces joined | 17:03 |
|
JoshuaA
| Would anyone know a solution to this? | 17:03 |
| → tonyj joined | 17:04 |
| ← axl_ left | 17:04 |
| → axl_ joined | 17:05 |
| ← raatiniemi left | 17:05 |
| ← axl_ left | 17:05 |
|
JoshuaA
| So tl;dr: how to get git log showing changes in svn:externals using git-svn? | 17:05 |
| → mxweas_ joined | 17:05 |
| → axl_ joined | 17:06 |
| ← SamB__ left | 17:07 |
| ← kmap2 left | 17:07 |
| → jhardinee joined | 17:07 |
| → kmap2 joined | 17:07 |
| → Superlokkus joined | 17:08 |
| ← federic left | 17:10 |
| ← codebeaker left | 17:10 |
| ← dvide left | 17:11 |
| ← sq-one left | 17:11 |
| → jjido joined | 17:11 |
| → intransit joined | 17:11 |
| ← jjido left | 17:12 |
| → Chillance joined | 17:13 |
| → jjido joined | 17:14 |
| ← erasmospunk left | 17:15 |
| ← cortana2 left | 17:17 |
| → RaceCondishun joined | 17:19 |
| → sq-one joined | 17:20 |
| ← sq-one left | 17:20 |
| ← fromspain left | 17:20 |
| ← bilel left | 17:21 |
| ← mobilegamelabs left | 17:22 |
| → beneggett joined | 17:22 |
| ← RaceCondition left | 17:22 |
| ← tonyj left | 17:22 |
| ← robottinosino left | 17:22 |
| → Lemon|mbp joined | 17:23 |
| → tonyj joined | 17:23 |
|
RandalSchwartz
| we've just about completely ruled out using fisheye and crucible with git now | 17:23 |
|
| now it's time to figure out some other code-review tool for 650 git repos | 17:23 |
|
| and not gerrit. :) | 17:23 |
|
cbreak
| perl | 17:23 |
| ← RaceCondishun left | 17:24 |
| ← mxweas_ left | 17:24 |
|
cbreak
| (joking of course... :) | 17:24 |
|
RandalSchwartz
| perl's not really a code review tool | 17:24 |
|
| oh ok | 17:24 |
| ← yaymukund left | 17:24 |
|
shtrb
| cbreak, I once seen a perl module that was checking C code for coding standards | 17:25 |
|
| and If you were using some forbidden compiler options or bad varibale names it would refuse your commit | 17:25 |
| ← iwoj left | 17:26 |
| → SamB joined | 17:26 |
| → shreya joined | 17:26 |
| ← pfFredd left | 17:26 |
|
shtrb
| [noob question ] if git clone crashes is there a way I can continue from the last point it was downloading ? | 17:27 |
| → mxweas_ joined | 17:27 |
| ← virunga left | 17:28 |
|
EugeneKay
| !resume | 17:28 |
|
gitinfo
| Git does not yet support resuming, torrenting, or parallel fetching of clones or other network traffic. Some people have successfully created bundles and then used torrents/resuming http download/etc to accomplish what they needed (possibly creating a reliable on-demand VM somewhere to do the initial download, bundle creation, and file hosting). See https://bundler.caurea.org | 17:28 |
| → whitman joined | 17:29 |
| ← pureluck left | 17:29 |
|
EugeneKay
| Oooh, that's an interesting service. | 17:29 |
|
cbreak
| you can also just torrent a whole bare repo directly | 17:30 |
| ← timini left | 17:30 |
| ← ipalaus left | 17:30 |
| → marcuy_ joined | 17:31 |
| ← beneggett left | 17:31 |
|
shtrb
| EugeneKay, thank you | 17:31 |
| → iwoj joined | 17:31 |
| → evilgeenius joined | 17:31 |
|
RandalSchwartz
| anyone using http://phabricator.org/ for git stuff here? | 17:32 |
| → pureluck joined | 17:32 |
| → beneggett joined | 17:32 |
| ← patr|ck left | 17:32 |
| ← robbyoconnor left | 17:32 |
| → codebeaker joined | 17:32 |
| → marc_kdab joined | 17:33 |
|
evilgeenius
| How can I diff the changes between my currently checkout out code and the code that I would see if I did a "git pull" ? | 17:33 |
|
FauxFaux
| evilgeenius: git fetch && git diff '@{u}' # man git rev-parse | 17:34 |
|
gitinfo
| evilgeenius: the git-rev-parse manpage is available at http://git-scm.com/docs/git-rev-parse.html | 17:34 |
|
evilgeenius
| FauxFaux: thanks. once I've done that, how do i go ahead and merge the code? | 17:34 |
|
FauxFaux
| git pull. :) | 17:35 |
| ← nadavoid left | 17:35 |
|
RandalSchwartz
| or git merge @{u} | 17:35 |
| → raykyri joined | 17:35 |
|
RandalSchwartz
| since you already fetched it | 17:35 |
|
| that would avoid any phase error too | 17:35 |
|
JoshuaA
| Is it wise to use git-svn and then use submodules for the git-svn:externals? | 17:35 |
| ← tvw left | 17:36 |
| ← harish left | 17:36 |
| → nadavoid joined | 17:36 |
| ← pureluck left | 17:37 |
| ← PigeonFriend left | 17:37 |
| → pureluck joined | 17:37 |
| ← jjido left | 17:38 |
| → fayimora joined | 17:38 |
| → apok_ joined | 17:39 |
| ← ottoshmidt left | 17:39 |
| → dvide joined | 17:41 |
| ← shennyg_ left | 17:41 |
| ← apok left | 17:41 |
| apok_ → apok | 17:41 |
| ← pureluck left | 17:41 |
| → Dave^| joined | 17:42 |
|
CareBear\
| JoshuaA : it sounds awkward but may work fine | 17:43 |
| → Offlein joined | 17:43 |
|
JoshuaA
| CareBear\: :D | 17:43 |
|
| I couldn't find anything on it online. | 17:43 |
| → pureluck joined | 17:43 |
| ← iwoj left | 17:44 |
|
CareBear\
| RandalSchwartz : why not gerrit? | 17:44 |
|
JoshuaA
| The solution others have proposed is importing the externals into a (untracked) .git_externals/ subdir in the repo root dir and symlinking, but that doesn't work at all the way you'd want it to | 17:44 |
| ← jhardinee left | 17:44 |
|
Offlein
| Because it takes a few minutes for my git commits to go live on my website, I'm thinking about putting something into my site that displays the last commit hash -- so I can be 100% sure that it's running on the latest commit. Is it dangerous for people to know that commit hash? | 17:44 |
| → shwaiil joined | 17:45 |
|
shwaiil
| hi | 17:45 |
|
CareBear\
| JoshuaA : I don't know what git-svn does with the tree links | 17:45 |
|
JoshuaA
| Nothing. ;) That's the problem | 17:45 |
| → Targen joined | 17:45 |
|
shwaiil
| I tought I was working in a given "branch", I tryed to push without any result. I checkout to branch development and I think I lost all my work. Can I go back ? :X | 17:45 |
|
| Tks for looking | 17:45 |
| → TheJH joined | 17:45 |
|
CareBear\
| Offlein : not dangerous, it's a good idea. use git describe --tags, or possibly git describe --all if you don't use annotated tags | 17:46 |
| → patr|ck joined | 17:46 |
|
CareBear\
| shwaiil : please pastebin your terminal window | 17:46 |
|
Offlein
| CareBear\ Thanks! Is this a unique idea I've had, or is it standard practice? | 17:46 |
| → kpreid joined | 17:47 |
|
CareBear\
| shwaiil : you left out important detail in your description of events past, and the easiest way is complete dump into a pastebin | 17:47 |
|
shwaiil
| this is the log http://pastie.org/private/kr25gwv3mwtzdp5b1lglha | 17:47 |
| ← Lemon|mbp left | 17:47 |
| ← LittleIdiot left | 17:47 |
| → jargon- joined | 17:47 |
|
shwaiil
| yes CareBear\ tks for looking, was doing that :D | 17:47 |
|
CareBear\
| Offlein : git describe is there for a reason, not unique, not standard, some do it | 17:47 |
| → dr_lepper joined | 17:47 |
| → john_anderson joined | 17:47 |
|
shwaiil
| mentions git branch new_branch_name 77ddd4fb12aff7abd940ab8ead4ce3b1a2b0cbaa | 17:47 |
|
CareBear\
| shwaiil : so actually git tells you exactly what has happened and exactly what you should do | 17:48 |
|
Offlein
| CareBear\: OK I'm going to pretend like it's a great idea I've had, then, and brag about it to all my friends. | 17:48 |
| → i42n joined | 17:48 |
| ← pureluck left | 17:48 |
|
shwaiil
| but didn't a switched ? I'll try the command | 17:48 |
|
| was just making sure I didnt messed mored | 17:48 |
|
| mored/more | 17:48 |
|
CareBear\
| Offlein : it *is* your idea, just so happens that git allows you to do it really easily | 17:48 |
|
shtrb
| ok what can I do if when I do git svn clone git exists each time and the source files aren't in the dir (tried to fetch only 900 revitions and git still exits with any error indication other then warning empty dir) | 17:48 |
|
Offlein
| awesome! EVEN BETTER | 17:49 |
| → pureluck joined | 17:49 |
|
Offlein
| <3 thanks very much. | 17:49 |
|
CareBear\
| shwaiil : good instinct, but as long as you have commits, you can always get contents back | 17:49 |
| → berserkr joined | 17:49 |
|
CareBear\
| Offlein : I mean *doing it* is your idea ;) | 17:49 |
|
Offlein
| right right. | 17:49 |
| ← igotnolegs left | 17:49 |
| → mauiuku joined | 17:50 |
|
CareBear\
| shwaiil : the git branch command is really good. you're working with some commits and you should really always work with commits on actual branches | 17:51 |
|
| question: how to find subdirectories in the history (now deleted) which contain significantly more data than others? | 17:51 |
|
shwaiil
| CareBear\: Thanks for your time ;D A really appreciated it! | 17:51 |
|
CareBear\
| shwaiil : you're welcome | 17:52 |
| → axl__ joined | 17:52 |
| ← axl__ left | 17:52 |
| ← dr_diamond left | 17:52 |
|
CareBear\
| I will be using filter-branch to remove those subdirectories | 17:52 |
| → michaelmartinez joined | 17:52 |
|
CareBear\
| but I don't know exactly where they are | 17:52 |
|
| I'd prefer not searching manually | 17:52 |
| → mikepack joined | 17:53 |
| ← pureluck left | 17:53 |
| ← i42n left | 17:53 |
| ← enmand left | 17:53 |
| → i42n joined | 17:54 |
| ← mauiuku left | 17:54 |
| → mauiuku joined | 17:54 |
| → pureluck joined | 17:54 |
| ← axl_ left | 17:54 |
| → axl__ joined | 17:54 |
| ← shwaiil left | 17:54 |
| ← sebrock left | 17:55 |
| ← mxweas_ left | 17:55 |
| ← marc_kdab left | 17:55 |
| ← i42n left | 17:56 |
| ← tommyvyo left | 17:57 |
| ← leilaM left | 17:57 |
| → i42n joined | 17:57 |
| ← Targen left | 17:57 |
| → axl_ joined | 17:57 |
| ← fgro left | 17:57 |
| → fam_ joined | 17:59 |
| ← axl__ left | 17:59 |
| ← fam_ left | 17:59 |
| ← aantix left | 17:59 |
| → axl__ joined | 17:59 |
| ← codebeaker left | 18:00 |
| ← FreeArtMan left | 18:00 |
| → aantix joined | 18:00 |
| → FreeArtMan joined | 18:00 |
| ← axl__ left | 18:00 |
| ← kermit left | 18:00 |
| → RaceCondition joined | 18:01 |
| → kermit joined | 18:01 |
| → tigrang joined | 18:01 |
| → axl__ joined | 18:01 |
| ← axl__ left | 18:01 |
| ← axl_ left | 18:02 |
| → ISF joined | 18:03 |
| → axl_ joined | 18:03 |
| → imachuchu joined | 18:05 |
| → totte joined | 18:05 |
| → thearthur joined | 18:05 |
| totte → Guest33096 | 18:06 |
| ← ianawilson left | 18:09 |
| → marhaban joined | 18:10 |
| → yaymukund joined | 18:10 |
| → marc_kdab joined | 18:11 |
| ← fayimora left | 18:13 |
| ← macabre left | 18:13 |
| → madsy joined | 18:13 |
| ← i42n left | 18:14 |
| → i42n joined | 18:14 |
| → davidfetter_vmw joined | 18:15 |
|
davidfetter_vmw
| hello | 18:15 |
|
gitinfo
| davidfetter_vmw: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 18:15 |
| ← i42n left | 18:15 |
|
davidfetter_vmw
| !format-patch | 18:15 |
|
| !format | 18:16 |
| → i42n joined | 18:16 |
|
davidfetter_vmw
| hrm | 18:16 |
|
| !backup | 18:16 |
|
gitinfo
| Taking a backup of a git repository is always a good idea, especially when taking advice over IRC. Usually, the best way to TACTICALLY back up a git repo is `git clone --mirror`. However, some unusual maintenance might require `tar cf repo-backup.tar repodir`. Testing in a clone is also an excellent idea. See also http://sethrobertson.github.com/GitBestPractices/#backups | 18:16 |
| ← i42n left | 18:16 |
| ← michaelmartinez left | 18:17 |
| ← slakmagik left | 18:17 |
| → slakmagik joined | 18:17 |
| ← centipedefarmer left | 18:17 |
| ← slakmagik left | 18:17 |
| → slakmagik joined | 18:17 |
| → mkj_wk joined | 18:19 |
| → centipedefarmer joined | 18:19 |
| ← whitman left | 18:19 |
| → i42n joined | 18:19 |
|
mkj_wk
| how do I ask git to tell me whether it things a file is text or binary (i.e. whether it would modify the newlines in a file if so configured)? | 18:20 |
|
cmullican
| I created a branch, and committed my working files, and it gave a bunch of create mode ... [path] and also some delete mode ... [path] output. | 18:20 |
|
mkj_wk
| I'm guessing I'm missing some plumbing command... | 18:20 |
|
cmullican
| When I try to switch back to master, it tells me "error: Untracked working tree file 'html/display_account_export.html' would be removed by merge.", only I see that file in the web UI for the repo, and it's in my directory. | 18:20 |
|
| git status shows a LOT of changes I don't want -- deleting a ton of files for no obvious reason. I tried 'git stash' then switching, but no luck, and I also can't pull from origin master (dirty index). Help? | 18:20 |
| ← btx94 left | 18:21 |
| ← yaymukund left | 18:21 |
| → adhawkins joined | 18:23 |
|
CareBear\
| mkj_wk : let me know if you find out | 18:25 |
| ← john_anderson left | 18:25 |
| → harshpb joined | 18:25 |
| → Sigma joined | 18:25 |
| ← Vile1 left | 18:25 |
| → alexisabril joined | 18:25 |
|
CareBear\
| cmullican : it sounds like your working copy has been tangled up a bit | 18:26 |
| → axl__ joined | 18:26 |
|
CareBear\
| cmullican : it can certainly be untangled, but must find out how it is tangled and work targeted. what do you want to accomplish at this point? | 18:27 |
|
| cmullican : are you still on your new branch? run git branch to find out | 18:27 |
|
| cmullican : if yes, please pastebin git !lol | 18:27 |
|
gitinfo
| git config --global alias.lol "log --oneline --graph --decorate" | 18:27 |
|
cmullican
| CareBear\: A working branch, with the changes I had made which were the reason I created the branch, and without damaging master | 18:27 |
|
CareBear\
| cmullican : that we should be able to do | 18:28 |
| → privman joined | 18:28 |
| → iwoj joined | 18:29 |
|
cmullican
| CareBear\: I am; I can't change to another. Pastebin forthcoming | 18:29 |
|
| CareBear\: unrecognized argument: --oneline and it's very long without that. Do you want the whole thing anyway? | 18:30 |
| ← axl_ left | 18:30 |
| axl__ → axl_ | 18:30 |
| ← Mowsh left | 18:30 |
|
CareBear\
| cmullican : eh? | 18:31 |
| ← cscribble left | 18:31 |
|
cmullican
| CareBear\: https://gist.github.com/2967625 | 18:31 |
|
CareBear\
| cmullican : you added the alias, ran git lol, and got "unrecognized argument: --oneline" ?! | 18:31 |
|
| wtf | 18:31 |
|
cmullican
| I used the expansion instead of adding the alias, but yes | 18:31 |
|
CareBear\
| what version of git is this? | 18:32 |
| → agliodbs joined | 18:32 |
|
cmullican
| 1.6.2.5 according to --version | 18:32 |
|
CareBear\
| hm, that's very old | 18:32 |
|
| well, go without oneline then | 18:33 |
| ← tigrang left | 18:33 |
|
cmullican
| OK, but it's quite long. | 18:33 |
|
| Just a moment. | 18:33 |
|
CareBear\
| does it look "right" ? | 18:33 |
| ← jn_ left | 18:33 |
|
CareBear\
| you could add -20 or so | 18:33 |
| ← psakrii left | 18:33 |
| ← noisebleed left | 18:33 |
|
raek
| or maybe --pretty=oneline | 18:34 |
|
CareBear\
| good one yes | 18:34 |
| ← p3rror left | 18:35 |
| ← agliodbs left | 18:35 |
| → whitman joined | 18:35 |
|
cmullican
| CareBear\: https://gist.github.com/3b49a920b8f518222414 takes it back to last December | 18:35 |
|
| looks OK to me, but I don't entirely know what I'm looking for | 18:36 |
| → tigrang joined | 18:36 |
|
CareBear\
| so far so good | 18:36 |
|
| please review git show 6be2d1e to check that it is the changes you want | 18:36 |
| ← admsyn left | 18:37 |
|
cmullican
| It's not; it's showing a bunch of extra files, not just the one I created and the one I eedited. | 18:37 |
|
| somehow, when I created the branch, it decided to mark a bunch of files deleted, even though they're still there. | 18:39 |
| ← privman left | 18:40 |
| → macabre joined | 18:40 |
| → afuentes joined | 18:41 |
|
CareBear\
| do you recall how you created the branch? | 18:41 |
|
cmullican
| git checkout -b fleet_blends | 18:42 |
|
CareBear\
| and how did you create the commit? | 18:42 |
|
cmullican
| git commit -a | 18:42 |
| ← RaceCondition left | 18:42 |
|
CareBear\
| ok, that's why | 18:42 |
| → nadirvardar joined | 18:42 |
| → Lemon|mbp joined | 18:42 |
|
cmullican
| *blink* It is? | 18:43 |
|
osmosis
| how do I checkout a 'tag' ? | 18:43 |
|
CareBear\
| cmullican : commit -a is really greedy, often not desirable | 18:43 |
|
| osmosis : git checkout tag | 18:43 |
|
| osmosis : note that this checkout will be a detached HEAD | 18:43 |
|
cmullican
| CareBear\: OK, how do I fix it, and what should I have done instead? | 18:44 |
|
osmosis
| CareBear\, "You are in 'detached HEAD' state." | 18:44 |
|
CareBear\
| osmosis : to play it safe, only check out branches | 18:44 |
|
| right | 18:44 |
|
| osmosis : by safe I mean simple | 18:44 |
|
osmosis
| CareBear\, i suppose its okay for code review | 18:44 |
|
CareBear\
| yes, perfectly fine | 18:44 |
|
cbreak
| if you commit in a detached HEAD state | 18:44 |
|
| you'll have to work around a bit to get them onto a branch | 18:44 |
|
| which requires knowledge | 18:45 |
|
mkj_wk
| osmosis: if you want to branch off the tag, you can specify the tag as the starting point for the branch when you create the branch | 18:45 |
|
osmosis
| ok | 18:45 |
|
| thx | 18:45 |
|
CareBear\
| cmullican : first what you should have done instead; git add changedfile.html newfile.html && git commit | 18:45 |
|
mkj_wk
| osmosis: if you find you want to commit when you are in detached HEAD state, you can create a branch first and then you won't have to worry about fixing up after the fact :) | 18:46 |
| ← alexisabril left | 18:46 |
| → StuckMojo joined | 18:46 |
| → aristidesfl joined | 18:46 |
|
StuckMojo
| i need some help with subtree merges | 18:46 |
|
cmullican
| I had done a git add and a git commit -a before I created the branch, though, so I didn't realize I needed to do them again | 18:46 |
|
CareBear\
| cmullican : the extra files that were included in the commit, are they few enough that you can process manually? | 18:46 |
|
StuckMojo
| http://git-scm.com/book/en/Git-Tools-Subtree-Merging | 18:47 |
|
CareBear\
| cmullican : git commit -a is usually never helpful | 18:47 |
|
| cmullican : sometimes, but usually not | 18:47 |
|
StuckMojo
| i can't figure this part out: "You can also do the opposite — make changes in the rack subdirectory of your master branch and then merge them into your rack_branch branch later to submit them to the maintainers or push them upstream." | 18:47 |
| → RaceCondition joined | 18:47 |
|
cmullican
| CareBear\: the ones it's trying to delete? I suppose so, if I must; it's enough to be annoying but not impossible. | 18:47 |
| ← intransit left | 18:47 |
| → fayimora joined | 18:47 |
| → intransit joined | 18:48 |
|
CareBear\
| cmullican : also, I'm only talking about actions after you created the branch. I assume master is all right. | 18:48 |
| ← pranjal710 left | 18:48 |
|
cmullican
| CareBear\: as far as I can tell, it is. | 18:48 |
| → p3rror joined | 18:48 |
|
CareBear\
| cmullican : can you pastebin git show 6be2d1e or at least git show --stat ? | 18:49 |
| → shruggar joined | 18:49 |
|
CareBear\
| cmullican : sorry this is taking a while, but I like to fix things up slowly so that there are no further problems | 18:49 |
| ← evilgeenius left | 18:50 |
| → Targen joined | 18:50 |
|
cmullican
| The former is long; it's dumping the entirety of all the to-be-deleted files. https://gist.github.com/2481b66e9d66b5afc7b1 is the latter | 18:50 |
| ← berserkr left | 18:50 |
| ← lacrymology left | 18:50 |
|
cmullican
| I'd rather have it right and take more time than a quick "fix" that fails. | 18:51 |
| → saulus joined | 18:51 |
| ← kmap2 left | 18:51 |
|
CareBear\
| cmullican : all right! :) good match then. ok, so do you want to change what this commit does in html or lib or both? | 18:52 |
|
cmullican
| right now? Neither. | 18:52 |
| ← snearch left | 18:52 |
| → Innocentus joined | 18:52 |
| → axl__ joined | 18:52 |
|
CareBear\
| cmullican : oh - what should change? | 18:52 |
|
saulus
| hi, how can I execute some sed command before updating refs on the remote repository? Is it possible to change the diffs with hooks/pre-receive or can I only detect whether a ref shall be invoked? | 18:53 |
|
cmullican
| I had edited one file in lib, and created one file in html. I don't even see the new html file listed, and I've copied the new file and the edited version of the existing file elsewhere for safekeeping. None of these changes are real. | 18:53 |
| ← axl__ left | 18:54 |
|
cmullican
| I just want to get out of this mess. | 18:54 |
|
CareBear\
| cmullican : oh - ok! so *everything* in this commit is bogus, and you have copies of the files you would actually like to commit in another place? | 18:54 |
|
cmullican
| CareBear\: yes | 18:55 |
| ← axl_ left | 18:55 |
| ← RaceCondition left | 18:55 |
|
CareBear\
| cmullican : good! are there any other changes in your worktree that you want to keep? | 18:55 |
| → axl_ joined | 18:55 |
|
cmullican
| Nope! | 18:55 |
|
CareBear\
| cmullican : perfect! git reset --hard master && copy file to html/ && copy file to lib/ && git add html/file lib/file && git commit | 18:56 |
| ← harshpb left | 18:56 |
| → axl__ joined | 18:56 |
|
mkj_wk
| CareBear\: since you asked me to tell you if I found out: reading convert.c it looks like the only result is a possible warning about line ending conversion | 18:56 |
| → harshpb joined | 18:56 |
|
mkj_wk
| CareBear\: so I think my solution will be .gitattributes setting text/binary explicitly in all cases and using git check-attr | 18:57 |
|
CareBear\
| mkj_wk : hm, and can it be triggered without trying to do conversion? | 18:57 |
|
| mkj_wk : as in, some kind of dry run | 18:57 |
|
mkj_wk
| doesn't matter for me since I want to know all cases :) | 18:57 |
|
| I also found out that the auto-guessing won't work for me anyway | 18:58 |
| → dr_win joined | 18:58 |
|
CareBear\
| mkj_wk : also consider crlf/-crlf in order to keep the text/binary detection | 18:58 |
|
| oh, ok | 18:58 |
|
| why? | 18:58 |
|
mkj_wk
| because it turns out that some windows editor (another committer; I'm on Linux) has edited files with only newlines in it and added crs ONLY to the edited lines (!) | 18:58 |
|
| and if the number of cr and nl don't match in a file, git calls it a binary | 18:58 |
|
CareBear\
| great | 18:59 |
| ← beneggett left | 18:59 |
|
mkj_wk
| and git won't normalize it even if .gitattributes calls the file "text" | 18:59 |
| → tjadc joined | 18:59 |
|
CareBear\
| mkj_wk : if you can make $windeveloper do the right thing you can clean everything up in one commit and then tell the other person to start using autocrlf. | 18:59 |
|
mkj_wk
| so I'll script ls-tree, check-attr, and tr -d | 18:59 |
| ← axl_ left | 19:00 |
| axl__ → axl_ | 19:00 |
|
cmullican
| CareBear\: woot! Seems to be working now, thanks! | 19:00 |
|
CareBear\
| cmullican : great! | 19:00 |
|
| cmullican : you're welcome | 19:00 |
|
cbreak
| devs should use a non-shitty editor | 19:00 |
|
| notepad++ can do it | 19:00 |
|
| Visual Studio can do it | 19:00 |
|
CareBear\
| cbreak : it's a people problem, not an editor problem | 19:00 |
|
mkj_wk
| it's possible that git did it, actually | 19:00 |
|
cbreak
| git doesn't muck around with newlines unless you tell it to | 19:01 |
|
mkj_wk
| doing a recursive merge with -X ignore-space-at-eol or something like that | 19:01 |
| → beneggett joined | 19:01 |
|
| mkj_wk checks out a few more version nodes with od -xa to compare | 19:02 |
| → HolySinner joined | 19:05 |
|
HolySinner
| any ideas how these git guis are built ? | 19:06 |
| → fourq joined | 19:06 |
|
HolySinner
| i mean what do they use for the backend git processing ? | 19:06 |
| ← jason237 left | 19:06 |
|
cmn
| which ones? the ones that come with git use git | 19:06 |
|
HolySinner
| no i meant other ones | 19:07 |
|
| like github for mac | 19:07 |
|
cmn
| most call and parse git | 19:07 |
|
HolySinner
| source tree | 19:07 |
|
| octopus | 19:07 |
|
RandalSchwartz
| where's the git wiki link on the git-scm.com website? | 19:07 |
|
cmn
| some use libgit2 | 19:07 |
|
HolySinner
| u mean the porcelain commands ? | 19:07 |
|
cmn
| yes | 19:07 |
|
HolySinner
| but u can't pull and push with libgit can you ? | 19:07 |
|
| well how often does the format of porcelain commands change ? | 19:07 |
|
RandalSchwartz
| it has | 19:07 |
|
| that's all that matters :) | 19:08 |
|
| "git status" has changed quite a bit over teh years | 19:08 |
|
HolySinner
| i mean how reliable is the porcelain | 19:08 |
|
| i want to make a gui | 19:08 |
|
| so it has got to work over all the machines | 19:08 |
|
RandalSchwartz
| you should be using plumbing for that | 19:08 |
|
| not porceilein | 19:09 |
|
mkj_wk
| that's what the plumbing was designed for, after all :) | 19:09 |
|
HolySinner
| so you mean I should develop my own | 19:09 |
| → badfish129 joined | 19:09 |
|
HolySinner
| porcelain | 19:09 |
|
RandalSchwartz
| if you need some, yes | 19:09 |
|
| but there's a lot already there | 19:09 |
|
HolySinner
| ok | 19:09 |
|
| that seems like a lot of job | 19:09 |
|
cmn
| yes, it's a big job | 19:09 |
|
kevlarman
| HolySinner: git status --porcelain isn't supposed to change | 19:10 |
|
HolySinner
| could you give me some references | 19:10 |
|
kevlarman
| even though it's missnamed | 19:10 |
|
badfish129
| can someone help me with some branch stuff | 19:10 |
|
mkj_wk
| kevlarman: well, it's named right if you think of it as "git status for porcelain to read"... | 19:10 |
|
cmn
| references to what? Documentation/ in git.git has all the documentation you should need on using git | 19:10 |
| → mcluskydodallas joined | 19:10 |
|
HolySinner
| no i meant | 19:11 |
|
cmn
| if you want to use libigit2 to make your job easier, see libgit2.github.com | 19:11 |
|
HolySinner
| references to some porcelain projects | 19:11 |
|
| does libgit allow pulling/fetching etc | 19:11 |
|
| i have not been able to find | 19:11 |
|
badfish129
| I forked a project on github, cloned it locally, and made all my changes on master. Now I want master to remain true to the original project, move all those changes to a new branch a, and create a new branch to make completely unrelated changes called b, how do I do this? | 19:11 |
| ← RobertLaptop left | 19:11 |
| → rotham joined | 19:12 |
|
rotham
| hey | 19:12 |
| → RobertLaptop joined | 19:12 |
| → maqr joined | 19:12 |
|
cmn
| what on earth is a porcelain project? | 19:12 |
|
rotham
| how do i delete files from git cache, but leave them in the folder (I added them to .gitignore) | 19:12 |
|
HolySinner
| cmn: I meant a porcelain that parses plumbing commands and returns stuff like structs | 19:13 |
|
adhawkins
| badfish129: How many commits have you made? | 19:13 |
| → martinjlowm joined | 19:13 |
|
HolySinner
| to represent the underlying objects | 19:13 |
|
cmn
| there are many, but most lack in many places | 19:13 |
| ← dr_lepper left | 19:13 |
| → madsy_ joined | 19:13 |
|
HolySinner
| hmmm so u think i should go with libgit ? | 19:14 |
|
cmn
| but that's not what a porcelain is | 19:14 |
|
HolySinner
| cmn: then ? | 19:14 |
|
cmn
| I'm biased, but libgit2 should be the best bet right now | 19:14 |
|
badfish129
| adhawkins: quite a few | 19:14 |
|
| how do I check that? | 19:14 |
|
adhawkins
| git log | 19:14 |
| ← madsy left | 19:15 |
| → tommyvyo joined | 19:15 |
|
HolySinner
| cmn: just one thing - does it allow stuff like cloning/pull/fetch etc | 19:15 |
|
| i have tried to find but couldn't find any concrete proof ? | 19:15 |
|
cmn
| why "allow"? | 19:15 |
|
HolySinner
| as far as i know it does not | 19:15 |
|
cmn
| it doesn't support merging yet | 19:15 |
|
| but it shouldn't be far off | 19:15 |
| ← marc_kdab left | 19:16 |
|
cmn
| cloning is being implemented right now, but with a bit of legwork you can implement it in a way that fits you | 19:16 |
|
| and be done sooner | 19:16 |
|
HolySinner
| cmn: and if i parse the git porcelain - what are the chances it will fail on some machine due to diff versions | 19:16 |
|
cmn
| pushing is being implemented right now as well | 19:16 |
|
| porcelain doesn't guarantee anything | 19:16 |
|
| the output is free to change at any time and for any reason | 19:17 |
| → erasmospunk joined | 19:17 |
| ← i42n left | 19:17 |
| ← harshpb left | 19:18 |
|
badfish129
| adhawkins: when I do a git log, I get a bunch of commits made by the project owners and not by me (I did pulls along the way) | 19:18 |
|
cmn
| pumbling is guranteed to be stable, but it's a PITA, which is why libgit2 and the wrappers exist | 19:18 |
|
adhawkins
| Ah ok, that makes things harder. | 19:18 |
|
kpreid
| rotham: git rm --cached | 19:18 |
|
mkj_wk
| badfish129: hmm, doesn't seem that hard | 19:19 |
|
| badfish129: create a new branch from where you are | 19:19 |
|
| and check out that branch | 19:19 |
|
adhawkins
| git log --author=.... | 19:19 |
|
mkj_wk
| then delete your master branch | 19:19 |
| → SirCmpwn joined | 19:19 |
|
mkj_wk
| and then re-create it as a tracking branch of origin/master | 19:19 |
|
| now you'll have master tracking origing/master and a different branch that you created locally with the work you've done | 19:19 |
| ← palm_vue left | 19:20 |
| ← Lgb left | 19:20 |
|
adhawkins
| mkj_wk He'll end up with the upstream's commits in both master and his created branch | 19:20 |
|
| Will it handle that? | 19:20 |
|
mkj_wk
| didn't he want that? | 19:20 |
|
| I thought he wanted his master to point at where origin/master is now | 19:20 |
|
badfish129
| yeah | 19:20 |
|
adhawkins
| I assume he wants a seperate branch to that he can send a pull request or something. | 19:20 |
|
mkj_wk
| well, after doing this, could always rebase the newly-named branch in order to send a pull request | 19:21 |
|
| assuming the usual warnings about rebase :) | 19:21 |
| → palm_vue joined | 19:21 |
| → Lgb joined | 19:21 |
|
adhawkins
| I was going to suggest he created a branch from where he originally cloned, then cherry pick his commits across. | 19:21 |
|
mkj_wk
| well, to move master it's still easy to create a new branch to hold the ref, then delete master, then recreate master as a tracking branch of origin/master | 19:23 |
| ← Tabmow left | 19:23 |
|
adhawkins
| Yeah | 19:23 |
|
mkj_wk
| then after that, it's possible to cherry pick commits to yet another branch off of master | 19:23 |
|
HolySinner
| cmn: Thanks so much - I think I can use libgit and call git commands for stuff like cloning and all since parsing them is not required | 19:23 |
|
| thx man | 19:23 |
| ← HolySinner left | 19:23 |
|
mkj_wk
| once the branch has been picked clean, it can be deleted and gc'ed, or closed with an -s ours merge, as appropriate :) | 19:24 |
| → avpx joined | 19:24 |
| ← Sigma left | 19:25 |
| → dmsuperman joined | 19:26 |
|
dmsuperman
| When I make a branch of a branch | 19:26 |
| → Vile joined | 19:26 |
|
dmsuperman
| say master -> branchA -> branchA.1 | 19:26 |
|
| what's the command to refresh branchA.1 with all the changes from branchA? | 19:26 |
|
| without pushing back | 19:26 |
|
cmn
| refresh? you mean merge? | 19:27 |
| → Corey_ joined | 19:28 |
|
dmsuperman
| Preferably using rebase (I think?) | 19:28 |
| → Tabmow joined | 19:28 |
|
dmsuperman
| so it doesn't create a merge commit | 19:28 |
|
cmn
| then use that; as long as the branches haven't been published | 19:28 |
|
dmsuperman
| git rebase? | 19:28 |
|
cmn
| otherwise it's !rewriting | 19:28 |
|
gitinfo
| [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 19:28 |
|
dmsuperman
| branchA is published | 19:28 |
|
| branchA.1 is not | 19:28 |
|
| it's my local modification branch | 19:28 |
|
avpx
| dmsuperman: Then rebase, sure | 19:29 |
|
dmsuperman
| thanks | 19:29 |
| → marc_kdab joined | 19:29 |
|
dmsuperman
| What if I push branchA.1 and nobody else makes any changes to it? | 19:30 |
|
| would a rebase still be appropriate? | 19:30 |
|
avpx
| No, because git is distributed and you can't know for sure who is basing their work off of your commits | 19:30 |
|
dmsuperman
| I do know for sure though, it's for work and the branch is in my name | 19:30 |
|
| convention dictates that people don't make changes to other people's named branches | 19:30 |
| → project2501a joined | 19:31 |
|
dmsuperman
| if nobody makes any changes will it force them to rebase ? | 19:31 |
| → nadavoid_ joined | 19:31 |
| → teweWORK joined | 19:31 |
| ← Corey left | 19:31 |
|
avpx
| Of people don't base their work off of the commits which you are replacing, then there is no problem | 19:31 |
|
| The problem is when you rebase commits that other people have built / will build work on. | 19:32 |
| ← nadavoid left | 19:32 |
|
cmn
| as long as it's clear that nobody should be basing work on top of a branch, you can rewrite it | 19:32 |
| → dr_lepper joined | 19:32 |
| ← dr_lepper left | 19:32 |
| → dr_lepper joined | 19:32 |
|
dmsuperman
| Awesome | 19:32 |
|
| thanks guys :) | 19:32 |
| ← dr_win left | 19:32 |
|
mkj_wk
| ok, looking into my crnl issue: git cat-file blob .. | od -xa shows me that the blog for a file (hash from git ls-tree -r master) has only NL, no CR | 19:32 |
|
avpx
| Of course | 19:32 |
|
mkj_wk
| I'm on Linux | 19:33 |
|
| and in attempts to normalize I set core.eol=lf (should be a no-op) and core.autocrlf=input | 19:33 |
|
avpx
| mkj_wk: What is this issue? | 19:33 |
|
mkj_wk
| in .gitattributes I have text=true for the file | 19:34 |
|
| when I check it out, I get CRNL | 19:34 |
|
avpx
| When you say NL, do you mean \n (LF)? | 19:34 |
|
mkj_wk
| right, \r\n if you prefer | 19:34 |
|
avpx
| Okay, I see | 19:34 |
|
mkj_wk
| so, it's \n only in the blob | 19:34 |
|
| but \r\n on the filesystem | 19:34 |
|
avpx
| And is this the blob that's pointed to by the commit at HEAD? | 19:35 |
|
mkj_wk
| yup | 19:35 |
|
avpx
| And you've run git reset --hard? | 19:35 |
|
mkj_wk
| yup -- and just re-checked | 19:35 |
|
avpx
| Okay | 19:35 |
|
mkj_wk
| oh, but rm .git/index and *then* git reset --hard fixed it | 19:35 |
|
avpx
| Ahhh | 19:36 |
|
mkj_wk
| I thought I had done that since my last configuration change | 19:36 |
| → tjadc_ joined | 19:36 |
| → jhardinee joined | 19:36 |
|
mkj_wk
| (been trying to figure out how to not introduce newline changes between Linux/mac and Windows developers using both Git and EGit. It's a challenge. :) | 19:37 |
| ← aristidesfl left | 19:39 |
| ← tjadc_ left | 19:39 |
| → d3c joined | 19:42 |
| ← fly9 left | 19:42 |
| → ivan12348 joined | 19:42 |
| → ivan12349 joined | 19:42 |
| ← rotham left | 19:42 |
| → ivan12350 joined | 19:43 |
| → matsebc joined | 19:43 |
| → fly9 joined | 19:43 |
| ← tjadc left | 19:43 |
| → rotham joined | 19:43 |
|
matsebc
| Hello guys, newbie here, and not even sure this is the proper place to ask, I followed setup instructions for gitolite but when I try to clone the admin repo it says that it does not appear to be a valid repository | 19:43 |
|
| any hints on that? | 19:44 |
|
EugeneKay
| !repro | 19:44 |
|
gitinfo
| Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session, or at least explain exactly what you did that led up to the problem. This will help immensely with troubleshooting. | 19:44 |
| ← joshteam left | 19:44 |
| Corey_ → Corey | 19:45 |
| ← ivan12347 left | 19:45 |
| ← rotham left | 19:46 |
| ← ivan12345 left | 19:46 |
| ← ivan12346 left | 19:46 |
| ← davpoind left | 19:46 |
|
pdtpatrick
| Question - i've done git svn clone --stdlayout <remote> .. and i see all the tags with git branch -r | 19:46 |
| → rotham joined | 19:46 |
|
pdtpatrick
| how can i pull all the tags? | 19:46 |
| ← dmsuperman left | 19:46 |
| → john_anderson joined | 19:47 |
|
cmn
| you already have them | 19:47 |
|
avpx
| pdtpatrick: git branch -r doesn't show the tags | 19:47 |
|
cmn
| git-svn doesn't use the git ref layout | 19:48 |
| → sebrock joined | 19:48 |
|
pdtpatrick
| http://pastie.org/private/j2spr862ru2nvhzhhfyw | 19:48 |
| ← nadavoid_ left | 19:48 |
|
avpx
| Oh. | 19:48 |
|
matsebc
| If followed instructions on this link http://sitaramc.github.com/gitolite/install.html and when I got to the cloning point I get this https://gist.github.com/2968105 | 19:48 |
| ← gerard0 left | 19:48 |
|
matsebc
| S/if/I | 19:49 |
| ← Jackneill left | 19:49 |
| → mischat joined | 19:49 |
|
pdtpatrick
| Looks like this might do the trick: https://github.com/nirvdrum/svn2git | 19:50 |
|
CareBear\
| pdtpatrick : see also http://john.albin.net/git/convert-subversion-to-git | 19:51 |
| → pfFredd joined | 19:53 |
| → apetrescu joined | 19:55 |
| → francisfish joined | 19:55 |
| ← codeM0nK3Y left | 19:55 |
| → blacktulip joined | 19:56 |
| → aristidesfl joined | 19:56 |
| ← StuckMojo left | 20:00 |
| → BHSPiMonkey joined | 20:01 |
| ← BHSPiMonkey left | 20:01 |
| → BHSPiMonkey joined | 20:01 |
|
BHSPiMonkey
| Hi all | 20:01 |
|
gitinfo
| BHSPiMonkey: welcome to #git, a place full of helpful gits. If you have a question, just ask it–somebody should answer shortly. For more information about git and this channel, see the links in the topic. It can't hurt to do a backup (type !backup for help) before trying advice you receive here. | 20:01 |
| → nadavoid joined | 20:01 |
| → talntid joined | 20:02 |
| ← pandeiro left | 20:02 |
|
talntid
| when adding a remote path, what is it looking for? | 20:04 |
| → klj613 joined | 20:04 |
|
_ikke_
| sitaram: Are you there? | 20:04 |
|
talntid
| I have a git repository on my website, but when I put in my website URL, it's not pulling | 20:04 |
| ← barmaglot_ left | 20:04 |
| → btree_ joined | 20:04 |
| → robbyoconnor joined | 20:05 |
| ← marc_kdab left | 20:05 |
| → cdash004 joined | 20:05 |
| ← marthinal left | 20:07 |
| ← nadavoid left | 20:07 |
| ← john_anderson left | 20:07 |
|
cmn
| a repo on the website? are you trying to use the dumb http protocol? | 20:08 |
| ← btree left | 20:08 |
| ← fuzzybunny69y left | 20:08 |
| → nadavoid joined | 20:08 |
|
talntid
| cmn, no, cmn | 20:08 |
| ← mmc2 left | 20:09 |
|
talntid
| good tip though, I didn't use ssh:// to do uit | 20:09 |
| ← krosenbl left | 20:09 |
| ← matsebc left | 20:09 |
|
cmn
| what? | 20:09 |
| ← JoshuaA left | 20:09 |
|
cmn
| this doesn't make any sense. what does the website have to do with ssh? | 20:10 |
|
talntid
| i was adding the remote repo using http://www.thewebsitename.com | 20:11 |
| ← adhawkins left | 20:12 |
| ← apetrescu left | 20:12 |
|
cmn
| if there isn't a repo there, there's not much git can do | 20:12 |
| ← resmo__ left | 20:13 |
| → apetrescu joined | 20:13 |
| ← madsy_ left | 20:13 |
| → alexukf joined | 20:15 |
|
talntid
| needed to be ssh:// | 20:16 |
|
_ikke_
| Somehow, my gitolite setup seems broken | 20:16 |
| → john_anderson joined | 20:18 |
|
avpx
| talntid: So it wasn't really a "website" | 20:18 |
| → marc_kdab joined | 20:19 |
| ← h0bbit left | 20:20 |
| ← sebrock left | 20:21 |
| → gerard0 joined | 20:21 |
| → AlbireoX`Laptop joined | 20:22 |
| ← FreeArtMan left | 20:23 |
| ← brentratliff left | 20:24 |
| → fsvend joined | 20:24 |
| ← matthiaskrgr left | 20:24 |
| ← needsch left | 20:25 |
| → resmo__ joined | 20:25 |
| ← Fullmoon left | 20:26 |
| ← jhardinee left | 20:28 |
| → Mowsh joined | 20:29 |
| ← angelsl left | 20:29 |
| ← ISF left | 20:31 |
| → burak575__ joined | 20:31 |
| ← iamjarvo left | 20:31 |
| ← ToBeFree left | 20:33 |
| ← warthog9 left | 20:34 |
| ← burak575_ left | 20:34 |
|
shtrb
| is there any thing I could do to go around :r60900 = 013234d913dd40224c60b266b651c1b728207791 (refs/remotes/git-svn) | 20:34 |
|
| error: git-svn died of signal 13 | 20:34 |
|
| 2 hours of clone | 20:35 |
|
cmn
| signal 13 is EPIPE, no? | 20:36 |
|
shtrb
| 13 is SIGSEGV afaik | 20:36 |
| → jhardinee joined | 20:37 |
|
avpx
| According to the man page on signal(7), 13 is SIGPIPE | 20:37 |
|
shtrb
| ok what can I do ? | 20:37 |
|
CareBear\
| shtrb : move closer to the svn server and start over | 20:38 |
|
| (network wise) | 20:38 |
|
cmn
| pretty much, yeah | 20:38 |
|
| that means that the connection was closed | 20:38 |
|
| IIRC git svn fetch should continue | 20:38 |
|
shtrb
| CareBear\ : it happen even one a machine connected directed to server | 20:38 |
| → joshteam joined | 20:39 |
|
CareBear\
| try it on the server too | 20:39 |
|
cmn
| but if you're going to move all to git, importing locally would be a lot better | 20:39 |
|
CareBear\
| cmn++ | 20:39 |
|
cmn
| or use svn-dump-fast-import (-export?) which should be at least as fast, maybe faster | 20:40 |
| → btree__ joined | 20:40 |
| → eletuchy_ joined | 20:41 |
| ← eletuchy left | 20:41 |
| → fourlastor joined | 20:41 |
|
shtrb
| moment I can take exported svn and then some how use git-svn to use against original rep ? | 20:42 |
| → btree joined | 20:42 |
|
shtrb
| i.e. I have all the sources files allready (did svn checkout in a diffrent directory and all went ok) | 20:42 |
| ← dr_lepper left | 20:42 |
|
cmn
| a svn checkout is completely different from a git-svn clone | 20:43 |
|
shtrb
| :-( | 20:43 |
|
talntid
| having a hell of a time getting a git repo working | 20:43 |
|
| on my remote server via ssh, i did a "git init" | 20:43 |
|
avpx
| You should do git init --bare | 20:44 |
| ← btree_ left | 20:44 |
|
talntid
| on my local machine, i have a folder, which is setup as a git repo, and when I push to it, it tells me "not all refs pushed" | 20:44 |
| ← john_anderson left | 20:44 |
|
shtrb
| cmn , is there a way I could take exported files and push it into git svn clone dir ? | 20:44 |
| → vdv_ joined | 20:44 |
|
shtrb
| I don't need the history | 20:44 |
| ← vdv_ left | 20:44 |
|
cmn
| what are "exported files"? | 20:44 |
| ← vdv left | 20:44 |
|
avpx
| talntid: We'll need to know more specifically what commands you are using | 20:44 |
|
cmn
| if you need the history, why are you cloning? | 20:44 |
|
| just do git init somewhere | 20:45 |
| ← btree__ left | 20:45 |
| → vdv joined | 20:45 |
|
shtrb
| cmn, I don't need the history (can live without it) I need to be able to do git svn commit git dcommit | 20:45 |
| → berserkr joined | 20:45 |
|
cmn
| then limit what you're cloning | 20:45 |
|
shtrb
| cmn, to some svn rep | 20:45 |
| ← hoschi left | 20:45 |
| ← savid left | 20:45 |
|
shtrb
| I did for 90 revitions and even for one | 20:45 |
|
| all fail | 20:45 |
|
cmn
| fail how? | 20:46 |
| ← iwoj left | 20:46 |
|
cmn
| what did you actually do? | 20:46 |
| → john_anderson joined | 20:46 |
| ← tigrang left | 20:46 |
|
shtrb
| git svn clone -r60900:HEAD https://ip/svn/name/trunk (one revition back) and I get rXXX: hash and git | 20:47 |
|
| exits | 20:47 |
| ← andrewhl left | 20:47 |
|
shtrb
| in a diffrent event I got the signal 13 | 20:47 |
| → matthiaskrgr joined | 20:48 |
| ← d3c left | 20:48 |
|
shtrb
| the clone is for a sevral GBs | 20:48 |
| ← mkj_wk left | 20:48 |
| ← edude03 left | 20:49 |
| → eurbach joined | 20:50 |
| ← eurbach left | 20:50 |
| → edude03 joined | 20:50 |
| ← lotus left | 20:50 |
| → adamm joined | 20:53 |
| → savid joined | 20:54 |
|
cmn
| different event? | 20:55 |
| → oops joined | 20:55 |
|
cmn
| does git say anything on that rev? did trunk get modified in that rev? | 20:55 |
|
oops
| I want to set upstream without using the git push -u command. How can I do it using git-config? | 20:56 |
| → trying2code joined | 20:56 |
| ← edude03 left | 20:56 |
|
cmn
| why do you want to use config? it's annoying, man git branch --set-upstream | 20:56 |
|
gitinfo
| the git-branch manpage is available at http://git-scm.com/docs/git-branch.html | 20:56 |
|
shtrb
| cmn, first event run on time second event time + 2 hours (no commits in between) | 20:56 |
| ← mishok13 left | 20:57 |
|
oops
| cmn, thanks | 20:57 |
| → toabctl joined | 20:57 |
| ← Araxia_ left | 20:58 |
|
shtrb
| cmn , If I would do a local svn rep after doing an svn export and do git svn clone will be able set git to commit to the original source ? | 20:58 |
|
cmn
| probably | 20:58 |
|
shtrb
| cmn, any ideas how ? | 20:59 |
|
cmn
| it depends on how the GUIDs change | 20:59 |
|
| shtrb have no idea | 20:59 |
|
cmn
| me neither | 20:59 |
|
| but the problem is grabbing data from the repo, not importing the repo | 20:59 |
| ← guampa left | 20:59 |
|
cmn
| you still haven't answered my questions about what git did | 21:00 |
|
shtrb
| I mean I have now all the files in a folder the files are on the exact version as in the rep so if I could only tell git use them instead of downloading them | 21:00 |
|
badfish129
| I have a forked repo cloned locally, I've made changes on master, and two branches a and b. How do I make master reflect the original repository (that I forked from) while keeping my changes on a and b? | 21:00 |
|
cmn
| if you can recreate the git-svn metadata by hand | 21:00 |
| ← imrobert left | 21:01 |
|
| shtrb is searching how he could recreate the metadata | 21:01 |
|
shtrb
| cmn, I think it could actually work | 21:01 |
| → imrobert joined | 21:01 |
| → edude03 joined | 21:01 |
| ← imrobert left | 21:01 |
| ← eicto left | 21:01 |
| → imrobert joined | 21:01 |
| ← imrobert left | 21:01 |
|
shtrb
| cmn, for preious attempts git was getting into some file writing revition number : hash and then just exiting | 21:02 |
| → needsch joined | 21:02 |
|
shtrb
| no error code , no messages just exit | 21:02 |
| → nadavoid_ joined | 21:03 |
| ← comps left | 21:03 |
|
cmn
| and the question that might shed some light? the last one in that sentence? | 21:04 |
| ← tommyvyo left | 21:04 |
| ← nadavoid left | 21:05 |
|
badfish129
| anyone? | 21:05 |
| ← Tinti left | 21:05 |
|
imachuchu
| badfish129: essentually it is "git checkout master" then "git reset --hard origin/master" | 21:06 |
|
| badfish129: but read up on reset first and I'm not sure the "origin/master" part is right as it depends on what you called your remote (or if you cloned) and what the remote's branch that you are tracking is called | 21:07 |
|
| badfish129: lastly that won't "make master reflect the original repository" but "make master reflect the original branch" which I think is what you mean | 21:08 |
|
badfish129
| yup | 21:09 |
|
| so if I were to an add a remote to the original repo | 21:09 |
|
| and then do a reset hard with that remote | 21:09 |
|
| it should work? | 21:09 |
| ← fission6 left | 21:09 |
| ← alberto56 left | 21:12 |
| ← intransit left | 21:12 |
| → venom00 joined | 21:14 |
| → eicto joined | 21:14 |
|
venom00
| hello, I've had to rewrite part of the history of a git repo (wrong commiter e-mail address) | 21:14 |
| → Goplat joined | 21:14 |
|
imachuchu
| badfish129: yes, but you most likely just want one branch for each remote so the reset may not be needed/what you actually want | 21:15 |
|
venom00
| then I `git push --force`d, now the other clones of the repo have two entries for the rewritten commits | 21:15 |
|
| is there a way to repair the history/log on the already existsing clones? | 21:15 |
| ← shreya left | 21:16 |
|
imachuchu
| venom00: first off !rewrite secondly when you say "two entries" you mean the before and after right? | 21:17 |
|
gitinfo
| venom00: [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 21:17 |
| ← toabctl left | 21:18 |
|
badfish129
| imachuchu: things are not working | 21:19 |
|
| I did a git add remote base https://therepothatIforkedfrom.git | 21:20 |
|
| and then I did git reset --hard base/master | 21:20 |
| → madsy joined | 21:20 |
| ← madsy left | 21:20 |
| → madsy joined | 21:20 |
| ← egarcia left | 21:20 |
| ← klj613 left | 21:20 |
|
badfish129
| but then it gives me git checkout -b newdesign origin/newdesign | 21:20 |
|
| whoops | 21:20 |
| ← john_anderson left | 21:21 |
|
badfish129
| it gives me fatal: ambiguous argument 'base/master': unknown revision or path not in working tree | 21:21 |
| ← davidfetter_vmw left | 21:21 |
|
avpx
| Did you run git fetch? | 21:21 |
| → john_anderson joined | 21:21 |
| ← eletuchy_ left | 21:22 |
| ← nasso_ left | 21:22 |
| → eletuchy joined | 21:22 |
| → nasso joined | 21:23 |
| → thiago_ joined | 21:23 |
| ← thiago left | 21:23 |
| ← bgerber left | 21:24 |
|
badfish129
| avpx: ah thats what i was missing, thanks | 21:24 |
| infogulch → infogulch|afk | 21:24 |
|
avpx
| badfish129: Yeah, git remote add just sets up the URL. git fetch is what gets you the refs / objects from the remote | 21:24 |
| ← trying2code left | 21:25 |
| → rcu joined | 21:25 |
| → warthog9 joined | 21:25 |
| → andrewhl joined | 21:26 |
| ← shtrb left | 21:26 |
| ← avandenhoven left | 21:26 |
| ← hellopat left | 21:26 |
| → kcj joined | 21:27 |
| ← wanders left | 21:27 |
| → marcogmonteiro joined | 21:27 |
| ← d0k left | 21:27 |
| ← aristidesfl left | 21:27 |
| ← irqq left | 21:27 |
| ← mwrosen left | 21:28 |
| → wbednarski joined | 21:28 |
| → bgerber joined | 21:28 |
| gitinfo set mode: +v | 21:28 |
| → aristidesfl joined | 21:29 |
| ← andrewhl left | 21:30 |
| → shtrb joined | 21:30 |
|
venom00
| imachuchu, yep, before and after | 21:31 |
| → pantsman joined | 21:32 |
| ← pantsman left | 21:32 |
| → pantsman joined | 21:32 |
|
venom00
| imachuchu, I'm aware of the problems of rewriting, but what are the alternatives in my case? | 21:32 |
| ← martinjlowm left | 21:32 |
| → wanders joined | 21:33 |
| ← mpenz left | 21:33 |
| → alberto56 joined | 21:34 |
| tuxx_ → Guest68101 | 21:34 |
|
venom00
| it'd be nice to have a list of committers/authors identified by some ID so one can change their info easily without rewriting, but I don't know if it's doable | 21:34 |
|
cmn
| mailmap | 21:34 |
|
FauxFaux
| For what tool? In git log? Just sed it. | 21:34 |
| ← whitman left | 21:34 |
| → pfFred joined | 21:35 |
|
shtrb
| cnm , I think I found a solution - after a failed (signal 13) git svn clone doing git fetch from a sub dir and it continued :D | 21:36 |
|
| why didn't I think about that few hours ago :-( | 21:36 |
|
imachuchu
| venom00: it's a catch-22. Git won't change history behind someones back (and shouldn't!) yet you really want to change history. Your options (as far as I know are): 1. Accept the problem and ignore. 2. Revert the changes and recommit (most likely very messy). 3. Fixup the history, then have all other developers rebase/reset their branches to use the new history | 21:37 |
| ← nadavoid_ left | 21:37 |
|
cmn
| shtrb: I told you about that earlier | 21:37 |
|
imachuchu
| venom00: the difference between 2 and 3 is that 3 changes history (so all developers must acknowledge and shift their stuff around) while 2 just moves on from where we already are | 21:38 |
|
shtrb
| cmn, I missed that I guess (to try to do a fetch in the cloned dir) | 21:38 |
| gitinfo set mode: +v | 21:38 |
| thiago_ → thiago | 21:38 |
| ← pfFredd left | 21:38 |
| → nadavoid joined | 21:39 |
|
venom00
| imachuchu, in truth I'm the only developer, but now others are going to join | 21:39 |
|
| luckily | 21:39 |
|
| however I'm afraid this will happen again :P | 21:39 |
| → diegoviola joined | 21:39 |
| → madewokherd joined | 21:40 |
|
cmn
| venom00: man git config mailmap.file | 21:40 |
|
gitinfo
| venom00: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 21:40 |
|
venom00
| I think I'll opt for third solution | 21:40 |
| ← Innocentus left | 21:40 |
| ← Superlokkus left | 21:41 |
|
venom00
| cmn, thanks I'll investigate mailmap, whatever it is | 21:41 |
| ← etcetera left | 21:42 |
|
cmn
| it's what you were asking for | 21:42 |
|
| a waya to map one identity to another | 21:42 |
| → etcetera joined | 21:44 |
| ← ferdna left | 21:44 |
| ← p3rror left | 21:44 |
| ← edude03 left | 21:45 |
| → p3rror joined | 21:46 |
|
venom00
| cmn, looks like a patchwork but could solve my problem | 21:46 |
|
| thanks a lot | 21:46 |
| ← alexukf left | 21:46 |
|
cmn
| there is no other way to have such a mapping | 21:46 |
| → HyperNerdV2 joined | 21:47 |
| → edude03 joined | 21:47 |
| → endzYme joined | 21:48 |
|
endzYme
| So I went to push a new commit to my remote server via ssh and I am getting a fatal: object corrupt | 21:48 |
|
SJr
| How do I get my git repo to always store files as a certain group, and with a certain directory and file permission. | 21:48 |
|
endzYme
| FS and OS are fine, how can I resolve this? | 21:48 |
|
FauxFaux
| SJr: !deploy | 21:49 |
|
gitinfo
| SJr: Git is not a deployment tool, but you can build one around it for simple environments. Here is an example hook to get you started: http://goo.gl/l68hq | 21:49 |
|
SJr
| ? | 21:49 |
| ← robbyoconnor left | 21:49 |
|
SJr
| how is this a deployment issue? | 21:49 |
|
imachuchu
| endzYme: git fsck | 21:49 |
|
SJr
| One problem we keep having is every time we check files in, the person needs to go to the repo, and then do chmod -R 775 *, and chown -R * | 21:49 |
|
FauxFaux
| SJr: The fact that multiple people have access implies that either you're using a shared filesytem (VERY BAD) or that you're editing on a deployed copy of the application (EVEN WORSE)? | 21:50 |
| → deltree_ joined | 21:50 |
|
endzYme
| imachuchu: just shows two "dangling tag"s | 21:51 |
|
SJr
| shared file system :) | 21:52 |
| ← AaronMT left | 21:52 |
|
FauxFaux
| Yeah, don't do that. | 21:52 |
|
cmn
| SJr: see man git init --shared if you must | 21:52 |
|
gitinfo
| SJr: the git-init manpage is available at http://git-scm.com/docs/git-init.html | 21:52 |
| → comps joined | 21:52 |
|
SJr
| Yeah I think it is initialized as --shared | 21:52 |
|
FauxFaux
| cmn: Is that even going to help with multiple users /committing/ inside the same repo? | 21:53 |
|
imachuchu
| sorry but I have to go, can someone else help endzYme | 21:53 |
| ← imachuchu left | 21:53 |
| → jason237 joined | 21:53 |
|
cmn
| FauxFaux: not against that, but I assumed that was way too silly to be what's hapenning | 21:53 |
|
FauxFaux
| I'm suddenly too scared to switch jobs again, there's too much stupid in the world. | 21:54 |
|
SJr
| Because of this? | 21:54 |
| → raatiniemi joined | 21:54 |
| → psoo joined | 21:54 |
|
FauxFaux
| Well, the idea that shared filesystems could seem more attractive than provisioning a linux box to run a git server. | 21:55 |
|
cmn
| SJr: that depends on what you're actually doing | 21:55 |
|
endzYme
| anyone have a good link of how to determine why a repo has been corrupted and how to resolve? | 21:55 |
|
FauxFaux
| There's various writups under titles like "dealing with repo corruption". | 21:56 |
| ← airborn left | 21:56 |
|
endzYme
| FauxFaux: as in google it? | 21:56 |
|
SJr
| Basically on a Shared File System we have a --bare --shared repo, that we clone and use as an origin/master | 21:57 |
|
| to our own local working copies. | 21:57 |
|
| So when we push to upstream we have problems with permissions. | 21:57 |
| ← john2496 left | 21:57 |
| ← fly9 left | 21:58 |
|
cmn
| are the people in the same group? do all OSs support groups sanely? | 21:59 |
|
SJr
| Yes, but some have different primary groups | 22:00 |
|
| I believe it's all Linux machines | 22:00 |
|
| Is this just a umask problem, and unrelated to git? | 22:00 |
| → ISF joined | 22:00 |
| → dfrey joined | 22:00 |
| → imrobert joined | 22:00 |
| → matsebc joined | 22:00 |
|
matsebc
| is there a gitolite support irc channel? | 22:00 |
| ← afuentes left | 22:00 |
| ← Mowsh left | 22:01 |
|
cmn
| doing all those chmod probably doesn't help | 22:01 |
| → alanp joined | 22:01 |
| ← alanp left | 22:01 |
| → alanp joined | 22:01 |
| ← Maccer left | 22:01 |
| ← dv310p3r left | 22:01 |
| ← imrobert left | 22:02 |
| → imrobert joined | 22:02 |
| ← alanp_ left | 22:02 |
|
endzYme
| matsebc: yes #gitolite | 22:02 |
| ← Destos left | 22:02 |
|
matsebc
| ops sorry, thanks | 22:02 |
| ← OOPMan left | 22:03 |
| → Tinti joined | 22:03 |
| ← john_anderson left | 22:03 |
| ← imrobert left | 22:03 |
| → imrobert joined | 22:03 |
| → guampa joined | 22:03 |
| ← imrobert left | 22:03 |
| → OOPMan joined | 22:03 |
| → imrobert joined | 22:03 |
| → john_anderson joined | 22:04 |
| → bicranial joined | 22:05 |
| → Fidelix joined | 22:05 |
| ← imrobert left | 22:05 |
| ← glennpratt left | 22:05 |
| → imrobert joined | 22:05 |
|
Fidelix
| What is a good git workflow with automatic "deploy" for stage/live? | 22:05 |
|
| I tried using gitlab, but it does not provide that. | 22:05 |
|
| Only clumsy "web-hooks" | 22:06 |
|
| That are worthless for the average users | 22:06 |
| ← imrobert left | 22:06 |
| → imrobert joined | 22:06 |
| ← ces left | 22:06 |
| ← francisfish left | 22:06 |
|
cmn
| generally to push to whatever branch is live and trigger a deployment | 22:07 |
|
Fidelix
| cmn, using what, standard hooks? | 22:08 |
|
cmn
| and to make sure that branch only gets updated with tested code | 22:08 |
|
| using whatever fits your needs best | 22:08 |
|
| maybe normal git hooks, or you can signal via one of those web hooks | 22:08 |
|
SJr
| cmn I think it's probably just setting the umask to be 0007, and then setting it g+s | 22:08 |
|
cmn
| deployment is not something that git does; so you need to identify how you want to deploy and make sure pushing to that branch triggers it | 22:09 |
|
Fidelix
| cmn, this sounds too much hassle for something so simple. I currently do standard hooks, with no checks for staging, and to live, only manually. | 22:09 |
| → fuzzybunny69y joined | 22:09 |
|
cmn
| gitlab uses gitolite underneath, so it should be possible to use "normal" hooks | 22:09 |
|
Fidelix
| cmn, I know that. I was hoping one of you could recommend a tool that could help with that | 22:09 |
| ← dzonder left | 22:09 |
|
cmn
| simple? deployment isn't that simple | 22:09 |
| ← fayimora left | 22:09 |
| ← maletor left | 22:10 |
|
cmn
| there are many deployment tools, your framework or environment would probably make you choose one over another | 22:10 |
|
Fidelix
| cmn, gitlab overwrites your hooks | 22:10 |
|
cmn
| this is not something that git does | 22:10 |
|
Fidelix
| It already implements a post-receive hook, and if you edit it, it will overwrite it | 22:10 |
|
| cmn, OK. Do you have some tool to recommend? | 22:10 |
|
cmn
| gitolite has secondary hooks | 22:10 |
|
| there's on in !deploy | 22:10 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it for simple environments. Here is an example hook to get you started: http://goo.gl/l68hq | 22:10 |
| ← juanfer left | 22:11 |
|
cmn
| capistrano is popular among ruby people | 22:11 |
|
Fidelix
| Now that's a start. Capistrano. Thanks. Anything else? | 22:11 |
| ← imrobert left | 22:11 |
| → imrobert joined | 22:11 |
|
cmn
| no idea, I either outsource my deployment or let jekyll do a crappy one | 22:11 |
| → maletor joined | 22:12 |
|
cmn
| and ignore the race condition | 22:12 |
| ← nadavoid left | 22:12 |
| ← ISF left | 22:12 |
| ← TheJH left | 22:13 |
| → ro0 joined | 22:13 |
| ← raatiniemi left | 22:13 |
| ← AeroNotix left | 22:17 |
| → ferdna joined | 22:18 |
| ← marhaban left | 22:19 |
| SirCmpwn → behind | 22:21 |
| behind → SirCmpwn | 22:21 |
| → airborn joined | 22:21 |
| → fayimora joined | 22:21 |
| ← duckxx left | 22:22 |
| → duckxx joined | 22:23 |
| → cybersphinx joined | 22:23 |
| → imran-uk2 joined | 22:24 |
| ← jhegge left | 22:24 |
| ← davidjdagino left | 22:26 |
| ← the_cybersphinx left | 22:26 |
| ← tr-808 left | 22:27 |
| ← kermit left | 22:27 |
| → tr-808 joined | 22:27 |
| → tr-808_ joined | 22:28 |
| ← eicto left | 22:28 |
| → nadavoid joined | 22:28 |
| → kermit joined | 22:28 |
| ← arietis left | 22:29 |
| ← burak575__ left | 22:29 |
| → Diego_g joined | 22:29 |
| ← duckxx left | 22:29 |
| ← Einzig_ left | 22:29 |
| ← apetrescu left | 22:30 |
| ← fsvend left | 22:30 |
| ← Tabmow left | 22:31 |
| ← Tommy[D] left | 22:32 |
| ← eijk left | 22:32 |
| → apetrescu joined | 22:32 |
| → Tommy[D] joined | 22:33 |
| ← tr-808 left | 22:33 |
| → tr-808 joined | 22:33 |
| → bulletmark joined | 22:34 |
| → Corey_ joined | 22:36 |
| → Tabmow joined | 22:36 |
| ← airborn left | 22:37 |
| ← venom00 left | 22:37 |
| ← wanders left | 22:38 |
| → sshres15 joined | 22:39 |
| ← Corey left | 22:40 |
| → lemonade` joined | 22:41 |
| ← bulletmark left | 22:41 |
| ← ehsan left | 22:41 |
| → eicto joined | 22:41 |
| → adityamenon joined | 22:42 |
| → alexukf joined | 22:42 |
| → AlexMax joined | 22:42 |
| → ehsan joined | 22:42 |
| ← ehsan left | 22:43 |
| ← shruggar left | 22:43 |
| ← AdrienBrault left | 22:43 |
| → wanders joined | 22:43 |
| ← marcuy_ left | 22:44 |
|
AlexMax
| I have a repository on github that is actually a git-svn repository. I notice that when i git clone it, none of the SVN metadata is set up. Is it safe to git svn fetch on this repository? | 22:44 |
| ← mikepack left | 22:44 |
| ← endzYme left | 22:44 |
| ← aristidesfl left | 22:45 |
| Corey_ → Corey | 22:45 |
|
kevlarman
| AlexMax: you'll need to set up the svn metadata manually | 22:45 |
|
AlexMax
| But is it safe to do so? | 22:45 |
|
kevlarman
| AlexMax: the git-svn man page has an example of how to do that | 22:45 |
| ← jajmon left | 22:45 |
| → aristidesfl joined | 22:46 |
|
kevlarman
| AlexMax: it's the third one in the examples section | 22:46 |
| ← nadavoid left | 22:46 |
| ← eicto left | 22:46 |
| ← HyperNerdV2 left | 22:46 |
| → zinjacoder joined | 22:47 |
| → Maccer joined | 22:48 |
| → eicto joined | 22:48 |
| ← macabre left | 22:48 |
| ← revagomes left | 22:49 |
| → pranjal710 joined | 22:51 |
| ← pranjal710 left | 22:51 |
| → Fandekasp joined | 22:51 |
| → archdori joined | 22:52 |
| ← alanp left | 22:53 |
| ← fourlastor left | 22:56 |
| → fayimora_ joined | 22:57 |
| → marcuy_ joined | 22:58 |
| ← AlbireoX`Laptop left | 22:58 |
| ← psoo left | 22:59 |
| ← zinjacoder left | 22:59 |
| ← mtytel left | 22:59 |
| ← fayimora left | 23:00 |
| fayimora_ → fayimora | 23:00 |
| → w09x joined | 23:01 |
| ← Dave^| left | 23:02 |
| → bulletmark joined | 23:02 |
| ← marcogmonteiro left | 23:02 |
| ← erasmospunk left | 23:02 |
| ← beatak left | 23:02 |
| → marcogmonteiro joined | 23:03 |
| ← Vampire0_ left | 23:04 |
| ← unreal left | 23:05 |
|
diegoviola
| http://russellwarner.deviantart.com/art/F-you-309064510 | 23:06 |
| ← tr-808 left | 23:06 |
| → dv310p3r joined | 23:07 |
| → kcm1700_ joined | 23:08 |
| → cilly joined | 23:08 |
| → hwrd|wor_ joined | 23:09 |
| → unreal joined | 23:09 |
| ← hwrd|work left | 23:09 |
| → HyperNerdV2 joined | 23:10 |
| → ISF joined | 23:10 |
| ← kcm1700 left | 23:11 |
| ← dfr|mac left | 23:17 |
| ← cmullican left | 23:17 |
| ← bulletmark left | 23:18 |
| ← shtrb left | 23:19 |
| ← imran-uk2 left | 23:19 |
| → egarcia joined | 23:20 |
| → intransit joined | 23:23 |
| ← cagedwisdom left | 23:23 |
| → avinashhm joined | 23:23 |
| ← fayimora left | 23:24 |
| ← wbednarski left | 23:25 |
| ← blacktulip left | 23:25 |
| → delinquentme joined | 23:25 |
|
delinquentme
| hey all I just forked a project and made some code edits | 23:25 |
|
| now im getting a 403 when I try to push to my forked branch | 23:25 |
|
badfish129
| is your remote set to the original project or your fork? | 23:26 |
|
delinquentme
| in my config file it shows my fork as the origin | 23:26 |
|
| url = https://github.com/delinquentme/bioruby.git | 23:26 |
| ← apetrescu left | 23:26 |
|
badfish129
| wrong username/password? | 23:27 |
|
| i was just getting a 403 with that | 23:27 |
| → ehsan joined | 23:27 |
| ← bgerber left | 23:27 |
| ← rcu left | 23:27 |
| → fayimora joined | 23:27 |
| → apetrescu joined | 23:28 |
| → cagedwisdom joined | 23:29 |
| → bgerber joined | 23:29 |
|
delinquentme
| hmmm badfish129 how do I check that | 23:29 |
|
| whats the normal login command anyways | 23:29 |
| ← tyatpi left | 23:30 |
| ← pantsman left | 23:30 |
|
badfish129
| I would just follow the github instructions and regenerate your ssh key | 23:30 |
| → glennpratt joined | 23:31 |
| ← oogatta left | 23:31 |
|
suedoh
| Hi, could someone recommend a method to remove all tracking history for a certain directory which doesn't exist on the local filesystem anymore and has been git rm'ed as well? When I try to do a checkout on a virtual machine, it ends up crashing because the repo is too large. So I'm trying to shrink it down. | 23:31 |
|
cbreak
| suedoh: that's unlikely | 23:32 |
| ← PrinceAMD- left | 23:32 |
|
cbreak
| but if you want to remove history, you have to rewrite history | 23:32 |
|
| suedoh: man git filter-branch | 23:32 |
|
gitinfo
| suedoh: the git-filter-branch manpage is available at http://git-scm.com/docs/git-filter-branch.html | 23:32 |
|
cbreak
| look at index filter | 23:32 |
|
suedoh
| Oh, that sounds scary | 23:32 |
|
| Rewrite history | 23:32 |
|
| heh | 23:32 |
|
thiago
| it is scary | 23:32 |
| ← TeckniX left | 23:32 |
|
cbreak
| not really | 23:32 |
|
thiago
| everyone would need to re-clone | 23:32 |
|
| (to put it in simple terms) | 23:32 |
|
cbreak
| you'll just end up on a separate timeline | 23:32 |
|
suedoh
| I'm not very worried about everyone, because only two people exist in this project | 23:32 |
|
cbreak
| you do know time travel movies, right? :) | 23:33 |
| ← ehsan left | 23:33 |
|
avpx
| I'm surprised nobody has used !rewrite yet | 23:33 |
|
gitinfo
| [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to `git pull --rebase` and even worse things if they have tagged or branched, so you must publish your humiliation so they know what to do. You will need to `git push -f` to force the push. The server may not allow this. See receive.denyNonFastForwards (git-config) | 23:33 |
|
suedoh
| Yea of course! The Doc. is right here | 23:33 |
|
thiago
| only in a few sci-fi movies & shows do they stick to the new timeline | 23:33 |
|
suedoh
| (From Back to the Future) :) | 23:33 |
|
thiago
| in most, they go back to the original later | 23:33 |
|
cbreak
| if you change anything in the past, be it a single byte, everything that follows will change as well :) | 23:33 |
|
| thiago: or one that looks very similar | 23:34 |
| ← delinquentme left | 23:34 |
|
thiago
| in Eureka they stayed in the new timeline | 23:34 |
|
| I don't like the new Star Trek timeline | 23:34 |
| ← intransit left | 23:34 |
|
cbreak
| in back to the future repeatedly :) | 23:34 |
|
avpx
| filter-branch is a good way to accomplish this, though. Basically it's a command that goes over a sequence of commits and allows you to make some modification to them. | 23:34 |
| → oogatta joined | 23:34 |
|
cbreak
| but really, if your VM crashes on clone | 23:35 |
|
avpx
| So for instance, if you want to go over HEAD and its ancestors and modify commits so that you remove a file called "foo", you can run: git filter-branch --index-filter 'rm --cached --ignore-unmatch foo' HEAD | 23:35 |
|
cbreak
| then you likely have too big files | 23:35 |
|
| not too big repo | 23:35 |
|
suedoh
| Rewrite b145bc6315e7aeba9b826f21e827ed635c0ee6e4 (5/5)error: duplicate parent 664901326e4a57065e4def99fb2bdfc9f3c529b1 ignored | 23:35 |
|
| What does this mean? | 23:35 |
|
| My command was | 23:35 |
|
| $ git filter-branch --subdirectory-filter new26 -- --all | 23:35 |
|
| I want to remove the directory new26/ and all objects history below it | 23:36 |
|
cbreak
| well | 23:36 |
| → xnm joined | 23:36 |
|
cbreak
| your command removes everything BUT new26 | 23:36 |
|
suedoh
| I'm worry that this duplicate parent is something that's alerting me my repository is screwed | 23:37 |
|
| I just now did a brand new clone, and that's the one I'm working with | 23:37 |
|
| So to me that sounds scary | 23:37 |
|
avpx
| Did you make a !backup before proceeding? | 23:37 |
|
gitinfo
| Taking a backup of a git repository is always a good idea, especially when taking advice over IRC. Usually, the best way to TACTICALLY back up a git repo is `git clone --mirror`. However, some unusual maintenance might require `tar cf repo-backup.tar repodir`. Testing in a clone is also an excellent idea. See also http://sethrobertson.github.com/GitBestPractices/#backups | 23:37 |
|
cbreak
| would have to look at history graph | 23:37 |
|
| but going to bed, so don't have time | 23:37 |
|
suedoh
| avpx, Yea I made backups | 23:37 |
|
cbreak
| but what you want is probably index filter, not subdirectory filter | 23:37 |
|
| do something like git rm --cached as written above | 23:38 |
|
suedoh
| cbreak, Thanks much, appreciate your support. Have good rest | 23:38 |
|
| cbreak, I would do rm --cached but these directories have already been hit w/ that command | 23:38 |
| → _huoxito joined | 23:38 |
| ← rotham left | 23:38 |
|
cbreak
| not in the past | 23:38 |
|
suedoh
| I'm trying to remove all history, because my checkout crashes on virtual machines with smaller memory | 23:38 |
|
| fatal: Out of memory, malloc failed (tried to allocate 734276974 bytes) | 23:38 |
|
| fatal: index-pack failed | 23:38 |
| → tigrang joined | 23:38 |
|
suedoh
| that is what I'm trying to resolve :) | 23:39 |
|
cbreak
| filter-branch will execute that command in the past, in every commit | 23:39 |
| → rotham joined | 23:39 |
|
cbreak
| suedoh: that happens if you have big files | 23:39 |
|
suedoh
| Well, the problem with filter-branch is that I keep receiving this: | 23:39 |
|
cbreak
| not a big repo | 23:39 |
|
suedoh
| Yea, well the large files are in that directory | 23:39 |
|
cbreak
| -> filter branch | 23:39 |
|
suedoh
| error: failed to push some refs to | 23:39 |
| ← etcetera left | 23:39 |
|
suedoh
| To prevent you from losing history, non-fast-forward updates were rejected | 23:39 |
| → mikepack joined | 23:39 |
|
cbreak
| that's normal | 23:39 |
|
| as we said: history rewriting | 23:39 |
|
suedoh
| Funny part is, that in my config on remote server, fast forward is enabled | 23:40 |
|
cbreak
| the result is a different timeline | 23:40 |
|
| incompatible | 23:40 |
|
avpx
| suedoh: Yeah, that's not really funny | 23:40 |
|
| It's totally expected | 23:40 |
|
suedoh
| Okay | 23:40 |
|
cbreak
| you have to force push or just make a new repo | 23:40 |
|
suedoh
| So how do I get this pushed in? | 23:40 |
|
| I've tried git push --force, that doesn't work | 23:40 |
|
cbreak
| it does | 23:40 |
|
avpx
| suedoh: First we should explain what you are doing | 23:40 |
|
cbreak
| maybe your server disallows it | 23:40 |
|
suedoh
| ! [remote rejected] master -> master (non-fast-forward) | 23:40 |
|
| error: failed to push some refs to | 23:40 |
|
avpx
| Ding ding ding! | 23:40 |
|
| We have a winner | 23:40 |
|
cbreak
| you made your server disallow it | 23:41 |
|
avpx
| suedoh: The server will *only* accept fast-forward commits | 23:41 |
|
| Do you know what that means? | 23:41 |
|
suedoh
| cbreak, I have: | 23:41 |
|
| [receive] | 23:41 |
|
| denyNonFastforwards = false | 23:41 |
|
cbreak
| just make a new repository, that's easiest | 23:41 |
|
suedoh
| cbreak, would it be safe to just go on my repo server rename the directory, and re-initialize this project | 23:41 |
| ← williamcotton left | 23:41 |
|
cbreak
| sure. | 23:41 |
|
suedoh
| or should I entirely change the name of the project? | 23:41 |
| → etcetera joined | 23:41 |
|
avpx
| suedoh: It's up to you, really | 23:42 |
|
cbreak
| either way would work | 23:42 |
|
suedoh
| okay | 23:42 |
|
| thanks guys | 23:42 |
|
cbreak
| make sure to git init --bare | 23:42 |
| ← needsch left | 23:42 |
|
suedoh
| I wish I knew what I did | 23:42 |
|
cbreak
| and don't throw your old repo away | 23:42 |
|
suedoh
| to get here | 23:42 |
|
cbreak
| you probably will need it eventually :) | 23:42 |
|
avpx
| suedoh: So yeah, basically you can't just git push a rebased commit because it's not a descendent of the remote branch | 23:43 |
| ← bgerber left | 23:43 |
| ← thiago left | 23:43 |
|
cmn
| .version | 23:45 |
| → bgerber joined | 23:45 |
|
cmn
| where does the bot look for the version? | 23:45 |
| → phpD3vLuhv joined | 23:46 |
| → hellopat joined | 23:46 |
| ← pfFred left | 23:46 |
| ← savid left | 23:49 |
| ← phpD3vLuhv left | 23:49 |
| ← yoklov left | 23:50 |
| ← notmypudding left | 23:52 |
| ← p3rror left | 23:52 |
| ← warthog9 left | 23:53 |
| → ology joined | 23:53 |
| → tyatpi joined | 23:55 |
| ← SirCmpwn left | 23:56 |
| → acl_ joined | 23:58 |
| ← scientes left | 23:58 |
| ← Element9 left | 23:58 |
| ← wilmoore left | 23:59 |