| 2012-09-06 |
| ← acl_ left | 00:00 |
|
DrkShadow
| I did a git-reset HEAD^ to get rid of my last changes, then accidentally did a git reset HEAD^ again. I'm now one behind the branch that I pulled from, with changes in my branch. How do I recheckout the branch that I pulled from? Basically reset, either hard or soft, to the remote branch.. | 00:00 |
| Moult_ → Moult | 00:01 |
|
cmn
| DrkShadow: check in the reflog for the commit you want and do a reset again | 00:02 |
| ← beneggett left | 00:03 |
| ← BSaboia__ left | 00:04 |
|
DrkShadow
| ah. Thank you. | 00:04 |
| → adamm joined | 00:05 |
| → alan_o joined | 00:05 |
| banghouse → banghouseFOOD | 00:09 |
|
alan_o
| is there an easy way to uninstall git? | 00:09 |
| → juvenal joined | 00:09 |
|
alan_o
| installed from source | 00:09 |
|
| no uninstall target | 00:09 |
|
| seems like I might have asked this here before..... | 00:09 |
| → gdelfino joined | 00:09 |
|
alan_o
| seems like I did this manually before..... | 00:09 |
| ← TeckniX left | 00:10 |
| → thursday joined | 00:10 |
| ← thursday left | 00:10 |
| ← variousnefarious left | 00:11 |
| → variousnefarious joined | 00:11 |
| ← ldlework left | 00:11 |
| ← pfFredd left | 00:12 |
|
cehteh
| rm is your friend | 00:13 |
| → ldlework joined | 00:13 |
|
alan_o
| patches welcome? :) | 00:14 |
|
| ok, figured I'd ask, in case I missed something obvious. Thanks. | 00:14 |
| → jason237 joined | 00:15 |
| ← dogarrhea2 left | 00:17 |
| ← AaronMT left | 00:17 |
| ← intripoon_ left | 00:18 |
| ← pdtpatrick left | 00:18 |
|
SigmaVirus24
| alan_o: do you have the directory you built it in? | 00:19 |
|
alan_o
| yes | 00:19 |
| → rchavik joined | 00:20 |
| ← rchavik left | 00:20 |
| → rchavik joined | 00:20 |
|
SigmaVirus24
| I assume you ran configure first, yes? | 00:20 |
|
alan_o
| I'm sure I did. It's been a while | 00:20 |
| ← hwrd|work left | 00:20 |
|
SigmaVirus24
| Well you should probably still have the generated Makefiles for that | 00:20 |
|
alan_o
| yes | 00:20 |
|
SigmaVirus24
| If you can grep through those you can probably find the install locations | 00:21 |
| → hwrd|work joined | 00:21 |
|
alan_o
| yeah | 00:21 |
|
| I think it's just a couple spots | 00:21 |
| ← kvanderw left | 00:21 |
|
SigmaVirus24
| Yeah so it shouldn't be too bad | 00:21 |
| → jkitchen joined | 00:21 |
|
SigmaVirus24
| But do yourself a favor, write up some notes on it for your future self as you do it this time | 00:21 |
|
| If you have a blog, post the notes there. Easy to find :P | 00:22 |
|
alan_o
| yeah no doubt | 00:22 |
|
jkitchen
| so, I'm using git with smarthttp. I have some interesting client behavior. some clients will ask for my password and some will not (and then return a 401 http status code) | 00:22 |
| → kvanderw joined | 00:22 |
|
jkitchen
| is there some setting in git config which I can use to force it to ask for authentication?d | 00:23 |
|
SigmaVirus24
| jkitchen: you mean you're administering a server acting as a remote and your clients trying to connect to it are experiencing this? Or are you the client using multiple servers with smarthttp | 00:24 |
| rohan|dinner → rohan32 | 00:24 |
|
jkitchen
| SigmaVirus24: I'm both, actually. I have multiple client versions (all the official git, but on centos5, centos6, and osx 10.6) and certain ones just never ask me for my password and then fail to push | 00:25 |
|
SigmaVirus24
| ah | 00:25 |
|
| smart http was introduced in 1.6.6 iirc | 00:25 |
|
| So anything older than that cannot use smart http obviously | 00:25 |
|
jkitchen
| we have it set up so unauthenticated read access to the repository is available, and to push requires auth. | 00:26 |
|
| SigmaVirus24: yea, these are all 1.7+ cliesnt | 00:26 |
|
SigmaVirus24
| what about the version of git running on the servers? | 00:26 |
| ← astruasdh left | 00:26 |
| ← harish left | 00:27 |
|
jkitchen
| 1.7.1 (centos 6) works. 1.7.10.2 didn't | 00:27 |
|
| 1.7.10.2 is from osx 10.6 | 00:27 |
| ← pantsman left | 00:28 |
|
SigmaVirus24
| that's really bizarre | 00:28 |
|
jkitchen
| the server is also 1.7.1 (it's centos6) | 00:28 |
|
| yea | 00:28 |
|
| normall, I would say just screw smarthttp and use ssh, but my boss *required* ldap auth. sshkeys were out of the question :/ | 00:28 |
|
SigmaVirus24
| If I had unicode in this terminal I'd make a face | 00:29 |
|
| I could understand kerberos auth | 00:29 |
|
jkitchen
| the weird thing is though that my 1.7.1 clients are asking for the password immediately before doing anything, but the 1.7.10.2 is never asking for the password | 00:29 |
| ← jn_ left | 00:29 |
|
jkitchen
| SigmaVirus24: shrug. apparently ssh keys are insecure? dunno. | 00:30 |
|
| I just am not sure if I'm missing something in the client config | 00:30 |
|
SigmaVirus24
| No they're just a pain in the balls to manage (or so I would imagine) | 00:30 |
| → pantsman joined | 00:30 |
| ← pantsman left | 00:30 |
| → pantsman joined | 00:30 |
|
jkitchen
| yea. gitolite makes it easy-ish, but it's still a bit of a pain | 00:30 |
|
SigmaVirus24
| jkitchen: yeah the default behavior may have changed between those versions but I don't know | 00:30 |
|
jkitchen
| ok | 00:30 |
| → intripoon joined | 00:31 |
|
SigmaVirus24
| This may help: http://git-scm.com/2010/03/04/smart-http.html | 00:31 |
| ← virako left | 00:31 |
|
SigmaVirus24
| Don't have the time to read it myself though, sorry | 00:31 |
|
jkitchen
| SigmaVirus24: it's coo, thanks for your help. I'll take a look at that article | 00:31 |
|
| if I do figure it out, I'll let you know the solution :) | 00:32 |
|
SigmaVirus24
| Yeah I'd appreciate that. Was trying to get my former place of employment to switch from offering SVN repos to git | 00:32 |
|
| This was one of their concerns: authentication | 00:32 |
| rohan32 → rohan|hw | 00:32 |
| → kukks joined | 00:32 |
| ← kukks left | 00:32 |
| → kukks joined | 00:32 |
| → dhruvasagar joined | 00:34 |
| ← etcetera left | 00:34 |
| ← click left | 00:34 |
| micrcolonel → kiken | 00:35 |
| → bartek joined | 00:36 |
|
EugeneKay
| I'm pretty sure gitolite includes helper scripts for self-service SSH key management | 00:36 |
| kiken → microcolonel | 00:37 |
| → etcetera joined | 00:37 |
|
jkitchen
| it does | 00:38 |
| ← hypera1r left | 00:38 |
|
jkitchen
| trust me, I tried. I tried hard :) | 00:38 |
|
EugeneKay
| And it even includes setup instructions for smart http mode | 00:38 |
| ← etcetera left | 00:39 |
|
EugeneKay
| If you were feeling really masochistic you could build a dedicate gitolite VM which uses winbind+krb5 to integrate with AD/LDAP user/passwords, then ForceCommand users into gitolite | 00:39 |
|
| (Technically this doesn't need a dedicated VM, just a SSHd) | 00:40 |
|
| (but if you're gonna fuck about with winbind+krb5 it's best to put it on its own VM) | 00:40 |
|
| This would let you do SSH via password OR key into gitolite | 00:40 |
|
jkitchen
| yes | 00:41 |
|
| that's not the issue at hand though. | 00:41 |
| ← Targen left | 00:41 |
|
jkitchen
| the git client never prompts me for my password | 00:41 |
|
EugeneKay
| Update to something modern. | 00:41 |
|
jkitchen
| ok,. | 00:41 |
|
| thanks for the non-help :) | 00:41 |
|
EugeneKay
| Any time! I hope it was worth every penny | 00:42 |
| → stephenjudkins joined | 00:43 |
|
sitaram
| EugeneKay: that "masochistic" setup you mentioned: any hints on how to do that? Several people I know would jump at it...! | 00:43 |
|
| URLs work best, since I won't be the one doing it | 00:43 |
|
EugeneKay
| sitaram - like example configs? | 00:43 |
|
sitaram
| anything at all, really (I've looked before; can't remember finding anything that ties ssh -> krb -> AD) | 00:44 |
|
EugeneKay
| The hard part is making samba+winbind play nicely with your AD domain for enumerating users to UNIX UIDs | 00:44 |
| → ehsan joined | 00:44 |
|
EugeneKay
| Lemme dig up the one I used | 00:44 |
|
sitaram
| thanks | 00:44 |
| ← Akufen left | 00:44 |
|
EugeneKay
| I use it primarily so my Desktop & Laptop(which are Windows, AD-managed) can auto-auth to my Samba fileserver | 00:44 |
|
| This guide is mostly correct http://wiki.samba.org/index.php/Samba_&_Active_Directory | 00:45 |
|
| The idmap it mentioned should be from a higher starting UID - something that won't conflict with auto-created UIDs on the system | 00:45 |
|
sitaram
| right; I remember seeing that. I was hoping something more direct. Now that you mention winbind, maybe what I was hoping for isn't even possible... | 00:46 |
|
EugeneKay
| In my environment winbind ends up taking foreeeever to reload UIDs, so I manually mapped the UIDs in AD(via the Advanced mode menu in the MMC snapin), then configured them statically in /etc/passwd | 00:46 |
|
| This is a terrible idea for maintainability, but I rarely-to-never add users/groups so it orks | 00:46 |
| → gavin_huang joined | 00:47 |
|
EugeneKay
| For gitolite you wouldn't need to worry about the home user thing at all.... instead the ForceCommand should be set to a wrapper script which invokes gitolite via sudo or such | 00:47 |
| → boombatower joined | 00:47 |
|
sitaram
| EugeneKay: that won't work for the people I am talking about. Think "a few thousands of users, with a fair bit of churn" | 00:47 |
|
EugeneKay
| In fact, I don't know that you'd even need winbind for this. | 00:47 |
|
| Hehe | 00:48 |
|
| I can look into it more in about a week or two, if you're after a recipe for making it work ;-) | 00:48 |
|
stephenjudkins
| i have a repository with submodules. I use git clone --shared on the repo in the deployment process, and it's very fast. however, i must also run `git submodule init` and `git submodule update` on the shared repo, which is slow since it re-fetches from github | 00:48 |
|
sitaram
| right; I was hoping they could "ssh://" and get asked for a password, which would actually be their AD password but in this case asked by krb | 00:48 |
|
| EugeneKay: that would be cool; thanks! I'll owe you more than a few beers :) | 00:48 |
|
stephenjudkins
| is there a way to have the new shared clone also share all the submodules from its parent? | 00:48 |
|
| or, some way to cache submodules? | 00:49 |
|
EugeneKay
| If it works I could end you an invoice for my consulting time on it :-p | 00:49 |
|
sitaram
| EugeneKay: sure; I'd pay it the same way I got paid for gitolite ;-) | 00:49 |
|
cmn
| stephenjudkins: see man git submodule update has --reference | 00:49 |
|
gitinfo
| stephenjudkins: the git-submodule manpage is available at http://git-scm.com/docs/git-submodule.html | 00:49 |
|
EugeneKay
| I was thinking more along the lines of the corporate entity :v | 00:49 |
|
sitaram
| EugeneKay: oh that... hmm worth thinking about. The problem is, when you're an evangelist and trying to convince someone to do the right thing, you're working against everything/everyone | 00:50 |
|
EugeneKay
| Anyway, I *think* it would be possible to configure PAM such that it would accept any username, check the password against LDAP via krb5, then log you in "as" the gitolite user, and ForceCommand to the gitolite binary. | 00:50 |
|
| But I would need to play with it | 00:50 |
|
| The advantage of this approach is that you eliminate samba+winbind, which are pretty crap | 00:50 |
|
| sitaram has never really understood PAM enough to make statements like that, but it would be real cool to have this! | 00:51 |
|
EugeneKay
| AND you start off as the gitolite UID/GID, so no sudo tricks are needed | 00:51 |
|
sitaram
| yup | 00:51 |
| ← pantsman left | 00:51 |
|
EugeneKay
| You would still want to put this on a dedicated VM, because such hacks are terrible and should not be allowed to escape into the wild | 00:51 |
| SeoZ-work[AWAY] → SeoZ | 00:51 |
| ← iocor left | 00:51 |
|
EugeneKay
| But at least it would give you a user+pass-able ssh:// account! | 00:52 |
|
sitaram
| sure | 00:52 |
|
| more important, tied to existing AD | 00:52 |
|
EugeneKay
| Indeed. | 00:52 |
|
jkitchen
| ok, so looking more at the issue it looks like it's getting a 401 and then trying to send auth information, but it's sending an empty password | 00:53 |
|
| rather than prompting me for the password. | 00:53 |
| → cooloney joined | 00:53 |
|
sitaram
| jkitchen: maybe you have a .netrc file that contains an empty password? | 00:53 |
| → _huoxito joined | 00:53 |
|
jkitchen
| nope, I checked for that | 00:53 |
|
sitaram
| or an env var of some sort | 00:53 |
| ← bartek left | 00:53 |
| → vitor-br joined | 00:53 |
|
sitaram
| jkitchen: on that same machine, I'd create a brand new user, login to that, then try the http access and see what it does | 00:54 |
|
jkitchen
| sitaram: good call. trying that now | 00:54 |
|
cmn
| jkitchen: when is this happening? fetch? push? | 00:54 |
|
jkitchen
| cmn: push | 00:54 |
| → tmcmahon joined | 00:54 |
|
sitaram
| developers tend to accumulate cruft in their rc files :) | 00:54 |
|
jkitchen
| our fetch doesn't require auth | 00:54 |
|
| sitaram: :) | 00:54 |
| → etcetera joined | 00:54 |
|
cmn
| does your setup ask for the password for the first request already? | 00:54 |
|
| or does it wait until the POST with the data? | 00:54 |
|
dendazen
| is it possible to git pull only one file from the repo and not clone the whole repo? | 00:55 |
|
EugeneKay
| sitaram - for extra fun, if the user is using PuTTY from an AD-connected box, it ought to be possible to use Kerberos tickets to login. No password-entry needed! | 00:55 |
|
jkitchen
| cmn: git on this machine has never prompted me for a password | 00:55 |
|
| seems to be related to this: http://git.661346.n2.nabble.com/git-no-longer-prompting-for-password-td7565755.html | 00:55 |
|
cmn
| that's nothing to do with it | 00:55 |
|
sitaram
| EugeneKay: putty does ticketing stuff? wow... finally something *good* about it | 00:55 |
|
cmn
| when does git get the 401? | 00:55 |
|
EugeneKay
| Yup, GSSAPI is on by default, IIRC | 00:55 |
| ← brainbox1100 left | 00:55 |
| ← gdelfino left | 00:55 |
|
cmn
| on the first request, which is the GET, or in the successive POST? | 00:55 |
|
jkitchen
| cmn: POST | 00:56 |
|
EugeneKay
| It "just works" once you have krb5+winbind running | 00:56 |
|
jkitchen
| and then it tries an authenticated post (with empty password) | 00:56 |
|
cmn
| then it's a bug that got fixed a few days ago, put your password in the .netrc or fix the apache config | 00:56 |
|
jkitchen
| cmn: ahh | 00:56 |
|
| ok then :) | 00:56 |
|
stephenjudkins
| cmn: it looks like i'll have to use `git submodule foreach` and do the directory-name munging by hand. does that sound accurate? | 00:56 |
|
jkitchen
| lemme try that | 00:56 |
| ← Adam_ left | 00:57 |
|
cmn
| stephenjudkins: yes | 00:57 |
|
stephenjudkins
| cmn: thanks for your help | 00:57 |
| → beneggett joined | 00:57 |
|
jkitchen
| sitaram: brand new user, same thing. however, cmn may have solved my issue | 00:57 |
|
| EugeneKay runs out for dinner | 00:57 |
|
jkitchen
| lemme see if brew has a new version | 00:57 |
|
cmn
| jkitchen: basically, git is expecting to be already authenticated by the time it sends the POST | 00:57 |
| ← rohan|hw left | 00:58 |
| ← hobodave left | 00:58 |
|
cmn
| unless brew uses git's next branch, it won't be there | 00:58 |
|
jkitchen
| cmn: so it pretty much *is* that email I just posted | 00:58 |
|
| cmn: ahh ok | 00:58 |
|
cmn
| it could be | 00:58 |
|
crispus
| i just did a few commits to the master branch before realizing i forgot to change to develop first, should i just reset them and do it again manually on the right branch? | 00:58 |
|
jkitchen
| cmn: looks like brew is giving me 1.7.12 | 00:59 |
|
sitaram
| jkitchen: cmn++ then :) | 00:59 |
|
jkitchen
| I'll use the .netrc trick | 00:59 |
|
| oh, there's a karmabot in here? | 00:59 |
|
cmn
| right, that's the last release, this came after | 00:59 |
|
jkitchen
| cmn++ | 00:59 |
|
cmn
| you'll have to wait for 2.0 to come out | 00:59 |
|
jkitchen
| cmn: ok, cool. thanks again! | 00:59 |
|
cmn
| np | 00:59 |
| ← guampa left | 01:00 |
| ← bapa left | 01:00 |
| → pheaver_ joined | 01:01 |
|
crispus
| wow | 01:01 |
| → luxurymode joined | 01:01 |
| → bapa joined | 01:01 |
| ← pheaver left | 01:02 |
| pheaver_ → pheaver | 01:02 |
|
crispus
| so i just did reset HEAD~4, stashed the work, checked out the right branch, then grabbed the stash | 01:02 |
|
SigmaVirus24
| git is wonderful, isn't it? | 01:03 |
|
crispus
| that seems really cool, is that right? | 01:03 |
|
| yeah | 01:03 |
|
cmn
| way too much work | 01:03 |
|
crispus
| im a noob :\ | 01:03 |
| ← beneggett left | 01:03 |
|
cmn
| git branch newbranchname; git reset HEAD~4 | 01:03 |
| → intripoon_ joined | 01:03 |
|
cmn
| more variations exist, but get complex, like git checkout -b newbranch; git branch -f olderbranch olderbranch~4 | 01:04 |
|
crispus
| very cool | 01:04 |
| ← intripoon left | 01:06 |
| ← maletor left | 01:06 |
| → beneggett joined | 01:07 |
| → pdtpatrick joined | 01:08 |
| → Yuuhi` joined | 01:09 |
| → hyperair joined | 01:10 |
| ← Yuuhi left | 01:11 |
| → ipalaus joined | 01:11 |
| ← fireh left | 01:13 |
| ← vitor-br left | 01:14 |
| ← pdelvo|afk left | 01:15 |
| → dir joined | 01:18 |
| → gtuckerkellogg joined | 01:18 |
| → pdelvo|afk joined | 01:19 |
| ← beneggett left | 01:19 |
| ← hwrd|work left | 01:19 |
| ← bizhanMona left | 01:20 |
|
jkitchen
| awesome, working great. thanks everyone! | 01:20 |
| ← jkitchen left | 01:20 |
| ← cannonball left | 01:20 |
| → maletor joined | 01:21 |
| → dozymoe joined | 01:21 |
| ← Sh0rtWave left | 01:21 |
| → bizhanMona joined | 01:22 |
| dozymoe → fireh | 01:22 |
| ← fireh left | 01:22 |
| → acl_ joined | 01:23 |
| → beneggett joined | 01:24 |
| ← xrq left | 01:24 |
| ← afuentes left | 01:25 |
| ← ipalaus left | 01:25 |
| ← kvanderw left | 01:25 |
| → Eryn_1983_FL joined | 01:29 |
| ← towski left | 01:29 |
|
Eryn_1983_FL
| hello! I am trying to get my git repos to talk toeach other.. | 01:29 |
|
| i want to be able to push and pull from my puppet repo into my main git repo on my server.. is that possible? | 01:30 |
| → vitor-br joined | 01:30 |
|
cehteh
| pushing to non-bare is not really a good idea, but otherwise pushing/pulling in all kinds of ways is what git is for | 01:31 |
| → nitrix joined | 01:31 |
|
Eryn_1983_FL
| ok.. | 01:31 |
|
| hang on let me show you the error i get | 01:31 |
|
milki
| whoa | 01:31 |
|
| talking git repos | 01:31 |
|
cehteh
| espeak :) | 01:32 |
| → pandeiro joined | 01:32 |
|
milki
| Eryn_1983_FL: !bare | 01:32 |
|
gitinfo
| Eryn_1983_FL: an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 01:32 |
| ← gusnan left | 01:32 |
|
Eryn_1983_FL
| http://sprunge.us/RAPa | 01:33 |
|
milki
| o | 01:33 |
|
| perms | 01:33 |
|
| ha | 01:33 |
|
| /etc/puppet | 01:33 |
|
| its probably by a puppet user or roto | 01:33 |
|
| or something | 01:33 |
| → xiangfu joined | 01:33 |
|
milki
| you need to set group permissions | 01:33 |
|
| uh | 01:34 |
|
cehteh
| setgid .. | 01:34 |
|
milki
| git init --shared=group | 01:34 |
|
| or uh | 01:34 |
|
cehteh
| yes | 01:34 |
|
milki
| i dunno if you can do it on clone | 01:34 |
|
cehteh
| well that doesnt look bare .. | 01:34 |
|
milki
| im not particular sure how to do it on a repo thats already been created | 01:34 |
|
cehteh
| you can fix the permissions manually | 01:35 |
|
| make dirs setgid if you want to push as another user | 01:35 |
|
| but pushing into non-bare would be the next problem | 01:35 |
|
milki
| o, so the config option doesnt really matter? | 01:35 |
|
cehteh
| config cares for umask | 01:35 |
|
milki
| ah | 01:35 |
| ← Vampire0 left | 01:36 |
|
Eryn_1983_FL
| yeah i am going to do some backups... then i will play | 01:39 |
| → rohan32 joined | 01:40 |
|
Eryn_1983_FL
| perhaps tonight or tomorrow | 01:40 |
| ← nitrix left | 01:41 |
|
milki
| Eryn_1983_FL: include a bare repo in between the repos or use something like !gitolite | 01:41 |
|
gitinfo
| Eryn_1983_FL: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html | 01:41 |
|
cehteh
| pushing into non bare with a hard reset works also reasonable well | 01:42 |
| ← pdtpatrick left | 01:43 |
| → zhouxiukun joined | 01:43 |
| → nitrix joined | 01:44 |
| → jackh joined | 01:45 |
| → macabre joined | 01:46 |
|
Eryn_1983_FL
| ok | 01:47 |
| ← e66 left | 01:47 |
| → ecksit joined | 01:48 |
| ← nitrix left | 01:48 |
| ← dfr|sf left | 01:49 |
| → iori joined | 01:49 |
| → nitrix joined | 01:49 |
| ← gtuckerkellogg left | 01:49 |
| → pdtpatrick joined | 01:50 |
| → Vampire0 joined | 01:50 |
| ← zivester left | 01:51 |
| → zivester joined | 01:52 |
|
ecksit
| when working in a team what is the best way for people to get the latest version of the code to their local machine without causing too many dramas and crazy merges | 01:54 |
| → Cache_Money joined | 01:54 |
| ← Davey left | 01:54 |
| → luc_ joined | 01:55 |
| → Davey joined | 01:58 |
| ← tinti left | 01:58 |
| ← jackh left | 01:59 |
| → jackh joined | 02:00 |
| → bartek joined | 02:00 |
| ← DanyO83 left | 02:01 |
| ← Cache_Money left | 02:02 |
|
offby1
| ecksit: I'd think "git pull" or "git pull -r" | 02:03 |
|
| offby1 whistles innocently | 02:03 |
| ← luxurymode left | 02:04 |
| ← dhruvasagar left | 02:05 |
| ← blorbx left | 02:05 |
| → jdyin joined | 02:06 |
|
cehteh
| asciidoc is sometimes a bitch ... grr | 02:07 |
| → kerrick joined | 02:07 |
| ← karadoc left | 02:07 |
| → ipalaus joined | 02:09 |
| ← etcetera left | 02:10 |
| → brainbox1100 joined | 02:11 |
| ← stephenjudkins left | 02:12 |
| ← ecksit left | 02:12 |
|
acl_
| can gitolite possibly be made to *run* under Windows? | 02:13 |
| ← Eridius_ left | 02:13 |
|
acl_
| or is the effort really just not worth it, so to speak? | 02:14 |
| → etcetera joined | 02:14 |
|
cehteh
| you have an sshd under windows? | 02:14 |
| ← bartek left | 02:14 |
|
acl_
| cehteh: not yet, but I'd like to know what's needed to set it up | 02:15 |
|
cehteh
| i dont know any .. but i didnt used windows in this millenium anyway | 02:16 |
|
| gitolite is python .. cygwin may help but an sshd would prolly be the problem | 02:16 |
|
| user handling under windows is vastly different | 02:16 |
| → luxurymode joined | 02:16 |
|
cehteh
| i'd say its not worth the effort | 02:17 |
| ← orafu left | 02:18 |
| ← LucasTizma left | 02:18 |
|
acl_
| cehteh: that's too bad, but thanks anyway | 02:18 |
| → orafu joined | 02:18 |
|
cehteh
| maybe a virtual machine with linux or colinux may help .. but i have no idea/never used that | 02:19 |
| ← FernandoBasso left | 02:19 |
| ← AlbireoX left | 02:20 |
|
acl_
| never really worked with VM's that way, but I'll look into that | 02:21 |
| ← Droolio left | 02:23 |
|
cehteh
| well if you have a coice then use a real linux server | 02:23 |
|
EugeneKay
| cehteh - gitolite is PERL. | 02:23 |
|
| And gitolite-under-cygwin is.... well, just don't bother. | 02:23 |
| → AlbireoX joined | 02:24 |
|
cehteh
| oops .. ok perl then :) | 02:24 |
| ← brainbox1100 left | 02:24 |
|
cehteh
| i deployed git at some customer, using windows and thing on windows are quite ugly sometimes | 02:25 |
|
| creating processes from a shell is way slower than on linux, things become very slow | 02:25 |
|
rking
| EugeneKay: I'm curious; why not? | 02:25 |
|
EugeneKay
| !why | 02:25 |
|
gitinfo
| Why? Because screw you, that's why. | 02:25 |
|
rking
| I'd figure a running perl is a running perl. | 02:25 |
|
| rking sheds a tear. | 02:26 |
|
EugeneKay
| gitolite is not a persistent process | 02:26 |
|
| rking puts it in bottle with other rejectionTears. | 02:26 |
| ← ipalaus left | 02:26 |
|
cehteh
| both cygwin and msys do some hard work to shoehorn unix semantics on top of windows | 02:26 |
|
| in some cases that just doesnt work well, in others its slow at best | 02:26 |
| ← psoo left | 02:27 |
| → Eridius_ joined | 02:28 |
| → tijko joined | 02:30 |
| → towski joined | 02:30 |
|
tijko
| i just pushed a file into a repository with a name that already exists in it. how do i remove one of the files with the same name? | 02:31 |
|
cmn
| tijko: that sentence doesn't make sense in git | 02:31 |
|
| you don't push files, you push commits | 02:31 |
|
tijko
| cmn commit , my fault | 02:31 |
|
cmn
| that's still impossible, you can only have one file with a given filename | 02:32 |
| → bartek joined | 02:32 |
| → wolftankk joined | 02:32 |
|
tijko
| cmn you are right the text is close mulitjack and multijack | 02:33 |
|
cmn
| so what's the problem? | 02:33 |
|
tijko
| to remove would be git add remove? | 02:34 |
|
| filename | 02:34 |
|
cmn
| it's rm | 02:34 |
|
tijko
| cmn thanks | 02:35 |
| ← cakehero left | 02:35 |
|
tijko
| what if the file isn't in the directory anymore? | 02:35 |
|
cmn
| then you don't need to remove it | 02:36 |
|
tijko
| its in the repository thou | 02:36 |
|
cmn
| ask status | 02:36 |
|
tijko
| tho | 02:36 |
|
| excuse me? | 02:36 |
|
| i don't understand | 02:36 |
| ← pheaver left | 02:38 |
| → karadoc joined | 02:39 |
|
tijko
| status lists it as deleted | 02:39 |
| → ipalaus joined | 02:39 |
|
cmn
| and it should tell you what to do with it | 02:40 |
|
| see also man git rm | 02:40 |
|
gitinfo
| the git-rm manpage is available at http://git-scm.com/docs/git-rm.html | 02:40 |
| ← ipalaus left | 02:40 |
| ← cybersphinx left | 02:40 |
|
tijko
| i should have used git rm to begin with | 02:40 |
|
| but i didn't realize that there was a file misspelled | 02:40 |
|
| i just git add -u | 02:41 |
|
| thanks for the help | 02:41 |
| ← beneggett left | 02:41 |
| ← maletor left | 02:42 |
| → maletor joined | 02:43 |
| → thursday joined | 02:44 |
|
nitrix
| Git made by linus, freenode being the official server for geek stuff, gitinfo being op here, hint hint.... | 02:44 |
|
| gitinfo: That's a very nice hat that you have Linus :> | 02:44 |
|
| Kidding xD | 02:44 |
|
| The questions I see here are always very similar. | 02:45 |
|
| Is it because people don't bother looking or is the documentation missing something / not easy to find ? | 02:45 |
|
tijko
| i had my question marked as a favorite on stack | 02:45 |
|
nitrix
| tijko: Oh, seriously don't take it personal, i was speaking generally. | 02:46 |
| → Cache_Money joined | 02:46 |
|
tijko
| i guess its pretty rude/lazy for me to think asking on here for a quik question | 02:46 |
|
nitrix
| tijko: Nah quit it man, it's fine xD | 02:46 |
|
cmn
| !botsnack | 02:46 |
|
gitinfo
| Om nom nom | 02:46 |
|
tijko
| nitrix no its alright, | 02:46 |
|
diegoviola
| Linus is the man http://www.youtube.com/watch?v=IVpOyKCNZYw | 02:47 |
| ← macabre left | 02:47 |
|
nitrix
| Just thinking of a way to maybe improve the git content. | 02:47 |
| ← acl_ left | 02:47 |
| → bfig joined | 02:47 |
|
tijko
| there seems to be the rtfm all over | 02:47 |
|
nitrix
| Oh noes, gitinfo is a bot ;< | 02:47 |
|
bfig
| before i lose my job: i need to revert master to this commit 7c3fbba | 02:47 |
| → diegovio1a joined | 02:47 |
| ← jason237 left | 02:47 |
|
nitrix
| bfig: BEFORE you do anything | 02:47 |
|
bfig
| i already backed up, tell me the magic password | 02:47 |
|
| tarballed everything | 02:47 |
|
nitrix
| okay | 02:47 |
|
bfig
| the clock's ticking | 02:48 |
| ← kenperkins left | 02:48 |
|
cmn
| git checkout 7c3f -- . | 02:48 |
|
| bfig 's blood pressure goes up exponentially fast | 02:48 |
| ← t0rc left | 02:48 |
|
cmn
| ten you can commit and say sorry to everyone for screwing up a bunch of commits | 02:48 |
| diegoviola → Guest37559 | 02:48 |
| → t0rc joined | 02:48 |
| diegovio1a → diegoviola | 02:48 |
| ← Guest37559 left | 02:49 |
|
nitrix
| Don't miss the . | 02:49 |
|
bfig
| thanks | 02:49 |
|
nitrix
| I think $ git push -f would force push it remotly (for everyone to use), if that's what you want | 02:49 |
|
cmn
| there is no need to force anything | 02:50 |
|
nitrix
| okay sweet | 02:50 |
| ← t0rc left | 02:50 |
|
nitrix
| didn't know about that | 02:50 |
|
| It simply moves the HEAD ? | 02:50 |
|
bfig
| i'm getting merge conflicts now O_O | 02:50 |
|
cmn
| what does? | 02:51 |
|
| you can't get merge conflicts from that command | 02:51 |
|
bfig
| when trying to push | 02:51 |
|
cmn
| you don't get merge conflicts when pushing either | 02:51 |
|
bfig
| seems somebody pushed something T_T | 02:51 |
|
cmn
| if someone else already did more work, then you'll have to be smarter about it and selectively revert commits | 02:52 |
| rohan32 → rohan|sleep | 02:55 |
| ← goshawk left | 02:55 |
| ← cehteh left | 02:55 |
| → cehteh joined | 02:56 |
| ← kukks left | 02:56 |
| ← Eridius left | 02:56 |
| ← thursday left | 02:56 |
| ← jcao219 left | 02:57 |
|
| bfig feels as the pressure goes down | 02:59 |
|
bfig
| i'll have to review all commits | 02:59 |
|
| fucking shit, dammit. | 02:59 |
| infogulch → infogulch|afk | 03:00 |
| → AaronMT joined | 03:00 |
|
cmn
| this is why you use branches | 03:00 |
|
mh`
| tell us how you really feel | 03:00 |
|
bfig
| i feel angry and tired | 03:01 |
|
| and stupid as hell | 03:01 |
| ← rohan|sleep left | 03:02 |
| → brainbox1100 joined | 03:06 |
|
home
| branches? :o | 03:06 |
| ← zhouxiukun left | 03:06 |
| → zhouxiukun joined | 03:07 |
| ← bartek left | 03:11 |
|
cmn
| what about them? | 03:12 |
| → Targen joined | 03:12 |
|
milki
| lol | 03:13 |
|
nitrix
| Indeed, branches would avoid errors like that. | 03:13 |
| ← home left | 03:13 |
|
nitrix
| Instead of everyone working in master. | 03:13 |
|
| At least makes it easier when a last-minute decision about the project happens. | 03:13 |
| ← towski left | 03:13 |
| → jason237 joined | 03:13 |
|
bfig
| well, i had branched | 03:13 |
| ← dvide left | 03:13 |
|
bfig
| the problem is i thought the refactoring was done when it actually had broken everything | 03:14 |
|
| but for some reason it kinda worked so i didn't realize before merging the branch | 03:14 |
|
nitrix
| ohhww | 03:14 |
|
cmn
| so undo the changes from the merge | 03:14 |
| → Goplat joined | 03:16 |
| ← brainbox1100 left | 03:16 |
| ← Eridius_ left | 03:17 |
| → solofight joined | 03:17 |
|
solofight
| people - i was exploring the advantages of Git over CVS - read through lot of mamterials over internet including this http://www.ericsink.com/entries/dvcs_dag_1.html | 03:18 |
| ← rc_96 left | 03:19 |
|
solofight
| what would be the top 3 or 5 points that differentiate Git from CVS from development stand point ? | 03:19 |
|
| offline, speed of checkout .. | 03:19 |
| → nickpresta joined | 03:19 |
|
solofight
| Ive not used CVS - can somebody here who have used it give weightage for those points please ? | 03:20 |
| → anish[1] joined | 03:20 |
|
milki
| o.O | 03:20 |
|
| speed of checkout = fast | 03:20 |
|
cmn
| CVS has no concept of commit across files, for one | 03:20 |
|
solofight
| cmn: commit across files ? | 03:20 |
|
cmn
| a commit that affects more than one file | 03:20 |
| ← cehteh left | 03:20 |
|
solofight
| cmn: oh | 03:21 |
|
| cmn: please proceed | 03:21 |
| → apok_ joined | 03:22 |
| ← apok_ left | 03:22 |
|
cmn
| with what? that's all you need to know | 03:22 |
|
solofight
| milki: no no, am asking how and with what to give weightage and order them when compared to CVS | 03:22 |
|
milki
| o.. | 03:22 |
| → cehteh joined | 03:22 |
|
milki
| does anyone even recommend cvs these days? | 03:23 |
|
cmn
| every file is versioned independently, it simply has no place in this century | 03:23 |
|
solofight
| cmn: so the only highlight would be that CVS cannot have commits which involves multiple files .. ? | 03:23 |
|
cmn
| no | 03:23 |
|
solofight
| milki: no idea - but am facing a team who wont come out of CVS | 03:23 |
|
cmn
| see svn feature list for the main diffrences between CVS and something sane | 03:23 |
| ← hyperboreean left | 03:23 |
|
milki
| solofight: oo, thats awesome | 03:23 |
| → hyperboreean joined | 03:24 |
|
solofight
| milki: yeah - tell em about it | 03:24 |
| ← artnez left | 03:24 |
| ← albel727 left | 03:24 |
| → Chib joined | 03:24 |
| → Eridius joined | 03:24 |
|
milki
| at least they are using version control | 03:24 |
|
| :o | 03:24 |
| ← apok left | 03:24 |
|
SigmaVirus24
| still probably better than rcs :P | 03:25 |
|
cmn
| does CVS know anything about merging? | 03:25 |
|
| or about branches? | 03:26 |
|
frogonwheels
| solofight: I 'transitioned' my team from a file-based VCS to Git. It has been a long process, but so worth it. | 03:26 |
| → towski joined | 03:26 |
|
solofight
| milki: i earlier faced one more team which says they dont want Git because of its collaborative nature - Dev A does some changes and pushes, When Dev B pulls from server and faces a conflict - he has 3 options usually 1. overwrite existing with this 2. ignore yours and go with existing 3. have both | 03:26 |
|
cmn
| does it have commit messages? | 03:26 |
| adityamenon → adityamenon_ | 03:26 |
|
cmn
| solofight: that's using git badly | 03:26 |
|
frogonwheels
| solofight: I wrote my own converter that tried to convert file-based check-ins to GIT commits - collecting stuff with the same desc together. | 03:26 |
|
solofight
| now they are saying that each developer feels his code important and they will keep overwriting with theirs - i mean wtf | 03:26 |
|
frogonwheels
| solofight: lol. That's just screwed. | 03:27 |
|
solofight
| cmn: beanching and merging are not available in CVS ? | 03:27 |
| → chrisshattuck joined | 03:27 |
|
frogonwheels
| solofight: we didn't even allow multiple check-outs of the same file (check-out being a 'lock' in effect) | 03:27 |
| → pheaver joined | 03:27 |
|
solofight
| frogonwheels: how did the transition happened ? | 03:27 |
|
cmn
| solofight: there was a queston mark for a reason | 03:28 |
| ← chrisshattuck left | 03:28 |
|
solofight
| how did you get them open their minds first of all ? | 03:28 |
| ← glennpratt left | 03:28 |
|
frogonwheels
| solofight: I talked it over with a few, and then just said, "We're gonna use it" | 03:28 |
|
solofight
| frogonwheels: good team you have | 03:29 |
|
| cmn: why did you say - that's using git badly ? | 03:29 |
|
frogonwheels
| solofight: I had a process of incrementally updating Git from the old repo, so they could play with the real version of it. | 03:29 |
| → intripoon joined | 03:29 |
|
frogonwheels
| solofight: yeah. There was much dragging of feet from one developer. Didn't even want to try. That's the battle/risk. | 03:29 |
|
| solofight: A couple of the support guys got the hang of it quicker than this one developer. :| | 03:30 |
| ← pandeiro left | 03:30 |
|
solofight
| cmn: seems cvs can create branch https://kb.wisc.edu/middleware/page.php?id=4087#creating | 03:30 |
|
| ? | 03:30 |
|
| cmn: question mark for a reason ? please explain | 03:31 |
|
frogonwheels
| solofight: not helped by the fact that I am 2700kms away from my team. | 03:31 |
|
solofight
| frogonwheels: the culture here is wrongly built - they dont want to try out anything new | 03:31 |
|
frogonwheels
| solofight: patience. | 03:32 |
| ← intripoon_ left | 03:32 |
|
cmn
| solofight: question marks is how you indicate that you're asking a question, rather than making an assertion... | 03:32 |
|
solofight
| cmn: so you are asking me whether cvs knows about branching, merging and has commit messages ? | 03:33 |
|
| cmn: [08:56:18] <solofight> milki: i earlier faced one more team which says they dont want Git because of its collaborative nature - Dev A does some changes and pushes, When Dev B pulls from server and faces a conflict - he has 3 options usually 1. overwrite existing with this 2. ignore yours and go with existing 3. have both [08:56:20] <cmn> does it have commit messages? [08:56:35] <cmn> solofigh | 03:34 |
|
| cmn: why you said this ? | 03:34 |
| ← nickpresta left | 03:35 |
|
solofight
| that's using git badly ? because the way i explained merging to them ? | 03:35 |
| ← SigmaVirus24 left | 03:35 |
|
milki
| i think thing comparing features is enough to convince cvs folks to switch if they dont understand the features | 03:35 |
|
| i dont think* | 03:35 |
|
| its a very different mindset | 03:35 |
|
cmn
| I'm not asking directly, I'm posing questions that should lead to the answers you're seeking | 03:36 |
|
| the using git badly refered to your comment about why they didn't want to use it | 03:36 |
|
solofight
| cmn: ok understood | 03:36 |
|
| cmn: then i told them not one single version control in the world can control your developers - if they want to prioratize their code on top of others | 03:37 |
|
milki
| i think it would be good to explore some workflows with git and show how the workflow is better managed with git rather than cvs | 03:37 |
| ← dir left | 03:37 |
|
solofight
| think their line of work is sequential development for which Git wont work out | 03:37 |
|
cmn
| what you have to find is the pain points and explain how a workflow involving git would ease that | 03:37 |
|
frogonwheels
| solofight: get support on side too. | 03:38 |
|
milki
| solofight: git pretty much manages most workflows you can think of | 03:38 |
| → sebastorama joined | 03:38 |
|
solofight
| cmn: any particular source which talks about such pain points in general about using CVS ? | 03:38 |
|
frogonwheels
| solofight: I had lots of issues with support selectively get files to include in a build - so we couldn't get a particular build reliably from source control! | 03:38 |
|
cmn
| your developers | 03:38 |
|
solofight
| frogonwheels: how did you implement this for support ? | 03:38 |
|
cmn
| why do you want to move them? | 03:39 |
|
solofight
| GIt as ticketing tool ? | 03:39 |
|
milki
| ? | 03:39 |
|
cmn
| don't use git as an issue tracker, it doesn't end well | 03:39 |
|
milki
| but it can be done! | 03:39 |
|
frogonwheels
| solofight: Not that aspect, more that I could tell support exactly what went into a particular build (I embeded the sha1 in the version resource), and reproduce it easily | 03:39 |
|
solofight
| frogonwheels: ohh you are talking about post-production support ? | 03:39 |
|
| i had IT support in mind | 03:39 |
|
| :p | 03:39 |
|
| cmn: na we use bugzilla for that | 03:40 |
|
mh`
| "maam if you could just rebase the ticket and push i'll be happy to take a look at that for you" | 03:40 |
|
frogonwheels
| solofight: We've made use of jira for ticketing now (just moved across) | 03:40 |
|
| mh`: lol | 03:40 |
|
milki
| works for github | 03:42 |
|
cmn
| what works? | 03:42 |
|
frogonwheels
| solofight: We're pretty small, so our inhouse IT support and post-production support is the same team. | 03:42 |
|
solofight
| oh | 03:42 |
|
milki
| pull requests which are issues | 03:42 |
|
cmn
| but those aren't in git | 03:43 |
|
solofight
| cmn: this link talks about branching, merging in CVS https://kb.wisc.edu/middleware/page.php?id=4087 | 03:45 |
| ← Chib left | 03:45 |
| → brainbox1100 joined | 03:45 |
| ← toothr left | 03:46 |
|
cmn
| ok | 03:46 |
|
solofight
| cmn: what ! they way you said i thought it was not there ! ? or am i missing something ? | 03:47 |
|
| cmn: i remember linus saying its a foreever operation to merge branches in cvs and svn - thats what you are refering to ? | 03:48 |
| → toothr joined | 03:49 |
|
cmn
| no | 03:49 |
|
| I had the impression that CVS didn't have merges | 03:49 |
|
frogonwheels
| solofight: old system - merging dev/release - a week or 2 set asside. Git - 5 mins for a simple branch merge 2 to 4 hours for a really complex merge involving 2 repositories that have no common tree, but a lot of common code. | 03:50 |
| → iamjarvo joined | 03:50 |
|
solofight
| frogonwheels: oh | 03:51 |
|
| so its basically the time aspect (which is more critical ofcourse) | 03:51 |
|
iamjarvo
| hi all, not trying to start anything. friend and I were talking about merge commits. we were trying to think of a reason why they are viewed as a bad idea | 03:51 |
|
frogonwheels
| solofight: oh, and about 1000% more reliable. | 03:52 |
|
solofight
| frogonwheels: oh - why do you say that ? | 03:52 |
|
| CVS merges are not reliable? | 03:52 |
| ← Fing left | 03:52 |
|
frogonwheels
| solofight: dunno. wasn't CVS. depends if it works out a real common base, | 03:53 |
| ← wolftankk left | 03:53 |
|
frogonwheels
| solofight: if you're 'merging' two streams using 2-way diffs only, then you're in trouble. | 03:53 |
| → arietis joined | 03:53 |
| → thirdknife joined | 03:54 |
| → Fingolfin joined | 03:55 |
| → lun_ joined | 03:55 |
| ← toothr left | 03:56 |
|
solofight
| frogonwheels: not sure i understood what you meant by "using 2-ways diffs only" - can you please explain a bit ? | 03:57 |
| ← brainbox1100 left | 03:57 |
|
frogonwheels
| solofight: when you merge, you should be using a common base file (the point where the 2 files diverged). If you are just comparing the file fro mbranch A and the file from branch B without reference to the common base, then that's a crappy way to merge is all I'm sayin' | 03:58 |
| → home joined | 03:58 |
|
solofight
| frogonwheels: understood - Git uses a 3 way diff (with a common base file) - CVS also does a 3 way diff ? | 03:59 |
| → artnez joined | 04:00 |
| ← thirdknife left | 04:01 |
| ← Tabmow left | 04:01 |
| → Hasbro joined | 04:01 |
| ← Hasbro left | 04:01 |
| → Hasbro joined | 04:01 |
| ← Corey left | 04:01 |
| → toothr joined | 04:04 |
| ← milleja46 left | 04:04 |
| ← home left | 04:07 |
| → home joined | 04:07 |
| → milleja46 joined | 04:09 |
| ← razdaz left | 04:09 |
| → DancingBear joined | 04:10 |
| → brainbox1100 joined | 04:12 |
| ← home left | 04:13 |
| → codeshah joined | 04:14 |
| ← keltvek left | 04:15 |
| ← codewrangler left | 04:16 |
| ← pheaver left | 04:17 |
| ← karadoc left | 04:18 |
| → pheaver joined | 04:19 |
| ← eletuchy left | 04:21 |
| ← tmcmahon left | 04:21 |
| ← crankharder left | 04:21 |
| ← webguynow left | 04:22 |
| ← tjholowaychuk left | 04:23 |
| ← AaronMT left | 04:23 |
| → Chib joined | 04:23 |
| ← tijko left | 04:23 |
|
solofight
| Thank you all for your inputs | 04:24 |
|
| frogonwheels: cmn mliki thank you very much | 04:24 |
| ← solofight left | 04:25 |
| → duckx joined | 04:26 |
| → Ivoz joined | 04:27 |
| ← duckxx left | 04:27 |
| ← anish[1] left | 04:29 |
| ← diogogmt left | 04:29 |
| ← jason237 left | 04:29 |
| → Cache_Money1 joined | 04:30 |
| → Sigma joined | 04:30 |
| adityamenon_ → adityamenon | 04:31 |
| ← Cache_Money left | 04:31 |
| ← duckx left | 04:32 |
| → Tabmow joined | 04:33 |
| → Corey joined | 04:34 |
| → shirish joined | 04:34 |
| → beautifulmind joined | 04:35 |
| ← etcetera left | 04:36 |
| ← luxurymode left | 04:36 |
| ← Chillance left | 04:37 |
| ← shirish left | 04:38 |
| ← boombatower left | 04:39 |
| ← Esa_ left | 04:39 |
| → pretty_function joined | 04:40 |
| → etcetera joined | 04:40 |
| → boombatower joined | 04:41 |
| ← Hasbro left | 04:41 |
| → shirish joined | 04:42 |
| ← SeoZ left | 04:42 |
| ← Zenmaker__ left | 04:42 |
| → Zenmaker__ joined | 04:43 |
| ← thebitguru left | 04:43 |
| → albel727 joined | 04:43 |
| ← albel727 left | 04:43 |
| → albel727 joined | 04:43 |
| → am1ja2Vu_ joined | 04:43 |
| ← etcetera left | 04:46 |
| ← boombatower left | 04:46 |
| ← Cache_Money1 left | 04:46 |
| → codewrangler joined | 04:47 |
| → boombatower joined | 04:48 |
| ← am1ja2Vu_ left | 04:48 |
| ← codewrangler left | 04:48 |
| → shruggar joined | 04:49 |
| ← ThibautD left | 04:50 |
| ← Fingolfin left | 04:50 |
| → Merwin joined | 04:50 |
| ← Sigma left | 04:51 |
| → caseymcg joined | 04:51 |
| ← boombatower left | 04:55 |
| ← bruce__zu left | 04:55 |
| → boombatower joined | 04:55 |
| ← boombatower left | 04:55 |
| ← shirish left | 04:57 |
| → boombatower joined | 04:57 |
| → karadoc joined | 05:02 |
| → thirdknife joined | 05:02 |
| → SeoZ joined | 05:03 |
| → irqq joined | 05:03 |
| → wolftankk joined | 05:03 |
| ← madewokherd left | 05:04 |
| ← adityamenon left | 05:05 |
| → adityamenon joined | 05:07 |
| ← juvenal left | 05:09 |
| ← alan_o left | 05:09 |
| ← diegoviola left | 05:09 |
| ← maletor left | 05:11 |
| ← Antisoche left | 05:11 |
| ← xiangfu left | 05:11 |
| ← iamjarvo left | 05:11 |
| → Antisoche joined | 05:12 |
| → diegoviola joined | 05:13 |
| → ronnieBoy joined | 05:13 |
| → private joined | 05:14 |
| private → Guest27648 | 05:14 |
| ← shruggar left | 05:16 |
| ← ronnieBoy left | 05:17 |
| → lng joined | 05:22 |
| ← vitor-br left | 05:22 |
| ← gerard0 left | 05:23 |
| → gerard0 joined | 05:23 |
| → xiangfu joined | 05:23 |
| ← Eridius left | 05:24 |
| → OOPMan joined | 05:24 |
| ← SeySayux left | 05:24 |
|
lng
| Hi! Do these two commands do the same thing, `git checkout -t origin/foo` and `git checkout -b foo origin/foo`? | 05:24 |
| → acl_ joined | 05:25 |
|
frogonwheels
| lng: By default, I think it does do magic to make them the same. | 05:25 |
|
| lng: git checkout foo should work as well | 05:26 |
|
lng
| frogonwheels: thanks | 05:26 |
| ← cehteh left | 05:26 |
|
frogonwheels
| lng: there are config options that disable some of the magicness iirc (hence the extra options from when the magic didn't happen) | 05:26 |
| → maqr joined | 05:26 |
|
lng
| frogonwheels: `git checkout foo` - you are right | 05:27 |
| → ka2be joined | 05:27 |
| ← ka2be left | 05:28 |
|
lng
| then, whait is the difference between: `git checkout foo` and `git checkout -b foo`? | 05:28 |
| ← DrkShadow left | 05:28 |
| → shruggar joined | 05:29 |
|
sitaram
| lng: -b creates a new branch from current HEAD. without that, it creates a new branch from origin/foo (if it exists) or errors | 05:33 |
|
lng
| I see, thank you so much | 05:34 |
| → thirdknife_ joined | 05:34 |
|
sitaram
| lng: the convenience aspects of "git checkout foo" meaning "git checkout -b -t foo origin/foo" (or some such) came later; in older gits it was more explicit | 05:35 |
|
lng
| that's nice we have such defaults | 05:35 |
| ← thirdknife left | 05:36 |
| ← shruggar left | 05:37 |
|
milki
| its like magic | 05:37 |
|
lng
| how to check if branch is remote tracking one? | 05:37 |
| → beneggett joined | 05:37 |
|
milki
| git branch -v | 05:38 |
| → Eridius joined | 05:38 |
|
lng
| milki: it shows the most latest commit hash and message, right? | 05:40 |
| → piggybox_ joined | 05:41 |
| → harshpb joined | 05:43 |
| ← piggybox left | 05:43 |
| piggybox_ → piggybox | 05:43 |
|
sitaram
| I use 'git branch -a -v -v'; no idea why | 05:43 |
| ← brainbox1100 left | 05:43 |
|
lng
| yea, I used -vv | 05:44 |
| → tjadc joined | 05:44 |
| ← RickXy left | 05:45 |
| → rrs joined | 05:45 |
| → SeySayux joined | 05:46 |
|
milki
| when in doubt, add more v's | 05:47 |
|
| ! | 05:47 |
|
lng
| does this part '[origin/analytics]' idicate the branch is tracking remote? | 05:47 |
| ← jgoss left | 05:47 |
|
lng
| I guess | 05:47 |
|
| not sure it stays permanent | 05:47 |
| ← pheaver left | 05:47 |
| ← beneggett left | 05:48 |
| → longbeach joined | 05:53 |
| ← igotnolegs left | 05:54 |
| → weiyang joined | 05:55 |
| ← tjadc left | 05:55 |
| → hwrd|work joined | 05:56 |
| ← resmo left | 05:56 |
| The24z → The24z_away | 05:58 |
| pdelvo|afk → pdelvo | 05:59 |
| → arkiver joined | 06:00 |
| → maletor joined | 06:00 |
| pdelvo → pdelvo|afk | 06:01 |
| → jgoss joined | 06:01 |
| → AlbireoX`Laptop joined | 06:01 |
| → gelatocar joined | 06:02 |
| → Tegi joined | 06:03 |
| ← gelatocar left | 06:03 |
| → _iron joined | 06:04 |
| → und3f joined | 06:04 |
|
EugeneKay
| Unless you change it, it will continue to be that branch | 06:04 |
| ← AlbireoX left | 06:04 |
| → flijten joined | 06:05 |
| ← legnaleurc left | 06:05 |
| ← hwrd|work left | 06:05 |
| → noyb joined | 06:06 |
| → _eMaX_ joined | 06:07 |
| → herdingcat joined | 06:07 |
| → legnaleurc joined | 06:07 |
| → ThomasLocke joined | 06:08 |
| ← mritz left | 06:11 |
| → soee joined | 06:11 |
| → tsdh joined | 06:12 |
| The24z_away → The24z | 06:13 |
|
The24z
| Can anybody explain this flow | 06:13 |
|
| http://pastie.org/4672406 | 06:14 |
| → duckxx joined | 06:14 |
|
The24z
| If pull origin master says everything is up to date, why can't I push back? | 06:14 |
| ← weiyang left | 06:14 |
| → weiyang joined | 06:15 |
| → cbreak-work joined | 06:15 |
|
murr4y
| does it work without tags? | 06:15 |
|
| maybe the tags are in conflict | 06:16 |
| → iHrushikesh joined | 06:16 |
|
The24z
| yap. I guess I had local changes that were not committed. | 06:16 |
| ← iHrushikesh left | 06:16 |
| The24z → The24z_away | 06:17 |
| → mishok13 joined | 06:17 |
| ← adityamenon left | 06:18 |
| → lb joined | 06:18 |
| ← Synthead left | 06:18 |
| ← thirdknife_ left | 06:19 |
| → hashset1 joined | 06:19 |
| → simesy_ joined | 06:20 |
| → papegaaij joined | 06:20 |
| ← yoklov left | 06:21 |
| ← hashset left | 06:21 |
| → thirdknife_ joined | 06:22 |
| ← simesy left | 06:23 |
| ← hyperboreean left | 06:24 |
| → pheaver joined | 06:24 |
| ← _iron left | 06:24 |
| → robbyoconnor joined | 06:24 |
| ← mishok13 left | 06:25 |
| → ph^ joined | 06:25 |
| → r0bby joined | 06:27 |
| ← giany left | 06:27 |
| ← ph^ left | 06:27 |
| → thiago joined | 06:27 |
| → skorgon joined | 06:27 |
| ← skorgon left | 06:27 |
| → skorgon joined | 06:27 |
| ← r0bby left | 06:28 |
| ← robbyoconnor left | 06:29 |
| ← unreal left | 06:29 |
| → unreal joined | 06:31 |
| → r0bby joined | 06:31 |
| ← adamm left | 06:31 |
| ← irqq left | 06:32 |
| ← letharion left | 06:34 |
| → adityamenon joined | 06:34 |
| → pppaul joined | 06:35 |
| ← pppaul left | 06:35 |
| r0bby → robbyoconnor | 06:36 |
| → pppaul joined | 06:36 |
| ← pppaul left | 06:36 |
| → pppaul joined | 06:36 |
| ← pppaul left | 06:37 |
| → pppaul joined | 06:37 |
| ← pppaul left | 06:37 |
| → pppaul joined | 06:38 |
| ← pppaul left | 06:38 |
| ← boombatower left | 06:38 |
| → pppaul joined | 06:39 |
| ← pppaul left | 06:39 |
| → pppaul joined | 06:39 |
| ← pppaul left | 06:39 |
| → pppaul joined | 06:40 |
| ← pppaul left | 06:40 |
| ← weiyang left | 06:40 |
| → pppaul joined | 06:41 |
| ← pppaul left | 06:41 |
| → weiyang joined | 06:41 |
| → sebrock joined | 06:41 |
| → pppaul joined | 06:41 |
| ← pppaul left | 06:41 |
| → pantsman joined | 06:42 |
| ← pantsman left | 06:42 |
| → pantsman joined | 06:42 |
| → pppaul joined | 06:42 |
| ← pppaul left | 06:42 |
| → hyperboreean joined | 06:42 |
| → pppaul joined | 06:43 |
| ← pppaul left | 06:43 |
| → giallu joined | 06:43 |
| → pppaul joined | 06:43 |
| ← pppaul left | 06:43 |
| ← duckxx left | 06:43 |
| → pppaul joined | 06:44 |
| → gun-lpt joined | 06:44 |
| ← pppaul left | 06:44 |
| → pppaul joined | 06:45 |
| ← pppaul left | 06:45 |
| → pppaul joined | 06:45 |
| ← pppaul left | 06:45 |
| → pppaul joined | 06:46 |
| ← pppaul left | 06:46 |
| ← Guest27648 left | 06:48 |
| ← mjt left | 06:48 |
| ← Davey left | 06:48 |
| ← harshpb left | 06:51 |
| → mishok13 joined | 06:51 |
| ← Maccer left | 06:52 |
| ← simesy_ left | 06:53 |
| → simesy joined | 06:54 |
| → letharion joined | 06:54 |
| → Maccer joined | 06:55 |
| ← towski left | 06:56 |
| → tjadc joined | 06:57 |
| → leokaito joined | 06:57 |
| → mark_vh joined | 06:58 |
| ← noyb left | 06:58 |
| → peterpan joined | 06:58 |
| ← maletor left | 06:59 |
| ← acl_ left | 07:00 |
| → specialGuest joined | 07:01 |
| → maletor joined | 07:02 |
| → mischat joined | 07:05 |
| ← cworth left | 07:05 |
| → resmo joined | 07:06 |
| → afuentes joined | 07:07 |
| ← mischat left | 07:07 |
| → mischat joined | 07:07 |
| → harshpb joined | 07:08 |
| → gerryvdm_mbp joined | 07:10 |
| ← gerryvdm_mbp left | 07:10 |
| → gerryvdm_mbp joined | 07:10 |
| → kkszysiu_work joined | 07:11 |
|
bigmeow
| git init failed, what's wrong? | 07:15 |
| ← kkszysiu_work left | 07:15 |
|
bigmeow
| http://stackoverflow.com/questions/12294787/git-init-failed-whats-wrong | 07:15 |
| → Anders_J joined | 07:16 |
|
skorgon
| simple seems not to be a valid value for push.default | 07:18 |
| → hoschi joined | 07:18 |
|
skorgon
| on my system man git config lists: nothing, matching, upstream, tracking and current as valid values | 07:18 |
|
gitinfo
| the git-config manpage is available at http://git-scm.com/docs/git-config.html | 07:18 |
| ← bizhanMona left | 07:20 |
| → cworth joined | 07:20 |
| ← adityamenon left | 07:20 |
|
bigmeow
| skorgon: should i delete that line in ~/.gitignore? | 07:20 |
| → adityamenon joined | 07:20 |
| ← arkiver left | 07:20 |
|
skorgon
| either delete it or alter it to whatever you want this option to be. but simple is invalid | 07:20 |
| → kkszysiu_work joined | 07:20 |
|
bigmeow
| skorgon: http://linux.die.net/man/1/git-init cannot see such lists:( | 07:21 |
|
| skorgon: simple is valid, it is generated by git | 07:21 |
|
| skorgon: not me | 07:21 |
| → osxorgate joined | 07:21 |
|
skorgon
| it's not in man git init, but in man git config | 07:21 |
|
gitinfo
| the git-init manpage is available at http://git-scm.com/docs/git-init.html | 07:21 |
|
| the git-config manpage is available at http://git-scm.com/docs/git-config.html | 07:21 |
| ← adityamenon left | 07:21 |
| → bizhanMona joined | 07:22 |
| → adityamenon joined | 07:22 |
|
skorgon
| and the error message you posted explicitly lists the valid option values. simple is not amongst them | 07:22 |
| ← beautifulmind left | 07:23 |
| → dr_lepper joined | 07:24 |
| ← gun-lpt left | 07:24 |
| → gun-lpt joined | 07:24 |
| ← mischat left | 07:26 |
|
crocket
| How do I sync the latest commit snapshot of a bare git repo with an FTP server? | 07:26 |
| → mischat joined | 07:26 |
| ← kkszysiu_work left | 07:26 |
|
EugeneKay
| crocket - !deploy | 07:27 |
|
gitinfo
| crocket: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 07:27 |
|
crocket
| EugeneKay, You're a genius. | 07:28 |
| ← hashset1 left | 07:28 |
|
EugeneKay
| That's beside the point | 07:29 |
| ← thiago left | 07:29 |
| → kkszysiu_work joined | 07:29 |
| → Cache_Money joined | 07:30 |
| ← Element9 left | 07:30 |
|
bigmeow
| why i failed to push to git repo? | 07:30 |
|
| http://iyanwu.com/pastebin/showthread.php?tid=1773 | 07:30 |
|
crocket
| "checkout -- the "fight club" of git deployment" | 07:31 |
| → ph^ joined | 07:32 |
| ← OOPMan left | 07:33 |
| → _Qman joined | 07:33 |
|
Bombe
| bigmeow, so, you clone a repository, then _delete_ that repository and are wondering why you can’t push anything? | 07:34 |
|
lb
| bigmeow: you dleeted your local clone | 07:34 |
| ← specialGuest left | 07:34 |
|
lb
| ah, what Bombe said ;) | 07:35 |
| ← sh4rm4 left | 07:35 |
| ← Vinnie_win left | 07:35 |
|
lb
| bigmeow: besides, you'll have to "cd $thatcloneddir" before doing any git command that should affect this repo | 07:37 |
| → sh4rm4 joined | 07:37 |
|
bigmeow
| Bombe: it is just a test | 07:37 |
|
lb
| ok bigmeow short version: you've failed, because you deleted your local repo before working with it. | 07:38 |
|
Bombe
| bigmeow, okay, if it’s just a test then simply continue to do stuff that doesn’t make any sense and doesn’t work. After all, it’s just a test. | 07:38 |
| → Vinnie_win joined | 07:39 |
| ← Vinnie_win left | 07:39 |
| → Vinnie_win joined | 07:40 |
| ← Vinnie_win left | 07:40 |
|
bigmeow
| why i failed to push to git repo? (with more detail) | 07:40 |
| ← aLeSD left | 07:40 |
|
bigmeow
| http://iyanwu.com/pastebin/showthread.php?tid=1774 | 07:40 |
| → Vinnie_win joined | 07:40 |
| ← Vinnie_win left | 07:40 |
| → stodan joined | 07:40 |
| → Vinnie_win joined | 07:40 |
| ← Vinnie_win left | 07:40 |
|
Bombe
| bigmeow, are you thick? You are _deleting_ your local repository before working with it. What do you expect to happen? | 07:40 |
| → Vinnie_win joined | 07:41 |
| ← Vinnie_win left | 07:41 |
| → Vinnie_win joined | 07:41 |
| ← Vinnie_win left | 07:41 |
| → Vinnie_win joined | 07:41 |
| ← Vinnie_win left | 07:41 |
| → Vinnie_win joined | 07:41 |
| → shruggar joined | 07:41 |
| ← Vinnie_win left | 07:42 |
| ← weiyang left | 07:42 |
| → Vinnie_win joined | 07:42 |
| ← Cache_Money left | 07:42 |
| ← Vinnie_win left | 07:42 |
| → Vinnie_win joined | 07:42 |
|
lb
| Bombe: bigmeow btw your url https://code.google.com/p/prjname/ retuns 404 | 07:42 |
| ← Vinnie_win left | 07:42 |
| → Vinnie_win joined | 07:42 |
|
Bombe
| lb, hey, it’s just a test, didn’t you hear him? | 07:42 |
| ← Vinnie_win left | 07:42 |
| → simesy_ joined | 07:42 |
|
lb
| ahh sorry ;) | 07:42 |
| → weiyang joined | 07:43 |
| → Vinnie_win joined | 07:43 |
| ← Vinnie_win left | 07:43 |
| → Vinnie_win joined | 07:43 |
|
bigmeow
| lb: it is https://code.google.com/p/phpsdks3/ | 07:43 |
|
| Bombe: git clone, then delete it, just to assure the repo exsists | 07:44 |
|
Bombe
| Well, it’s empty, so there’s nothing to clone. | 07:44 |
|
bigmeow
| Bombe: why i cannot push to it? | 07:45 |
| → leeN joined | 07:45 |
| ← letharion left | 07:46 |
|
Bombe
| bigmeow, have you tried “git push <repo> master”? The first push needs a branch name, I think. | 07:46 |
| → Cache_Money joined | 07:46 |
| ← simesy left | 07:46 |
| ← simesy_ left | 07:47 |
| → Pugnax joined | 07:48 |
| ← pantsman left | 07:49 |
| → jn_ joined | 07:50 |
|
bigmeow
| Bombe: git push origin master | 07:51 |
|
| fatal: remote error: Repository not found | 07:51 |
|
jn_
| Hi I have a branch which I want to update with the latest changes from master, would it be correct to stand on my branch and do "git rebase master" ? | 07:51 |
| → pantsman joined | 07:53 |
| ← pantsman left | 07:53 |
| → pantsman joined | 07:53 |
| → irqq joined | 07:53 |
|
EugeneKay
| jn_ - git supports merge commits. Don't be afraid of them - use `git merge master` instead. | 07:53 |
|
| Flattening your history with rebase for the sake of flattenign history is absurd and SVNish | 07:54 |
| ← harshpb left | 07:54 |
|
Bombe
| bigmeow, I think Google does something strange with their repositories, I can not reproduce that situation locally. Please contact Google for assistance, or read their help pages. I’m pretty sure they cover this situation. | 07:54 |
| → harshpb joined | 07:54 |
| ← mark_vh left | 07:54 |
|
bigmeow
| Bombe: http://stackoverflow.com/questions/10202015/code-google-com-git-fatal-remote-error-repository-not-found | 07:55 |
|
| others have alsow confronted with this issue | 07:55 |
| ← Cache_Money left | 07:56 |
|
Bombe
| bigmeow, then go ask Google about it. | 07:56 |
|
bigmeow
| Bombe: maybe the reason is that i have two lines in .netrc, and git push only use the first line | 07:57 |
|
Bombe
| bigmeow, you could ask Google about it. | 07:57 |
|
| Also, reading the Stack Overflow page might help you. One of the answers might be a solution for you. | 07:58 |
|
| But of course you have already seen that. | 07:58 |
|
crocket
| EugeneKay, I'm going to modify your script and use it. | 07:58 |
|
EugeneKay
| crocket - try not to let it eat your head | 07:59 |
|
crocket
| EugeneKay, ??? | 07:59 |
|
EugeneKay
| crocket - !weasels ;-) | 07:59 |
|
gitinfo
| crocket: The consequences of this proposal are not well-defined. A band of furious weasels may infest your undergarments, or it might work just fine. You should !backup then !tryit and let us know what happens. | 07:59 |
|
EugeneKay
| I license my scripts under WTFPL for a reason | 07:59 |
| ← xxtjaxx left | 08:00 |
| ← pantsman left | 08:00 |
|
Anders_J
| I'd check if the backup works first <.< | 08:00 |
| → xxtjaxx joined | 08:01 |
| ← xxtjaxx left | 08:01 |
| → xxtjaxx joined | 08:01 |
| → LimeBlast joined | 08:01 |
| ← harshpb left | 08:02 |
| → thiago joined | 08:03 |
| → harshpb joined | 08:03 |
| ← harshpb left | 08:03 |
|
jargon-
| i've reinstalled my netbook. is there anyway to get to reuse the ssh key that's stored in github? | 08:03 |
|
| or do i need to create a new pair? | 08:03 |
| → harshpb joined | 08:03 |
| → kngspook joined | 08:04 |
| ← Milossh left | 08:04 |
|
Bombe
| jargon-, if your private key is lost then, well, your private key is lost. | 08:04 |
|
| That’s what “lost” means, I guess. | 08:04 |
|
jargon-
| Bombe: aah. ok. | 08:04 |
| gitinfo set mode: +v | 08:05 |
|
jargon-
| too bad the priv key is not L O S T | 08:05 |
|
| then we could just go back | 08:05 |
|
| ;-) | 08:05 |
|
Bombe
| Indeed. :) | 08:05 |
|
jn_
| <EugeneKay> thanks =) | 08:05 |
|
kngspook
| Will setting "-diff" on a filetype in .gitattributes in any way change how git stores the changes to the file? The git diff then claims it's a binary file, but I'm wondering if that's just an unhelpful message rather than an actual change in classification. | 08:05 |
| → Xethron joined | 08:06 |
|
kngspook
| (Otherwise it sounds like it would be synonymous with setting the filetype to "binary" in gitattributes...) | 08:06 |
| → blami_ joined | 08:06 |
|
EugeneKay
| git stores files as they existed at the time of commit | 08:06 |
|
kngspook
| Regardless of binary or text settings? | 08:07 |
|
EugeneKay
| Correct | 08:07 |
|
bigmeow
| Bombe: .netrc have something to do with curl, maybe git invoke curl when use http or https | 08:07 |
| → letharion joined | 08:07 |
|
bigmeow
| Bombe: curl just don't fetch the right line | 08:07 |
|
Bombe
| bigmeow, and maybe Google knows more. | 08:07 |
|
EugeneKay
| Internally git will repack these file blobs into packfiles, but it retains the ability to unpack them 100% as they were commited | 08:08 |
|
bigmeow
| Bombe: i am sure the problem is curl related | 08:08 |
|
EugeneKay
| Whenever possible you should NOT mark files as !binary | 08:08 |
|
gitinfo
| Storing binary files in git causes repo balloon, because they do not compress/diff well. In other words, each time you change a file the repo will grow by the size of the file. See !annex for some solutions | 08:08 |
|
Bombe
| bigmeow, great. Problem solved, next! | 08:08 |
|
kngspook
| EugeneKay: Well, I'm not really looking to mark files as binary. I have text files that I just want not to be diffed by default. | 08:09 |
|
EugeneKay
| Define "not to be diffed" | 08:10 |
|
| You can't change how git creates packfiles, and worrying about plumbing that low-level for ideological reasons is psychopathic | 08:10 |
|
bigmeow
| Bombe: not solved yet | 08:11 |
|
| Bombe: can i specify which .netrc to use when i use git push? | 08:11 |
|
Bombe
| bigmeow, but it’s a curl problem. Maybe #curl or ##curl can help. Or the curl developers. | 08:11 |
| drarok → Drarok | 08:11 |
|
EugeneKay
| bigmeow - it sounds like you're having problems pushing via http:// ? | 08:12 |
|
bigmeow
| Bombe: not a pure curl problem , since git invoke it, and the issue maybe git don't invoke curl smartly | 08:12 |
| → lun__ joined | 08:12 |
|
Bombe
| bigmeow, git does not invoke curl. | 08:12 |
|
| Why would git invoke curl? | 08:12 |
|
bigmeow
| EugeneKay: yes, dude.. are you admin herer? | 08:12 |
|
Bombe
| That’s crazy. | 08:12 |
|
EugeneKay
| bigmeow - technically yes, but only by virtue of being an overhelpful regular. See also the !stats | 08:13 |
|
gitinfo
| bigmeow: [!irclog] Public logs of #git are kept at: http://colabti.org/irclogger/irclogger_log/git or look at stats for the last 30 days: http://itvends.com/irc/git.html | 08:13 |
| ← Eridius left | 08:13 |
|
kngspook
| EugeneKay: I want git to do everything it's doing now, except show files with the extension .x when a user does git-diff. | 08:13 |
|
EugeneKay
| (which I maintain) | 08:13 |
|
bigmeow
| Bombe: maybe git use libcurl and don't invoke curl through curl cli | 08:13 |
|
kngspook
| EugeneKay: treat them exactly the same in every respect except for displaying. | 08:13 |
| ← lun_ left | 08:13 |
| → Milossh joined | 08:13 |
|
EugeneKay
| bigmeow - git definitely does not `curl`; it is built with libcurl. | 08:14 |
|
crocket
| Does git allow custom hooks? | 08:14 |
| → tjadc_ joined | 08:14 |
|
EugeneKay
| kngspook - then specifying the -diff option as you were saying is in fact what you want to do. | 08:14 |
|
crocket
| a hook such as "custom" | 08:14 |
|
bigmeow
| EugeneKay: git is not smart enough | 08:14 |
|
EugeneKay
| crocket - tl;dr: no. | 08:14 |
|
bigmeow
| EugeneKay: when there are two lines in .netrc | 08:14 |
|
EugeneKay
| bigmeow - git is stupid. It says so in the man git page ;-) | 08:14 |
|
gitinfo
| bigmeow: the git manpage is available at http://git-scm.com/docs/git.html | 08:14 |
| ← tjadc left | 08:15 |
|
EugeneKay
| bigmeow - git's support for http(s):// is, to not beat about the bush, total crap. Use ssh:// like a sane person and abuse ~/.ssh/config to your heart's content. | 08:15 |
|
| If your $REPOHOST doesn't support ssh:// then you should stop using them, because that is stupid and backwards and not gitty. | 08:16 |
|
bigmeow
| EugeneKay: but i am using google code, which do not support ssh | 08:17 |
|
EugeneKay
| bigmeow - see above re:$REPOHOST | 08:17 |
| → chimay joined | 08:17 |
| ← chimay left | 08:17 |
| → chimay joined | 08:17 |
| ← diegoviola left | 08:17 |
|
crocket
| EugeneKay, I can handle your script. | 08:17 |
|
| Just replacing rsync with lftp is enogh. | 08:18 |
| ← Goplat left | 08:18 |
|
crocket
| enough | 08:18 |
|
| EugeneKay makes a rude noise about FTP | 08:18 |
|
crocket
| EugeneKay, I have no other choice. | 08:19 |
|
| EugeneKay, I don't want to use FTP, either. | 08:19 |
| ← sirdancealot7 left | 08:19 |
| → dagerik joined | 08:19 |
|
EugeneKay
| Get a better webhost that uses a protocol updated since 2000 ;-) | 08:19 |
|
dagerik
| when i do git log and search with /, the first hit's hashvalue is not shown because all of the above is "skipped". halp | 08:20 |
|
jn_
| How do I change the default mergetool when using git mergetool ? | 08:20 |
| → dpino joined | 08:20 |
|
EugeneKay
| jn_ - man git-config, ctrl-f for "mergetool" | 08:20 |
|
gitinfo
| jn_: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 08:20 |
|
jn_
| ok thanks | 08:21 |
|
crocket
| EugeneKay, Which protocol? | 08:22 |
|
EugeneKay
| crocket - SFTP, rsync-over-ssh, scp.... anything that's, you know, secure. | 08:23 |
| → stepnem joined | 08:24 |
| → diegoviola joined | 08:24 |
| → tinti joined | 08:25 |
| ← karadoc left | 08:25 |
| ← cedr left | 08:26 |
| ← pdtpatrick left | 08:29 |
| ← mischat left | 08:30 |
|
bigmeow
| how to tell git not to use .netrc? | 08:31 |
| ← Chib left | 08:31 |
|
wereHamster
| bigmeow: it's curl that uses it. | 08:32 |
| → RoyBellingan joined | 08:33 |
| ← awx left | 08:33 |
| → karadoc joined | 08:33 |
| ← ThomasLocke left | 08:34 |
| → awx joined | 08:34 |
|
bigmeow
| wereHamster: i know, is there any method to tell git which.netrc should be used? | 08:35 |
|
| wereHamster: i know, is there any method to tell git which.netrc curl should used? | 08:36 |
|
Bombe
| bigmeow, no, because curl uses it, not git. | 08:36 |
| → ThomasLocke joined | 08:36 |
|
bigmeow
| Bombe: but git should tell which .netrc curl should use, otherwise curl will use the default config in .netrc | 08:36 |
|
wereHamster
| bigmeow: curl always uses the one in $HOME, it seems. | 08:37 |
| ← xxtjaxx left | 08:37 |
|
bigmeow
| Bombe: if there are more than one .netrc files, git has the responsibility to tell curl which config it should use | 08:37 |
|
| wereHamster: curl have option to define which .netrc file it use, | 08:38 |
| ← daniel-s__ left | 08:38 |
| → daniel-s joined | 08:38 |
|
wereHamster
| bigmeow: which one? | 08:38 |
| → w41_ joined | 08:38 |
| → Eridius joined | 08:39 |
|
Bombe
| bigmeow, I am still a little bit convinced that you are doing this all wrong and that the Stack Overflow page you posted earlier does indeed contain a solution for you. | 08:40 |
|
| Apparently, using Google Code is already a “doing it wrong.” | 08:40 |
|
bigmeow
| wereHamster: --netrc-optional | 08:40 |
|
| Bombe: no solution yet | 08:40 |
|
| Bombe: or i should remove .netrc, which is not convinent | 08:40 |
|
| when i do git push | 08:40 |
| → jceb joined | 08:41 |
|
bigmeow
| Bombe: but with it, i cannot push using two google account | 08:41 |
|
Bombe
| bigmeow, you know what? I suddenly stopped caring. Please go away. | 08:41 |
| ← w41 left | 08:41 |
|
wereHamster
| bigmeow: why do you need to change the netrc? | 08:42 |
|
bigmeow
| shrug | 08:42 |
|
| wereHamster: use more than one google code account | 08:42 |
|
FauxFaux
| .netrc supports the alias hack, wherein you use a bogus url and override the hostname, doesn't it? | 08:42 |
| → _eMaX_1 joined | 08:43 |
|
wereHamster
| like in ssh_config? | 08:43 |
|
| (though there it's not really a hack, but the way you should use the config file..) | 08:43 |
| ← _eMaX_ left | 08:43 |
| ← fisted left | 08:44 |
| ← Fuuzetsu left | 08:44 |
| ← sebrock left | 08:44 |
| → xxtjaxx joined | 08:44 |
| ← xxtjaxx left | 08:44 |
| → xxtjaxx joined | 08:44 |
|
bigmeow
| wereHamster: i can use more than one github account if i change .ssh/config | 08:44 |
|
| FauxFaux: how to hack .netrc | 08:45 |
|
thiago
| use different "Host" in .ssh/config | 08:45 |
|
| thiago has "Host qt-gerrit" and "Host qt-gerrit-personal" so that two different keys are used for the same server | 08:45 |
| → Shanachan joined | 08:46 |
| ← Shanachan left | 08:46 |
| → Shanachan joined | 08:46 |
|
bigmeow
| thiago: this can be done for ssh, but can it for http? | 08:47 |
|
| thiago: now we talk about libcurl not ssh | 08:47 |
|
crocket
| EugeneKay, What is if [ ! -d "${dest}" ] ? | 08:47 |
|
| ${dest} is not a folder. | 08:47 |
|
thiago
| bigmeow: http (usually) has no keys | 08:47 |
|
EugeneKay
| A weasel | 08:47 |
|
thiago
| bigmeow: besides, you should not push via HTTP | 08:47 |
| ← skorgon left | 08:47 |
|
thiago
| bigmeow: push via SSH | 08:47 |
|
FauxFaux
| wereHamster: Mmm, I just dislike having "ssh example.com" going to example.com normally, and "ssh foo" going to example.com through a different proxy (for when I'm at a different location). Yes, I actually use 'foo'. >.> | 08:47 |
|
crocket
| EugeneKay, Is it a trap? | 08:48 |
|
wereHamster
| FauxFaux: why dislike? | 08:48 |
|
thiago
| <ackbar>it's a trap!</ackbar> | 08:48 |
|
EugeneKay
| It's a check that the destination dir exists on the local filesystem | 08:48 |
|
FauxFaux
| Seems like there should be a neater solution. | 08:48 |
|
EugeneKay
| If you're FTPing or such to a remote you won't want it ;-) | 08:48 |
|
crocket
| EugeneKay, It's for a remote directory. | 08:49 |
| → Element9 joined | 08:49 |
|
crocket
| Did you ever see it run without an error? | 08:49 |
|
| git archive is run outside a git repo. | 08:49 |
| → fisted joined | 08:49 |
|
thiago
| git archive is run inside the repo | 08:49 |
|
| you can give it a --remote= option though | 08:50 |
| → skorgon joined | 08:50 |
| ← skorgon left | 08:50 |
| → skorgon joined | 08:50 |
| ← xxtjaxx left | 08:50 |
| Kiall → zz_Kiall | 08:50 |
| → robotmay joined | 08:52 |
|
bigmeow
| \does .netrc support alias? | 08:52 |
|
crocket
| thiago, If $GIT_DIR is set, does "git archive" run on $GIT_DIR? | 08:53 |
|
thiago
| crocket: you can test | 08:54 |
| → mjt joined | 08:54 |
|
crocket
| EugeneKay, I'm sure ${dest} wouldn't exist. | 08:54 |
|
| ${dest} directory | 08:54 |
| → eletuchy joined | 08:56 |
| ← thorbjornDX left | 08:57 |
| ← eletuchy left | 08:57 |
| zz_Kiall → Kiall | 08:58 |
| → eletuchy joined | 08:58 |
| → polymar joined | 08:58 |
| ← dpino left | 08:58 |
| → thorbjornDX joined | 08:59 |
| → gnoshi joined | 08:59 |
| → SkAzZ joined | 09:00 |
| ← RoyBellingan left | 09:00 |
| → RoyBellingan joined | 09:01 |
| ← harshpb left | 09:01 |
| → psoo joined | 09:02 |
| → harshpb joined | 09:02 |
| ← oojacoboo left | 09:03 |
| ← adityamenon left | 09:03 |
|
crocket
| EugeneKay, Your script doesn't seem to check if an updated branch is deploy.${branch} | 09:04 |
|
EugeneKay
| It doesn't do a lot of things. | 09:04 |
|
| Hence the caveats | 09:04 |
|
crocket
| EugeneKay, oops. | 09:04 |
|
EugeneKay
| Patches welcome | 09:04 |
|
crocket
| I misunderstood. | 09:04 |
|
| EugeneKay sleeps | 09:04 |
|
crocket
| EugeneKay, Why umode 007? | 09:04 |
|
jast
| hey, no sleeping on the channel! | 09:04 |
|
EugeneKay
| Because that's the umode that suited /me/ | 09:05 |
| → oojacoboo joined | 09:05 |
|
| EugeneKay sticks jast with a caffiene IV and then wanders off to bed | 09:05 |
|
crocket
| me!! | 09:05 |
|
jast
| not good. I'm at work. I kind of need focus more than hyperactivity. | 09:05 |
| → manolo joined | 09:06 |
| ← dsantiago left | 09:07 |
| → karadoc_ joined | 09:07 |
| → noisebleed joined | 09:07 |
| ← noisebleed left | 09:07 |
| → noisebleed joined | 09:07 |
| ← karadoc left | 09:09 |
| ← maletor left | 09:09 |
| ← jackh left | 09:10 |
| ← harshpb left | 09:11 |
| ← weiyang left | 09:11 |
| → dsantiago joined | 09:11 |
| ← polymar left | 09:12 |
| ← diegoviola left | 09:12 |
| → FasTTo joined | 09:12 |
| → KungFuPanda joined | 09:12 |
| ← piti left | 09:12 |
| → karadoc joined | 09:12 |
| ← jargon- left | 09:12 |
| → xxtjaxx joined | 09:12 |
|
KungFuPanda
| a | 09:12 |
| ← xxtjaxx left | 09:12 |
| → xxtjaxx joined | 09:12 |
| ← KungFuPanda left | 09:12 |
| → i42n joined | 09:13 |
|
gnoshi
| Hey: probably a really simple question, but one I haven't found an answer for: is it possible to disconnect a repo from a cache (i.e. if created with git init --reference) without doing a repack (i.e. git repack -a)? I don't want the repo packed (because other repos --reference it, and packing seems to screw that up), but need to disconnect it from what it refers to. | 09:13 |
| → PigeonFriend joined | 09:14 |
| ← peterpan left | 09:14 |
| ← karadoc_ left | 09:14 |
| ← kngspook left | 09:15 |
| → mabrand joined | 09:16 |
| → athit joined | 09:16 |
| → talk joined | 09:18 |
| → weiyang joined | 09:18 |
|
selckin
| sounds like you made a fun little chain | 09:19 |
|
talk
| Hello I have already committed some changes and I have to do some additional changes on this commit.And after this both changes,I need to send this as a single commit.How can it be done? | 09:20 |
|
skorgon
| talk, commit --amend | 09:20 |
| → mischat joined | 09:21 |
| → harshpb joined | 09:23 |
|
jast
| gnoshi: copy everything from the referenced object store into the target object store | 09:23 |
|
| and you *can* repack... just make sure you don't prune anything (e.g. git repack -Ad) | 09:24 |
|
gnoshi
| cool, thnx | 09:27 |
| → polymar joined | 09:28 |
|
talk
| skorgon: great.I just had to add git add -f file_name and do git commit --amend. | 09:29 |
|
| it worked. | 09:29 |
| ← xxtjaxx left | 09:29 |
| → catphish_ joined | 09:30 |
| → mark_vh joined | 09:30 |
| → FernandoBasso joined | 09:30 |
| → codeM0nK_ joined | 09:30 |
| → pfFredd joined | 09:31 |
| ← codeM0nK3Y left | 09:31 |
| codeM0nK_ → codeM0nK3Y | 09:31 |
|
DeadZen
| there a way to get a short status list of different files between branches? | 09:33 |
|
canton7
| DeadZen, diff --name-status or --name-only | 09:34 |
|
DeadZen
| ah thx | 09:35 |
| → xxtjaxx joined | 09:36 |
|
bigmeow
| EugeneKay: hi, dude | 09:38 |
| ← herdingcat left | 09:39 |
| ← Element9 left | 09:39 |
| ← gun-lpt left | 09:39 |
| Shanachan → Fuuzetsu | 09:39 |
| ← gnoshi left | 09:40 |
| → gun-lpt joined | 09:41 |
| → dsirijus joined | 09:41 |
| → SegFault1X|work2 joined | 09:42 |
| ← karadoc left | 09:42 |
| ← FasTTo left | 09:43 |
| ← leeN left | 09:43 |
| → mklappstuhl joined | 09:44 |
| ← SegFaultAX|work2 left | 09:44 |
|
bigmeow
| lol | 09:44 |
|
| https://secure.gravatar.com/avatar/5150ef019ba97242bbbf09d9db371e04?s=140&d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-user-420.png | 09:45 |
|
| who is this? | 09:45 |
| → leeN joined | 09:45 |
|
jast
| I believe that's Eugene | 09:45 |
| → SegFaultAX|work2 joined | 09:47 |
|
FauxFaux
| Looks like the frogman to me: http://i.imgur.com/Elo3V.gif | 09:47 |
| ← SegFault1X|work2 left | 09:48 |
|
bigmeow
| FauxFaux: yep, frogman:) | 09:48 |
| ← xxtjaxx left | 09:49 |
| → KungFuPanda joined | 09:49 |
|
KungFuPanda
| hi guys, I got "fatal: CRLF would be replaced by LF in index.php." when I try to add index.php. I already created .gitattributes and set text=auto, and I also set core.autocrlf input. | 09:50 |
|
| but I still got this error can not add the file. | 09:51 |
| → xxtjaxx joined | 09:51 |
| ← xxtjaxx left | 09:51 |
| → xxtjaxx joined | 09:51 |
|
selckin
| the best way is to not have git mess with it, and disable autocrlf, and use a non braindead editor | 09:51 |
|
canton7
| git config core.safecrlf | 09:51 |
| → nathandim joined | 09:51 |
|
selckin
| any editor that still doesn't understand lineendings is not wroth uhsing | 09:52 |
|
KungFuPanda
| my safecrlf is true | 09:52 |
|
canton7
| selckin, it can be handle to get git to ensure that no crlfs are committed | 09:52 |
|
| KungFuPanda, read core.safecrlf in man git-config | 09:52 |
|
gitinfo
| KungFuPanda: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 09:52 |
| → arkiver joined | 09:52 |
|
selckin
| it doesn't mather what it has, only that it doesn't change | 09:52 |
| → FasTTo joined | 09:52 |
| ← weiyang left | 09:53 |
| → beautifulmind joined | 09:53 |
|
jast
| !crlf | 09:54 |
|
gitinfo
| to fix problems with line endings on different platforms, check out http://line-endings.gitrecipes.de/ | 09:54 |
|
KungFuPanda
| thanks, I will have a look the safecrlf, because I want to git to handle the line ending, we got linux, max and window developer. so it should be good,if git can handle it | 09:54 |
|
masak
| I'm wondering about git's tendency to store a SHA1 in a two-letter directory, like .git/objects/af/5626b4a114abcb82d63db7c8082c3c4756e51b -- this is so as not to overwhelm the .git/objects/ directory with too many nodes, yes? | 09:54 |
|
jast
| masak: yes | 09:54 |
| ← i42n left | 09:54 |
|
KungFuPanda
| thanks everyone, I will have a look | 09:54 |
|
jast
| it's somewhat nicer for people trying to sift through, too | 09:55 |
|
canton7
| KungFuPanda, the gist is that git's being extra-safe about changing line endings, and thinks your file might be binary, as it contains both lf and crlf, so is refusing to do the conversion | 09:55 |
|
masak
| jast: oh, true. | 09:56 |
|
| jast: does it change the directory structure further as more nodes are added? | 09:56 |
| ← arkiver left | 09:56 |
|
masak
| hm, doesn't seem that way. | 09:56 |
|
jast
| that's because it doesn't ;) | 09:57 |
| → i42n joined | 09:57 |
|
jast
| in any case, you're supposed to run 'git gc' or something like that every now and then, and that usually gets rid of most of the loose files | 09:58 |
| → luc__ joined | 10:01 |
| ← luc_ left | 10:01 |
| → jargon- joined | 10:06 |
| → Hail_Spacecake joined | 10:06 |
| ← talk left | 10:06 |
| → gbjk joined | 10:07 |
| ← caseymcg left | 10:09 |
| ← xxtjaxx left | 10:09 |
|
gbjk
| Hi. I accidentally deleted a branch locally. I thought I'd pushed it to origin but it doesn't seem to be there either. I have the sha, but it's reported as a bad object. Is here anything I can do? | 10:10 |
|
cbreak-work
| gbjk: did you use -d or -D? | 10:10 |
|
catphish_
| if you checked it out lately try git reflog | 10:11 |
|
| to find the sha | 10:11 |
| ← spyro left | 10:11 |
|
lb
| catphish_: thought he has the sha | 10:11 |
|
catphish_
| oh sorry | 10:11 |
|
| that's very odd | 10:11 |
|
gbjk
| cbreak-work: -D I think. | 10:11 |
|
| catphish_: Why is that very odd? | 10:11 |
|
catphish_
| the sha shouldn't go away immediately when deleteing a branch pointed to it | 10:12 |
|
| ie commits arent deleted | 10:12 |
|
canton7
| double-check the reflog, you might have the sha1 wrong | 10:12 |
|
| gbjk realises something. | 10:12 |
|
FauxFaux
| !gka | 10:12 |
|
gitinfo
| For a better way to view the reflog, try: gka() { gitk --all $(git log -g --format="%h" -50) "$@"; }; gka | 10:12 |
|
gbjk
| FACEPALM. | 10:12 |
| ← _eMaX_1 left | 10:12 |
|
gbjk
| It's in another local repository. Nevermind. | 10:12 |
|
catphish_
| lol | 10:12 |
|
cbreak-work
| good | 10:13 |
| → tomaw_ joined | 10:13 |
| ← FernandoBasso left | 10:13 |
| ← gavin_huang left | 10:15 |
| ← eletuchy left | 10:19 |
| → mastro joined | 10:20 |
| → caddoo joined | 10:22 |
| → whitman joined | 10:24 |
| → spyro joined | 10:24 |
|
Hail_Spacecake
| I created a gh-pages branch on github | 10:26 |
|
| and for some reason it doesn't exist locally | 10:26 |
|
| how do I create a local version of the branch? | 10:26 |
|
canton7
| Hail_Spacecake, git branch -r ? | 10:26 |
| → xxtjaxx joined | 10:26 |
| ← xxtjaxx left | 10:27 |
| → xxtjaxx joined | 10:27 |
|
Hail_Spacecake
| yeah I see the branch there | 10:27 |
|
| github/gh-pages | 10:27 |
|
| but I tried checking it out | 10:27 |
|
canton7
| so, you can create a new local branch based on that remote on with 'git checkout -b gh-pages github/gh-pages' | 10:27 |
|
Hail_Spacecake
| and I somehow made a local branch literally called "remotes/github/gh-pages" | 10:27 |
|
canton7
| oh, nice. get rid of that | 10:28 |
|
| (easily done btw) | 10:28 |
|
Hail_Spacecake
| I did | 10:28 |
|
canton7
| in general, !local_branch_from_remote | 10:28 |
|
gitinfo
| The following commands are all equivalent, assuming <branch> doesn't yet exist: 'git checkout -b <branch> <remote>/<branch>', 'git checkout -t <remote>/<branch>', 'git checkout <branch>'. The latter invokes some magic. | 10:28 |
|
Hail_Spacecake
| so, what happens (or is supposed to happen) if you just do git checkout -b <branch>? | 10:28 |
| → ro_st joined | 10:28 |
| → mritz joined | 10:28 |
|
Hail_Spacecake
| where <branch> is the name of a remote branch? | 10:28 |
|
canton7
| it creates <branch>, based on the current commit | 10:28 |
| ← KungFuPanda left | 10:28 |
|
canton7
| if <branch> is the name of a remote branch, it doesn't do what you expect: it creates a branch called e.g. 'github/gh-pages' based on the current commit | 10:29 |
|
Hail_Spacecake
| so that gh-pages branch I just made locally has no relation to the gh-pages branhc on github I care about? | 10:29 |
|
canton7
| correct | 10:29 |
|
Hail_Spacecake
| oh -b is what you pass to checkout to make a new branch without first using git branch | 10:29 |
|
| bah | 10:29 |
|
| yeah | 10:29 |
|
canton7
| yup :0 | 10:30 |
|
| * :) | 10:30 |
| → fluxdude joined | 10:30 |
| → dvide joined | 10:30 |
|
canton7
| some kind soul made just 'git checkout gh-pages' work the same as 'git checkout -b gh-pages github/gh-pages', provided a set of assumptions are met | 10:30 |
| ← jargon- left | 10:30 |
| → jargon- joined | 10:31 |
|
Hail_Spacecake
| canton7 huh? | 10:31 |
|
| I think that will work for me now | 10:31 |
|
| that I've set up the remote tracking | 10:31 |
|
jargon-
| is there a way to clone a mercurial repo with git? i don't want to install hg | 10:31 |
|
canton7
| jargon-, hg-git? (or it might be git-gh, can't remember) | 10:32 |
|
Hail_Spacecake
| but before I was getting something like this ref doesn't exist | 10:32 |
|
canton7
| Hail_Spacecake, cool | 10:32 |
| → swair joined | 10:32 |
|
Hail_Spacecake
| well anyway pushed | 10:32 |
|
| so I know it takes a few minutes for github to build the page | 10:32 |
|
| but I thought it at least put up the notification saying it was building the page | 10:32 |
|
| pretty quickly | 10:32 |
| ← hyperair left | 10:33 |
| → gnoshi joined | 10:34 |
| ← gnoshi left | 10:34 |
| ← harshpb left | 10:35 |
|
jargon-
| canton7: ok let me look into that | 10:35 |
|
canton7
| *git-hg | 10:35 |
| → harshpb joined | 10:35 |
| → bfgun joined | 10:36 |
| ← Xethron left | 10:38 |
| ← i42n left | 10:38 |
| ← swair left | 10:39 |
| → swair joined | 10:39 |
| ← heroux left | 10:39 |
| ← swair left | 10:39 |
| ← bfig left | 10:39 |
| ← luc__ left | 10:39 |
| → swair joined | 10:39 |
| → MaximLacrima joined | 10:40 |
|
ro_st
| is there a simple way to achieve automated build numbering with git in a particular branch? | 10:40 |
| → luc_ joined | 10:40 |
|
ro_st
| i've looked into semantic versioning but i get hopelessly lost in theory and what looks like a legal document | 10:41 |
|
skorgon
| ro_st, i think some projects use something like the output of 'git describe' | 10:42 |
| ← tinti left | 10:42 |
| ← dr_lepper left | 10:43 |
|
bremner
| ro_st: yeah, git describe | sed should work | 10:43 |
|
ro_st
| ok so we need to be using tags | 10:43 |
|
bremner
| yes | 10:43 |
| → i42n joined | 10:43 |
|
ro_st
| oh nice, it returns tag commit count | 10:43 |
|
| how simple and elegant | 10:43 |
|
| thanks guys. that sorts it out! | 10:44 |
| ← tomaw left | 10:45 |
| ← kkszysiu_work left | 10:45 |
| tomaw_ → tomaw | 10:45 |
| ← luc_ left | 10:45 |
| ← Hail_Spacecake left | 10:46 |
| → Droolio joined | 10:46 |
|
jargon-
| canton7: look what i found :-) http://pypi.python.org/pypi/git-remote-hg/0.1.1 | 10:47 |
| ← polymar left | 10:47 |
| → kkszysiu_work joined | 10:49 |
| ← harshpb left | 10:49 |
| → harshpb joined | 10:49 |
| ← dsirijus left | 10:50 |
| ← osxorgate left | 10:52 |
| ← SkAzZ left | 10:52 |
| → arvind_khadri joined | 10:53 |
| → Vile joined | 10:56 |
| → osxorgate joined | 10:56 |
| → osxorgat_ joined | 10:59 |
| ← osxorgate left | 11:00 |
| ← harshpb left | 11:01 |
| → gavin_huang joined | 11:01 |
| → harshpb joined | 11:02 |
| → osxorgate joined | 11:03 |
| → jn__ joined | 11:03 |
| ← osxorgat_ left | 11:03 |
| ← gbjk left | 11:03 |
| ← jn_ left | 11:07 |
| → visualinfo joined | 11:07 |
| → karadoc joined | 11:07 |
| ← bloony left | 11:10 |
| → Sunny_ joined | 11:11 |
| → cebor joined | 11:11 |
| → bloony joined | 11:14 |
| ← bloony left | 11:14 |
| ← visualinfo left | 11:16 |
| ← jdyin left | 11:16 |
| ← mabrand left | 11:17 |
| ← nathandim left | 11:18 |
| ← lun__ left | 11:19 |
| → cakehero joined | 11:20 |
| ← robbyoconnor left | 11:20 |
| ← gun-lpt left | 11:23 |
| → bloony joined | 11:24 |
| → stevedomin joined | 11:24 |
| ← jceb left | 11:24 |
| ← ro_st left | 11:25 |
| ← SeoZ left | 11:25 |
| → rwestphal joined | 11:25 |
| → MWinther joined | 11:25 |
| → SeoZ joined | 11:26 |
| → dfr|sf joined | 11:28 |
| → eletuchy joined | 11:30 |
| → keltvek joined | 11:32 |
| → sgambino joined | 11:32 |
| → rgsteele joined | 11:34 |
| ← eletuchy left | 11:34 |
| ← mritz left | 11:35 |
| ← keltvek left | 11:37 |
| → keltvek joined | 11:38 |
| ← wolftankk left | 11:39 |
| ← xxtjaxx left | 11:39 |
| ← Sunny_ left | 11:40 |
| ← thiago left | 11:40 |
| → SkAzZ joined | 11:41 |
| → shineworld joined | 11:43 |
| ← shineworld left | 11:43 |
| → jaseemabid joined | 11:46 |
| ← mark_vh left | 11:46 |
| ← i42n left | 11:50 |
| → skyf joined | 11:50 |
| → skyf_ joined | 11:50 |
| → a-l-e joined | 11:51 |
| → mritz joined | 11:51 |
| → alberto56 joined | 11:52 |
| ← SeoZ left | 11:52 |
| ← zhouxiukun left | 11:52 |
| ← TheFuzzball left | 11:53 |
| → TheFuzzball joined | 11:53 |
| → cannonball joined | 11:54 |
| → iocor joined | 11:54 |
| ← harshpb left | 11:54 |
| ← TheFuzzball left | 11:54 |
| → TheFuzzball joined | 11:55 |
| ← TheFuzzball left | 11:55 |
| → TheFuzzb_ joined | 11:56 |
| ← skyf left | 11:56 |
| → the_cybersphinx joined | 11:56 |
| ← skyf_ left | 11:57 |
| → Ryback_ joined | 11:58 |
| ← Ryback_ left | 11:58 |
| → Ryback_ joined | 11:58 |
| → geekbri joined | 11:58 |
| → bartek joined | 11:58 |
| → koltroll joined | 12:01 |
| → SeoZ joined | 12:01 |
| ← comps left | 12:02 |
| ← xiangfu left | 12:03 |
| ← Nibato left | 12:03 |
| → mark_vh joined | 12:03 |
| → i42n joined | 12:04 |
| → rurufufuss joined | 12:04 |
| → rjgonza joined | 12:05 |
| → juvenal joined | 12:09 |
| ← athit left | 12:09 |
| → Nibato joined | 12:09 |
| ← nightcrawler786 left | 12:10 |
| → darkestkhan-work joined | 12:10 |
| → pandeiro joined | 12:10 |
| → athit joined | 12:11 |
| gitinfo set mode: +v | 12:11 |
| ← iori left | 12:11 |
|
darkestkhan-work
| is it possible to git-svn dcommit from repository w/o its entire history? (i.e. from snapshot) | 12:12 |
| → xxtjaxx joined | 12:12 |
| → hyperair joined | 12:13 |
| ← dfr|sf left | 12:13 |
| → LekeFly joined | 12:14 |
| ← banghouseFOOD left | 12:15 |
| → banghouse joined | 12:15 |
| ← ehsan left | 12:16 |
| → tinti joined | 12:16 |
| → Tjoppen joined | 12:17 |
| ← i42n left | 12:18 |
| → freeed joined | 12:19 |
| → zhouxiukun joined | 12:19 |
| → codewrangler joined | 12:20 |
| → i42n joined | 12:20 |
| → jcao219 joined | 12:21 |
|
selckin
| what's snapshot? | 12:22 |
|
| you can clone from a certain rev, and dcommit fine | 12:22 |
|
csmrfx
| a snapshot contains all the current / given state, I think | 12:22 |
|
| not just the changes from previous step, but all data | 12:23 |
| → MWinther_ joined | 12:25 |
| → gun-lpt joined | 12:25 |
| → ascii` joined | 12:25 |
| → darwinbits joined | 12:26 |
|
ascii`
| hi, i did a git add . before editing .gitignore and now i'm asked to add thing like "# modified: .bash_history", how do i remove them before pushing? | 12:26 |
|
canton7
| ascii`, .gitignore doesn't apply to files which are already tracked | 12:27 |
| ← jaseemabid left | 12:27 |
|
ascii`
| canton7, exactly, how do i untrack them? | 12:27 |
|
canton7
| you'll probably want to stop tracking those files altogether? git rm --cached <file> | 12:27 |
| ← darwinbits left | 12:27 |
| SeoZ → SeoZ-work[AWAY] | 12:27 |
| ← MWinther left | 12:27 |
| MWinther_ → MWinther | 12:27 |
|
ascii`
| canton7, thanks! trying now | 12:28 |
| → pppaul joined | 12:30 |
| ← pppaul left | 12:30 |
| → ipalaus joined | 12:30 |
| → pppaul joined | 12:30 |
| ← pppaul left | 12:30 |
| → pppaul joined | 12:31 |
| ← pppaul left | 12:31 |
|
darkestkhan-work
| selckin: think about situation where you don't have entire history of repository but you have most recent version and you want to dcommit... is it possible? | 12:31 |
| ← geekbri left | 12:31 |
| → geekbri joined | 12:31 |
| → pppaul joined | 12:31 |
| ← pppaul left | 12:31 |
| → pppaul joined | 12:32 |
| ← pppaul left | 12:32 |
|
crocket
| If I invoke git-push on windows, what would be the resulting permissions of the remote repository? | 12:32 |
| → pppaul joined | 12:32 |
|
crocket
| Last time I did it, it removed read and execute permissions from others. | 12:32 |
| ← pppaul left | 12:32 |
|
darkestkhan-work
| I think 777 | 12:32 |
| → ffunenga joined | 12:33 |
| → pppaul joined | 12:33 |
| ← pppaul left | 12:33 |
|
nevyn
| crocket: depends. | 12:33 |
|
canton7
| crocket, git only tracks the execute bit | 12:33 |
|
nevyn
| what are you pushing to? | 12:33 |
| → pppaul joined | 12:33 |
| ← pppaul left | 12:33 |
|
crocket
| nevyn : a debian server. | 12:34 |
|
ascii`
| canton7, thanks works perfectly! | 12:34 |
|
cmn
| push doesn't affect the permissions of the remote repo | 12:34 |
| → pppaul joined | 12:34 |
| ← pppaul left | 12:34 |
|
canton7
| ascii`, np | 12:34 |
|
nevyn
| so the files will be whatever the umask of the remote user is. | 12:34 |
|
crocket
| I executed "git archive | tar xf -" and synced the files with an FTP server. | 12:34 |
|
| And the files on FTP server didn't have read permissions on files. | 12:34 |
| → pppaul joined | 12:34 |
|
nevyn
| unless you use a git server like !gitolite | 12:34 |
| ← pppaul left | 12:34 |
|
gitinfo
| Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html | 12:34 |
|
crocket
| read permission for others | 12:34 |
|
selckin
| darkestkhan-work: it sounds completely impossible to get into that store to me | 12:35 |
|
crocket
| nevyn, I use gitolite. | 12:35 |
| → nwest joined | 12:35 |
|
nevyn
| crocket: please explain the end to end dataflow. | 12:35 |
| → pppaul joined | 12:35 |
| ← pppaul left | 12:35 |
|
cmn
| crocket: and how is that related to git? | 12:35 |
|
nevyn
| you're confusing me. | 12:35 |
|
| I thought you said you ran git push? | 12:35 |
| → pppaul joined | 12:35 |
| ← pppaul left | 12:35 |
|
crocket
| windows git repository$ git push debian | 12:35 |
| ← nigelb left | 12:36 |
| → pppaul joined | 12:36 |
| ← pppaul left | 12:36 |
|
crocket
| On debian, the repo has post-receive that executes "git archive master | tar xf -" on a directory and copies it to an FTP server with lftp. | 12:36 |
|
| lftp executes "mirror -R local remote" | 12:36 |
| → pppaul joined | 12:37 |
| ← pppaul left | 12:37 |
| → iamjarvo joined | 12:37 |
| → pppaul joined | 12:37 |
|
nevyn
| ok. | 12:37 |
| ← pppaul left | 12:37 |
|
nevyn
| git doesn't track permissions. | 12:37 |
|
cmn
| and that is related to permission on the repo how? | 12:37 |
| → pppaul joined | 12:38 |
| ← pppaul left | 12:38 |
| → nigelb joined | 12:38 |
|
nevyn
| whe n you say permissions on the repo. | 12:38 |
|
crocket
| Maybe I should use "git checkout -f" instead. | 12:38 |
|
nevyn
| what files are you refering to? | 12:38 |
| ← bartek left | 12:38 |
| → Desproges joined | 12:38 |
|
crocket
| every file. | 12:38 |
| → pppaul joined | 12:38 |
| ← pppaul left | 12:38 |
|
ffunenga
| Hello everyone. I'm using ubuntu 12.04 and I'm new to git. I have some questions: To make a commit I use the command 'git commit -a -m "msg"'. How do I execute a redo action? Are there any guis for ubuntu that make this? I've installed Git-Cola and gitg and I was not able to understand how to do it... | 12:38 |
|
nevyn
| because I think that means something different to what you're saying | 12:38 |
|
| so. | 12:38 |
|
canton7
| crocket, did you pay attention to when we said that git only tracks the execute bit, and the rest depend on the umask of the user doing the checkout? | 12:39 |
|
nevyn
| permissions on the repo == the permissions of the files in the bare repo on the server. | 12:39 |
| → pppaul joined | 12:39 |
| ← pppaul left | 12:39 |
|
canton7
| ffunenga, !book | 12:39 |
|
gitinfo
| ffunenga: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 12:39 |
|
nevyn
| redo? | 12:39 |
| → glennpratt joined | 12:40 |
|
nevyn
| ffunenga: what do you mean by a "redo action" | 12:40 |
| → Twey joined | 12:40 |
|
ffunenga
| nevyn: I mean undo | 12:40 |
|
nevyn
| oh that's like the total opposite. | 12:40 |
| → bartek joined | 12:40 |
| → pppaul joined | 12:40 |
| ← pppaul left | 12:40 |
|
crocket
| nevyn, ok | 12:40 |
|
nevyn
| ffunenga: there are multiple ways to undo with git. depending on what you want to happen. | 12:40 |
|
| crocket: not the files you'd edit or deploy | 12:40 |
| → pppaul joined | 12:41 |
| ← pppaul left | 12:41 |
|
crocket
| nevyn, So the permissions of the bare repo files are determined by umask of the machine that holds the bare repo? | 12:41 |
|
nevyn
| nope | 12:41 |
| ← teotwaki left | 12:41 |
| → pppaul joined | 12:41 |
|
nevyn
| those are managed by git. | 12:41 |
| ← pppaul left | 12:41 |
|
crocket
| nevyn, how does git determine permissions? | 12:41 |
|
ffunenga
| nevyn: I don't understand what you mean. After a commit -a -m (...) how do I undo the last commit? | 12:41 |
|
nevyn
| but when I say the bare repo files I don't mean the things you edit. | 12:42 |
|
canton7
| ffunenga, you really need to read a good git resource before trying to dive in too far | 12:42 |
| → pppaul joined | 12:42 |
| ← pppaul left | 12:42 |
|
nevyn
| ffunenga: so do you want it to never have existed. or do you want to reverse it? | 12:42 |
| ← cakehero left | 12:42 |
|
Twey
| Hi. I have a centralized remote repository whose working tree represents a ‘staging’ server — a testing server for demonstrating for clients. The idea is that we should be able to push our work to the staging server & have it accessible by the client (a directory in the working tree is accessible by a webserver). However, when I try to push, I get the ‘won't push onto a checked-out tree’ message. The odd thing is that even when I git config… | 12:42 |
|
| … receive.denyCurrentBranch ignore on the remote server (I have a receive hook), git still won't let me push, & gives me the same message. | 12:42 |
|
nevyn
| Twey: !deploy | 12:43 |
|
gitinfo
| Twey: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 12:43 |
| → jola joined | 12:43 |
|
nevyn
| Twey: what's in your recieve hook? | 12:43 |
| → pppaul joined | 12:43 |
| ← pppaul left | 12:43 |
|
canton7
| nevyn, doesn't sound like he has one: he's just pushing to a non-bare repo | 12:43 |
| ← rchavik left | 12:43 |
| → pppaul joined | 12:44 |
| ← pppaul left | 12:44 |
|
nevyn
| canton7: 2:50 < Twey> … receive.denyCurrentBranch ignore on the remote server (I have a receive hook), git still won't let me push, & gives me the same message. | 12:44 |
|
| see the bit in brackets ;) | 12:44 |
| → pppaul joined | 12:44 |
|
canton7
| ah yes, you're right | 12:45 |
|
| Twey, if you try and push to the checked-out branch of a non-bare repo, git won't update the checked-out files. this leads to lots of confusion, so the operation is disabled by default | 12:45 |
|
nevyn
| Twey: poke. | 12:45 |
|
crocket
| Does "git diff" track only changes in execute permission? | 12:45 |
|
bremner
| wat? | 12:46 |
|
nevyn
| git doesn't care about permissions AT ALL | 12:46 |
| → mgaunard joined | 12:46 |
|
bremner
| except execute bit | 12:46 |
|
canton7
| crocket, yes, git only tracks the execute bit | 12:46 |
|
mgaunard
| hi, how can I update a branch where the remote has been rebased? I don't care about my local history | 12:46 |
|
canton7
| mgaunard, no local work you want to save? git reset --hard remote/branch | 12:46 |
| ← i42n left | 12:47 |
|
Twey
| nevyn: git reset --hard | 12:47 |
|
mgaunard
| canton7: thanks | 12:47 |
|
nevyn
| Twey: so on the remote. git config recieve.denyCurrentBranch ignore | 12:47 |
|
| is that syntax right? | 12:48 |
|
Twey
| nevyn: I did, but I still get the message | 12:48 |
|
nevyn
| Twey: man git-config | 12:48 |
|
gitinfo
| Twey: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 12:48 |
|
Twey
| I think so. It now shows it in my git config -l. | 12:48 |
| → i42n joined | 12:48 |
|
crocket
| I think file permissions are set according to OS rules if git ignores permissions on bare repos. | 12:49 |
| → lun_ joined | 12:49 |
|
nevyn
| crocket: yay. you've finally got to the water ;) | 12:49 |
|
| taste good does it? | 12:49 |
|
crocket
| nevyn, the water tastes juicy. | 12:49 |
|
nevyn
| excellent | 12:49 |
| ← ffunenga left | 12:50 |
|
nevyn
| crocket: so. if you care about permissions of files you may need a real deployment tool | 12:50 |
|
crocket
| I'll have to debug on my side tomorrow. | 12:50 |
|
nevyn
| like cogit | 12:50 |
|
| not cogit what's it called? | 12:50 |
|
canton7
| crocket, can you not see the many messages telling you exactly that? :P | 12:50 |
| ← hyperair left | 12:51 |
|
crocket
| nevyn, read permission was removed on files for others, so I couldn't access anything on the website. | 12:51 |
| ← SkAzZ left | 12:51 |
|
masak
| given a repository, is there a way to create a my-repository.git file for upload to some HTTP server for later cloning? | 12:52 |
|
crocket
| Where is cogit? | 12:53 |
|
nevyn
| umm.. | 12:53 |
| → SkAzZ joined | 12:53 |
|
nevyn
| capistrano. | 12:53 |
|
| was what I was thinking of. | 12:53 |
|
cmn
| masak: man git bundle | 12:53 |
|
gitinfo
| masak: the git-bundle manpage is available at http://git-scm.com/docs/git-bundle.html | 12:53 |
|
nevyn
| !capistrano | 12:53 |
| → SkAzZ1 joined | 12:53 |
|
nevyn
| no factoid for capistrano BAD BOT | 12:54 |
|
crocket
| cogito? | 12:54 |
|
masak
| cmn: thanks! I already had my eye on git-bundle. good to know that is it. | 12:54 |
|
nevyn
| crocket: http://capistranorb.com/ | 12:54 |
| ← jola left | 12:54 |
|
nevyn
| gitinfo: capistrano is a application deployment tool written in ruby | 12:55 |
|
| !capistrano | 12:55 |
|
| !factoid | 12:55 |
| → acekim joined | 12:55 |
|
gitinfo
| [!triggers] Please don't spam me! I'm just a poor bot! Here's everything I know: http://jk.gs/git/bot/trigger.php | 12:56 |
|
cmn
| there's a bit of magic, something like | 12:56 |
| ← bartek left | 12:56 |
|
cmn
| .learn capistrano is an application deployment tool in ruby, which has support for git | 12:56 |
|
| maybe not that magic | 12:56 |
| → kvanderw joined | 12:57 |
|
jast
| it's .trigger_edit <name> <output> | 12:57 |
|
| this is all documented btw :} | 12:57 |
|
cmn
| right, learn is for another bot | 12:57 |
|
| .trigger_edit capistrano capistrano is an application deployment tool in ruby, which has support for git | 12:57 |
|
gitinfo
| cmn: Okay. | 12:57 |
|
jast
| might wanna include a link or something | 12:58 |
| ← jargon- left | 12:58 |
| ← SkAzZ left | 12:58 |
|
crocket
| Does anyone use post-receive to deploy? | 12:59 |
|
csmrfx
| Sounds like somewhat workable idea | 13:00 |
|
jast
| !deploy | 13:00 |
|
gitinfo
| Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 13:00 |
|
darkestkhan-work
| selckin: rm -rf .git ; git init ; git add . ; git ci -m "initial commit" | 13:01 |
|
cmn
| .trigger_edit capistrano capistrano is an application deployment tool in ruby, which has support for git, see http://capistranorb.com for more information | 13:01 |
|
gitinfo
| cmn: Okay. | 13:01 |
|
selckin
| darkestkhan-work: if you expect that to work there is no hope for you | 13:02 |
| ← ascii` left | 13:02 |
|
jast
| as usual, the capistrano website is missing a crucial section | 13:02 |
|
cmn
| crocket: you don't use post-receive to deploy, you use it to trigger a deployment with whatever tool fits your needs | 13:02 |
|
jast
| "what is capistrano?" | 13:02 |
|
| also fairly useful yet missing: "why would you want to use capistrano?" | 13:02 |
|
csmrfx
| selckin: please elaborate | 13:02 |
|
cmn
| it's an island with a beach, didn't you see the picture at the top? | 13:02 |
|
jast
| cmn: ohhh. my mistake. | 13:02 |
|
| so it has something to do with fishing? | 13:03 |
| ← kcj left | 13:03 |
|
cmn
| that's my best guess from the site | 13:04 |
| ← und3f left | 13:04 |
|
cmn
| you can do it on rails, which is handy, I've never gone fishing on a train | 13:04 |
|
sitaram
| jast: yeah but it's *ruby* -- why would you NOT want to use it? | 13:05 |
|
csmrfx
| I propose a new topic: make jokes about pr of open source ruby projects | 13:05 |
|
| sitaram runs and hides | 13:05 |
|
jast
| sitaram: excellent point | 13:05 |
|
| but let's be honest here | 13:05 |
| → und3f joined | 13:05 |
|
jast
| anything that isn't written in all of: python, ruby, haskell, erlang, java... can't possibly be any good | 13:06 |
|
| also, http://linuxhaters.blogspot.com/ | 13:06 |
|
csmrfx
| java? | 13:06 |
| → macabre joined | 13:06 |
|
csmrfx
| geebus | 13:06 |
|
jast
| java: slow is good | 13:06 |
|
sitaram
| cmn: surprisingly even the "getting started" link doesn't say anything, and the "from the beginning"" link is only marginally better | 13:06 |
|
jast
| slow is still competing with overly verbose for top spot, though | 13:07 |
|
cmn
| I think their README is better | 13:07 |
|
jast
| ohh | 13:07 |
|
| the page title explains what capistrano is | 13:07 |
|
| sort of | 13:08 |
| ← Stereo left | 13:08 |
|
cmn
| the title on capistranorb.com you mean? | 13:08 |
| ← afuentes left | 13:08 |
| → luc_ joined | 13:08 |
| → Zenmaker_ joined | 13:08 |
|
jast
| yes | 13:08 |
|
cmn
| so it does; I don't have the top bar on my windows, so I never see those things | 13:09 |
| → tmcmahon joined | 13:09 |
|
cmn
| so it should probably link to the github page, which is a lot better at saying what it is and does | 13:09 |
|
| .trigger_edit capistrano capistrano is an application deployment tool in ruby, which has support for git, see http://github.com/capistrano/capistrano for more information | 13:10 |
|
gitinfo
| cmn: Okay. | 13:10 |
| ← Desproges left | 13:10 |
| → jargon- joined | 13:10 |
| → hyperair joined | 13:11 |
| → Aleric joined | 13:11 |
| → Desproges joined | 13:11 |
|
Aleric
| Hi. How can I change the default branch to push to? | 13:11 |
|
cmn
| set push.default to upstream and set your branch's upstream | 13:12 |
| ← Zenmaker__ left | 13:12 |
|
jast
| cmn: yeah, much better page | 13:13 |
|
masak
| hm, git-clone doesn't expect a bundle on the server, does it? it seems to expect a .git directory. | 13:14 |
| ← Desproges left | 13:14 |
| → ehsan joined | 13:14 |
| ← rurufufuss left | 13:15 |
|
jast
| masak: correct | 13:15 |
| → fireh joined | 13:15 |
|
cmn
| you download a bundle to your local disc, that's what they're for | 13:16 |
|
masak
| so... the most expedient way to provide a git repository from a server is to just upload the .git directory as-is? | 13:16 |
|
cmn
| otherwise you'd just use git clone against the remote repo, wouldn't you? | 13:16 |
|
| do it with push, but yeah | 13:16 |
|
masak
| ah, ok. | 13:16 |
|
| thank you. | 13:16 |
| ← pretty_function left | 13:16 |
|
Aleric
| cmn: How can I do that? :/ | 13:17 |
|
cmn
| with git config and git branch --set-upstream | 13:17 |
|
sitaram
| masak: the main purpose of a bundle file seems to be to allow a restartable, single-file download to seed large repo clones. Whether this was the original intent or not I can't say though :) | 13:17 |
|
canton7
| Aleric, read push.default in man git-config to understand what that key does. then read about what branch --set-upstream and push -u do | 13:18 |
|
gitinfo
| Aleric: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 13:18 |
|
sitaram
| masak: because 'git clone' is not resumable | 13:18 |
|
crocket
| Is git-deploy https://github.com/mislav/git-deploy ? | 13:18 |
|
masak
| sitaram: oh! | 13:18 |
| ← chimay left | 13:18 |
|
csmrfx
| crocket: no | 13:18 |
|
crocket
| csmrfx, tell me. | 13:18 |
|
sitaram
| so people on low/bad connections suffer when trying to clone a large repo; this helps | 13:18 |
|
cmn
| sitaram: not just clone priming, you can make bundles that are basically what you'd send over on a git-push | 13:18 |
| ← catphish_ left | 13:19 |
|
sitaram
| right; for offline repos | 13:19 |
| → jceb joined | 13:19 |
|
csmrfx
| crocket: https://github.com/avar/git-deploy | 13:19 |
|
sitaram
| true | 13:19 |
|
csmrfx
| crocket: afaik | 13:19 |
|
| csmrfx should do more homework on git-deploy to see if it would work for him | 13:19 |
| ← bizhanMona left | 13:20 |
|
crocket
| Isn't https://github.com/git-deploy/git-deploy the real thing? | 13:20 |
| → jaseemabid joined | 13:20 |
| ← jaseemabid left | 13:20 |
|
csmrfx
| the one and.. the same | 13:20 |
|
cmn
| meaning what? | 13:20 |
| → AaronMT joined | 13:21 |
| → erichynds joined | 13:21 |
|
crocket
| It seems that umask is 007 in git. | 13:21 |
| → Ecesis joined | 13:21 |
|
crocket
| I mean post-receive | 13:21 |
|
| post-receive is on a secret mission to kill me. | 13:21 |
| → bizhanMona joined | 13:22 |
| ← macabre left | 13:22 |
| ← manolo left | 13:22 |
| → macabre joined | 13:22 |
| ← Ecesis left | 13:23 |
| ← osmosis left | 13:23 |
|
crocket
| umask is set to 027 in post-receive. I confirmed it with umask. | 13:23 |
| → duckxx joined | 13:23 |
| → jackh joined | 13:24 |
| ← sdfgsdjf left | 13:24 |
| → etcetera joined | 13:24 |
| ← Gitzilla left | 13:24 |
| → piti joined | 13:24 |
|
crocket
| umask is 027 in post-receive hook. | 13:24 |
|
| Why is it so? | 13:24 |
|
| Did I fool myself? | 13:25 |
|
cmn
| if you want a particular umask, set it | 13:25 |
|
Aleric
| Sorry... I don't seem to understand this :(. .. The "problem" is that when I do 'git checkout master' I get the message "Your branch is ahead of 'siana/master' by 39 commits.", but that is an old repository, it should read 'singu/master'. How can I change that? | 13:26 |
|
crocket
| cmn : Do you know how git sets umasK? | 13:26 |
|
cmn
| with 2 umask | 13:26 |
| ← trungqtran left | 13:26 |
|
cmn
| that's how you set the umask from a program | 13:26 |
| ← ehsan left | 13:27 |
|
cmn
| Aleric: man git branch --set-upstream | 13:27 |
|
gitinfo
| Aleric: the git-branch manpage is available at http://git-scm.com/docs/git-branch.html | 13:27 |
| → ddelrio1986 joined | 13:27 |
|
crocket
| cmn : Do you know where git sets umask? | 13:28 |
|
cmn
| I don't know every piece of code off by heart | 13:28 |
| → les_sylvains joined | 13:28 |
|
cmn
| and it's irreleveant, if you need a particular umask, set it | 13:28 |
|
jargon-
| damnit. the git-remote-hg isn't working as advertised in the readme. http://pypi.python.org/pypi/git-remote-hg/0.1.1 anybody know how i can clone a remote mercurial repo into my local git repo, without my needing to install hg? | 13:28 |
| → bartek joined | 13:29 |
|
crocket
| cmn : I think gitolite set it to 027. | 13:29 |
|
| cmn : .gitolite.rc has UMASK 027. | 13:29 |
| → tplaner_ joined | 13:29 |
|
cmn
| that seems a reasonable assumption | 13:29 |
|
canton7
| Aleric, git can keep a bit of information about a branch, saying which remote branch that branch is related to, called the branch's 'upstream'. To generate that message, git uses this information to decide which branch to compare your current branch to. This information is changed with branch --set-upstream | 13:30 |
|
Aleric
| http://codepad.org/vpjxwSdm | 13:30 |
|
| What am I doing wrong? | 13:30 |
| ← pppaul left | 13:31 |
| → paul_andrew joined | 13:32 |
|
Aleric
| It still says siana/master | 13:32 |
| ← ConstantineXVI left | 13:32 |
| → chx joined | 13:32 |
| → ConstantineXVI joined | 13:32 |
| ← ConstantineXVI left | 13:32 |
|
chx
| how can i clone a repository locally keeping the remotes? | 13:32 |
|
Bombe
| chx, you can’t. Information about remotes is not cloned. | 13:32 |
|
chx
| i see that but is there a way to say list all the remotes and recreate them? | 13:33 |
|
Aleric
| canton7: Can you look at http://codepad.org/vpjxwSdm please, and tell me what I did wrong? | 13:34 |
|
jast
| chx: yes... write a script | 13:34 |
|
chx
| haha | 13:34 |
|
| certainly | 13:34 |
|
jast
| chances are you can just copy the .git/config file | 13:34 |
| ← tmcmahon left | 13:35 |
|
chx
| oh | 13:35 |
| → LmAt joined | 13:35 |
|
jast
| Aleric: git branch --set-upstream localbranchname remote/branchname | 13:35 |
|
chx
| jast: that's what i was looking for, very awesome | 13:35 |
| → osmosis joined | 13:35 |
| LmAt → face2face | 13:36 |
|
jast
| Aleric: also note that you can run 'git checkout' without args to get the same line about up-to-date-ness | 13:36 |
| ← kermit left | 13:36 |
|
Aleric
| >git branch --set-upstream master singu/master | 13:36 |
|
| warning: refname 'singu/master' is ambiguous. | 13:36 |
|
| fatal: Ambiguous object name: 'singu/master'. | 13:36 |
|
| :/ | 13:36 |
| ← face2face left | 13:36 |
| → LmAt joined | 13:36 |
|
Aleric
| Is that because of my previous command? | 13:36 |
| → Davey joined | 13:36 |
|
jast
| yeah, because your failed attempt added wrong stuff | 13:36 |
| LmAt → face2face | 13:37 |
| → jaseemabid joined | 13:37 |
|
jast
| try this: git branch -d singu/master; git config --remove-section branch.singu/master | 13:37 |
|
Aleric
| :( | 13:37 |
|
| ok | 13:37 |
|
jast
| then try again | 13:37 |
|
Aleric
| error: The branch 'singu/master' is not fully merged. | 13:38 |
|
| If you are sure you want to delete it, run 'git branch -D singu/master'. | 13:38 |
| → hellopat joined | 13:38 |
|
jast
| do what it says ;) | 13:38 |
|
Twey
| nevyn: So, do you know why my config setting was ignored? | 13:38 |
|
Aleric
| it won't delete my master right? | 13:38 |
| ← mark_vh left | 13:38 |
|
jast
| Aleric: it will delete the local branch 'singu/master' which you created by accident | 13:38 |
|
Aleric
| >git config --remove-section branch.singu/master | 13:39 |
|
| fatal: No such section! | 13:39 |
| ← chx left | 13:39 |
| ← ishi left | 13:39 |
|
cmn
| that's because the branch -d deleted it | 13:39 |
|
Aleric
| ok.. | 13:40 |
|
jast
| oh, right | 13:40 |
|
| so just move on to the next step | 13:40 |
| → kermit joined | 13:40 |
| → martinjlowm joined | 13:42 |
| → afuentes joined | 13:42 |
| → pppaul joined | 13:43 |
| ← pppaul left | 13:43 |
| → pppaul joined | 13:43 |
| ← pppaul left | 13:43 |
|
Aleric
| Thanks... Now, what I really trying to do :p... How can I push a new branch to upstream? I thought it was: git push -f <remote>, but that doesnt' seem to work | 13:44 |
| → pppaul joined | 13:44 |
| ← pppaul left | 13:44 |
| → pppaul joined | 13:45 |
| ← pppaul left | 13:45 |
| → jmd joined | 13:45 |
| → pppaul joined | 13:45 |
| ← pppaul left | 13:45 |
|
cbreak-work
| Aleric: it's git push remotename branchname | 13:45 |
|
| no -f required | 13:45 |
|
jmd
| Is there an easy way to git a list of commits which are on branchA but not on branchB ? | 13:45 |
|
cbreak-work
| Aleric: how do you think git knows which branch to push if you don't tell it? | 13:45 |
|
| jmd: yes. | 13:46 |
| → pppaul joined | 13:46 |
| ← pppaul left | 13:46 |
|
jmd
| cbreak-work: Namely? | 13:46 |
|
canton7
| jdm, !dots | 13:46 |
|
gitinfo
| In the log family (git-log, gitk, etc.) A..B means "everything in B but not in A" [formally: ^A B] and A...B means "everything in A or B but not in both" [formally: A B --not $(git merge-base --all A B)]. An empty "side" of the dots implies HEAD, so 'git log master..' is very different from 'git log master'! | 13:46 |
|
cbreak-work
| git rev-list branchA ^branchB | 13:46 |
| → pppaul joined | 13:46 |
| ← pppaul left | 13:46 |
|
Aleric
| cbreak-work: I assumed it always works on the one you have checked out :/ | 13:46 |
| → pppaul joined | 13:47 |
| ← pppaul left | 13:47 |
| → harish joined | 13:47 |
|
cbreak-work
| Aleric: nope, doesn't. | 13:47 |
|
jmd
| cbreak-work: Thanks. | 13:47 |
|
cbreak-work
| pushing is a bit convoluted | 13:47 |
| → pppaul joined | 13:47 |
| ← pppaul left | 13:47 |
|
skorgon
| $ 50 :O | 13:48 |
|
| sorry, wrong # | 13:48 |
| → pppaul joined | 13:48 |
| ← pppaul left | 13:48 |
|
cbreak-work
| skorgon: #git: priceless | 13:48 |
| → pppaul joined | 13:48 |
| ← pppaul left | 13:48 |
| → shreya joined | 13:48 |
| → pppaul joined | 13:49 |
| → itatitat joined | 13:49 |
| ← pppaul left | 13:49 |
| → pppaul joined | 13:49 |
| ← pppaul left | 13:49 |
| → pppaul joined | 13:50 |
| ← pppaul left | 13:50 |
|
cmn
| Aleric: see man git config push.default | 13:50 |
|
gitinfo
| Aleric: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 13:50 |
| → pppaul joined | 13:51 |
| ← pppaul left | 13:51 |
| ← hyperair left | 13:51 |
| → pppaul joined | 13:51 |
| ← pppaul left | 13:51 |
| → pppaul joined | 13:52 |
| ← pppaul left | 13:52 |
| ← cooloney left | 13:52 |
| ← und3f left | 13:52 |
| → pppaul joined | 13:52 |
| ← pppaul left | 13:52 |
| → hyperair joined | 13:53 |
| → pppaul joined | 13:53 |
| ← pppaul left | 13:53 |
| → ehsan joined | 13:53 |
| ← r126t_ left | 13:53 |
| → pppaul joined | 13:53 |
| ← pppaul left | 13:53 |
| ← prettyrobots left | 13:54 |
| → pppaul joined | 13:54 |
| ← pppaul left | 13:54 |
|
jargon-
| how do u find out the total size of a remote repo? | 13:54 |
|
bigmeow
| anybody here who have used bitbucket? | 13:54 |
| ← itatitat left | 13:54 |
| → pppaul joined | 13:54 |
|
Aleric
| bigmeow: a little bit | 13:55 |
|
lb
| bigmeow: yes | 13:55 |
|
bigmeow
| is gmail supported byt bitbucket? | 13:55 |
|
| if yes, why i cannot receive confirmation email? | 13:55 |
| → cakehero_ joined | 13:55 |
| → cakehero joined | 13:55 |
|
bigmeow
| Aleric: bitbucket seems to be more friendly than github:) | 13:55 |
| → trungqtran joined | 13:55 |
|
bigmeow
| lb: do you register with gmail>? | 13:56 |
|
lb
| no | 13:56 |
|
bigmeow
| lb: which kind of mail do you use? | 13:56 |
|
| tell me :) | 13:56 |
| ← face2face left | 13:57 |
|
lb
| i'll never share my private stuff ... go away you spy :D (for this bb account i used live.com) | 13:57 |
| ← cakehero_ left | 13:57 |
| ← athit left | 13:58 |
|
lb
| but i use openid for login | 13:58 |
| → athit joined | 13:59 |
| ← soee left | 13:59 |
| ← Pugnax left | 13:59 |
| ← lng left | 14:00 |
| ← flijten left | 14:00 |
| → neurodrone joined | 14:00 |
| → codeM0nK_ joined | 14:02 |
| ← ph^ left | 14:02 |
|
Twey
| So, I'm now trying to use ‘git checkout’ in my receive hook as a simple deployment method. However, when I push, it says ‘remote: already in 'master'’ and doesn't update the files. | 14:02 |
|
| (git checkout -f master, that is) | 14:02 |
| ← swair left | 14:02 |
| ← erichynds left | 14:02 |
| ← codeM0nK3Y left | 14:02 |
| codeM0nK_ → codeM0nK3Y | 14:02 |
| → razdaz joined | 14:03 |
|
cmn
| Twey: see !deploy and do what it says | 14:03 |
|
gitinfo
| Twey: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 14:03 |
|
Twey
| cmn: Yes, that's why I'm using ‘git checkout’ now | 14:03 |
|
| But it's not working as the page advertises, unless I misread the page | 14:03 |
| ← zhouxiukun left | 14:03 |
|
cmn
| then it doesn't sound like you're using -f | 14:04 |
|
Twey
| cmn: But I am :þ | 14:04 |
|
cmn
| then the error message doesn't make sense, double-check everything | 14:04 |
|
jast
| what version of git is running on the server? | 14:05 |
|
Twey
| cmn: http://hpaste.org/74338 | 14:05 |
|
| jast: 1.7.1 | 14:05 |
| → chimay joined | 14:05 |
| → alexisabril joined | 14:05 |
| ← SkAzZ1 left | 14:05 |
| ← beautifulmind left | 14:06 |
| ← chimay left | 14:06 |
| → chimay joined | 14:06 |
|
bigmeow
| lb: dude, hell is in front of you, step forward:) | 14:06 |
|
jast
| that's definitely recent enough | 14:06 |
|
bigmeow
| jast: dude, do you use bitbucket? | 14:06 |
| → authmillenon joined | 14:08 |
|
Twey
| When I run ‘git checkout -f master’ on the remote I just get ‘Already on 'master'’ | 14:08 |
|
| ‘git checkout -f’ without specifying a branch does what I expect | 14:08 |
|
| ‘git branch’ shows only one branch, named ‘master’ | 14:09 |
| ← tureba left | 14:10 |
| → dzonder joined | 14:13 |
|
sitaram
| Twey: "already on master" is not an error; at least it doesn't seem to set the exit code to non-0 | 14:15 |
|
Twey
| It's not an error, it just doesn't do anything | 14:15 |
|
sitaram
| Twey: and you're missing "unset GIT_DIR" | 14:15 |
|
| oh wait | 14:15 |
|
| you're missing GIT_WORK_TREE=/deploy/dir | 14:16 |
|
Twey
| Sorry, I added it later | 14:16 |
| ← _jesse_ left | 14:16 |
| ← duckxx left | 14:16 |
| ← Zenopus left | 14:16 |
|
sitaram
| Twey: well, all I can say is if this doesn't work, gitolite has been doing something very mysterious for the last 3 years ;-) | 14:16 |
|
| 'cos that's what I use within gitolite | 14:17 |
| → dhruvasagar joined | 14:17 |
|
Twey
| I've made a change locally, added, committed | 14:17 |
| ← luc_ left | 14:17 |
| ← ipalaus left | 14:17 |
| → TeckniX joined | 14:18 |
|
Twey
| Pushed; got ‘already on master’; GIT_WORKING_TREE seems to be what I want it to be (I echo'd it) | 14:18 |
| ← athit left | 14:18 |
|
Twey
| Files haven't been updated | 14:18 |
| → athit joined | 14:18 |
| → dir joined | 14:19 |
|
Twey
| Running ‘git checkout -f master’ manually on the server causes the changes to happen. | 14:19 |
| → chuckharmston joined | 14:19 |
|
sitaram
| well that's why there's that line in there: you don't talk about it or ask questions about it :) | 14:19 |
| pdelvo|afk → pdelvo | 14:20 |
|
Twey
| T_T | 14:20 |
|
| sitaram has to go have dinner; can't help right now | 14:20 |
| → sbroffo joined | 14:20 |
| ← hyperair left | 14:24 |
| ← sbroffo left | 14:24 |
| → anish[1] joined | 14:24 |
|
Twey
| sitaram: 'kay ☹ | 14:24 |
| ← paul_andrew left | 14:25 |
| ← jackyyll left | 14:25 |
| ← Enlik left | 14:26 |
| ← razdaz left | 14:26 |
| ← darkestkhan-work left | 14:26 |
| → torjus_ joined | 14:27 |
| → Cache_Money joined | 14:27 |
| → jackyyll joined | 14:27 |
| → hyperair joined | 14:27 |
| → paul_andrew joined | 14:27 |
| → canton8 joined | 14:28 |
| ← jmd left | 14:28 |
|
jast
| bigmeow: no | 14:30 |
| ← thirdknife_ left | 14:30 |
| ← gavin_huang left | 14:30 |
| ← canton7 left | 14:30 |
| → Enlik joined | 14:31 |
| → crashsky joined | 14:31 |
| → fly9 joined | 14:31 |
| ← stodan left | 14:31 |
|
crocket
| What's good about git-deploy? | 14:32 |
|
| It seems bloated. | 14:32 |
| → gusnan joined | 14:32 |
| ← acekim left | 14:32 |
| → ph^ joined | 14:32 |
|
cmn
| don't use it then | 14:32 |
| ← jn__ left | 14:34 |
|
cmn
| deployment is a complex field where a lot can go wrong, you need to account for all of those and figure out how to recover | 14:34 |
| ← karadoc left | 14:34 |
|
crocket
| cmn : Do you use it? | 14:36 |
| ← kpreid left | 14:36 |
| ← MWinther left | 14:36 |
| → kpreid joined | 14:36 |
|
cmn
| no, I've mentioned already that I oursource any deployment I need to make | 14:36 |
|
crocket
| cmn : Isn't git-deploy a form of outsourcing? | 14:37 |
|
| Which deployment tool do you use? | 14:37 |
| → macBigRig joined | 14:38 |
| → heroux joined | 14:38 |
|
_ikke_
| outsourcing? | 14:39 |
|
bremner
| he just said he uses make | 14:40 |
|
crocket
| bremner, "GNU make"? | 14:40 |
|
bremner
| sure | 14:40 |
| ← iamjarvo left | 14:40 |
|
crocket
| cmn : I thought "make" was a verb. | 14:40 |
|
bremner
| I thought you were a linux admin ;) | 14:40 |
|
crocket
| bremner, Who am I/ | 14:40 |
|
sitaram
| Twey: I'm back. But truthfully, it's not easy to debug this but I'd start with "pwd >&2; env | grep GIT >&2" just before the "git checkout" | 14:41 |
| ← neurodrone left | 14:41 |
| ← mritz left | 14:42 |
|
crocket
| sitaram, I've had good time with gitolite. | 14:42 |
|
cmn
| crocket: make is a verb, yes, and I used ti as such | 14:43 |
| → ottoshmidt joined | 14:43 |
|
crocket
| cmn : I want to know what you use to deploy. | 14:43 |
|
cmn
| I outsource it | 14:44 |
|
| I don't do anything | 14:44 |
|
crocket
| hmm... | 14:44 |
|
| ok | 14:44 |
|
| You let others do it. | 14:44 |
|
cmn
| I get others to do it, yes | 14:44 |
|
crocket
| clever. | 14:44 |
|
| cmn : Currently, post-receive syncs the master branch with FTP server. | 14:45 |
|
| It turns out to be slow. | 14:45 |
|
cmn
| it would be | 14:45 |
|
crocket
| I'm not sure if deployment should be done on every commit on master. | 14:45 |
| ← shreya left | 14:45 |
| → mritz joined | 14:45 |
|
ottoshmidt
| gitweb lists my repos but no summary or log or whatever else info is available | 14:45 |
| ← bitslip_ left | 14:45 |
|
ottoshmidt
| I get 404 - Unknown commit object type of things | 14:45 |
|
| I have setup gitweb for the first time so I am newbie in this | 14:46 |
| → bitslip joined | 14:46 |
| ← jceb left | 14:46 |
| ← ThomasLocke left | 14:48 |
| ← Milossh left | 14:49 |
| ← koltroll left | 14:49 |
| ← lb left | 14:50 |
| ← jackh left | 14:50 |
|
Twey
| sitaram: Might the issue be that I'm not using a bare repository? | 14:50 |
| → Desproges joined | 14:50 |
|
Twey
| My work tree is a user's homedir, with a lot of files & directories, many of which the user doesn't own & can't manipulate (Plesk; don't ask) | 14:51 |
|
cmn
| crocket: that is something you and your team needs to decide | 14:51 |
| → iamjarvo joined | 14:51 |
|
sitaram
| Twey: shouldn't. The GIT_WORK_TREE in gitolite is not even a repo, bare or not | 14:51 |
| → monsieurlu joined | 14:52 |
| ← paul_andrew left | 14:52 |
| → v0n joined | 14:53 |
| → tigris_ joined | 14:54 |
| → brainbox1100 joined | 14:54 |
| ← brainbox1100 left | 14:54 |
| → scarlisle joined | 14:54 |
|
crocket
| !deploy | 14:55 |
|
gitinfo
| Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 14:55 |
| → shreya joined | 14:55 |
| → rmr joined | 14:56 |
|
DeadZen
| the fight club ;p | 14:56 |
| → neurodrone joined | 14:57 |
| → Milossh joined | 14:58 |
| → pdtpatrick joined | 14:59 |
|
tigris_
| is there another command like git-cat-file -p SHA1 that can show me the info a git log --stat shows for a commit? e.g. the blob changes | 14:59 |
| → znake joined | 15:00 |
|
cbreak-work
| tigris_: git show shows that. | 15:01 |
|
| git cat-file isn't supposed to show any diffs | 15:01 |
| → thiago joined | 15:02 |
| → zhouxiukun joined | 15:02 |
|
Twey
| sitaram: Gah, I think it was just a sequence of stupid errors | 15:02 |
|
| Forgot to add here, forgot to chmod +x there, edited the wrong file over there… | 15:03 |
| → rath_ joined | 15:03 |
|
Twey
| It seems to be working now *crosses fingers*. Thanks for your very useful page! | 15:03 |
| → goshawk joined | 15:03 |
| ← Cache_Money left | 15:04 |
| ← goshawk left | 15:04 |
| ← znake left | 15:04 |
| → Jay_Levitt joined | 15:04 |
| → znake joined | 15:04 |
|
cmn
| cat-file can't show changes, it works on single objects | 15:04 |
|
| tigris_: what are you actually trying to get? | 15:05 |
| ← znake left | 15:05 |
| ← shreya left | 15:06 |
| ← gun-lpt left | 15:06 |
| → jceb joined | 15:07 |
|
tigris_
| cmn: i was trying to figure out what files changed in a particular commit, using low level plumbing tools, but i just realised dealing with things like empty commits is going to screw me anyway, so i am gonna have to think of something new | 15:07 |
|
avar
| crocket, csmrfx it's git-deploy/git-deploy | 15:07 |
|
crocket
| avar : ??? | 15:08 |
| ← iamjarvo left | 15:08 |
|
cmn
| tigris_: that's what diff-tree is for | 15:08 |
|
avar
| crocket: wrt previous discussion about git-deploy | 15:08 |
|
crocket
| avar, Do you use it? | 15:09 |
|
cmn
| but you'd be better off using a real programming language rather than bash to achieve whatever it is | 15:09 |
| → duckxx joined | 15:09 |
| ← ddelrio1986 left | 15:09 |
| ← zivester left | 15:10 |
| → revagomes joined | 15:10 |
| → nizeguy joined | 15:10 |
| ← chimay left | 15:10 |
| ← Moussekateer left | 15:10 |
| → chimay joined | 15:11 |
| ← chimay left | 15:11 |
| → chimay joined | 15:11 |
|
jast
| cmn: you mean zsh? :^D | 15:11 |
| → zivester joined | 15:11 |
| → Zenopus joined | 15:11 |
|
cmn
| obviously :) | 15:11 |
|
tigris_
| cmn: i'm using ruby, with the rugged gem, built on the libgit2 c bindings, so wherever i can avoid shelling out to things like git-log is much faster for me, but i'm finding there are just times it's easier to use git itself | 15:11 |
| → jason237 joined | 15:11 |
|
cmn
| rugged unfortunately doesn't have diff support yet (though you can grab some rudimentary one from a PR) | 15:11 |
|
| it might seem easier to shell out to git, but as soon as something unexpected happens, you're going to crash and burn | 15:12 |
| → Synthead joined | 15:12 |
|
tigris_
| i wrote a very basic one just using the Rugged::Walker class, capturing a list of blobs that changed in each commit compared to previous commit, but dealing with empty commits is proving an issue... i'll think of something | 15:13 |
|
cmn
| you just have to check if they're treesame | 15:13 |
|
| which should just be next if last.tree_id == current.tree_if | 15:14 |
| ← cbreak-work left | 15:14 |
| → zatan joined | 15:15 |
| → jola joined | 15:15 |
|
zatan
| hey i have dont git reset --hard sad2s its reseted but when I try to push something its telling me to pull first ?? | 15:15 |
| ← pppaul left | 15:15 |
| → kukks joined | 15:15 |
|
cmn
| yes | 15:15 |
|
| because you've changed that branch's history, so it no longer build it up, but changes it | 15:16 |
|
tigris_
| cmn: yep, you are right... empty commits the tree_oid matches, that should help me a bit | 15:16 |
| ← psoo left | 15:17 |
| → pppaul joined | 15:18 |
| → babilen joined | 15:20 |
| → goshawk joined | 15:21 |
| ← canton8 left | 15:21 |
| → canton7 joined | 15:23 |
|
canton7
| zatan, !rewrite | 15:23 |
|
gitinfo
| zatan: [!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:23 |
| → SirCmpwn joined | 15:24 |
| ← stanzgy left | 15:24 |
| ← aspiers left | 15:25 |
| ← goshawk left | 15:26 |
| → jakob-_ joined | 15:27 |
| ← etcetera left | 15:28 |
| ← jakob-_ left | 15:28 |
| → _iron joined | 15:29 |
| → aspiers joined | 15:29 |
| ← blami_ left | 15:29 |
|
a-l-e
| hi... at scribus (http://scribus.net) we have have started using a bit of git on top of svn... | 15:30 |
| ← osxorgate left | 15:30 |
| ← hyperair left | 15:30 |
|
a-l-e
| ... for now we can't move away from svn for the main development... but we will try to move to git after the next release. | 15:31 |
| ← pppaul left | 15:32 |
|
a-l-e
| the consequence is that the current situation is a bit complicated and nobody really has the skills to manage it: we are a bit going through tries and errors... | 15:32 |
| → maestrojed joined | 15:32 |
|
a-l-e
| and, now, i could need some help :-) | 15:32 |
| ← fread2281 left | 15:32 |
|
a-l-e
| we have two repositories: trunk.git and scribus.git. | 15:32 |
| → catphish_ joined | 15:33 |
|
a-l-e
| in trunk.git the only interesting branch is "svn" which is syncronized with the svn server. | 15:33 |
|
catphish_
| is there any way to reduce the memory used by git gc? | 15:33 |
| → proradii joined | 15:33 |
| → pppaul joined | 15:34 |
|
a-l-e
| our git admin has created a scribus.git/master branch which i could successfully update with a "pull trunk svn". | 15:34 |
|
| the newes files are in there. | 15:34 |
| → etcetera joined | 15:34 |
| → kenperkins joined | 15:35 |
|
a-l-e
| if i do the same with i have created my self and which should also based on trunk/svn (at this point i'm not sure of nothing anymore...)... | 15:35 |
|
| i don't get the newest commits... | 15:35 |
|
| can anybody help me find out why in this second case "git pull trunk svn" (in reality git "pull svn svn" since i've called the trunk repository "svn"...) | 15:36 |
|
| does not pull the latest changes? | 15:36 |
| → tjholowaychuk joined | 15:36 |
|
a-l-e
| first: how can i be sure that the "indic" branch is indeed based on "trunk/svn"? | 15:37 |
|
| (the "scribus.git/indic" branch...) | 15:37 |
| ← cakehero left | 15:37 |
| ← pdtpatrick left | 15:38 |
| ← pfFredd left | 15:38 |
|
a-l-e
| if i do "git remote show origin" | 15:38 |
| ← _huoxito left | 15:38 |
| → goshawk joined | 15:38 |
|
a-l-e
| i get: http://pastebin.com/6CjXL2Q8 | 15:39 |
| → adityamenon joined | 15:39 |
| ← gerryvdm_mbp left | 15:39 |
|
a-l-e
| why is the the "indic" branch missing in the list "Local branches configured for 'git pull'"? | 15:39 |
|
| what did do wrong? | 15:39 |
| ← skorgon left | 15:40 |
|
a-l-e
| (or better: what could be wrong?) | 15:40 |
| → brainbox1100 joined | 15:40 |
| → am1ja2VuemllCg joined | 15:40 |
|
cmn
| is your local indic branch set up with any upstream information? | 15:40 |
|
a-l-e
| cmn: how can i tell? | 15:40 |
|
cmn
| does it say it's tracking anything when you use git branch -vv? | 15:40 |
|
a-l-e
| t$ git branch -vv | 15:41 |
| ← dhruvasagar left | 15:41 |
|
a-l-e
| indic af8ed4f [svn/svn: ahead 9] Merge branch 'indic' of scribus.net:scribus into indi | 15:41 |
|
cmn
| that's the reason then | 15:41 |
|
| it's not trackign anything from 'origin' | 15:42 |
|
catphish_
| is there any way of passing options to git-repack when it's executed by git-gc? | 15:43 |
| ← goshawk left | 15:43 |
| ← ottoshmidt left | 15:43 |
|
a-l-e
| this is the full list of the branches: | 15:43 |
|
| http://pastebin.com/82Dmg2cc | 15:44 |
| → nightcrawler786 joined | 15:44 |
| → jwmann joined | 15:44 |
|
cmn
| and that is is for what? | 15:44 |
| → ShadeTornado joined | 15:45 |
|
a-l-e
| should i do a "git diff indic..master" and then recreate the indic branch based on master and apply the patch? | 15:45 |
|
| or is there another way to "relink" the branch? | 15:46 |
|
cmn
| man git rebase see --onto (and be careful, the syntax is tricky) | 15:46 |
|
gitinfo
| the git-rebase manpage is available at http://git-scm.com/docs/git-rebase.html | 15:46 |
|
canton7
| but the examples help a lot | 15:46 |
|
a-l-e
| well, is there anything without a tricky syntax where i have to be careful? :-) | 15:46 |
|
cmn
| that you choose the right commits | 15:47 |
|
| the example with the graph is very helpful | 15:47 |
|
| make sure you map that into your needs, then it's just replacing the arguments | 15:47 |
| → fread2281 joined | 15:48 |
| → cehteh joined | 15:48 |
| → gdelfino joined | 15:48 |
| ← rath_ left | 15:48 |
|
a-l-e
| i don't understand half of the words in the git-rebase man page... | 15:49 |
|
| ... a sign that it's not the best way for me :-( | 15:49 |
|
cmn
| you can do cherry-pick manually | 15:49 |
|
| basically the same thing, but more manual work | 15:49 |
| ← shruggar left | 15:49 |
|
bremner
| a-l-e: check the examples in !book | 15:52 |
|
gitinfo
| a-l-e: There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 15:52 |
| ← trungqtran left | 15:53 |
|
a-l-e
| i fear that reading that book won't allow me to solve the problem in a usable time frame... | 15:54 |
| ← brainbox1100 left | 15:54 |
|
catphish_
| hmm, still can't figure out how to limit memory consumed by git-repack :( | 15:54 |
|
a-l-e
| in two month i would be able to do what i need... | 15:54 |
|
catphish_
| --window-memory=<n> doesn't do what i think it does | 15:54 |
|
| (or is ignored) | 15:54 |
|
a-l-e
| but until then we will have lost the new contributor :-) | 15:54 |
| ← whitman left | 15:54 |
|
a-l-e
| i love the few git features i'm using... but its complexity is killing me :-( | 15:55 |
| → goshawk joined | 15:55 |
|
bremner
| a-l-e: I did not suggest you read the whole book, although that would probably be a good idea in the long run | 15:56 |
|
a-l-e
| the whole thing looks like as if my goal would be to learn git... | 15:56 |
| → JPohlman1 joined | 15:56 |
| → jakob- joined | 15:56 |
|
cmn
| what is the actual problem? there's a branch that's based on the wrong commit? | 15:57 |
|
a-l-e
| ... but in reality i just want to be able to work on code and let other problems work on code... | 15:57 |
|
cmn
| a-l-e: if you want to use git, you'll need to learn how to use it | 15:57 |
|
| it's not different from anything else | 15:57 |
| → prudnikov joined | 15:57 |
|
a-l-e
| yeah, it's clear to me that i have to learn how to use it... | 15:57 |
| ← ology left | 15:57 |
| ← fread2281 left | 15:57 |
|
masak
| what's the appropriate way to resolve a conflict during a 'stash apply'? | 15:57 |
| → gregm_ joined | 15:57 |
|
a-l-e
| but reading a full books seems to be a big first step. | 15:57 |
|
| ... most of all because it's not the first step... | 15:58 |
|
bremner
| in the time you have talking about it, you could have found the example | 15:58 |
| → dogarrhea2 joined | 15:58 |
|
cmn
| masak: you make the file look like it should, see man git merge for an explanation of the conflict representation | 15:58 |
|
gitinfo
| masak: the git-merge manpage is available at http://git-scm.com/docs/git-merge.html | 15:58 |
|
a-l-e
| i still don't know which example i should be looking from :-( | 15:58 |
|
| looking for... | 15:58 |
| → trungqtran joined | 15:58 |
|
cmn
| what is the actual problem? | 15:58 |
| ← am1ja2VuemllCg left | 15:59 |
|
a-l-e
| the problem is that i've created a branch based on the wrong remote branch | 15:59 |
|
masak
| cmn: oh, that bit is fine. I'm just confused by git's advice to commit my changes to mark the conflict resolved. | 15:59 |
| ← JPohlman1 left | 15:59 |
|
a-l-e
| and i should change the branch it's based upon. | 15:59 |
|
cmn
| masak: you need to use add to tell git that you solved it | 15:59 |
|
| a-l-e: then that example in git-rebase is exactly what you're looking for | 15:59 |
|
| or use cherry-pick | 15:59 |
|
masak
| cmn: right. so I just use 'add', and then unstage the change again? | 16:00 |
|
cmn
| unstage what change? | 16:00 |
| ← zhouxiukun left | 16:00 |
|
a-l-e
| cmn: i believe you, that it must be the correct tool to use.. | 16:00 |
| → zhouxiukun joined | 16:00 |
|
a-l-e
| ... but from the man page i can't tell how to use it! | 16:00 |
| ← tjadc_ left | 16:01 |
|
cmn
| yes, you can | 16:01 |
|
masak
| cmn: if I do git-add on the file, my conflict-resolved stashed changes end up in the staging area. I want those changes to remain unstaged. | 16:01 |
|
cmn
| have you looked at where we told you? | 16:01 |
|
a-l-e
| most of all because the next tip was to be very careful... | 16:01 |
| ← jakob- left | 16:01 |
|
a-l-e
| it would be wonderful if somebody could help me with some more step by step hints... | 16:01 |
|
cmn
| right, so? you should always be careful | 16:01 |
| → hyperair joined | 16:01 |
|
cmn
| the exact command is in that manpage | 16:01 |
|
| if you refuse to look at it, there's nothing we can do | 16:01 |
|
a-l-e
| no, cmn, i'm looking at it! | 16:01 |
|
cmn
| masak: then yes, I guess | 16:01 |
| ← tgunr left | 16:02 |
|
a-l-e
| i don't refuse at all to look at it and try to understand... | 16:02 |
| → jakob-_ joined | 16:02 |
|
a-l-e
| ... i'd love to be able to figure out what is in there... | 16:02 |
| ← neurodrone left | 16:02 |
|
a-l-e
| the problem is that it starts with "DESCRIPTION | 16:02 |
|
| If <branch> is specified, git rebase will perform an automatic git checkout <branch> before doing anything else. Otherwise it remains on the current branch. | 16:02 |
|
| " | 16:02 |
| ← robotmay left | 16:02 |
| ← kurrataW left | 16:02 |
|
a-l-e
| which still does not tell me what it does :-( | 16:02 |
|
| what it's good for. | 16:03 |
| ← Milossh left | 16:03 |
|
a-l-e
| (or "Forward-port local commits to the updated upstream head " in the short version... which does not tell me much either" | 16:03 |
| ← mklappstuhl left | 16:03 |
|
tigris_
| a-l-e: do you understand what a <branch> is? | 16:03 |
| ← juvenal left | 16:03 |
|
cmn
| that is absolutely not where we told you to look | 16:03 |
|
a-l-e
| yep, i know what a branch is. | 16:03 |
|
canton7
| a-l-e, read the examples starting at "Here is how you would transplant a topic branch" | 16:04 |
|
| up until (but not including) "A range of commits could also be removed with rebase" | 16:04 |
|
a-l-e
| ok, canton7, doing it... | 16:04 |
|
| one problem: | 16:05 |
| ← pppaul left | 16:05 |
| → shruggar joined | 16:05 |
|
a-l-e
| "to pretend that you forked the topic branch from the latter branch, using rebase --onto." ... i want to pretend tha i did "git branch --track indic origin/master" | 16:06 |
| → Milossh joined | 16:06 |
|
cmn
| yes | 16:06 |
|
a-l-e
| i have not idea if it's the same. | 16:06 |
| → gigamonkey joined | 16:06 |
|
canton7
| if you're having trouble, just look at the before/after pictures | 16:06 |
|
| and find a pair that match your situation | 16:06 |
|
a-l-e
| but otherwise it looks indeed similar to what i want to do. | 16:06 |
| → boombatower joined | 16:06 |
|
wereHamster
| if you need before/after pictures: http://before-and-after-pictures.tumblr.com/ | 16:07 |
| → kevwil joined | 16:07 |
|
catphish_
| does anyone know why "git repack -d -l -A --window-memory=50m" might consume 5+GB of RAM? | 16:07 |
| ← cenuij left | 16:08 |
|
a-l-e
| or http://cdn.itproportal.com/photos/nokia-lumia-920-pureview-2-640x725_original.jpg ... | 16:08 |
|
| i guess i stick to the ascii art, wereHamster | 16:08 |
|
tigris_
| what's the command to get back all the space of a blob file you know you never want back? is it gc, prune or repack or something along those lines? | 16:08 |
|
FauxFaux
| catphish_: How big is the pack file? I suspect it's unavoidable. | 16:08 |
|
| tigris_: man git gc, speficfically the --expire kind of options. | 16:08 |
|
gitinfo
| tigris_: the git-gc manpage is available at http://git-scm.com/docs/git-gc.html | 16:08 |
|
cmn
| the window isn't all that affects memory usage | 16:09 |
|
a-l-e
| git rebase --onto origin/master svn/svn indic | 16:09 |
|
| does this look correct? | 16:09 |
|
| i want to move the indic branch which i based on svn/svn to be based on origin/master ... | 16:09 |
| ← leokaito left | 16:09 |
| ← goshawk left | 16:09 |
| ← tsdh left | 16:09 |
|
canton7
| looks right | 16:09 |
| → pppaul joined | 16:09 |
| → gfontenot joined | 16:10 |
| → pdtpatrick joined | 16:10 |
|
catphish_
| FauxFaux: the repository is very large and probably has some very large existing pack files | 16:10 |
|
| without --window-memory=50m a "git gc" consumed 12GB of RAM | 16:10 |
|
| with it, it's still hitting about the size of the repo (7GB) | 16:11 |
|
a-l-e
| ok, i guess that this will only change my local repository, and that it will spread to the server when i do a "git push" | 16:11 |
|
tigris_
| FauxFaux: thanks, i had read that but wasn't sure on the terminology around "loose objects"... i assumed a `git rm` would leave that blob attached to some commit trees, and therefore they'd never be "loose" | 16:11 |
| → djh__ joined | 16:11 |
| → TheJH joined | 16:11 |
|
a-l-e
| so i can duplicate the directory where my local repository is, to get back to the previous state if something goes wrong. | 16:11 |
| ← djh__ left | 16:11 |
|
FauxFaux
| tigris_: Oh, you want to purge a /committed/ object from history? That's much harder and can't be done without !rewriting. man git filter-branch | 16:11 |
|
gitinfo
| tigris_: [!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:11 |
|
| tigris_: the git-filter-branch manpage is available at http://git-scm.com/docs/git-filter-branch.html | 16:11 |
| ← MaximLacrima left | 16:11 |
| ← EyesIsMine left | 16:12 |
|
tigris_
| FauxFaux: these repos will never ever be cloned by anyone, so rewriting is fine | 16:12 |
| ← thorbjornDX left | 16:12 |
| → thorbjornDX joined | 16:13 |
|
catphish_
| FauxFaux: i wonder how others get around this memory limitation, i guess limit the size of pack files from day 1 | 16:13 |
| → koltroll joined | 16:14 |
| → fread2281 joined | 16:14 |
|
cmn
| you should hardly ever hit memory limits, specially not on day 1 | 16:14 |
|
catphish_
| cmn: it's not day1 that's the problem | 16:14 |
| → shamrock joined | 16:14 |
|
catphish_
| it's when the repack reaches 10GB :) | 16:14 |
| → gigamonkey_ joined | 16:15 |
|
tigris_
| consider the situation where you accidentally commit a 50mb file, make a bunch more commits to other files, then want to remove that 50mb file but have not pushed yet and don't want that 50mb file in the history | 16:15 |
|
cmn
| don't repack everythign then | 16:15 |
| shamrock → Guest73030 | 16:15 |
|
cmn
| tigris_: man git filter-branch | 16:15 |
|
gitinfo
| tigris_: the git-filter-branch manpage is available at http://git-scm.com/docs/git-filter-branch.html | 16:15 |
| ← Guest73030 left | 16:15 |
|
catphish_
| cmn: i have a 5GB packfile | 16:15 |
| → tgunr joined | 16:15 |
|
catphish_
| in this particular repo | 16:15 |
| → rgr joined | 16:15 |
|
catphish_
| now that i'm in this situation i'm unsure what the solution is | 16:15 |
|
| maybe a full unpack and a repack with a limit on the packfile size | 16:16 |
|
| it seems that repack never breaks packfiles up | 16:16 |
|
cmn
| that's precisely what's going to cause you to use a lot of memory | 16:16 |
| ← gigamonkey left | 16:16 |
| gigamonkey_ → gigamonkey | 16:16 |
|
cmn
| what are you actually trying to achieve? repack everything into one pack? | 16:16 |
|
catphish_
| cmn: i'm trying to run git gc without using 12GB of RAM | 16:17 |
|
cmn
| that's not a goal | 16:17 |
|
a-l-e
| ok | 16:17 |
|
catphish_
| cmn: yes it is | 16:17 |
|
a-l-e
| git rebase --onto origin/master svn/svn indic | 16:17 |
|
| gave me: | 16:17 |
|
| http://pastebin.com/LfH5uXgW | 16:17 |
|
cmn
| catphish_: fine, then have fun with your experiments and don't forget to look at man git config | 16:17 |
|
gitinfo
| catphish_: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 16:17 |
|
a-l-e
| which somehow looks correct (i can't really tell... but i don't see big problems) | 16:17 |
|
catphish_
| cmn: gitinfo: i know where the manuals are | 16:18 |
|
canton7
| a-l-e, looks aright | 16:18 |
|
a-l-e
| but git branch --v -a still shows: | 16:18 |
|
catphish_
| but they don't offer any specific advice on reducing packfile size | 16:18 |
|
a-l-e
| but git branch -vv -a still shows: | 16:18 |
|
cmn
| catphish_: good for you | 16:18 |
| → TalleyHo joined | 16:18 |
|
a-l-e
| indic e38e57f [svn/svn: ahead 14] never select CAIRO_PRIVATE any more - someone should probably clear out CMakeLists.txt | 16:18 |
|
canton7
| a-l-e, the indic branch will still be tracking whatever it was befoer | 16:18 |
|
| but it'll be somewhat different | 16:19 |
|
cmn
| catphish_: yes, it does | 16:19 |
|
a-l-e
| well, that's not really the goal... | 16:19 |
| ← athit left | 16:20 |
|
a-l-e
| but well, i would already be happy if i could successfully pull the changes that are happening in svn/svn ... | 16:20 |
|
catphish_
| i assume that using --max-pack-size=<n> and --window-memory=<n> will stop large packfiles being generated, but doesn't seem to help when existing large files exist | 16:20 |
| ← fluxdude left | 16:20 |
|
canton7
| a-l-e, "tracking" is a bit of config which says, among other things, what to merge in when 'git pull' is run, and what the branch is compared to when git branch -vv is run | 16:20 |
|
| a-l-e, the commit that your branch is based on is an entirely different thigns | 16:21 |
|
catphish_
| cmn: but if you know the answer, as your comments imply, why not just tell me? | 16:21 |
|
a-l-e
| canton7: however, the change i'm testing to see if the current state contains the latest commits in svn/svn still does not show up... | 16:21 |
| → ncd|leeN joined | 16:21 |
|
canton7
| a-l-e, it's easy to change what branch your branch is tracking. see git branch --set-upstream | 16:21 |
|
cmn
| because you dismiss everything | 16:21 |
|
| also see !fish and all that goodness | 16:21 |
|
gitinfo
| In the long run, it is much better to give pointers to answers than the answers themselves. | 16:21 |
|
cmn
| what? no fishes in ! fish? I am diasspoint | 16:21 |
|
canton7
| a-l-e, so what are you expecting to see when you run git branch -vv? | 16:22 |
|
a-l-e
| !dead | 16:22 |
|
| (in the long run we are all dead :-) | 16:22 |
|
catphish_
| cmn: what have you suggested that i have dismissed? | 16:22 |
|
a-l-e
| canton7: my main goal is to find out how to pull the changes from svn/svn into my indic branch... | 16:22 |
|
| the mean i thought i should go, was to get the indic branch based on on origin/master like all the other branches. | 16:23 |
| ← tgunr left | 16:23 |
|
a-l-e
| so, right now i was expecting to see the indic branch to point to "origin/master" instead of "svn/svn" | 16:23 |
| ← _Qman left | 16:23 |
|
catphish_
| apart from reading the manual, which i have clearly done | 16:23 |
| → anabelle joined | 16:23 |
|
a-l-e
| another possible way would be to create a new branch with the same content as indic but based on origin/master. | 16:24 |
| ← leeN left | 16:25 |
|
a-l-e
| i think i'll try a manual way... | 16:25 |
| ← pppaul left | 16:26 |
| ← ncd|leeN left | 16:26 |
| → txomon|nqas joined | 16:26 |
| → leeN joined | 16:27 |
|
txomon|nqas
| hi, I have a tree from a spot of the history, and I would like to know where in the history that tree is | 16:27 |
|
a-l-e
| i'm creating a indic2 branch based on origin/master and i will try to apply each change made in indic to it. | 16:27 |
| → EyesIsMine joined | 16:27 |
| → nicoulaj joined | 16:27 |
|
a-l-e
| is there any visual tool to do it? | 16:28 |
|
txomon|nqas
| gitk | 16:28 |
|
| a-l-e, ^ | 16:28 |
| → starlays joined | 16:29 |
|
txomon|nqas
| speak about commit | 16:29 |
| ← LimeBlast left | 16:29 |
|
txomon|nqas
| changes... is not the same as a commit | 16:29 |
|
a-l-e
| ... i only knew what i wrote... | 16:29 |
|
catphish_
| cmn: in future, be more polite, since nobody is both willing and able to answer me directly, i will test every memory mapping and packfile sizing option to see which resolve the problem with existing packfiles | 16:29 |
| → dsirijus joined | 16:29 |
|
a-l-e
| (what's the difference between changes and commits?) | 16:29 |
|
starlays
| is there an command that can show me only the commits for a certain file, so i can see the history of that file from beginning to the end? thank you in advance | 16:29 |
|
canton7
| a-l-e, "so, right now i was expecting to see the indic branch to point to "origin/master" instead of "svn/svn"" << I've already told you that your assumptions here are flawed, how they're flawed, and how to correct the situation | 16:30 |
|
milki
| starlays: man git-log | 16:30 |
|
gitinfo
| starlays: the git-log manpage is available at http://git-scm.com/docs/git-log.html | 16:30 |
|
EugeneKay
| starlays - git-log will accept !dashes | 16:30 |
|
gitinfo
| starlays: Use a double-dash(--) to separate refs or arguments from file paths. This is especially useful when dealing with ambiguous names. Ex: `git checkout origin -- master` will check out the file "master" from branch "origin" | 16:30 |
|
canton7
| a-l-e, that "pointing to" is a trivial little bit of config which it's dead easy to change. and i've told you how | 16:30 |
|
a-l-e
| canton7: somebody else told me that i should use the git rebase command and that the command i pasted looked ok... | 16:31 |
|
canton7
| a-l-e, yup, and that rebased your branch onto origin/master correctly | 16:31 |
| ← authmillenon left | 16:31 |
|
txomon|nqas
| a-l-e, change means the changes itself, but commit means patches, in the way that 5 commits can have 5 different changes on the same thing, but there would be just 1 resulting change | 16:31 |
|
canton7
| a-l-e, but, for the 3rd time, there's still a little bit of config saying that git should, in its status message, compare your branch to svn/svn | 16:31 |
| ← zatan left | 16:31 |
|
canton7
| a-l-e, which you need to change | 16:31 |
|
milki
| a-l-e: rebase doesnt change the upstream pointer | 16:32 |
| ← lun_ left | 16:32 |
| → am1ja2VuemllCg joined | 16:32 |
| → tgunr joined | 16:33 |
| ← i42n left | 16:34 |
|
canton7
| a-l-e, once you understand more about git you'll realise how simple this is. for now, please recognise that your assumption is wrong, and that the branch that git compares your branch to when you run 'git branch -vv' is configured by a line of config, and is essentially arbitrary | 16:34 |
| ← mritz left | 16:34 |
| ← irqq left | 16:34 |
|
a-l-e
| canton7: i have no problem in recognizing it :-) | 16:34 |
| → juvenal joined | 16:34 |
|
a-l-e
| i believe everything you say and i try to do it as good as possible... | 16:35 |
|
canton7
| a-l-e, now run 'git branch --set-upstream indic2 origin/master | 16:35 |
|
a-l-e
| but i still don't have my indic branch updated to the content of svn/svn or origin/master... | 16:35 |
| ← Desproges left | 16:36 |
|
a-l-e
| i have no religious feeling about which way leads to the solution :-) | 16:36 |
|
canton7
| a-l-e, but you do. you're just assuming you don't | 16:36 |
| → mritz joined | 16:36 |
|
a-l-e
| no, the change i'm checking *is not* in the local directory. | 16:36 |
| → keyzs joined | 16:36 |
| ← sylr left | 16:36 |
|
canton7
| a-l-e, git log --graph --oneline --decorate indic2 origin/master svn/svn | 16:37 |
|
| pastie that | 16:37 |
|
a-l-e
| ... gonna try to change the upstream | 16:37 |
| → fornext joined | 16:37 |
| ← jola left | 16:37 |
|
a-l-e
| ok, now i have: | 16:38 |
|
| indic e38e57f [origin/indic: ahead 14, behind 9] never select CAIRO_PRIVATE any more - someone should probably clear out CMakeLists.txt | 16:38 |
|
| (after git branch --set-upstream indic origin/indic ... and this matches how the other branches are defined) | 16:38 |
|
canton7
| where did origin/indic come from? it was origin/master before :P | 16:39 |
|
keyzs
| is there any channel on freenode related more to project management? | 16:41 |
|
a-l-e
| i can give you an example with a branch wich i have correctly created: | 16:41 |
|
bremner
| #phb ? | 16:42 |
|
EugeneKay
| keyzs - I know of none dedicated to it, but we're usually willing to chat | 16:42 |
|
canton7
| a-l-e, now you've introduced origin/indic, i'm again unclear as to what you want | 16:42 |
|
a-l-e
| git checkout --track -b statusbar origin/master | 16:42 |
| ← RoyBellingan left | 16:42 |
|
canton7
| (that --track isn't needed btw) | 16:42 |
|
a-l-e
| i made my changes, pushed it to the server and now it looks like this: | 16:42 |
|
| statusbar | 16:42 |
|
| remotes/origin/statusbar | 16:43 |
|
canton7
| what looks like that? what are you looking at? | 16:43 |
|
a-l-e
| well, when i do "git branch -a" i see that... | 16:43 |
|
| and git branch -vv -a shows: | 16:43 |
| → DanyO83 joined | 16:43 |
|
a-l-e
| statusbar fca7048 [origin/statusbar] prepare moving the page selector functionality to the toolbar | 16:43 |
|
| remotes/origin/statusbar fca7048 prepare moving the page selector functionality to the toolbar | 16:44 |
| ← Davey left | 16:44 |
|
catphish_
| FauxFaux: thanks :) | 16:44 |
|
canton7
| a-l-e, ok. now do you understand what the [origin/statusbar] in the above output means? | 16:44 |
|
catphish_
| looks like this memory usage during packing can be significantly reduced, though when writing existing pack files, their size doesn't seem to be reduces, and the write still seems to have significant memory needs, unless i just haven't found the right limit yet | 16:45 |
|
a-l-e
| that there is a link between both... but no, i don't really understand what the links means. | 16:45 |
| ← bartek left | 16:45 |
| ← rgr left | 16:45 |
|
canton7
| a-l-e, ok, for the 4th time, that link is entirely arbitrary. it exist only for convenience | 16:46 |
|
| *exists | 16:46 |
|
a-l-e
| voilà, i did a "git pull origin master" while being in the statusbar branch and, there, the change i'm tracking shows up | 16:46 |
|
| canton7: as i told, all this is a mean to the goal. | 16:46 |
| ← kevwil left | 16:46 |
| → bartek joined | 16:46 |
|
canton7
| there's nothing special about what's shown in the square brackets | 16:46 |
|
| now, what do you think is wrong about how the indic branch is configured? exactly? | 16:47 |
|
a-l-e
| until now "git pull origin master" while being in the indic branch did not pull that change! | 16:47 |
|
| i can retry it now... | 16:47 |
|
canton7
| cool! that's a result of the rebase | 16:47 |
| → Davey joined | 16:47 |
| → gatinha joined | 16:47 |
| ← kerrick left | 16:47 |
|
a-l-e
| no, after the rebase the change was not in the indic branch (and it still is not) | 16:47 |
|
| the other branches get it, but not the indic one. | 16:48 |
|
| but i'll try again now after the rebase. | 16:48 |
|
canton7
| define "get it" | 16:48 |
|
a-l-e
| pull from the server. | 16:48 |
| → brainbox1100 joined | 16:48 |
|
canton7
| after the rebase, 'git checkout indic && git pull origin master' would have done what you wanted | 16:48 |
| → skyf_ joined | 16:48 |
| → skyf joined | 16:48 |
|
keyzs
| EugeneKay, wich platform is probably best on world to project management? | 16:48 |
|
canton7
| (I think. I'm still not entirely clear what you want) | 16:48 |
|
a-l-e
| somebody committed the change to the svn server, it was automatically syncronized with svn/svn and manually pulled into origin/master. | 16:48 |
| → apok joined | 16:49 |
|
a-l-e
| well, the canton7, the two other commands "after the rebase" were still missing for me... | 16:49 |
| ← codeshah left | 16:49 |
|
a-l-e
| canton7: i want a way to pull the changes from the svn server into my indic branch. | 16:49 |
|
canton7
| 'cos you enver said you wanted to pull :) | 16:50 |
|
| *never | 16:50 |
|
a-l-e
| canton7: those may be magical words for you, that are very clear... | 16:50 |
|
| ... on my side i try to explain what i want to do as good as possible: and it's hard! | 16:50 |
| → apok_ joined | 16:51 |
|
a-l-e
| but if "pull" is more clear to you, well, yes, i want to pull | 16:51 |
|
| :-) | 16:51 |
|
canton7
| you said you wanted to rebuild the indic branch on top of origin/master. we told you how to do that | 16:51 |
| ← Mannequin left | 16:51 |
| → maletor joined | 16:51 |
|
a-l-e
| well, this is what i want to do... | 16:51 |
|
canton7
| the "re-linking" you were talking about was the branch --set-upstream | 16:51 |
| → ipalaus joined | 16:52 |
| → JotaLambda joined | 16:52 |
|
a-l-e
| it should be based on origin/master. this means for me that it should be "easy" to get the changes that happen in origin/master in the indic branch. | 16:52 |
| ← mishok13 left | 16:52 |
|
canton7
| yup. and the rebase achieved that | 16:52 |
|
a-l-e
| but it may be time that you tell me what "based" really means in git-language :-) | 16:52 |
| → Akufen joined | 16:52 |
| ← Akufen left | 16:52 |
| → Akufen joined | 16:52 |
|
canton7
| before that, you were complaining that a 'git pull' didn't work. we told you how to make it work. since then you've changed the goal from "get pull to work" to "get the upstream changes into my branch". the solution to the latter is the former, as you've found out | 16:53 |
| ← apok left | 16:54 |
| apok_ → apok | 16:54 |
| ← etcetera left | 16:54 |
|
canton7
| a-l-e, heh, if I checkout master, then create a new branch, that new branch is based on master | 16:54 |
|
| master is the commit on which the commits which comprise my branch are built | 16:54 |
|
a-l-e
| no, i did not change my goal at all :-) | 16:54 |
|
| but i may have not expressed my goal in a way that was understandable for you. | 16:55 |
| → etcetera joined | 16:55 |
|
txomon|nqas
| so can anyone help me discovering a tree in the history? | 16:55 |
|
canton7
| <a-l-e> why is the the "indic" branch missing in the list "Local branches configured for 'git pull'"? | 16:55 |
|
| ^^ that's the first thing I can identify as a goal | 16:55 |
| → SparFux joined | 16:55 |
|
SparFux
| Hi! Can I undo git reset --hard HEAD^ somehow? | 16:55 |
|
a-l-e
| no that was a first specific question after i have described the problem... | 16:56 |
|
| ... however, this won't change what i thought i was saying and what you did understand... | 16:56 |
|
txomon|nqas
| SparFux, did you stash/commit? | 16:56 |
| ← DanyO83 left | 16:56 |
|
SparFux
| txomon|nqas: no. | 16:56 |
|
a-l-e
| my goal is still to get the thing to work... not to be right :-) | 16:56 |
|
canton7
| a-l-e, yeah, dead horses and all that | 16:56 |
| ← etcetera left | 16:56 |
| ← catphish_ left | 16:56 |
|
txomon|nqas
| and add? | 16:56 |
|
SparFux
| no. | 16:56 |
|
canton7
| a-l-e, are things working as you'd expect now? | 16:56 |
| ← nightcrawler786 left | 16:57 |
|
SparFux
| no add, git diff says, there are no diffs. | 16:57 |
|
txomon|nqas
| SparFux, then I think you can't recover | 16:57 |
|
a-l-e
| let me try... i had to first commit the changes i made to statusbar to be able to switch back to indic | 16:57 |
|
SparFux
| txomon|nqas: ok, thx for answer. | 16:57 |
|
txomon|nqas
| but not totally sure, as I am not a geek | 16:57 |
| → arkiver joined | 16:57 |
| → dr_lepper joined | 16:57 |
| ← dr_lepper left | 16:57 |
| → dr_lepper joined | 16:57 |
|
a-l-e
| no, canton7, the string i'm looking for is still not in the file i'm checking. | 16:57 |
| ← gatinha left | 16:58 |
| ← Vile left | 16:58 |
|
a-l-e
| and it was in the statusbar branch after having pulled origin master | 16:58 |
|
canton7
| a-l-e, which remote branch is the string available in? | 16:58 |
|
| ok, so the string is in origin/master? | 16:58 |
| ← macabre left | 16:58 |
|
canton7
| git checkout indic && git pull origin master | 16:58 |
|
a-l-e
| now, i guess at least in origin/master and origin/statusbar | 16:58 |
|
| git pull origin master | 16:58 |
|
| From scribus.net:scribus | 16:58 |
|
| * branch master -> FETCH_HEAD | 16:58 |
|
| Already up-to-date | 16:58 |
| → iamjarvo joined | 16:59 |
|
a-l-e
| Scribus/scribus/commonstrings.cpp | 16:59 |
|
| E486: Pattern not found: \<trMonochrome\> | 16:59 |
|
| git checkout statusbar | 16:59 |
|
canton7
| ok, so everything present in the master branch is present in the indic branch. git log -p -- path/to/file , anything relating to the string? | 16:59 |
|
a-l-e
| QString CommonStrings::trMonochrome = ""; | 16:59 |
| ← Yuuhi` left | 17:00 |
| ← dsirijus left | 17:00 |
| → pfFredd joined | 17:00 |
| → cenuij joined | 17:00 |
| ← cenuij left | 17:00 |
| → cenuij joined | 17:00 |
|
a-l-e
| ok, i probably see the problem... | 17:01 |
| → Hasbro joined | 17:01 |
| ← arkiver left | 17:01 |
| → gatinha joined | 17:01 |
| ← iamjarvo left | 17:01 |
|
a-l-e
| "git log -p -- path/to/file" shows that a patch applied to the indic branch has deleted the changes done in the svn repository. | 17:02 |
| → g33k joined | 17:02 |
|
a-l-e
| it's a "misunderstanding" between the guy who did the patch and me... | 17:02 |
| → towski joined | 17:02 |
|
canton7
| misunderstanding by you guys or a misunderstanding by git? :P | 17:03 |
| → nightcrawler786 joined | 17:03 |
| → Geralt joined | 17:03 |
| ← Geralt left | 17:03 |
| → Geralt joined | 17:03 |
|
a-l-e
| well, the problem is that the guy who has sent the patch has not based his work on the git repository... | 17:03 |
| ← zhouxiukun left | 17:04 |
| ← Geralt left | 17:04 |
|
a-l-e
| the workflow is still less then perfect... it's quite bad actually... | 17:04 |
|
| but i have to live with it... | 17:05 |
|
| i guess i've lost a full work day on this... | 17:05 |
|
canton7
| ouch | 17:05 |
| → rgr joined | 17:05 |
| → Fandekasp joined | 17:05 |
|
a-l-e
| yep, that's the price to pay to learn how to learn git in a too complex environment :-( | 17:06 |
|
| but well, if i don't do it, we lose contributors... | 17:06 |
| → _Vi joined | 17:06 |
|
a-l-e
| ... so, at the end, the time is well invsted... but it hurts! | 17:06 |
| ← apok left | 17:07 |
| → kevwil joined | 17:07 |
|
a-l-e
| and the step from "knowing nothing" to "managing and helping other people" is too steep... | 17:07 |
| → Haix64 joined | 17:07 |
| ← shruggar left | 17:07 |
| → etcetera joined | 17:07 |
|
Haix64
| Hi. is it possible to create a system wide ".gitignore"? | 17:07 |
|
canton7
| Haix64, man git-config core.excludesfile | 17:07 |
|
gitinfo
| Haix64: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 17:07 |
| constant → trout | 17:07 |
|
Haix64
| thanks ;-) | 17:08 |
|
a-l-e
| however, thans to everybody and especially to canton7 and cmn! | 17:08 |
| ← arvind_khadri left | 17:08 |
| ← Haix64 left | 17:08 |
|
a-l-e
| i've learnt several things this evening... | 17:08 |
|
canton7
| it's really worth digging into some git literature before trying to do too much | 17:09 |
|
nitrix
| Well thats why people stays on IRC channels. | 17:09 |
|
canton7
| personally I prefer !bottomup to the book (and it's shorter!) but each to their own | 17:09 |
|
gitinfo
| 'Git from the bottom up' starts with explaining the building blocks of git and proceeds to tell you how they fit together. http://ftp.newartisans.com/pub/git.from.bottom.up.pdf | 17:09 |
|
a-l-e
| ... but now i will ask the two guys who have made their patches to redo them and apply them again to a clean branch. | 17:09 |
|
nitrix
| You get help and eventually help others with problems that you had before | 17:09 |
| → skywalker joined | 17:09 |
| skywalker → Guest97411 | 17:09 |
|
a-l-e
| well, i've been using svn for years and i understand the basics of git (i've read much about it... but never a full book)... but it's hard to learn advanced things before you need them... | 17:10 |
| ← Maccer left | 17:10 |
|
canton7
| yeah, svn is another problem: almost everything from it has no relevance to git. and a lot of it is misleading :P | 17:10 |
|
| and yeah I know it's hard, but having gone through it it's really worth it | 17:10 |
|
a-l-e
| yep, i love the new chances git gives to me! | 17:11 |
|
| it makes many things much easier! | 17:11 |
| ← metcalfc left | 17:11 |
| ← gatinha left | 17:11 |
|
a-l-e
| but it's also a bit too hard to learn for something that is to be seen as a basic need for a free software project. | 17:12 |
|
canton7
| otoh, once you dig into it, git becomes a powerful, active, productivity-helping tool, and not just a background chore like svn was | 17:12 |
| ← gdelfino left | 17:13 |
| ← angelsl left | 17:13 |
| ← fornext left | 17:14 |
| ← ipalaus left | 17:15 |
|
PerlJam
| a-l-e: git takes the same approach as perl. Simple things are simple, hard things possible. And you don't have to learn the hard things up front; you can learn as you go. | 17:15 |
|
tigris_
| true that, i know people who their sole job is "release management" with CVS... don't see that shit with git | 17:16 |
|
a-l-e
| well, PerlJam, i think that you could have brought a better example than perl :-) | 17:16 |
|
PerlJam
| a-l-e: better in what way? | 17:16 |
| → neurodrone joined | 17:16 |
|
PerlJam
| a-l-e: (note my nick ;) | 17:16 |
|
a-l-e
| well, i would not sugges you to use perl as an example to convince me that something is good :-) | 17:16 |
| ← kevwil left | 17:16 |
|
| txomon|nqas smells war | 17:17 |
|
a-l-e
| ... nothing against it and people using it, but i don't see it as a friendly thing :-) | 17:17 |
|
tigris_
| a-l-e: no one said it was good, they said "simple things are simple, hard things are possible" | 17:17 |
|
| txomon|nqas says: 3, 2, 1... Fight! | 17:17 |
|
PerlJam
| txomon|nqas: heh, not quite :) | 17:17 |
| ← Tegi left | 17:18 |
|
a-l-e
| nor i said that perl good or not: just not the good example to convince me :-) | 17:18 |
|
bremner
| you find praising git in #git to be flamebait? interesting. | 17:18 |
|
a-l-e
| fyi, beer as also a bad example :-) | 17:18 |
|
PerlJam
| a-l-e: okay, pick some technolog you like and I'll relate git to it :-) | 17:18 |
|
| technology even | 17:18 |
|
tigris_
| bacon | 17:18 |
|
a-l-e
| better :-) | 17:18 |
|
PerlJam
| *everything* is better with bacon! ;) | 17:19 |
| → hwrd|work joined | 17:19 |
| → rath_ joined | 17:19 |
| → macabre joined | 17:19 |
|
a-l-e
| however, thanks for you help and i will have a look at the git bottom up book | 17:19 |
|
tigris_
| git is like bacon, you know you want some even when you don't need it | 17:19 |
| ← alberto56 left | 17:19 |
| ← glennpratt left | 17:20 |
| → neurodrone_ joined | 17:21 |
|
txomon|nqas
| so, has git any tool to help me searching the tree I have where it is in the history of a repo (I know it comes from some point of it) | 17:21 |
| → paul_and1ew joined | 17:21 |
|
tigris_
| txomon|nqas: you have the sha1 of a tree and want to know what commit put it there? | 17:22 |
| → beneggett joined | 17:22 |
|
a-l-e
| thanks for all the hints! | 17:22 |
| → glennpratt joined | 17:22 |
| ← etcetera left | 17:24 |
| → alberto56 joined | 17:24 |
| → zastern joined | 17:25 |
| ← adityamenon left | 17:25 |
| ← les_sylvains left | 17:26 |
|
zastern
| Does creating a .gitignore file in a directory, that contains just *, also ignore everything in all subdirectories? | 17:26 |
| → metcalfc joined | 17:27 |
| → etcetera joined | 17:27 |
|
tigris_
| txomon|nqas: try this $ git log --format='%T %H' | grep '^$TREE_SHA1' | 17:28 |
| ← jaseemabid left | 17:29 |
| ← rgr left | 17:30 |
| ← brainbox1100 left | 17:31 |
| ← PigeonFriend left | 17:32 |
| → sorahn joined | 17:32 |
|
sorahn
| hey guys, i'm trying to add a custom function to my .gitconfig, and i'm not sure whats wrong with it. | 17:33 |
|
| https://gist.github.com/be506df5af48217094ee | 17:33 |
|
| the 'rmm' function is the new one that it's complaining about. | 17:33 |
| ← g33k left | 17:33 |
| ← anabelle left | 17:34 |
| ← gregm_ left | 17:35 |
| → Yuuhi joined | 17:35 |
| ← metcalfc left | 17:35 |
|
txomon|nqas
| tigris_, I just have the tree, is not part of a git repo itself, just the tree without the .git | 17:35 |
| → stephenjudkins joined | 17:35 |
|
milki
| so like a bunch of files | 17:35 |
|
tigris_
| sorahn: it will be that \* | 17:36 |
|
| you may need another escape on it | 17:36 |
| ← neurodrone left | 17:36 |
|
milki
| you might be able to generate an actual git tree from those files and obtain a sha that should match a git object in the repo | 17:36 |
|
sorahn
| ah! | 17:36 |
|
| that was totally it! Thanks tigris_! | 17:37 |
|
txomon|nqas
| milki, how may I do that? | 17:37 |
|
milki
| txomon|nqas: i dunno | 17:37 |
|
| o hey | 17:37 |
|
| txomon|nqas: theres a man git-mktree | 17:38 |
|
gitinfo
| txomon|nqas: the git-mktree manpage is available at http://git-scm.com/docs/git-mktree.html | 17:38 |
|
tigris_
| txomon|nqas: http://git-scm.com/book/en/Git-Internals-Git-Objects | 17:38 |
|
milki
| though..ls-tree might need blob shas too... | 17:38 |
| → Eridius_ joined | 17:38 |
|
milki
| whic means you need to make those too... | 17:38 |
|
| just toss them into a repo? | 17:38 |
|
| and get the sha | 17:39 |
| → stevedomi joined | 17:39 |
|
milki
| and see if it matches on in the original repo? | 17:39 |
|
| in your tree, git init, git add ., git commit, grab the tree sha | 17:39 |
| ← papegaaij left | 17:40 |
|
txomon|nqas
| good idea | 17:40 |
| Drarok → drarok | 17:40 |
| → whitman joined | 17:40 |
| ← SparFux left | 17:41 |
| → artem joined | 17:41 |
| ← artem left | 17:41 |
| → Maccer joined | 17:41 |
| ← stevedomin left | 17:42 |
| → shruggar joined | 17:43 |
|
sorahn
| hey tigris_ do you know of a similar command I could run to remove all branches that have been pushed to origin? | 17:43 |
|
| local branches that is. | 17:43 |
| ← stevedomi left | 17:43 |
|
milki
| oo, i made one | 17:44 |
|
| hmm | 17:44 |
|
| $GIT branch --merged master | $SED 's/\s*\///' | $GREP -v 'master$' | $XARGS -I% $GIT branch -d % | 17:44 |
|
| o | 17:44 |
|
| no... | 17:44 |
|
| thats for what was merged to master | 17:44 |
|
| uh | 17:44 |
|
| wrong repo | 17:44 |
|
| hmm | 17:44 |
| ← artnez left | 17:44 |
| ← rmr left | 17:44 |
|
milki
| hm..., i guess in these, i assumed whatever was in master is pushed and individual branches are not pushed | 17:45 |
|
| so nevermind -.- | 17:45 |
|
txomon|nqas
| ... git-diff-tree would do something in my case? | 17:45 |
| → diegoviola joined | 17:45 |
| → luxurymode joined | 17:45 |
| → Bass10 joined | 17:46 |
| → Moussekateer joined | 17:46 |
| ← thiago left | 17:46 |
|
| txomon|nqas has to go home (19:48 at work) | 17:46 |
| → thiago_ joined | 17:46 |
|
txomon|nqas
| bb! | 17:47 |
| ← Bass10 left | 17:47 |
| ← shruggar left | 17:47 |
|
milki
| pfft, thats not late | 17:47 |
| → zmo joined | 17:47 |
|
milki
| unless home is far | 17:47 |
|
tigris_
| can't help you on that one sorry sorahn | 17:47 |
|
zmo
| hi | 17:47 |
|
gitinfo
| zmo: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 17:47 |
| thiago_ → thiago | 17:48 |
| → Bass10 joined | 17:48 |
|
zmo
| urgh, gitinfo is frightning ! | 17:48 |
|
tigris_
| more frightening is the fact he's not even a bot | 17:48 |
|
zmo
| tigris_ - ahah :) | 17:49 |
| ← Hasbro left | 17:49 |
| → fly9_ joined | 17:49 |
| ← fly9_ left | 17:49 |
| ← fly9 left | 17:49 |
| → fly9 joined | 17:49 |
|
zmo
| ok, so I got a question: I actually want to move a few commits from master to a branch (I noticed I changed a full subtree of my code to a new API that should have been in another branch), I know for sure those commits do not interfere with the other commits (starting from the moment I did the mistake) | 17:50 |
|
tigris_
| man git-cherry-pick | 17:50 |
|
gitinfo
| the git-cherry-pick manpage is available at http://git-scm.com/docs/git-cherry-pick.html | 17:50 |
| → metcalfc joined | 17:51 |
|
zmo
| so basically, I'd like to have something like git rebase -i %mycommit%~10 ; remove the cherry picked commits ; generate a new commit with the difference between origin/master and my local master | 17:51 |
| → x3ro joined | 17:51 |
| ← giallu left | 17:51 |
|
SethRobertson
| You want your local master to look exactly like origin/master does? You can do that several ways. !fixup describes several of them | 17:52 |
|
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! | 17:52 |
| ← tigris_ left | 17:52 |
| gitinfo set mode: +v | 17:53 |
|
zmo
| SethRobertson - I want my orinig/master look like my local master, after I've removed those erroneous commits | 17:53 |
|
revagomes
| I'm using submodules on my project and I'm wondering to know why sometimes there is the 'modified: path/to/the/submodule (new commits)' message and I need to commit this on the main repo... | 17:53 |
|
x3ro
| Hi everyone… I'm having serious trouble with git-svn and I'd like to know if there is _any_ way to at least what the heck is happening, if anything, because "git svn fetch" and "git svn rebase" just get stuck without doing anything most of the time :'( | 17:53 |
|
SethRobertson
| zmo: Ah, well step one is to fix up your local branch (and the link I sent will tell you how) and then you can either merge that into upstream or you can simply reset upstream to that location | 17:54 |
|
| x3ro, strace, tcpdump, and `GIT_TRACE=1 git svn command` are all good first steps | 17:54 |
|
| revagomes: !submodules_changes | 17:55 |
| → shruggar joined | 17:55 |
|
SethRobertson
| !submodule_change | 17:55 |
|
revagomes
| Is this the normal workflow when using submodules? | 17:55 |
|
gitinfo
| In order to change a submodule you must go into the submodule repository, check it out to the appropriate branch, make the needed change (possibly involving git pull), commit the change, cd .. (out of the submodule), git commit -m "Updated submodule" submodulepath | 17:55 |
|
x3ro
| SethRobertson: Thank you so much. That way I can at least see if it does anything at all :) | 17:55 |
|
zmo
| SethRobertson - ok (just before going to RTFM your link), I've already done a 'git rebase -i ...' where I actually removed the commits, and new local HEAD look the way I want... but git status tells me : "Your branch and 'origin/master' have diverged, and have 94 and 102 different commit(s) each, respectively" do you think I shall revert to HEAD my local index, or I can do what I want from where I am ? | 17:56 |
| ← koltroll left | 17:56 |
| ← Ivoz left | 17:56 |
| → nioncode joined | 17:56 |
| → kevwil joined | 17:57 |
|
SethRobertson
| zmo: You have several choices. You can blow away all other changes that are on upstream (!rewriting_public_history) or you can update your local branch to include all work other people have done. | 17:57 |
| ← TalleyHo left | 17:57 |
|
SethRobertson
| !rewrit? | 17:57 |
|
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) | 17:57 |
|
SethRobertson
| odd | 17:57 |
|
revagomes
| SethRobertson, Tks! I thought that the submodule workflow was like almost invisible on the main repo... | 17:57 |
| ← pfFredd left | 17:57 |
|
revagomes
| SethRobertson++ | 17:58 |
|
SethRobertson
| revagomes: You might want to consider !gitslave for something more invisible. submodules is a pain | 17:58 |
|
gitinfo
| revagomes: gitslave (http://gitslave.sf.net) is useful to add subsidiary git repositories to a git superproject when you control and develop on the subprojects at more or less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc. all repositories at the same time. | 17:58 |
| → thirdknife_ joined | 17:58 |
| ← keyzs left | 17:58 |
| → les_sylvains joined | 17:58 |
| → sirdancealot joined | 17:58 |
|
zmo
| SethRobertson - ah, ok, I never intended to rewrite history, so it seems that as sexy "git rebase -i" looked like, it was a terrible option | 17:58 |
|
| ok, I'm reverting to origin/master and RTFMing your link | 17:59 |
|
| thank you for your insights | 17:59 |
| ← caddoo left | 17:59 |
| → robotmay joined | 18:00 |
| ← bfgun left | 18:00 |
| → bfig joined | 18:00 |
|
bfig
| Hello, i just made a fast forward merge and broke everything, how can i go back to the master before the ff merge? | 18:00 |
| ← EyesIsMine left | 18:01 |
| → goshawk joined | 18:01 |
| → fusion271 joined | 18:01 |
|
canton7
| bfig, git reflog master will give you the sha1 of the commit which master was at before the merge | 18:02 |
| → comps joined | 18:02 |
| ← trungqtran left | 18:02 |
| ← prudnikov left | 18:03 |
| ← skyf_ left | 18:04 |
| ← skyf left | 18:04 |
| ← v0n left | 18:04 |
| ← RaceCondition left | 18:05 |
| → trungqtran joined | 18:05 |
| → tjadc joined | 18:05 |
| → irqq joined | 18:05 |
| → opus joined | 18:06 |
| → astruasdh joined | 18:06 |
| → cakehero joined | 18:07 |
| ← nioncode left | 18:08 |
| → trollboy joined | 18:08 |
|
trollboy
| Howdy. I've got a head repo, and I've pushed several files for next rollout, however I just pushed a file that needs to roll for emergency rollout. How can I update just that file and leave everything else in repo? | 18:09 |
|
| I tried "git pull ./path/to/my/file" and "git checkout ./path/to/my/file" with no love | 18:10 |
| ← fusion271 left | 18:10 |
|
revagomes
| SethRobertson, Nice! Tks. ;] | 18:11 |
|
SethRobertson
| By "pushed" do you mean `git push`? | 18:11 |
| infogulch|afk → infogulch | 18:12 |
| → HAL_9001 joined | 18:12 |
| ← HAL_9001 left | 18:12 |
| → HAL_9001 joined | 18:12 |
| → RaceCondition joined | 18:12 |
| ← RaceCondition left | 18:12 |
|
SethRobertson
| trollboy: If I understand you (and I may not), you want to `git fetch` to get the change and then `git checkout origin/master -- path/to/file` to get the file committed upstream | 18:12 |
| ← Samual left | 18:12 |
| ← metcalfc left | 18:12 |
| → steelwil joined | 18:13 |
|
bfig
| canton7, great, now how do i remove the last commit? | 18:13 |
|
SethRobertson
| bfig: !fixup | 18:14 |
|
gitinfo
| bfig: 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! | 18:14 |
| → Sigma joined | 18:14 |
|
trollboy
| and git fetch won't touch any other files? | 18:14 |
| ← monsieurlu left | 18:15 |
| ← ladder4 left | 18:15 |
|
SethRobertson
| It only modifies the remote tracking branches (!tracking) | 18:15 |
|
| !tracking | 18:15 |
|
gitinfo
| [!tracking_branches] Remote tracking branches are read-only copies of your last information on what branches the remote last held. The "origin's master" branch is stored as the remote tracking branch origin/master. Local tracking branches are your writable copies of the remote tracking branch. http://www.gitguys.com/topics/tracking-branches-and-remote-tracking-branches/ | 18:15 |
|
SethRobertson
| Nothing in the working directory or the index | 18:15 |
| → monsieurlu joined | 18:15 |
| → KWhat_Work joined | 18:15 |
| → peterpan joined | 18:16 |
| → nioncode joined | 18:16 |
| ← pheaver left | 18:17 |
| → v0n joined | 18:17 |
|
trollboy
| that worked like a champ! Thanks! | 18:17 |
| ← chimay left | 18:18 |
| → pantsman joined | 18:19 |
| ← pantsman left | 18:19 |
| → pantsman joined | 18:19 |
| → converge joined | 18:21 |
| → RaceCondition joined | 18:21 |
| → imachuchu joined | 18:21 |
| ← RaceCondition left | 18:22 |
| → jaseemabid joined | 18:23 |
| → ology joined | 18:23 |
| → _md joined | 18:24 |
| → rgr joined | 18:25 |
| → metcalfc joined | 18:26 |
| ← _md left | 18:26 |
| → Stego joined | 18:26 |
| ← sebastorama left | 18:28 |
| ← jaseemabid left | 18:28 |
| → Hasbro joined | 18:28 |
| ← Fandekasp left | 18:31 |
| → RaceCondition joined | 18:31 |
| ← Stego left | 18:32 |
| → mwrosen joined | 18:32 |
| ← Hasbro left | 18:33 |
| → Hasbro joined | 18:33 |
| ← mwrosen left | 18:33 |
| → aldodelgado joined | 18:33 |
| ← shruggar left | 18:33 |
| → Guest91045 joined | 18:34 |
| ← monsieurlu left | 18:34 |
| → chrisgeorge joined | 18:34 |
| ← chrisgeorge left | 18:34 |
| → chrisgeorge joined | 18:34 |
| ← mischat left | 18:35 |
| ← Milossh left | 18:35 |
| → monsieurlu joined | 18:35 |
| ← nightcrawler786 left | 18:35 |
| ← Eridius_ left | 18:35 |
| → nightcrawler786 joined | 18:36 |
| ← am1ja2VuemllCg left | 18:36 |
| → stevedomin joined | 18:36 |
| → artnez joined | 18:37 |
| HAL_9001 → Samual | 18:38 |
| ← anish[1] left | 18:38 |
| → Protux joined | 18:39 |
| → am1ja2VuemllCg joined | 18:40 |
| → Eridius_ joined | 18:40 |
| → jaseemabid joined | 18:40 |
| → atrigent joined | 18:40 |
| ← ehsan left | 18:40 |
| → ehsan joined | 18:40 |
| ← jason237 left | 18:40 |
| ← FasTTo left | 18:40 |
|
atrigent
| are there any patch queue things/features in git which would allow you to freely move diff chunks between different patches, between a patch and the working tree, etc, kind of like what git add -p can do? | 18:41 |
| → lacrymology joined | 18:41 |
|
atrigent
| sorry if this is a very basic question, I don't know much about patch queues | 18:41 |
|
PerlJam
| atrigent: I'm not sure what you're asking. | 18:44 |
|
SethRobertson
| atrigent: Why not apply the patch and then use `git add` and `git reset` -p? | 18:44 |
| ← Guest91045 left | 18:44 |
|
PerlJam
| what do you mean "between different patches"? | 18:44 |
|
| atrigent: you have patch files that you want to apply partially? | 18:45 |
|
atrigent
| like say I put a change in the wrong patch | 18:45 |
|
SethRobertson
| patch? Do you mean commit? | 18:45 |
|
PerlJam
| atrigent: when you say "patch" I think you really mean "commit" | 18:45 |
|
atrigent
| well yes, it would depend on the terminology of the patch queue software... | 18:46 |
|
| I guess the ones that interface directly with git probably do use commits | 18:46 |
| ← steelwil left | 18:46 |
| ← tjholowaychuk left | 18:46 |
|
SethRobertson
| atrigent: Step one, turn the patches into git commits. Step two, use !sausage to make each commit look the way you want. Step three, use the various git commands to extract the new patches | 18:47 |
|
gitinfo
| atrigent: [!sausage_making] Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect | 18:47 |
|
SethRobertson
| !perfect | 18:47 |
|
gitinfo
| [!postproduction] So, you want to make your commit history look pretty before pushing? http://sethrobertson.github.com/GitPostProduction talks you through how to use 'rebase -i' to do this. | 18:47 |
|
PerlJam
| atrigent: git doesn't manage "patches", so you're looking for some external tool that uses git and manages patches to your repo? | 18:47 |
|
atrigent
| I know that git itself does not deal in "patches" | 18:47 |
|
| but, for example, StGit is described in terms of patches | 18:48 |
|
SethRobertson
| You can use the StGit workflow if you want, or the one I described | 18:48 |
|
bremner
| well, there is e.g. git-format-patch and git-am which are very much about patches | 18:48 |
| ← nioncode left | 18:49 |
| → archdori joined | 18:50 |
| ← am1ja2VuemllCg left | 18:50 |
|
PerlJam
| bremner: sure, but that's more like import/export than "manage" | 18:50 |
| → mrOrangeChuck joined | 18:50 |
| ← Zespre_ left | 18:51 |
| → jason237 joined | 18:51 |
| ← franck__ left | 18:51 |
| → pppaul joined | 18:51 |
| ← pppaul left | 18:51 |
| → pppaul joined | 18:52 |
| ← nitrix left | 18:52 |
| ← pppaul left | 18:52 |
| → pppaul joined | 18:52 |
| ← pppaul left | 18:52 |
| → Zespre joined | 18:52 |
| → pppaul joined | 18:53 |
| ← pppaul left | 18:53 |
| ← KWhat_Work left | 18:53 |
| ← jaseemabid left | 18:53 |
| → pppaul joined | 18:53 |
| ← pppaul left | 18:53 |
| ← doomMonkey left | 18:54 |
| → pppaul joined | 18:54 |
| ← pppaul left | 18:54 |
|
goshawk
| how can i show a file from another revision on emacs with git.el ? | 18:54 |
| → pppaul joined | 18:55 |
| ← pppaul left | 18:55 |
| → pppaul joined | 18:55 |
| ← pppaul left | 18:55 |
| → jaypipes joined | 18:55 |
| → pppaul joined | 18:56 |
| ← pppaul left | 18:56 |
|
jaypipes
| anybody a submodule expert that might be able to explain wtf git add isn't working here? http://paste.openstack.org/show/20719/ | 18:56 |
| → pppaul joined | 18:56 |
| ← pppaul left | 18:56 |
| → mischat joined | 18:57 |
| → pppaul joined | 18:57 |
| ← pppaul left | 18:57 |
|
SethRobertson
| It says "changes to be committed". What did you expect? | 18:57 |
|
jaypipes
| SethRobertson: it didn't add cookbooks/jenkins when I git add'd it. | 18:57 |
| → pppaul joined | 18:57 |
| ← pppaul left | 18:57 |
|
atrigent
| SethRobertson: I am aware of interactive rebasing, but I'm looking for a different workflow than that | 18:58 |
| → pppaul joined | 18:58 |
| ← pppaul left | 18:58 |
|
atrigent
| I'm thinking something like "git move <some identifier of a patch or commit> <some other identifier>" | 18:58 |
|
jaypipes
| SethRobertson: per tutorials like https://git.wiki.kernel.org/index.php/GitSubmoduleTutorial, doing a git submodule add should add the submodule to the local index... but I'm not seeing that happen for some reason. :( | 18:58 |
|
atrigent
| and then it would run the interactive adder between those two commits | 18:58 |
| → pppaul joined | 18:58 |
| ← pppaul left | 18:58 |
|
atrigent
| and then do all of the rebasing stuff itself | 18:59 |
|
SethRobertson
| jaypipes: Did cookbooks/jenkins already appear there before the git-submodule-add? | 18:59 |
|
jaypipes
| SethRobertson: no. | 18:59 |
| → pppaul joined | 18:59 |
| ← pppaul left | 18:59 |
|
SethRobertson
| Was .gitmodules updated? | 18:59 |
| ← aldodelgado left | 18:59 |
|
SethRobertson
| Ah, yes it was | 18:59 |
| → bakineggs joined | 18:59 |
| → pppaul joined | 19:00 |
| ← pppaul left | 19:00 |
| → jaclinuxhelp joined | 19:00 |
|
SethRobertson
| Try `git show HEAD cookbooks/jenkins` to see if it was committed? | 19:00 |
|
jaypipes
| SethRobertson: one sec | 19:00 |
|
SethRobertson
| Also, what was the .gitmodules change | 19:00 |
| → pppaul joined | 19:00 |
| ← pppaul left | 19:00 |
|
jaclinuxhelp
| we have a branch named v11.x.x, which has become the "defacto" master branch | 19:00 |
|
jaypipes
| SethRobertson: nope: | 19:00 |
|
| jpipes@uberbox:~/repos/att-cloud/chef-repo$ git show HEAD cookbooks/jenkins | 19:00 |
|
| jpipes@uberbox:~/repos/att-cloud/chef-repo$ | 19:00 |
|
jaclinuxhelp
| can i rename that v11.x.x to master ? | 19:01 |
| → pppaul joined | 19:01 |
| ← pppaul left | 19:01 |
|
jaclinuxhelp
| i mean, delete the master, then renaming v11.x.x as master | 19:01 |
|
| just like that ? | 19:01 |
| ← _Vi left | 19:01 |
| ← tjadc left | 19:01 |
|
jaypipes
| SethRobertson: and doing a git diff shows nothing at all, even though git status shows the .gitmodules has changed :( | 19:01 |
| → pppaul joined | 19:01 |
| ← pppaul left | 19:01 |
|
SethRobertson
| jaypipes: Also also check to see if that path is .gitignored (by removing the directory and the .gitmodules changes and then making a directory in that spot and then putting a file in there and running `git status`) | 19:01 |
|
jaypipes
| SegFaultAX|work2: http://paste.openstack.org/show/20721/ | 19:01 |
|
| oops, sorry SegFaultAX|work2 | 19:02 |
|
| SethRobertson: http://paste.openstack.org/show/20721/ | 19:02 |
| → pppaul joined | 19:02 |
| ← pppaul left | 19:02 |
|
SethRobertson
| jaclinuxhelp: Are you talking about branches? | 19:02 |
|
jaypipes
| SethRobertson: yeah, already checked the .gitignore. Nothing in there. | 19:02 |
| → pppaul joined | 19:02 |
| ← pppaul left | 19:02 |
|
jaclinuxhelp
| SethRobertson: yeah | 19:02 |
|
SethRobertson
| jaypipes: do a `git reset --hard` and rm the directory and try the test I suggested, then delete the dir and try again | 19:02 |
| → teotwaki joined | 19:02 |
| → pppaul joined | 19:03 |
| ← pppaul left | 19:03 |
|
SethRobertson
| jaclinuxhelp: then yes, yes you can | 19:03 |
|
| jaclinuxhelp: man git-branch | 19:03 |
|
gitinfo
| jaclinuxhelp: the git-branch manpage is available at http://git-scm.com/docs/git-branch.html | 19:03 |
| ← rgr left | 19:03 |
| → pppaul joined | 19:03 |
| ← pppaul left | 19:03 |
| → pppaul joined | 19:04 |
| ← pppaul left | 19:04 |
| → pppaul joined | 19:04 |
| ← pppaul left | 19:04 |
| → pheaver joined | 19:05 |
| → pppaul joined | 19:05 |
| ← pppaul left | 19:05 |
| → pppaul joined | 19:05 |
| ← pppaul left | 19:06 |
| → pppaul joined | 19:06 |
| ← pppaul left | 19:06 |
| ← macBigRig left | 19:06 |
| → pppaul joined | 19:07 |
|
jaypipes
| SethRobertson: http://paste.openstack.org/show/20722/ | 19:07 |
| ← hwrd|work left | 19:07 |
| ← rgsteele left | 19:07 |
| → am1ja2VuemllCg joined | 19:07 |
| ← luxurymode left | 19:08 |
| → nitrix joined | 19:08 |
|
SethRobertson
| jaypipes: Odd. You have exhausted the limits of my knowledge. Can I suggest !gitslave instead? | 19:08 |
|
gitinfo
| jaypipes: gitslave (http://gitslave.sf.net) is useful to add subsidiary git repositories to a git superproject when you control and develop on the subprojects at more or less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc. all repositories at the same time. | 19:08 |
| ← nitrix left | 19:09 |
|
jaypipes
| SethRobertson: sure, but I don't actually work on the jenkins cookbook :) that's why I wanted to just use a submoduile | 19:09 |
| → jjido joined | 19:09 |
| → ChristopheT joined | 19:09 |
| ← bakineggs left | 19:10 |
| ← jjido left | 19:10 |
| → alrs joined | 19:10 |
| ← dougsland left | 19:10 |
| → eletuchy joined | 19:10 |
| → jjido joined | 19:10 |
| → dougsland joined | 19:11 |
| ← stevedomin left | 19:11 |
| ← antix left | 19:13 |
| ← noisebleed left | 19:13 |
| ← Hasbro left | 19:14 |
| ← jaclinuxhelp left | 19:14 |
| → hidekin joined | 19:14 |
| → doomMonkey joined | 19:15 |
| ← mritz left | 19:15 |
| ← stephenjudkins left | 19:15 |
| ← mischat left | 19:16 |
|
jaypipes
| SethRobertson: so... I had my colleague execute the exact same commands (http://paste.openstack.org/show/20723/) and his worked just fine. So looks like my git is just broken. :( | 19:16 |
| → jaseemabid joined | 19:16 |
| → Sonderblade joined | 19:16 |
|
jaypipes
| SethRobertson: is there any way to get some verbose/debug output from the git submodule add command? | 19:16 |
|
SethRobertson
| `GIT_TRACE=1 git submodule add` might help, but will probably be too high level. Try upgrading your git. | 19:17 |
| → pfFredd joined | 19:18 |
|
jaypipes
| SethRobertson: cheers, will do. thx for your help mate | 19:18 |
| ← bizhanMona left | 19:20 |
| ← jjido left | 19:21 |
| → bizhanMona joined | 19:22 |
| ← converge left | 19:22 |
| → jjido joined | 19:23 |
| → rohan32 joined | 19:23 |
| ← ehsan left | 19:24 |
| ← LittleFool left | 19:26 |
| → mritz joined | 19:27 |
| ← beneggett left | 19:27 |
| → LittleFool joined | 19:27 |
| ← opus left | 19:28 |
| → beneggett joined | 19:28 |
| → specialGuest joined | 19:28 |
| ← eletuchy left | 19:28 |
| → hwrd|work joined | 19:28 |
| → eletuchy joined | 19:29 |
| ← specialGuest left | 19:29 |
| → specialGuest joined | 19:29 |
| ← nizeguy left | 19:29 |
| ← bartek left | 19:30 |
| → bartek joined | 19:31 |
| ← kevwil left | 19:32 |
| → athit joined | 19:33 |
| → kevwil joined | 19:33 |
| → stephenjudkins joined | 19:33 |
| ← Anders_J left | 19:34 |
| → anabelle joined | 19:35 |
| ← jim left | 19:38 |
| ← rath_ left | 19:38 |
| → adityamenon joined | 19:38 |
| ← hidekin left | 19:40 |
| ← Beej left | 19:40 |
| → dunpeal joined | 19:40 |
|
dunpeal
| Yo. Is there a way to just get a script-friendly list of branches? | 19:41 |
|
| I just want the names, one per line, no additional decorations. | 19:41 |
|
_ikke_
| dunpeal: git branch -a? | 19:41 |
| ← cakehero left | 19:41 |
|
dunpeal
| _ikke_: colors, and marks the current one. | 19:41 |
|
| I actually don't need the -a, but I don't want the extra decorations. | 19:42 |
|
_ikke_
| dunpeal: add --no-color to get rid of the colors | 19:43 |
| → tjadc joined | 19:43 |
| → rgr joined | 19:44 |
| → cirenyc joined | 19:45 |
|
_ikke_
| dunpeal: Another option would be git for-each-ref refs/heads | awk '{print $3}' | 19:45 |
|
dunpeal
| _ikke_: thanks, my key issues is to get rid of prefixes | 19:45 |
| ← bartek left | 19:45 |
|
_ikke_
| prefixes? | 19:45 |
|
| refs/heads you mean? | 19:45 |
|
cirenyc
| I stashed changes that include a file I still wanted. Before popping the stash, I removed an unwanted copy of a file w/ git reset --hard. I thought popping the stash would replace that file, but I'm getting a "deleted by us" conflict. Is there a way to get it back? | 19:46 |
|
SirCmpwn
| I have a branch that is not an orphan | 19:46 |
|
| I want to make it an orphan | 19:46 |
| → nitrix joined | 19:49 |
|
dunpeal
| _ikke_: nah, I mean the whitespace and * before branch names that `git branch` shows, but I guess for-each-ref is exactly what I need | 19:49 |
| → eletuchy_ joined | 19:49 |
| ← archdori left | 19:49 |
| → Ysgard joined | 19:49 |
| → YoMomma joined | 19:50 |
| ← paul_and1ew left | 19:50 |
|
dunpeal
| btw, is there a `git push --branches` like there is `git push --tags`? | 19:50 |
| ← alrs left | 19:50 |
|
_ikke_
| dunpeal: No, git pushed branches by default | 19:50 |
| ← eletuchy left | 19:51 |
| ← nicoulaj left | 19:51 |
|
canton7
| dunpeal, see push.default in man git-config | 19:52 |
|
gitinfo
| dunpeal: the git-config manpage is available at http://git-scm.com/docs/git-config.html | 19:52 |
| → bartek joined | 19:52 |
| banghouse → banghouseAFK | 19:53 |
| ← Ysgard left | 19:53 |
|
dunpeal
| thanks, apparently in newer git you may need to do a `push --all` to actually push all branches to the remote. | 19:53 |
|
_ikke_
| dunpeal: See the config option canton7 linked to | 19:54 |
|
canton7
| yeah, that's documented there too | 19:54 |
| → Element9 joined | 19:54 |
| ← longbeach left | 19:54 |
| → stevedomin joined | 19:55 |
|
dunpeal
| ok, thanks. | 19:56 |
| ← cirenyc left | 19:56 |
| → srayner joined | 19:57 |
| → ehsan joined | 19:57 |
| ← Samual left | 19:57 |
| → j416 joined | 19:57 |
| ← bartman` left | 19:58 |
| → Samual joined | 19:58 |
| ← ehsan left | 19:58 |
| ← maestrojed left | 19:59 |
| ← gigamonkey left | 19:59 |
| ← crashsky left | 20:00 |
| → bartman` joined | 20:00 |
| → gigamonkey joined | 20:01 |
| ← neurodrone_ left | 20:01 |
| ← les_sylvains left | 20:02 |
| ← stevedomin left | 20:02 |
| ← iocor left | 20:03 |
| → _Vi joined | 20:03 |
| → skywalker joined | 20:03 |
| ← jjido left | 20:03 |
| ← am1ja2VuemllCg left | 20:03 |
| skywalker → Guest84571 | 20:03 |
| ← Guest97411 left | 20:05 |
| → hidekin1 joined | 20:05 |
| → ringlej joined | 20:05 |
| ← thirdknife_ left | 20:06 |
| ← arietis left | 20:06 |
| ← anabelle left | 20:06 |
| → mishok13 joined | 20:06 |
| ← Poapfel left | 20:06 |
| ← sawdisk_ left | 20:07 |
| → sawdisk_ joined | 20:08 |
|
ringlej
| I had a file in my git repo that I want to remove from git tracking it. This file is an autogenerated file that is developer specific. I used 'git rm' to remove the file from all branches that was tracking the file, but now when I try to 'git checkout' a branch that previously tracked this file, it complains that the file will be removed. I want git to forget about this file (untrack it). how can I do this? | 20:08 |
| ← hidekin1 left | 20:09 |
|
Moussekateer
| untrack it by adding it to .gitignore | 20:09 |
| ← jaeckel left | 20:09 |
|
_ikke_
| Moussekateer: That won't untrack it | 20:10 |
| ← proradii left | 20:10 |
| ← cebor left | 20:10 |
|
Moussekateer
| oh? Is that because it's already commited? | 20:11 |
|
ringlej
| Moussekateer: adding the file to .gitignore seemed to accomplish it. _ikke_, why wont it? | 20:11 |
| → jjido joined | 20:11 |
| → ehsan joined | 20:11 |
|
_ikke_
| ringlej: adding tracked files to .gitignore won't make them untracked | 20:11 |
| → Ysgard joined | 20:12 |
|
_ikke_
| The only thing it does is preventing git status from reporting a file as being untracked | 20:12 |
|
ringlej
| when I did a 'git checkout branch' it no longer complained that it would delete that file | 20:12 |
|
Bombe
| It also prevents you from staging modifications to that file. | 20:12 |
|
_ikke_
| Bombe: well, it warns you | 20:12 |
|
| Bombe: You can still add it anyway if you want | 20:13 |
| → gdelfino joined | 20:13 |
|
ringlej
| _ikke_: so what would your solution be? | 20:14 |
| → paul_andrew joined | 20:14 |
|
Moussekateer
| Is there any way to change the behaviour of git diff on a binary file that's been deleted? I don't want it to through an error, but a helpful message instead | 20:14 |
|
_ikke_
| ringlej: copy the file out, checkout -f and then fix the branch | 20:14 |
| → iocor joined | 20:14 |
|
ringlej
| _ikke_: and by "fix the branch", what do you mean? I already did 'git rm file' | 20:15 |
|
| on the offending branch | 20:15 |
| ← maqr left | 20:16 |
| → hidekin1 joined | 20:16 |
| → nioncode_ joined | 20:18 |
| → anabelle joined | 20:18 |
| → am1ja2VuemllCg joined | 20:19 |
| ← x3ro left | 20:20 |
| → Poapfel joined | 20:20 |
| → jaeckel joined | 20:21 |
| ← jceb left | 20:22 |
| → cirenyc joined | 20:23 |
| → mwrosen joined | 20:23 |
|
jaypipes
| SethRobertson: FYI, in case you're interested, blowing away my local repo and starting over with a fresh one seems to have fixed everything... weird. | 20:23 |
| ← rgr left | 20:25 |
| ← jjido left | 20:26 |
| → maqr joined | 20:28 |
| → axl__ joined | 20:30 |
| → Chillance joined | 20:31 |
| ← cirenyc left | 20:32 |
| → stevedomin joined | 20:32 |
| ← axl_ left | 20:33 |
| axl__ → axl_ | 20:33 |
| ← Will| left | 20:35 |
| ← _iron left | 20:35 |
| ← athit left | 20:35 |
| → luxurymode joined | 20:37 |
| → aidz joined | 20:37 |
| ← aidz left | 20:38 |
| → Destos joined | 20:39 |
| ← stevedomin left | 20:39 |
| → mritz_ joined | 20:39 |
| ← duckxx left | 20:40 |
| → duckxx joined | 20:40 |
| → converge joined | 20:41 |
| ← converge left | 20:41 |
| ← TheJH left | 20:41 |
| → opus joined | 20:44 |
| ← eletuchy_ left | 20:44 |
| ← AlbireoX`Laptop left | 20:45 |
| ← am1ja2VuemllCg left | 20:45 |
| → eletuchy joined | 20:45 |
| → eletuchy_ joined | 20:46 |
| → codeFiend joined | 20:47 |
| ← mritz_ left | 20:47 |
| → am1ja2VuemllCg joined | 20:48 |
| ← adityamenon left | 20:48 |
| ← tplaner_ left | 20:48 |
| ← stepnem left | 20:49 |
| ← eletuchy left | 20:50 |
| ← Zenopus left | 20:50 |
| ← monsieurlu left | 20:50 |
| ← Sigma left | 20:51 |
| ← starlays left | 20:52 |
| → AdrienBrault joined | 20:52 |
| ← hegge left | 20:54 |
| ← fisted left | 20:54 |
| → mritz_ joined | 20:55 |
| → fisted joined | 20:56 |
| → psoo joined | 20:58 |
| ← Bass10 left | 20:58 |
| → cakehero joined | 21:00 |
| ← chrisgeorge left | 21:00 |
| ← cannonball left | 21:00 |
| → Christop` joined | 21:01 |
| ← ChristopheT left | 21:01 |
| ← torjus_ left | 21:01 |
| → marced joined | 21:01 |
| ← geekbri left | 21:02 |
| ← _Vi left | 21:02 |
| → monsieurlu joined | 21:02 |
| → _Vi joined | 21:03 |
| ← nioncode_ left | 21:03 |
| → jagster` joined | 21:03 |
| ← freeed left | 21:04 |
| → nioncode_ joined | 21:04 |
| → chrisgeorge joined | 21:04 |
| ← Guest84571 left | 21:04 |
| → Zenopus joined | 21:04 |
|
jagster`
| can anyone recommend any graphical clients for git on windows? | 21:05 |
| → skywalker joined | 21:05 |
|
_ikke_
| GitExtensions | 21:05 |
| skywalker → Guest15780 | 21:05 |
| → gregm_ joined | 21:06 |
| ← kevwil left | 21:06 |
| → hobodave joined | 21:06 |
| → heyanabelle joined | 21:06 |
|
haarg
| might look at the github app. it works on repos that aren't hosted on github too. | 21:06 |
| → MB_wrk joined | 21:06 |
| ← rwestphal left | 21:07 |
| ← alberto56 left | 21:07 |
| → kerrick joined | 21:07 |
|
MB_wrk
| How do I undo the last commit and then merge the current uncommitted changes back in? | 21:07 |
| ← Zenmaker_ left | 21:08 |
| → am1ja2Vu_ joined | 21:08 |
| → Zenmaker_ joined | 21:08 |
|
SethRobertson
| MB_wrk: Stash or commit your current changes, and then !fixup | 21:08 |
|
gitinfo
| MB_wrk: 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! | 21:08 |
| → _adnasa_ joined | 21:09 |
| ← _adnasa_ left | 21:09 |
|
MB_wrk
| Thanks SethRobertson | 21:09 |
| ← slakmagik left | 21:10 |
| ← am1ja2VuemllCg left | 21:10 |
| am1ja2Vu_ → am1ja2VuemllCg | 21:10 |
| → kevwil joined | 21:10 |
| → slakmagik joined | 21:10 |
| ← slakmagik left | 21:10 |
| → slakmagik joined | 21:10 |
| → AlbireoX joined | 21:11 |
| → stevedomin joined | 21:11 |
| ← Christop` left | 21:12 |
| ← hobodave left | 21:12 |
| → alberto56 joined | 21:12 |
| ← kerrick left | 21:13 |
| → _adnasa_ joined | 21:14 |
| ← _adnasa_ left | 21:14 |
| ← irqq left | 21:15 |
| → kerrick joined | 21:15 |
| → _adnasa_ joined | 21:15 |
| ← _adnasa_ left | 21:15 |
| ← slakmagik left | 21:15 |
| → mischat joined | 21:15 |
| → Guest16975 joined | 21:15 |
| ← Guest16975 left | 21:15 |
| ← martinjlowm left | 21:16 |
| ← eletuchy_ left | 21:17 |
| ← stevedomin left | 21:17 |
| ← opus left | 21:19 |
| → Vile joined | 21:19 |
| ← mishok13 left | 21:20 |
|
MB_wrk
| thanks again SethRobertson. that's a great site. | 21:20 |
| ← luxurymode left | 21:20 |
| ← nioncode_ left | 21:20 |
|
MB_wrk
| And..it's yours. So great work! | 21:20 |
| → slakmagik joined | 21:20 |
|
milki
| heh | 21:20 |
| → Fandekasp joined | 21:20 |
| ← maletor left | 21:21 |
| ← mischat left | 21:21 |
| ← alexisabril left | 21:22 |
| → cirenyc joined | 21:23 |
| ← cirenyc left | 21:23 |
| → maletor joined | 21:23 |
| ← srayner left | 21:26 |
| ← hoschi left | 21:27 |
| → john_anderson joined | 21:27 |
| ← hellopat left | 21:28 |
| ← ShadeTornado left | 21:28 |
| ← kortti left | 21:29 |
| ← axl_ left | 21:29 |
| ← mritz_ left | 21:30 |
| → axl_ joined | 21:30 |
| → Foxandxss joined | 21:30 |
| ← afuentes left | 21:30 |
|
Foxandxss
| hello | 21:30 |
|
gitinfo
| Foxandxss: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 21:30 |
| ← Guest15780 left | 21:30 |
| → mritz_ joined | 21:32 |
| ← stephenjudkins left | 21:32 |
|
Foxandxss
| Im kinda noob with git and well, I use it with a rails project and I have a question: In my server I cloned my github repo and made changes to 2-3 files (you know, config that I can share in github :P), what's the correct way to make updates to that project using git? | 21:32 |
| pdelvo → pdelvo|afk | 21:32 |
|
Foxandxss
| I tried a git pull but it cries because I modified some files | 21:32 |
|
_ikke_
| Foxandxss: You first have to commit those files | 21:32 |
|
Foxandxss
| locally? | 21:32 |
| → opus joined | 21:33 |
|
Foxandxss
| git add files && git commit ? | 21:33 |
| banghouseAFK → banghouse | 21:33 |
| ← opus left | 21:33 |
| → opus joined | 21:34 |
| ← maletor left | 21:34 |
| ← gfontenot left | 21:34 |
|
_ikke_
| yes | 21:34 |
| ← j416 left | 21:34 |
| → fly9_ joined | 21:34 |
| ← fly9_ left | 21:35 |
| ← kevwil left | 21:35 |
| ← fly9 left | 21:35 |
|
_ikke_
| But it's not adviced to commit changes to config files to git | 21:35 |
| → fly9_ joined | 21:35 |
| → obiwahn joined | 21:35 |
|
canton7
| !config | 21:35 |
|
gitinfo
| [!configfiles] It is recommended to store local configuration data in a file which is not tracked by git, but certain deployment scenarios(such as Heroku) may require otherwise. See https://gist.github.com/1423106 for some ideas | 21:35 |
|
obiwahn
| hey i look for a projet to use git in a more centralized manner | 21:35 |
| ← fly9_ left | 21:35 |
| → opus__ joined | 21:36 |
| ← opus__ left | 21:36 |
|
obiwahn
| i think i heard of a project but forgot the name | 21:36 |
|
Foxandxss
| let's me see | 21:36 |
|
thiago
| obiwahn: are you looking for a project that uses Git in a centralised manner? | 21:36 |
|
| obiwahn: or a project that will help you do that? | 21:36 |
|
Foxandxss
| I commited that files because the app cannot run without them | 21:36 |
| → fly9 joined | 21:36 |
|
milki
| and your app lives in a git repo? | 21:36 |
|
obiwahn
| a project that will help me to do that | 21:36 |
|
milki
| obiwahn: !gitolite | 21:37 |
|
gitinfo
| obiwahn: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html | 21:37 |
|
milki
| and/or github | 21:37 |
|
| and/or gitorious | 21:37 |
|
obiwahn
| i am not the gitolite page:) | 21:37 |
|
| i think it was something else | 21:37 |
| ← bartek left | 21:37 |
|
milki
| Foxandxss: !deploy | 21:38 |
|
gitinfo
| Foxandxss: Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 21:38 |
| → maletor joined | 21:38 |
|
Foxandxss
| no is not, capistrano is, I have to learn it, for sure :P | 21:38 |
|
milki
| indeed | 21:39 |
| → pantsman- joined | 21:40 |
| ← pantsman left | 21:42 |
| ← whitman left | 21:43 |
| ← nwest left | 21:44 |
| → noone4 joined | 21:44 |
| → rubious joined | 21:46 |
|
obiwahn
| http://code.google.com/p/gerrit/ | 21:46 |
| ← faen left | 21:47 |
|
milki
| o, thats code review | 21:48 |
| → faen joined | 21:48 |
| ← am1ja2VuemllCg left | 21:49 |
| → jasmina87SA__ joined | 21:50 |
| ← imachuchu left | 21:50 |
| ← MB_wrk left | 21:50 |
| → madewokherd joined | 21:51 |
| ← optixx left | 21:51 |
| ← hwrd|work left | 21:51 |
| → optixx joined | 21:51 |
| ← maletor left | 21:53 |
| ← mwrosen left | 21:53 |
| ← joschi left | 21:53 |
| → hwrd|work joined | 21:55 |
| → joschi joined | 21:55 |
| ← cakehero left | 21:58 |
| ← kermit left | 21:58 |
| ← mritz_ left | 21:58 |
| → eletuchy joined | 22:00 |
| → cakehero joined | 22:01 |
| → FernandoBasso joined | 22:01 |
| ← Destos left | 22:01 |
| ← babilen left | 22:01 |
| → kermit joined | 22:02 |
| ← specialGuest left | 22:02 |
| ← _Vi left | 22:02 |
| → _Vi joined | 22:03 |
|
rubious
| My push keeps getting refused due to "non fast-forward update". But I run git pull, and it tells me I'm up to date! What the eff? | 22:04 |
|
_ikke_
| rubious: Did something went wrong earlier with a pull? | 22:04 |
|
canton7
| rubious, check where your branch is being pushed to, and what's being merge din when you run 'git pull' | 22:04 |
|
rubious
| canton7: I'm running 'git pull origin master' | 22:04 |
|
canton7
| (the former: look at the output of 'git push'. the latter: look at git branch -vv) | 22:04 |
|
_ikke_
| !four | 22:05 |
|
gitinfo
| [!fetchfour] Never use the four-word version of git-fetch or git-pull (e.g. git fetch remote refspec). It always ends in tears. Yes, if you understand the implications of FETCH_HEAD it can technically be done, but really it is easier to just fetch the whole remote (or perhaps edit the fetchspec if you never want other bits). If you must, see !fetch4why | 22:05 |
| → maletor joined | 22:05 |
|
canton7
| but that's not the problem here | 22:05 |
|
rubious
| what? | 22:05 |
|
| !fetch4why | 22:05 |
|
gitinfo
| Firstly, the four-word version of git-fetch does not update the remote-tracking branches or tags. The default git fetch origin master fetches into FETCH_HEAD - ie the equivalent of git fetch origin master:FETCH_HEAD. If you use pull in this case, it will then do the equivalent of git merge FETCH_HEAD. Even updating the remote tracking branch with git fetch origin master:remotes/origin/master it still doesn't update tags | 22:05 |
|
rubious
| ah | 22:05 |
|
| well, either way | 22:05 |
|
| Still can't push | 22:05 |
|
canton7
| yeah, it's a valid point, but not your problem | 22:05 |
| ← kerrick left | 22:05 |
|
canton7
| where are you trying to push to? what's the output of 'git push'? | 22:05 |
|
rubious
| Does it matter than I'm working in a submodule? | 22:05 |
|
canton7
| maybe. check you're on a branch | 22:06 |
|
| submodules have a nasty habit of detaching the HEAD | 22:06 |
|
rubious
| nope | 22:06 |
|
canton7
| (well it's by design, but it catches people off-guard) | 22:06 |
|
rubious
| oooh, yeah, no branch. | 22:06 |
|
| But it's a submodule? It shouldn't be on a branch of its umbrella project, right? | 22:06 |
|
canton7
| way off the mark :P | 22:06 |
|
rubious
| canton7: Not sure what that means | 22:07 |
| ← dagerik left | 22:07 |
| ← monsieurlu left | 22:07 |
|
canton7
| the supermodule ("umbrella project") tracks the commit which the submodule is at. when you run 'git submodule update', or one of the other commands which updates submodules, the submodule's HEAD is detached, and points at that commit | 22:07 |
|
rubious
| canton7: I'm getting this terrible feeling I'm missing something supoer obvious | 22:07 |
|
| ahhhh | 22:07 |
|
canton7
| so the branches inside the submodule are utterly unrelated to the supermodule | 22:08 |
| ← chuckharmston left | 22:08 |
|
rubious
| wow, yeah | 22:08 |
|
| totally detached from head | 22:08 |
|
| had to checkout master in my submodule | 22:08 |
| ← pandeiro left | 22:08 |
|
rubious
| These things can be kind of a pain, amirite | 22:08 |
|
canton7
| there're some options: submodule.$name.update and 'git submodule update --rebase or --merge', which can keep the branches attaches | 22:09 |
|
| *HEAD attaches | 22:09 |
|
rubious
| Nice | 22:09 |
|
canton7
| yeah, they're not likely by everyone :P but once you understand what they're doing and how they're doing it, they make more sense | 22:09 |
|
rubious
| Just to clarify, I can use branches in a submodule, right? | 22:10 |
|
canton7
| !gitslave and !subtree anyway, fyi | 22:10 |
|
gitinfo
| gitslave (http://gitslave.sf.net) is useful to add subsidiary git repositories to a git superproject when you control and develop on the subprojects at more or less the same time as the superproject, and furthermore when you typically want to tag, branch, push, pull, etc. all repositories at the same time. | 22:10 |
|
| The subtree merge method is great for incorporating a subsidiary git repo into your current one with "unified" history. Read http://git-scm.com/book/en/Git-Tools-Subtree-Merging for more info, or try one of the !subtree_alternatives | 22:10 |
|
canton7
| rubious, yeah sure. just expect the HEAD to be detached if you update the submodule | 22:10 |
|
rubious
| canton7: yeah, just read about those two in the git submodule readme under "haha, so here's other stuff that's just as useful and maybe not as weird". | 22:10 |
|
canton7
| they have different aims, so pick whatever suits your usecase | 22:11 |
|
rubious
| canton7: cool, thanks very much | 22:11 |
|
canton7
| no worries. you're probably the quickest person to grasp that particular problem I've had :P | 22:11 |
|
| just to make sure: if you're updating a submodule, you know to cd back to the supermodule, add the submodule, commit? | 22:12 |
|
| (that updates the supermodule's record of which commit the submodule's at) | 22:12 |
| → mritz_ joined | 22:12 |
| → branch joined | 22:13 |
| ← dvide left | 22:17 |
| → weiyang joined | 22:17 |
| ← jaseemabid left | 22:18 |
| ← macabre left | 22:19 |
| → _adnasa_ joined | 22:19 |
| ← _adnasa_ left | 22:19 |
| ← jwmann left | 22:20 |
| → _adnasa_ joined | 22:20 |
| ← eletuchy left | 22:20 |
| → thursday joined | 22:20 |
| ← mritz_ left | 22:20 |
| ← thursday left | 22:21 |
| ← gtrak left | 22:21 |
| ← nitrix left | 22:22 |
| → nitrix joined | 22:22 |
| ← nitrix left | 22:22 |
| → eletuchy joined | 22:23 |
| → Destos joined | 22:26 |
| → lun_ joined | 22:27 |
| → stephenjudkins joined | 22:27 |
| → chuckharmston joined | 22:28 |
| → nitrix joined | 22:28 |
| ← pppaul left | 22:29 |
| → chuckhar_ joined | 22:30 |
| ← chuckharmston left | 22:30 |
| → tinti_ joined | 22:31 |
| → pppaul joined | 22:32 |
|
stephenjudkins
| is there a way to suppress the "detached head" warning when using `checkout`? | 22:34 |
| ← hidekin1 left | 22:35 |
| ← goshawk left | 22:35 |
|
EugeneKay
| stephenjudkins - '2>/dev/null' on the command, or checkout to a branch(using '-b foobranch') instead of detaching | 22:36 |
|
stephenjudkins
| EugeneKay: thanks | 22:36 |
| ← bfig left | 22:39 |
| ← Destos left | 22:40 |
| → tjholowaychuk joined | 22:40 |
| ← tmz left | 22:41 |
| ← sgambino left | 22:44 |
| ← pantsman- left | 22:44 |
| ← boombatower left | 22:44 |
| ← jason237 left | 22:45 |
| → lustucru joined | 22:46 |
| ← AdrienBrault left | 22:47 |
| ← psoo left | 22:47 |
| → jimm joined | 22:48 |
| ← jimm left | 22:48 |
| → jimm joined | 22:48 |
| → AdrienBrault joined | 22:50 |
| SeoZ-work[AWAY] → SeoZ | 22:51 |
| ← revagomes left | 22:51 |
| ← Protux left | 22:53 |
|
ameoba
| merging master into a branch for testing purposes & the merge completely flopped. In one file, it just dropped an entire method body. Is there anything to do other than hand merge from two clean checkouts? | 22:54 |
| ← mritz left | 22:54 |
| ← branch left | 22:54 |
| → bfig joined | 22:54 |
| → tmz joined | 22:55 |
| → Rolybrau joined | 22:56 |
| ← axl_ left | 22:56 |
| banghouse → banghouseFOOD | 22:57 |
| ← paul_andrew left | 22:57 |
| ← dzonder left | 23:00 |
| ← Rolybrau left | 23:02 |
| ← _Vi left | 23:03 |
| → _Vi joined | 23:04 |
| → BiggFREE joined | 23:04 |
| → Hasbro joined | 23:05 |
| ← TeckniX left | 23:05 |
| ← Hasbro left | 23:06 |
| → Hasbro joined | 23:06 |
| → mischat joined | 23:06 |
| ← thiago left | 23:07 |
| ← chuckhar_ left | 23:08 |
| ← Davey left | 23:08 |
| → Hans_Henrik joined | 23:09 |
| ← trungqtran left | 23:09 |
|
Hans_Henrik
| installing git on windows, it ask me if i want "Checkout windows-style, commit unix-style line endings", or "checkout as-is, commint unix-style" or "checkout as-is, commit as-is", now, if i happen to put binary files, or any files that git does not understand, any chances it will start corrupting my files? | 23:10 |
| ← AdrienBrault left | 23:10 |
| ← obiwahn left | 23:10 |
| ← pfFredd left | 23:11 |
| ← dangerousdave left | 23:11 |
| → AdrienBrault joined | 23:11 |
| → Davey joined | 23:11 |
| → Hemebond joined | 23:11 |
|
Hemebond
| I need help understanding a "git diff". I've done "git diff upstream master" and it shows a function being removed from a file. But that function doesn't exist in my file or the file in upstream/master. What does it mean? | 23:12 |
|
Hans_Henrik
| whatever the case, aparently Git installer "requires that i shut down XChat irc client" to update some files during install x.x byebye | 23:13 |
| ← Hans_Henrik left | 23:13 |
| ← orafu left | 23:14 |
| ← lustucru left | 23:15 |
|
Hemebond
| ah | 23:15 |
|
| nevermind | 23:15 |
|
| I had the command wrong | 23:15 |
|
| again | 23:15 |
|
| Will I ever learn how to "fetch" properly? | 23:16 |
|
cmn
| fetch everything | 23:17 |
|
milki
| fetch the world | 23:17 |
|
dunpeal
| hack the planet | 23:17 |
|
milki
| CONQUER ALL | 23:17 |
| → jnewt joined | 23:17 |
| ← hwrd|work left | 23:17 |
| → hwrd|work joined | 23:18 |
|
jnewt
| i'm getting an error when trying to push. error: failed to push some refs...non-fast-forward updates were rejected. then i read the section about this in git push --help, where they discussed the portion in the context of two or more people using the remote. i'm the only one using it. i don't understand why i'm getting this, and if i do pull, what will i be getting? | 23:19 |
| ← madsy left | 23:19 |
| ← jpreyer left | 23:19 |
|
canton7
| jnewt, take a look! git fetch origin && git log --graph --oneline --decorate --all | 23:20 |
|
dunpeal
| jnewt: I bet you rebased | 23:21 |
|
cmn
| or ammended, or reset | 23:21 |
| → Destos joined | 23:22 |
|
jnewt
| I agree i've probably done one of those things (rebase would be my guess). if i git fetch origin, will it change my local history? | 23:23 |
|
canton7
| nope. fetching updates the remote-tracking branches: the branches starting with .e.g origin/, which are local records of the states of remote branches | 23:24 |
| ← Fandekasp left | 23:25 |
| → Fandekasp joined | 23:26 |
|
dunpeal
| Hey. anyone ever encounter this error message on fetch: 'git fetch' command failed. stderr: Short read of block. | 23:26 |
| ← stephenjudkins left | 23:27 |
| ← kvanderw left | 23:28 |
| → BSaboia joined | 23:28 |
|
cmn
| your network connection probably got cut | 23:28 |
| banghouseFOOD → banghouse | 23:29 |
| → stevedomin joined | 23:29 |
| ← zastern left | 23:29 |
|
dunpeal
| mhm, I think it's JGit messing up again. Love those error reports from users not even specifying what they're using. | 23:30 |
| ← SirCmpwn left | 23:30 |
|
cmn
| there are some weird-ass git servers out there | 23:30 |
| → mritz joined | 23:30 |
|
cmn
| yesterday I was trying to clone nuget and it would always finish fine, but somehow get an error from the server making it delete the repo | 23:31 |
| ← weiyang left | 23:31 |
|
dunpeal
| yeah, I've never had many issues with the vanilla C git clients over vanilla SSH | 23:31 |
|
| even though many of my users insist on stuffing their repos with gigabytes of binaries. | 23:32 |
|
cmn
| that would just need a load of RAM or CPU if the files are large | 23:32 |
|
dunpeal
| yeah, the boxes are reasonably fat, so it's not an issue | 23:33 |
|
| both servers and clients are reasonably powerful workstations. that said, the servers aren't server-class boxes, and they still work well. | 23:33 |
| → GregZen joined | 23:33 |
| ← pppaul left | 23:34 |
| ← Hemebond left | 23:34 |
|
cmn
| with the cloud and all, it seems that most servers aren't more powerful than your average laptop these days | 23:35 |
| ← AdrienBrault left | 23:35 |
| → stephenjudkins joined | 23:35 |
| → AdrienBrault joined | 23:36 |
| → pppaul joined | 23:36 |
| → chuckharmston joined | 23:37 |
|
dunpeal
| well, laptops are ridiculously powerful. my MBPr has 16GB RAM, a quad core i7 with a maximum cycle speed of 3.7GHz, and an SSD that's faster than most server-class HDDs. | 23:37 |
|
GregZen
| Consider a relatively small central Git server with no more than 500 repositories. I am trying to create a graph to show submodule dependencies. It is easy for me to show the dependencies for each repository, but I want to go the other way. Given a repository, how would I show all of the repositories that depend on it? | 23:37 |
|
cehteh
| my new laptop is way more powerful than our server | 23:38 |
|
cmn
| I wouldn't call that an average laptop, though | 23:38 |
|
cehteh
| which is a small 12" laptop :P | 23:38 |
| → cannonball joined | 23:38 |
|
dunpeal
| cmn: if not for Apple's overpricing, you could get that for a bit over $2000 | 23:38 |
| → SirCmpwn joined | 23:39 |
|
cmn
| though possibly with less build quality and whatnot (they're expensive but are pretty sweet machines) | 23:39 |
|
dunpeal
| GregZen: visit each and construct a graph. | 23:39 |
|
| cmn: yeah, I agree. it's beautiful hardware, especially since you can't get anything quite like the Retina display anywhere else. | 23:40 |
| ← peterpan left | 23:40 |
|
dunpeal
| "beautiful" pretty much sums it up though... I don't think it's incredibly more reliable than, say, a good lenovo. | 23:40 |
|
cmn
| I have a pretty high-resolution display on my 13', not retina, but definitely better than most (the laptop is also more expensive than most) | 23:41 |
|
dunpeal
| but yeah, finish quality of everything is top notch, everything always works, very reliable hardware even under stress, while staying super light and small. | 23:41 |
| ← chuckharmston left | 23:41 |
|
dunpeal
| cmn: what's your native resolution? | 23:41 |
|
cmn
| GregZen: that's just a query in your DB, store the relationship and and ask "what repos have this one as dep"? | 23:42 |
| → simesy joined | 23:42 |
|
GregZen
| dunpeal: yeah, that's one way… periodically go through all the repos. I'm considering doing it more real time by only looking at a repository when a repository is changed, via a post-receive hook. | 23:42 |
| → Goplat joined | 23:42 |
| → cameroncb1` joined | 23:42 |
|
cmn
| dunpeal: it's somethingx1080, basically full HD, which IIRC is the limit for DVI, which is is the likely connection that it has to the GPU | 23:42 |
|
dunpeal
| GregZen: sure, that would work as well | 23:42 |
| ← pppaul left | 23:42 |
| ← tjadc left | 23:43 |
|
dunpeal
| cmn: cool, is it a Zenbook by any chance? I thought of getting one of those instead of an Air for an ultra-portable. | 23:43 |
|
GregZen
| dunpeal, cmn: ok. figured I would have to go that route. thanks. | 23:43 |
|
cmn
| dunpeal: yeah, it's the Zenbook prime, it was either this one or an Air, but because I'm in Europe, the price for the similarly-spec'd Air was ~2400 EUR | 23:45 |
| ← cenuij left | 23:45 |
|
bremner
| hah, revenge of the colonies | 23:45 |
|
cmn
| more like Apple being bastards | 23:45 |
|
dunpeal
| cmn: yeah, Apple is way overpriced, in the US too, though the difference is not as jarring | 23:45 |
|
cmn
| even if it were $2400 it would be significantly cheaper | 23:46 |
|
dunpeal
| you ALWAYS pay more for the same hardware when it's from Apple | 23:46 |
| ← scarlisle left | 23:46 |
|
dunpeal
| to be fair, at least in the current generation, like for the MBPr, you can actually get current generation top notch hardware, even if you do have to pay through the nose for it | 23:47 |
| ← cameroncb1` left | 23:47 |
| → cameroncb1` joined | 23:47 |
| ← Chaser left | 23:47 |
|
dunpeal
| last generation, the best i7 you could get was several notches below the top, which other laptops (e.g. Lenovo) featured. | 23:47 |
| → PatF joined | 23:48 |
|
dunpeal
| that said, I don't know that you can get the same build quality anywhere else, though I thought the Zenbook came close | 23:48 |
| ← cameroncb1` left | 23:48 |
|
dunpeal
| cmn: which Linux did you install on it? | 23:48 |
| → cameroncb1 joined | 23:48 |
|
cmn
| Debian | 23:48 |
|
| I'm pretty happy with it, just a shame you can't put more RAM on it | 23:49 |
|
dunpeal
| which Debian? does it work well? I want to get one myself and install Ubuntu on it. | 23:49 |
|
cmn
| Debian sid, the only real one :p | 23:49 |
|
| you have to build the kernel yourself right now, as there's a missing patch | 23:49 |
|
dunpeal
| does sleep / brightness / audio / volume / all the other small laptopy things work well? | 23:49 |
|
cmn
| but after the next stable release, the patch should go right in, though | 23:50 |
| ← pdtpatrick left | 23:50 |
| ← Ryback_ left | 23:50 |
| ← Destos left | 23:50 |
| PatF → Destos | 23:50 |
| ← AdrienBrault left | 23:50 |
|
cmn
| you need the patch that adjusts to the new address ASUS decided to use for the BIOS stuff, once that's in, only backlight hardware keys don't work | 23:50 |
| ← stevedomin left | 23:51 |
|
cmn
| because they're implemented in some backward way | 23:51 |
|
dunpeal
| wow, that's better than I expected for Debian, not a classic laptop distro | 23:51 |
| → storrgie joined | 23:51 |
|
cmn
| it's mostly just good ACPI support on part of the hardware maker and the kernel | 23:51 |
| ← chrisgeorge left | 23:52 |
| ← mritz left | 23:53 |
| Layke → chris_acky | 23:53 |
| chris_acky → Layke | 23:53 |
| → ecksit joined | 23:54 |
| → sgambino joined | 23:54 |
|
ecksit
| hi, having a small issue with my .gitignore not stopping the files from being tracked. https://gist.github.com/5306948f2ae0d59664b5 is my tree listing and the gitignore. | 23:54 |
|
cmn
| ignore rules don't stop files from being tracked | 23:55 |
|
dunpeal
| cmn: cool, since you had goo experience, I think I'm going to buy one too.. thanks! | 23:55 |
| ← GregZen left | 23:55 |
|
stephenjudkins
| suppose I have a git repo somewhere. I have a full directory somewhere else. I'd like to check the entire directory into the git repo as a branch or a commit. is this possible? | 23:55 |
|
milki
| ecksit: git ignore doesnt work for already tracked files | 23:55 |
|
EugeneKay
| ecksit - !untrack | 23:55 |
|
gitinfo
| To remove a file from git's tracking, without deleting it from your working tree, `git rm --cached <file>`. Note that any repo which pulls this change will delete their local copy of that file. You can "bring it back" using `git checkout HEAD^ file` | 23:55 |
|
ecksit
| ah! | 23:55 |
| → GregZen joined | 23:55 |
|
cmn
| stephenjudkins: copy the files over and commit | 23:55 |
| ← Akufen left | 23:55 |
| → rchavik joined | 23:56 |
| ← rchavik left | 23:56 |
| → rchavik joined | 23:56 |
|
stephenjudkins
| cmn: is it possible without copying the files? as in, tell git to treat a different directory as its "working tree" for the purposes of one commit? | 23:56 |
|
milki
| o thats interesting | 23:56 |
|
| could try that | 23:56 |
| ← gdelfino left | 23:56 |
| ← GregZen left | 23:57 |
|
milki
| GIT_WORK_TREE and create an orphanzed branch? | 23:57 |
| ← optixx left | 23:57 |
|
cmn
| stephenjudkins: yeah, but then subtle things happen, see man git | 23:57 |
|
gitinfo
| stephenjudkins: the git manpage is available at http://git-scm.com/docs/git.html | 23:57 |
| → optixx joined | 23:57 |
| → Esa_ joined | 23:57 |
| → wh1rr joined | 23:58 |
| → adamm joined | 23:59 |
|
stephenjudkins
| milki: oh, that's exactly what i'm looking for. thanks. | 23:59 |