| 2012-11-19 |
| ← SBoudrias left | 00:00 |
| → iamjarvo joined | 00:01 |
| → SBoudrias joined | 00:01 |
| ← etcetera left | 00:01 |
| ← fsvehla left | 00:02 |
| ← TeamColtra left | 00:02 |
|
multi_io
| thiago: well, I can't find a --directory-filter option, and --subdirectory-filter isn't quite what I intended... | 00:03 |
| → Raydiation joined | 00:03 |
|
Raydiation
| how can i merge one commit from a branch? | 00:04 |
|
thiago
| Raydiation: only if it's the first one | 00:04 |
|
| multi_io: that's the only option | 00:04 |
|
Raydiation
| i see | 00:04 |
|
| ty | 00:04 |
|
thiago
| multi_io: use the filter, then move to the right directory in one commit, then merge | 00:04 |
| ← gittish left | 00:05 |
| → akiress joined | 00:08 |
|
offby1
| Raydiation: you can cherry-pick. Strictly speaking it's not a merge, but I'm guessing it's what you want. | 00:10 |
| → BSaboia joined | 00:10 |
|
Raydiation
| offby1: just cherry pick the commit hash from that branch? | 00:11 |
|
offby1
| yep | 00:11 |
|
| Try It And See™. | 00:11 |
|
Raydiation
| y | 00:11 |
| ← marhaban left | 00:11 |
|
Raydiation
| ty* | 00:12 |
| → pvt_petey joined | 00:13 |
| → JoeAngel_ joined | 00:13 |
| ← SuperrMann left | 00:13 |
| ← meretrix left | 00:13 |
| ← dSebastien left | 00:15 |
| ← dnivio left | 00:16 |
| → Vert joined | 00:18 |
| ← icio left | 00:18 |
| → icio joined | 00:19 |
| ← daniel_- left | 00:19 |
| ← OOPMan left | 00:19 |
| → Davey joined | 00:20 |
|
Raydiation
| offby1: worked, cherrypick is awesome | 00:21 |
| → OOPMan joined | 00:21 |
| → eletuchy joined | 00:22 |
| ← matip left | 00:22 |
| → jfs joined | 00:23 |
| → MarcWeber joined | 00:23 |
| → Blue0ctober joined | 00:24 |
| ← Blue0ctober left | 00:24 |
| → angelsl joined | 00:25 |
| → Blue0ctober joined | 00:25 |
| ← Blue0ctober left | 00:25 |
| → Blue0ctober joined | 00:26 |
| ← Blue0ctober left | 00:26 |
| → Blue0ctober joined | 00:26 |
| ← Blue0ctober left | 00:26 |
| → etcetera joined | 00:27 |
| → Blue0ctober joined | 00:27 |
| ← Blue0ctober left | 00:27 |
| → Blue0ctober joined | 00:28 |
| ← Blue0ctober left | 00:28 |
|
offby1
| \o/ | 00:28 |
|
| ~ | 00:28 |
|
| / \ | 00:28 |
|
| it's easy to overuse, so don't. | 00:28 |
| ← cyd left | 00:28 |
|
| nevyn overuses cherrypick it's bad. | 00:28 |
| → Blue0ctober joined | 00:28 |
| ← Blue0ctober left | 00:28 |
| → Blue0ctober joined | 00:29 |
| ← Blue0ctober left | 00:29 |
|
nevyn
| tho nobody has adequately explained how cherrypick branch to master and rebase branch to master are any different if branch has a single commit on it. | 00:29 |
| → Blue0ctober joined | 00:30 |
|
FauxFaux
| I'm pretty sure that's semantically identical. | 00:30 |
| ← Blue0ctober left | 00:30 |
| ← gain left | 00:30 |
| → Blue0ctober joined | 00:30 |
| ← Blue0ctober left | 00:30 |
| → chaiz joined | 00:31 |
|
offby1
| yep | 00:31 |
| → Blue0ctober joined | 00:31 |
| ← Blue0ctober left | 00:31 |
|
offby1
| can't see any reason why they wouldn't be. | 00:31 |
| → TeamColtra joined | 00:31 |
| ← eletuchy left | 00:31 |
| → DrHouse|E6400 joined | 00:32 |
|
offby1
| I cannot think of an experiment that could distinguish one state of affairs from the other :) | 00:32 |
| → Blue0ctober joined | 00:32 |
| ← Blue0ctober left | 00:32 |
|
nevyn
| well if you examined branch it would be obvious | 00:32 |
|
| but from the perspective of master I don't think there's any difference | 00:32 |
| → Blue0ctober joined | 00:32 |
| ← Blue0ctober left | 00:32 |
|
FauxFaux
| Well, personally, in most caes I'd prefer cherry-pick to do a 2-way merge and rebase to continue doing the 3-way merge. ;) | 00:33 |
| → Blue0ctober joined | 00:33 |
| ← Blue0ctober left | 00:33 |
| → Blue0ctober joined | 00:34 |
| ← Blue0ctober left | 00:34 |
| → matip joined | 00:34 |
| → Blue0ctober joined | 00:34 |
| ← Blue0ctober left | 00:34 |
| → Milossh joined | 00:35 |
| → Blue0ctober joined | 00:35 |
| ← Blue0ctober left | 00:35 |
| ← AlbireoX left | 00:35 |
| → Blue0ctober joined | 00:36 |
| ← Blue0ctober left | 00:36 |
| → AlbireoX joined | 00:36 |
| → Blue0ctober joined | 00:36 |
| ← Blue0ctober left | 00:36 |
| → Blue0ctober joined | 00:37 |
| ← Blue0ctober left | 00:37 |
| → Blue0ctober joined | 00:38 |
| ← Blue0ctober left | 00:38 |
| ← kpreid left | 00:38 |
| → kpreid joined | 00:38 |
| → Blue0ctober joined | 00:38 |
| ← Blue0ctober left | 00:38 |
| ← hyperair left | 00:39 |
| → Blue0ctober joined | 00:39 |
| ← Blue0ctober left | 00:39 |
| ← spaceonline left | 00:40 |
| → Blue0ctober joined | 00:40 |
| ← Blue0ctober left | 00:40 |
| ← brandonw1 left | 00:41 |
| → jcao219 joined | 00:41 |
| ← JoeAngel_ left | 00:42 |
|
MarcWeber
| THere is no way to check integrity of a particular commit eg after a shallow clone which is why git fsck fetches all history, right? | 00:43 |
| ← Octalot left | 00:44 |
| ← yshh left | 00:44 |
| → BadProphet joined | 00:44 |
| → hmsimha joined | 00:45 |
| → Blue0ctober joined | 00:45 |
| ← Blue0ctober left | 00:45 |
|
thiago
| MarcWeber: correct | 00:46 |
|
| to check the integrity, you need the full history leading to that point | 00:46 |
| → Blue0ctober joined | 00:46 |
|
MarcWeber
| Eg ruby's bundler tool allows to refer to github repos by giving the github url and a commit hash reference. | 00:46 |
|
| However for large projects in order to use them it should be enough to verify a particular commit - not fetching all history. | 00:47 |
| ← glennpratt left | 00:47 |
|
MarcWeber
| Does git provide any command calculating a hash based on the file contents of a particular commit only? | 00:47 |
|
thiago
| yes, that's the tree hash | 00:48 |
| ← angelsl left | 00:49 |
| → daniel_- joined | 00:50 |
| ← gan_ left | 00:51 |
| ← jimmyeatworld left | 00:52 |
|
MarcWeber
| git ls-tree? thanks. So i guess that tools like rubys bundler should force also specifying that value so that you don't have to fetch all history to verify contents. | 00:52 |
|
thiago
| Git does not provide a command to verify that the tree hash is correct | 00:53 |
|
| however, git reset --hard will check out the commit, which is right already | 00:53 |
|
| i.e., assuming that the transport is correct and the database is not corrupted, then the checkout will be correct too | 00:54 |
|
FauxFaux
| Uh, the scrollback confuses me. A commit ID /is/ enough to verify the tree at that point to the same level of safety as any other operation? | 00:54 |
|
MarcWeber
| thiago: I may distrust the transport | 00:54 |
|
thiago
| no | 00:54 |
|
| if you don't have the full history, the commit ID cannot be used to verify | 00:54 |
|
| MarcWeber: then get the full history | 00:55 |
|
| git fsck cannot do its full job unless you get the full history | 00:55 |
|
MarcWeber
| thiago: I'm going to write to the mailinglist asking whether such a verification option would make sense. | 00:55 |
|
FauxFaux
| thiago: What advantages does having the full history give? | 00:55 |
|
MarcWeber
| I don't care about history whet building code, I only care about that commit I'm using. | 00:55 |
|
thiago
| with a partial history, you can only verify that the contents match the expected contents, but you don't know if the commit ID hasn't been tampered with | 00:55 |
|
MarcWeber
| If I want to check history, then I can fetch everything. | 00:55 |
|
thiago
| MarcWeber: false assumption | 00:55 |
|
MarcWeber
| Why? | 00:56 |
|
thiago
| do you have a way to verify the commit SHA-1 integrity? | 00:56 |
|
FauxFaux
| thiago: But there's no point in verifying the history; it's just as modifiable as any current point in history. | 00:56 |
|
thiago
| an out-of-band way to verify that the commit SHA-1 is a specific expected value? | 00:56 |
| ← pfFred left | 00:56 |
| ← Blue0ctober left | 00:57 |
| ← rchavik left | 00:57 |
|
MarcWeber
| thiago: I'm thinking about a source description like this: {'type':'git', 'url':'git:///...', 'ref' : 'the commit hash', 'tree-hash': 'output of git ls-tree on a trusted clone'} | 00:57 |
|
thiago
| MarcWeber: is that transport trusted? | 00:58 |
|
MarcWeber
| Then using the ls-tree hash it should be possible to verify the file contents of --depth 0 checkouts without getting all history, right? | 00:58 |
| → pfFredd joined | 00:58 |
| → eletuchy joined | 00:58 |
| → dedis joined | 00:58 |
|
MarcWeber
| thiago: What do you mean by trusted? Do I trust the transport of the source description? | 00:58 |
|
thiago
| that's --depth 1, of course | 00:58 |
|
| yes, do you trust that? | 00:58 |
| ← dedis left | 00:59 |
|
FauxFaux
| I maintain that git checkout $SHA1 is good enough to get a tree that's unmodified. | 00:59 |
|
MarcWeber
| I could put it into a git repository, and do the same with it. If the ls-tree hash is fine the source descriptions should be, too. | 00:59 |
|
cirwin
| FauxFaux: someone might have another commit with the same SHA1!! | 00:59 |
| ← icio left | 00:59 |
|
thiago
| FauxFaux: that's correct | 00:59 |
|
| MarcWeber: you don't need the ls-tree hash | 00:59 |
|
FauxFaux
| (Even if you don't have any of the history.) | 00:59 |
|
thiago
| MarcWeber: the commit hash is a checksum already | 00:59 |
|
MarcWeber
| FauxFaux: You're right. But verifying it may cause a lot of unnecessary traffic to the network - cause you have to fetch all history. | 01:00 |
|
| I want to avoid that. | 01:00 |
|
FauxFaux
| MarcWeber: No, you don't. Just the checkout command is enough. | 01:00 |
|
| cirwin: Someone might have broken sha-1, which is a much more serious issue that makes me lose sleep. | 01:00 |
| ryanneufeld|away → ryanneufeld | 01:00 |
|
thiago
| FauxFaux: cirwin was being sarcastic :-) | 01:00 |
|
MarcWeber
| FauxFaux: How can you verify it without history? | 01:00 |
|
thiago
| MarcWeber: check out again | 01:01 |
| → dedis joined | 01:01 |
|
MarcWeber
| checking out a second time takes time. | 01:01 |
|
thiago
| MarcWeber: since Git checks out files according to SHA-1, the contents must be right | 01:01 |
|
| MarcWeber: sha1sum takes time too | 01:01 |
|
cirwin
| http://www.schneier.com/blog/archives/2005/02/sha1_broken.html | 01:01 |
|
FauxFaux
| thiago: Well, unless recieve-pack doesn't check the sha1 as it's writing it to disc. | 01:01 |
|
thiago
| MarcWeber: you can reconstruct the tree operation to check | 01:01 |
| → angelsl joined | 01:02 |
|
thiago
| MarcWeber: git does not provide that. You need to do it yourself. | 01:02 |
|
| MarcWeber: apply sha1sum to each file like Git (which is not on the pure contents), then recreate the tree objects | 01:02 |
| ← Fandekasp left | 01:02 |
|
FauxFaux
| cirwin: Luckily it's one of those boring attacks that doesn't apply to hmacs, so at least you can put a proper hash of the repo into a tag and it's still secure, even though git's use of retardo versions of gpg breaks non-sha1 gpg signing. | 01:02 |
|
MarcWeber
| lazy speaking I could cerate a zip file and calculate the hash of that. | 01:02 |
|
thiago
| MarcWeber: then once you have the root tree SHA-1, you can compare to the one in the commit tree | 01:02 |
|
cirwin
| FauxFaux: cool | 01:03 |
|
| I remember posts on the mailing list a while back about sha-256 in git, did that get anywhere? | 01:03 |
|
| thiago would wait for SHA-3 | 01:03 |
|
FauxFaux
| SHA3 is out; thiago. Get on with it. | 01:04 |
|
thiago
| SHA-2 is still secure, but if we're going to change, maybe wait for SHA-3 | 01:04 |
|
SethRobertson
| The SHA-3 contest was won about a month ago | 01:04 |
|
FauxFaux
| cirwin: There's /thousands/ of places in the implementation that assume a digest is 20 bytes or 40 hexes. Literally thousands. It's shocking. | 01:04 |
| → yakko joined | 01:04 |
|
cirwin
| FauxFaux: yay for C and having to specify char[20] to get anything done... | 01:05 |
|
Parhs
| http://www.papertoilet.com/ lol | 01:05 |
| ← dedis left | 01:05 |
|
FauxFaux
| Parhs: And years of software engineer training pays off; change the aspect ratio of the window and dragging it is easier. >.> | 01:06 |
|
Parhs
| lol :P | 01:07 |
| → dedis0 joined | 01:07 |
|
MarcWeber
| http://dpaste.com/833076/ @ thiago So this should be fine? | 01:07 |
|
Parhs
| nothing happens at end | 01:07 |
| ← eletuchy left | 01:07 |
|
thiago
| MarcWeber: lines 9-11 are not necessary | 01:07 |
| → sgronblom joined | 01:07 |
|
thiago
| MarcWeber: do you trust the Git command? | 01:07 |
|
FauxFaux
| I had a reasonable idea what I was going to present to the mailing list as an initial port to sha3, but I was waiting for it to be finalised and haven't had time since. | 01:07 |
|
thiago
| MarcWeber: git checkout will only check out the correct files | 01:08 |
|
FauxFaux
| MarcWeber: Using a short ref is absolutely not okay; https://blog.goeswhere.com/2010/12/git-set-commit-id/ | 01:08 |
|
MarcWeber
| FauxFaux: sure, the less chars, the higher the chance for collision. | 01:09 |
| → Vampire0 joined | 01:09 |
|
MarcWeber
| thiago: Given that I trust my local git command, but not the one on the server. How can git ensure its checking out the right files? | 01:10 |
| → Fandekasp joined | 01:10 |
|
MarcWeber
| I mean it can't verify that the root-tree hash and history yields the commit hash, without reading history ? | 01:10 |
| ryanneufeld → ryanneufeld|away | 01:12 |
| → hyperair joined | 01:13 |
|
thiago
| MarcWeber: by construction | 01:13 |
| → yoklov joined | 01:13 |
|
thiago
| MarcWeber: given a commit's SHA-1, it can verify that it's proper, if you trust (or ignore) the history | 01:14 |
| ← Xizor left | 01:14 |
|
FauxFaux
| MarcWeber: The commit hash unambigiously and securely refers to an object that contains the root tree hash. | 01:14 |
| → revyd joined | 01:15 |
|
thiago
| but I don't think git rehashes all the content as it checks it out. That's what fsck should be doing. | 01:15 |
| ← flavius left | 01:15 |
| ← dedis0 left | 01:15 |
|
thiago
| if checkout succeeded and the object DB is not corrupted or compromised, then the checkout command checked out the correct contents | 01:16 |
|
| you just need to verify the object DB | 01:16 |
|
FauxFaux
| Assuming you've just cloned, receev-pack and/or index-pack will do it, won't they? | 01:16 |
|
thiago
| I don't think so | 01:16 |
|
| there might be a mode to enforce verification | 01:16 |
|
| receive.fsckObjects and transfer.fsckObjects | 01:17 |
| → yshh joined | 01:18 |
| ← Chillance left | 01:18 |
| → griotspeak joined | 01:18 |
| → Yuuhi``` joined | 01:21 |
| ← Yuuhi`` left | 01:22 |
| ← crocket left | 01:22 |
| ← alee_ left | 01:22 |
| → Blue0ctober joined | 01:22 |
| → wgl joined | 01:22 |
| ← Blue0ctober left | 01:22 |
| → Anders_J joined | 01:23 |
| ← dwmw2_gone left | 01:23 |
| → Blue0ctober joined | 01:23 |
| ← Blue0ctober left | 01:23 |
| ← pfFredd left | 01:24 |
| → Blue0ctober joined | 01:24 |
| ← Davey left | 01:24 |
| ← Blue0ctober left | 01:24 |
| → Blue0ctober joined | 01:25 |
| ← Blue0ctober left | 01:25 |
| → Blue0ctober joined | 01:26 |
| ← Blue0ctober left | 01:26 |
| ← crhan left | 01:26 |
|
wgl
| I needed to trim a host of bad commits in a system with a remote repository and several other nodes. On one of the nodes, I located the point that I wanted to be the new top, and did a --reset hard, then a push. I then did a test in a separate directory doing a clone of that remote repository, and all looked well. So in the other nodes, i did a "git checkout origin/master" and the state of the working directory is fi | 01:27 |
|
| ne, but "git status" says that I am in a 'detached HEAD' state. Advice on getting HEAD set correctly? | 01:27 |
| → Blue0ctober joined | 01:27 |
| ← Blue0ctober left | 01:27 |
| → Blue0ctober joined | 01:28 |
| ← Blue0ctober left | 01:29 |
| → Blue0ctober joined | 01:29 |
| ← Blue0ctober left | 01:29 |
| ← m0ltar left | 01:30 |
| ← |Freeman| left | 01:30 |
|
offby1
| wgl: "git checkout some-branch-or-other". | 01:30 |
| → Blue0ctober joined | 01:30 |
|
offby1
| Probably best to create a branch where you are now first, though: "git branch safekeeping" | 01:31 |
| ← Blue0ctober left | 01:31 |
|
offby1
| just in case you've made some commits that wouldn't otherwise be reachable. | 01:31 |
|
| if you see what I mean. | 01:31 |
| → Blue0ctober joined | 01:32 |
| ← Blue0ctober left | 01:32 |
| → Davey joined | 01:32 |
| → Blue0ctober joined | 01:32 |
| ← revyd left | 01:33 |
|
wgl
| offby1: Well, repository has no branches other than default. | 01:33 |
| → revyd joined | 01:33 |
| → eletuchy joined | 01:34 |
|
wgl
| offby1: Doing "git checkout master" give me branch master, but says "your branch is ahead of origin/master' by 38 commits." | 01:34 |
|
| It is those commits that I am trying to trim off. | 01:34 |
|
WakiMiko
| while on master, do git reset --hard origin/master | 01:35 |
| ← Davey left | 01:35 |
| → ISF joined | 01:36 |
|
wgl
| Ok, did that on first node, then pushed it to remote. I expected that this would pull to second node. So this needs to be done on each node? | 01:36 |
|
WakiMiko
| i think so. i dont think there is a way to pull and "lose" commits | 01:38 |
| ← revyd left | 01:38 |
|
wgl
| WakiMiko: Thought there might be, given all the warnings about what hard reset does. | 01:38 |
|
WakiMiko
| the warnings are there because you WILL LOSE commits | 01:39 |
| → Goplat joined | 01:39 |
|
WakiMiko
| but since this is exactly what you are trying to do, its fine | 01:39 |
| ← jcao219 left | 01:39 |
| ← mapreduce left | 01:39 |
|
wgl
| So I thought that doing the pull or checkout from the remote would bring that truncation of the commits to the second node. | 01:40 |
| ← Anders_J left | 01:40 |
|
offby1
| nope | 01:40 |
| ← chris64 left | 01:40 |
| → jdunck joined | 01:40 |
|
offby1
| you can arrange a "forced update" though | 01:40 |
|
| alas I don't know how | 01:40 |
|
wgl
| Ok. So this would need to be done for each node wanting the latest true (truncated) history from remote node, it would seem. | 01:41 |
|
WakiMiko
| yeah it will. its generally a bad thing to change already pushed changes | 01:42 |
|
| or delete them | 01:42 |
|
| because that will result in conflicts for everyone who cloned the repo | 01:42 |
| ← eletuchy left | 01:43 |
| ← angelsl left | 01:43 |
|
wgl
| offby1: The "forced update" is what I was looking to accomplish so remotes could just pull from remote and be at the proper place. | 01:43 |
| ← BadProphet left | 01:46 |
| → angelsl joined | 01:46 |
|
wgl
| offby1: WakiMiko: Thanks, looks like it is doing what I want. | 01:48 |
|
offby1
| wgl: I think you need to get everyone to edit their .gitconfig, which is even harder than getting them to type "git pull -f" or whatever. | 01:48 |
| ← mdawkins left | 01:51 |
| ← Raydiation left | 01:53 |
| ← daniel_- left | 01:56 |
| → jcao219 joined | 01:56 |
| → Davey joined | 01:58 |
| ← sluther left | 02:04 |
| ← delinquentme left | 02:05 |
| → sluther joined | 02:06 |
| ← jcao219 left | 02:06 |
| → david1010 joined | 02:07 |
| ← thinkdev_ left | 02:08 |
| ← david1010 left | 02:09 |
| → luc_ joined | 02:10 |
| → eletuchy joined | 02:10 |
| → BadProphet joined | 02:10 |
| ← gusnan left | 02:11 |
| → crhan joined | 02:16 |
| ← sheerun left | 02:18 |
| → docai joined | 02:19 |
| ← docai left | 02:19 |
|
DrPoole
| if i have uncommited files in my branch, do i need to stash before checkout out another branch? | 02:19 |
|
| or does stash reset the branch to the master? | 02:19 |
| → docai joined | 02:19 |
| ← eletuchy left | 02:19 |
| ← wgl left | 02:19 |
| → jdyin joined | 02:22 |
| SeoZ-work[AWAY] → SeoZ | 02:24 |
|
thiago
| DrPoole: you don't need to stash | 02:25 |
|
| it's up to you | 02:25 |
|
DrPoole
| but if i dont it will bring my changes to the new branch, correct? | 02:25 |
|
thiago
| yes | 02:25 |
|
| the modified files will stay modified | 02:25 |
|
DrPoole
| i see, i see. cheers mate. | 02:25 |
|
JoeHazzers
| silly question, why is the "owner" column on my gitweb projects page empty, but when viewing the individual repository, it is not? | 02:29 |
| → notVert joined | 02:30 |
| → intripoon joined | 02:30 |
| ← chaiz left | 02:31 |
| ← DrHouse|E6400 left | 02:31 |
| ← cakehero left | 02:31 |
| ← intripoon_ left | 02:33 |
| ← pvt_petey left | 02:35 |
| ← Synthead left | 02:36 |
| → infynyxx joined | 02:40 |
| ← BSaboia left | 02:43 |
| → tbrock joined | 02:44 |
| → sisyphus joined | 02:44 |
| → GeertB joined | 02:45 |
| → eletuchy joined | 02:46 |
| ← infynyxx left | 02:49 |
| → jcao219 joined | 02:49 |
| → infynyxx joined | 02:50 |
| ← tbrock left | 02:50 |
| → jwmann joined | 02:51 |
| → Vampire0_ joined | 02:51 |
| → trumpetmic joined | 02:51 |
| → tbrock joined | 02:51 |
| ← Blue0ctober left | 02:51 |
|
DrNick
| JoeHazzers: you should probably ask in a github-related channel/forum | 02:52 |
| → BiggFREE joined | 02:54 |
| ← BadProphet left | 02:54 |
| ← Vampire0 left | 02:54 |
| ← BiggFREE left | 02:54 |
| ← eletuchy left | 02:57 |
| → JoeAngel_ joined | 02:58 |
|
bremner
| gitweb != github | 02:59 |
| ← tbrock left | 03:00 |
| → syskk joined | 03:02 |
|
syskk
| I accidentally committed a large file to my repository. Anyway to modify my commit and remove the large file before I publish? | 03:03 |
|
| maybe with git rebase? | 03:03 |
|
bremner
| !fixup | 03:03 |
|
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! | 03:03 |
| hachque → hachque|EXAMS | 03:06 |
| ← barq left | 03:06 |
| ← Davey left | 03:07 |
| → TadekMocarzzzz joined | 03:11 |
|
EugeneKay
| syskk - if it was the last commit, you can !untrack it and then commit --amend | 03:13 |
|
gitinfo
| syskk: 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` | 03:13 |
|
EugeneKay
| syskk - if it was a previous one you'll need to do somethign a lil fancier, but the same basic idea applies | 03:13 |
| ← akiress left | 03:14 |
| ← sisyphus left | 03:15 |
|
syskk
| thanks guys, I did a git rebase and "edit" on the commit i wanted to modify | 03:15 |
| → BadProphet joined | 03:15 |
|
syskk
| im just wondering now if the big image is still referenced somewhere | 03:16 |
| → chaiz joined | 03:16 |
|
syskk
| since git rebase actually creates new commit if im correct | 03:16 |
|
| i just dont want git clones to take forever because of that file | 03:17 |
| ← griotspeak left | 03:17 |
| → tbrock joined | 03:17 |
| ← tdowg12 left | 03:18 |
| ← e66 left | 03:18 |
| ← LekeFly left | 03:19 |
| ← hmsimha left | 03:19 |
| ← etcetera left | 03:19 |
| ← ISF left | 03:20 |
| ← relgar left | 03:21 |
| ← avpx left | 03:23 |
| → eletuchy joined | 03:23 |
| → LekeFly joined | 03:23 |
| → ojacobson joined | 03:23 |
| ← lonewulf` left | 03:24 |
| ← tbrock left | 03:24 |
| → kerrick joined | 03:24 |
| → tbrock joined | 03:25 |
| → vexed joined | 03:25 |
|
TadekMocarzzzz
| i hate php co,mpany niggers, why they made something that shi,tty like Bi,tch PHP nig,ger | 03:25 |
|
| why php company cant be holocausted just like the jews? | 03:25 |
|
| that would be great for world, just like holocaust of jews was | 03:25 |
|
| u agree? | 03:25 |
| → ak5 joined | 03:25 |
| ← kerrick left | 03:26 |
| → kerrick joined | 03:26 |
|
ak5
| hi, what user does git run as on the gitolite server machine when going through the post-recieve hook | 03:26 |
| → Davey joined | 03:26 |
|
TadekMocarzzzz
| type: | 03:26 |
|
| run holocaust | 03:26 |
|
EugeneKay
| ak5 - as whatever user gitolite is | 03:26 |
| ← ojacobson_ left | 03:27 |
|
ak5
| EugeneKay: sorry, how to ge tthat info? It's not running as a daemon | 03:27 |
| → hmsimha joined | 03:27 |
|
EugeneKay
| ak5 - it's.... the user before the @ in your SSH link? | 03:27 |
| → Chib joined | 03:27 |
|
vexed
| If you push, and get back a error in sideband demultiplexer, does that always mean remote server has a corrupted repo ? | 03:28 |
|
ak5
| EugeneKay: I see, ok | 03:28 |
|
TadekMocarzzzz
| HOLOCAUST - whats this? | 03:28 |
|
| is holocaust cool or not? | 03:28 |
| ChanServ set mode: +o | 03:28 |
|
TadekMocarzzzz
| banhammer | 03:29 |
| bremner set mode: +q | 03:29 |
| → lonewulf` joined | 03:29 |
|
ak5
| EugeneKay: I don't understanda why I am getting permission denied then when I do GIT_WORK_TREE=/srv/http/vhosts/book-creation-tool/ git checkout -f | 03:29 |
| ← tbrock left | 03:29 |
| → irqq_ joined | 03:29 |
|
ak5
| my directory has 775 permissions for http:git | 03:29 |
|
multi_io
| I did a git rm -rf foo/bar, and now I want to unstage the removal of foo/bar/baz/file.txt (and restore that file in the working dir). How do I do that? | 03:30 |
| ← irqq left | 03:30 |
| ← LekeFly left | 03:30 |
|
multi_io
| it's neither git reset HEAD foo/bar/baz/file.txt nor git checkout foo/bar/baz/file.txt | 03:31 |
| → Imaginativeone joined | 03:31 |
|
multi_io
| ah, it's git checkout HEAD foo/bar/baz/file.txt | 03:31 |
|
frogonwheels
| multi_io: git checkout HEAD -- foo/bar/baz/file.txt should work. :| | 03:31 |
|
multi_io
| frogonwheels: yeah :P | 03:32 |
| bremner set mode: +b | 03:32 |
| → eindoofus joined | 03:32 |
| bremner kicked TadekMocarzzzz ("Have a nice day") | 03:33 |
| bremner set mode: -q | 03:33 |
| → etcetera joined | 03:33 |
|
eindoofus
| hi, how can I pull from a remote repo while disregarding changes I made locally? I would normally do "git pull" but locally I changed a file but I no longer care about keeping the changes. | 03:33 |
| ← cody-somerville left | 03:33 |
| ← eletuchy left | 03:33 |
| ChanServ set mode: -o | 03:34 |
|
vexed
| eindoofus, git reset --hard HEAD if you want to kill all local changes. | 03:34 |
|
eindoofus
| thanks | 03:34 |
|
| just curious, what does HEAD mean? | 03:34 |
|
vexed
| the head commit... | 03:35 |
|
| ie, last one you pulled. | 03:35 |
|
eindoofus
| thanks | 03:35 |
| → riker2000 joined | 03:35 |
| ← gumnos left | 03:36 |
| → ozialien joined | 03:36 |
| ← riker2000_ left | 03:39 |
| ← vexed left | 03:39 |
| → tinybluepixel joined | 03:40 |
| ← OOPMan left | 03:40 |
| → Tegi joined | 03:41 |
| ← BadProphet left | 03:44 |
| ← kiffer84 left | 03:44 |
| → griotspeak joined | 03:46 |
| ← tinybluepixel left | 03:47 |
| ← ozialien left | 03:47 |
| ← orafu left | 03:51 |
| ← infynyxx left | 03:51 |
| → orafu joined | 03:51 |
| → d2dchat joined | 03:52 |
| ← griotspeak left | 03:58 |
| ← cybersphinx left | 03:59 |
| → griotspeak joined | 03:59 |
| → eletuchy joined | 03:59 |
| → zdk joined | 04:03 |
| ← spyro left | 04:06 |
| ← hellopat left | 04:07 |
| ← Imaginativeone left | 04:07 |
| → AlbireoX`Laptop joined | 04:09 |
| ← eletuchy left | 04:10 |
| → spyro joined | 04:10 |
| → Turicas joined | 04:12 |
| ← AlbireoX left | 04:12 |
| ← AlbireoX`Laptop left | 04:13 |
| → dedis joined | 04:15 |
| ← griotspeak left | 04:15 |
| ← dedis left | 04:16 |
| ← madewokherd left | 04:18 |
| ← andrewhl left | 04:18 |
| → Imaginativeone joined | 04:18 |
| → dedis joined | 04:23 |
| ← Imaginativeone left | 04:26 |
| → Raging_Hog joined | 04:26 |
| ← spyro left | 04:27 |
| ← eindoofus left | 04:28 |
| → spyro joined | 04:29 |
| → sangi joined | 04:32 |
| ← d2dchat left | 04:32 |
| ← x82_nicole left | 04:32 |
| → gjaldon joined | 04:33 |
| → noyb joined | 04:35 |
| → eletuchy joined | 04:36 |
| ← TeamColtra left | 04:40 |
| → gmarseliss joined | 04:42 |
| ← project2501b left | 04:43 |
| → Zael_ joined | 04:44 |
| → BadProphet joined | 04:44 |
| ← Zael_ left | 04:46 |
| ← eletuchy left | 04:47 |
| ← Zael left | 04:47 |
| ← SBoudrias left | 04:48 |
| ← Raging_Hog left | 04:49 |
| → pretty_function joined | 04:52 |
| → hafeez3000 joined | 04:56 |
| → private joined | 04:56 |
| private → Guest48221 | 04:57 |
| ← BadProphet left | 04:57 |
| ← caseymcg left | 04:58 |
| ← luc_ left | 05:03 |
| ← gitnewb left | 05:04 |
| → luc_ joined | 05:04 |
| ← hafeez3000 left | 05:08 |
| → d2dchat joined | 05:09 |
| → syskk_ joined | 05:10 |
| ← syskk_ left | 05:10 |
| → syskk_ joined | 05:10 |
| ← SirCmpwn left | 05:11 |
| → SirCmpwn joined | 05:11 |
| → hafeez3000 joined | 05:13 |
| ← Bass10 left | 05:13 |
| → eletuchy joined | 05:13 |
| ← TomWij left | 05:13 |
| ← syskk left | 05:14 |
| syskk_ → syskk | 05:14 |
| ← yakko left | 05:16 |
| → TomWij joined | 05:16 |
| ← gjaldon left | 05:16 |
| ← Araxia left | 05:17 |
| → Araxia joined | 05:18 |
| ← m0viefreak left | 05:20 |
| → dnivio joined | 05:21 |
| ← irqq_ left | 05:21 |
| → OOPMan joined | 05:21 |
| ← Davey left | 05:22 |
| → tomvolek joined | 05:22 |
|
tomvolek
| anybody here has used SourceTree client ? | 05:23 |
| ← eletuchy left | 05:23 |
| → subhojit777 joined | 05:24 |
| → BadProphet joined | 05:25 |
| → gjaldon joined | 05:29 |
| ← dnivio left | 05:30 |
| → ecksit joined | 05:31 |
|
ecksit
| hey, i am trying to rebase my branch and i get the following output - https://gist.github.com/d46f43a74cbe719532a6 | 05:31 |
|
| how can i resolve that? | 05:32 |
| ← isomorphic left | 05:32 |
|
cirwin
| ecksit: looks like you're passing the wrong arguments to git rebase | 05:32 |
|
| what did you ask it to do? | 05:32 |
| → tokiya_ joined | 05:32 |
|
ecksit
| git rebase -i branch-name | 05:32 |
| → rurufufuss joined | 05:33 |
|
thiago
| your current branch is already rebased compared to branch-name | 05:33 |
|
cirwin
| you want to do git rebase -i master | 05:33 |
|
thiago
| i.e., your current branch and branch-name are the same | 05:33 |
|
cirwin
| or find the point at which your branch diverged from master | 05:33 |
|
| confusing UI is confusing | 05:34 |
| → isomorphic joined | 05:34 |
| ← iamjarvo left | 05:34 |
|
ecksit
| right | 05:34 |
| ← tokiya left | 05:35 |
|
CrazyGir
| is it possible to specify a password on the command line or try for ssh then fallback to password, or otherwise avoid entering password interactively? | 05:36 |
| ← BadProphet left | 05:37 |
| ← crhan left | 05:37 |
|
thiago
| CrazyGir: check your ssh documentation | 05:37 |
| ← Araxia left | 05:38 |
| → Araxia joined | 05:38 |
| → hotovson joined | 05:39 |
|
cirwin
| CrazyGir: you probably want to set your ssh up with public-keys (for additional security then password protect your keys and use an ssh-agent) http://www.ece.uci.edu/~chou/ssh-key.html | 05:40 |
| ← jday_ left | 05:40 |
| → xiukun joined | 05:42 |
| ← hotovson left | 05:43 |
| → syskk_ joined | 05:44 |
| ← syskk_ left | 05:44 |
| → syskk_ joined | 05:44 |
| ← syskk left | 05:44 |
| syskk_ → syskk | 05:44 |
| ← aspotashev left | 05:44 |
| → dvide joined | 05:44 |
| ← ecksit left | 05:45 |
| ← trumpetmic left | 05:46 |
| ← jcao219 left | 05:48 |
| ← gjaldon left | 05:49 |
| → eletuchy joined | 05:50 |
| ← camt left | 05:52 |
| → gjaldon joined | 05:54 |
| ← bgerber left | 05:55 |
| ← philips_ left | 05:55 |
| ryanneufeld|away → ryanneufeld | 05:56 |
|
ak5
| can I get gitolite to write files as different group? I am running httpd as http user and gitolite as git user, runninf postreceive hook that creates files. I need those files to be owned by git:http - can I do that | 05:57 |
| ← gjaldon left | 05:57 |
| ← schmiddy left | 05:58 |
|
milki
| cant you do that in your postreceive hook? | 05:58 |
| → philips_ joined | 05:59 |
|
ak5
| milki: what you mean with sudo chown -R :http ? I was hoping there was a cleaner solution than adding git to sudoers files | 06:00 |
|
thiago
| only root can use groups and users to which it doesn't belong | 06:00 |
| ← eletuchy left | 06:00 |
|
thiago
| but a regular user can chgrp its files to any group that it belongs to | 06:00 |
|
ak5
| I see | 06:01 |
|
| so I add http to git's groups? | 06:01 |
| ← yoklov left | 06:02 |
| → bgerber joined | 06:02 |
|
thiago
| that will allow you to save files as http:git | 06:02 |
|
| not git:http | 06:02 |
| → BadProphet joined | 06:04 |
| → JohnBat26 joined | 06:04 |
| → revyd joined | 06:06 |
|
sitaram
| ak5: use the umask setting in the rc file, then adjust groups | 06:06 |
| → david2lin joined | 06:06 |
| ← RowsIO left | 06:06 |
|
sitaram
| ak5: http://sitaramc.github.com/gitolite/rc.html | 06:06 |
|
| instructions for older gitolite will be similar but not exactly the same | 06:07 |
| → harshpb joined | 06:07 |
|
ak5
| ok thanks | 06:07 |
| ← bgerber left | 06:09 |
| → longbeach joined | 06:11 |
| ← harshpb left | 06:12 |
| → ISF joined | 06:13 |
| ← BadProphet left | 06:16 |
| → ben__duyujie joined | 06:16 |
| → KKA joined | 06:16 |
| → syskk_ joined | 06:19 |
| ← syskk_ left | 06:19 |
| → syskk_ joined | 06:19 |
| ← subhojit777 left | 06:20 |
| → subhojit777 joined | 06:20 |
| ← syskk left | 06:20 |
| syskk_ → syskk | 06:20 |
| → irqq joined | 06:20 |
| → arietis joined | 06:20 |
| → imachuchu joined | 06:21 |
| ← GeertB left | 06:21 |
| ← imachuchu left | 06:21 |
| → btrask joined | 06:22 |
|
CrazyGir
| cirwin / thiago : thank you for the suggestion on ssh keys, and apologies on my delay in replying. unfortunately, I am trying to find another solution, separate from the use of keys | 06:22 |
| ← d2dchat left | 06:22 |
| → Bilge joined | 06:24 |
| → iamjarvo joined | 06:24 |
| ← noyb left | 06:27 |
| → eletuchy joined | 06:27 |
| → jcao219 joined | 06:27 |
|
thiago
| the only way to authenticate to SSH without typing the password all the time is to use another authentication mechanism | 06:28 |
|
| keys are the easiest | 06:28 |
| ← mnathani left | 06:28 |
| ← edgar-rft left | 06:29 |
| → imachuchu joined | 06:30 |
| ← etcetera left | 06:30 |
| ← tomvolek left | 06:30 |
| ← ak5 left | 06:30 |
| ← tewecske left | 06:31 |
| → bgerber joined | 06:33 |
| → skul joined | 06:33 |
| ← oposomme|away left | 06:33 |
| → oposomme joined | 06:33 |
| → arex\ joined | 06:34 |
| ← zdk left | 06:34 |
| → zdk joined | 06:35 |
| ← jtm left | 06:35 |
| ← Gizmokid2005 left | 06:35 |
| → jtm joined | 06:35 |
| ← mgedmin left | 06:35 |
| → mgedmin joined | 06:36 |
| ← eletuchy left | 06:37 |
| → Gizmokid2005 joined | 06:37 |
| → shruggar joined | 06:37 |
| ← unreal left | 06:39 |
| → luc__ joined | 06:41 |
| ← luc_ left | 06:41 |
| → unreal joined | 06:42 |
| gitinfo set mode: +v | 06:42 |
| → d2dchat joined | 06:42 |
| → BadProphet joined | 06:43 |
| ← syskk left | 06:43 |
| → syskk joined | 06:43 |
|
EugeneKay
| sitaram - I would have pointed him at deploy #6 ;-) | 06:45 |
| ← revyd left | 06:46 |
|
sitaram
| EugeneKay: hmmm... maybe you're right. I read the first few words and assumed "oh, gitweb..." | 06:47 |
|
EugeneKay
| "EugeneKay is right because EugeneKay is always right." | 06:47 |
|
sitaram
| didnt read the bit where he says "postreceive hook" | 06:48 |
| → hotovson joined | 06:48 |
|
sitaram
| yeah yeah | 06:48 |
|
EugeneKay
| Yeah, this guy was asking about GIT_WORK_TREE earlier | 06:48 |
|
ag4ve
| how do i see what was committed with a change? diff gives me hash to current - how do i get just that patch? | 06:49 |
| ← docai left | 06:49 |
|
EugeneKay
| ag4ve - git show commit | 06:49 |
| → docai joined | 06:49 |
|
cirwin
| git diff commit^! too | 06:49 |
|
ag4ve
| thanks | 06:49 |
|
| ^!? | 06:50 |
|
cirwin
| man gitrevisions | 06:51 |
|
gitinfo
| the gitrevisions manpage is available at http://jk.gs/gitrevisions.html | 06:51 |
| → mishok13 joined | 06:51 |
| → maleknet joined | 06:52 |
| ← hotovson left | 06:52 |
|
ag4ve
| oh cool, i always wondered where things like HEAD~1 were documented | 06:53 |
|
cirwin
| yeah, it's a pretty handy page | 06:54 |
|
| though I wish it had a mode for specifying "that revision I mean" | 06:54 |
| ← BadProphet left | 06:55 |
|
_ikke_
| DWIMNWIS | 06:55 |
| → revyd joined | 06:57 |
| ← maleknet left | 06:57 |
| → laurav joined | 06:57 |
| ← angelsl left | 06:58 |
| → gittish joined | 07:00 |
| ← longbeach left | 07:00 |
| → hotovson_ joined | 07:01 |
| → ben__duyujie_ joined | 07:02 |
| → ThomasLocke joined | 07:03 |
| ← ben__duyujie left | 07:04 |
| → eletuchy joined | 07:04 |
| ← revyd left | 07:06 |
|
milki
| fly-by-wire programming | 07:06 |
| ← hotovson_ left | 07:06 |
| ← shruggar left | 07:06 |
|
cirwin
| https://github.com/AndrewVos/metherd-missing | 07:06 |
| → pantsman joined | 07:06 |
| ← pantsman left | 07:06 |
| → pantsman joined | 07:06 |
|
_ikke_
| milki: ? | 07:06 |
|
milki
| isnt that how those systems work? | 07:07 |
|
_ikke_
| Guess so | 07:07 |
|
milki
| you say steer left | 07:07 |
|
| but you really mean activate all these thrusters in a certain order | 07:07 |
|
| in order to go the right direction | 07:07 |
|
| er, "left" direction | 07:07 |
| → mrtwiddletoes joined | 07:09 |
| → soee joined | 07:09 |
| ← gittish left | 07:10 |
| ← mrtwiddletoes left | 07:12 |
| → maleknet joined | 07:13 |
| ← eletuchy left | 07:14 |
| → cbreak-work joined | 07:15 |
| ← cbreak-work left | 07:15 |
| → revyd joined | 07:15 |
| → marthinal joined | 07:15 |
| → cbreak-work joined | 07:15 |
| → a-l-e joined | 07:16 |
| ← subhojit777 left | 07:16 |
| → flijten joined | 07:16 |
| → jackh joined | 07:16 |
| ← mishok13 left | 07:17 |
| → jceb joined | 07:18 |
| → dhruvasagar joined | 07:19 |
| → cilly joined | 07:21 |
| → BadProphet joined | 07:22 |
| ← a-l-e left | 07:22 |
| → angelsl joined | 07:22 |
| → poolshark joined | 07:23 |
| → fsvehla joined | 07:24 |
| → ben__duyujie joined | 07:24 |
| ← cilly left | 07:24 |
| ← jceb left | 07:24 |
| → papegaaij joined | 07:26 |
| ← syskk left | 07:26 |
| → syskk joined | 07:27 |
| ← syskk left | 07:27 |
| → syskk joined | 07:27 |
| ← laurav left | 07:27 |
| ← ben__duyujie_ left | 07:27 |
| → danmichel joined | 07:28 |
| ← JohnBat26 left | 07:28 |
| → hoschi joined | 07:28 |
| → shruggar joined | 07:28 |
| ← joshsmith left | 07:28 |
| ← danmichel left | 07:29 |
| → hotovson joined | 07:29 |
| ← Gizmokid2005 left | 07:30 |
| → Pugnax joined | 07:31 |
| ← hotovson left | 07:31 |
| ← iamjarvo left | 07:32 |
| ← syskk left | 07:32 |
| ← BadProphet left | 07:34 |
| → ben__duyujie_ joined | 07:34 |
| → Gizmokid2005 joined | 07:35 |
| ← ShadeTornado left | 07:35 |
| ← ben__duyujie left | 07:35 |
| → _ramok joined | 07:36 |
|
_ramok
| hi | 07:36 |
|
FauxFaux
| _ramok: !hi | 07:36 |
|
gitinfo
| _ramok: [!welcome] Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice. | 07:36 |
|
_ramok
| i'm trying to update my submodules with "git submodule update" . but nothing happens. i see still the old code. if i go into the folder and run "git checkout master" i get "Already on 'master'" | 07:37 |
|
| any idea how i can update my submodule? | 07:37 |
|
_ikke_
| _ramok: Where do you want to update it to | 07:37 |
|
| ?\ | 07:37 |
|
_ramok
| _ikke_: it's currently in a project | 07:37 |
|
_ikke_
| _ramok: note that git submodule update doesn't mean, get the latest code from upstream | 07:37 |
| → dpino joined | 07:37 |
|
_ikke_
| _ramok: It means, update the submodule to the commit that is recorded for this submodule | 07:38 |
|
_ramok
| _ikke_: oh, okay which command is doing that? | 07:38 |
| → eletuchy joined | 07:38 |
|
_ikke_
| _ramok: Just like you normally would in a repository | 07:38 |
| → jceb joined | 07:38 |
|
_ikke_
| git fetch in the submodule itself | 07:38 |
|
_ramok
| hm, okay. let me try this | 07:38 |
| → Sigma joined | 07:38 |
| → xxc_michael joined | 07:39 |
|
_ramok
| _ikke_: so i'm now in the folder of the submodule, if i do a git fetch and after that a git merge origin/master it gives me "Already up-to-date", but that's not true | 07:39 |
|
| the code is stille the old one | 07:39 |
|
thiago
| _ramok: I'm pretty sure it is true | 07:39 |
|
| it's your expectation that is wrong | 07:39 |
| → giallu joined | 07:40 |
|
_ramok
| thiago: than i didn't get it fully... if i'm looking at the code, i'm missing three parts | 07:40 |
| → subhojit777 joined | 07:40 |
|
thiago
| _ramok: I'm sure there are things missing, but git is also working fine | 07:40 |
|
| _ramok: so we must conclude that you told git to do something and it did work perfectly. | 07:41 |
|
| _ramok: except that you told it to do something that is not what you wanted | 07:41 |
|
| _ramok: where are you seeing those three parts that should be present? | 07:41 |
| ← angelsl left | 07:41 |
|
_ramok
| if i look into my repository, i see other code than i see in my current local code. what i try to achieve is to get the latest code into this submodule | 07:42 |
|
_ikke_
| _ramok: latest code from where? | 07:42 |
| ← MissionCritical left | 07:42 |
|
thiago
| _ramok: do you have two local repositories? | 07:42 |
|
| _ramok: do a git log on both. Is it the same commit at the top? | 07:43 |
|
_ramok
| _ikke_: from my repository. i have a web gui, and the code i see there for the specific file, looks different than the code on my server | 07:43 |
| → blurrr joined | 07:43 |
| → adamben joined | 07:43 |
| ← adamben left | 07:43 |
| → adamben joined | 07:43 |
|
thiago
| _ramok: confirm that the URL for the remote is correct in your server | 07:43 |
|
_ikke_
| _ramok: did you just do "git fetch"? | 07:44 |
|
thiago
| _ramok: does it point to the URL for the web UI? | 07:44 |
| ← jcao219 left | 07:44 |
|
thiago
| and what _ikke_ said | 07:44 |
| ← revyd left | 07:46 |
| → mishok13 joined | 07:46 |
|
_ramok
| thiago: i'm not really sure how to read that git log | 07:47 |
|
thiago
| does the repository in the server have the correct URL for its remote? | 07:47 |
| → aspotashev joined | 07:47 |
| ← kerrick left | 07:47 |
| → kerrick joined | 07:47 |
|
_ramok
| how od i get this URL? git log just show me, the same commits if i'm in my project folder /main and in the submodules folder /main/src/submodule | 07:47 |
|
thiago
| git remote -v | 07:48 |
|
| let's forget submodules for a moment | 07:48 |
| ← d2dchat left | 07:48 |
| ← resmo__ left | 07:48 |
|
thiago
| there's a repository that contains the code you want. Go to that and type: git remote -v. | 07:48 |
|
| is the URL correct? | 07:48 |
| ← hafeez3000 left | 07:49 |
|
_ramok
| thiago: they are pointing both to the same url. | 07:49 |
|
thiago
| both? that means there are two repositories | 07:49 |
|
| correct? | 07:49 |
|
_ramok
| no | 07:50 |
|
| i have a main project that i checked out | 07:50 |
|
thiago
| then where did "both" come from? | 07:50 |
|
_ramok
| this is called /main | 07:50 |
|
thiago
| ok | 07:50 |
| ← jwmann left | 07:51 |
|
_ramok
| and if i go to the submodules in /main/src/submodule and do a git remote -v than i get the same url | 07:51 |
|
thiago
| as I said, forget submodules | 07:51 |
|
| there's just one repository: the one that contains the checkout that you want | 07:51 |
|
| the one where the "three parts" are missing | 07:52 |
|
_ramok
| okay | 07:52 |
|
thiago
| git remote -v in it. Is the URL correct? | 07:52 |
|
_ramok
| i'm in this folder, but i don't have any .git folders there | 07:52 |
|
| no | 07:52 |
|
thiago
| ok, so we have found a problem | 07:52 |
| → jwmann joined | 07:53 |
|
thiago
| you haven't cloned the repository yet | 07:53 |
|
| clone it | 07:53 |
|
_ramok
| into the same folder? | 07:53 |
| → angelsl joined | 07:53 |
| → aisbaa joined | 07:53 |
|
thiago
| is that the folder for the submodule? | 07:53 |
|
_ramok
| i'm in /main/src/submodule , and i sould do a git clone <git-to-the-submodule-repo> | 07:54 |
|
| yes | 07:54 |
|
thiago
| have you run the git submodule commands that do the cloning? | 07:54 |
| → Mission-Critical joined | 07:54 |
|
_ramok
| you mean git submodule init and git submodule update ? | 07:54 |
|
thiago
| yes | 07:54 |
| ← thyseus left | 07:54 |
|
_ramok
| i thought i did... | 07:54 |
|
| it's a longer time ago | 07:54 |
|
| should i run them again? | 07:55 |
|
thiago
| yes | 07:55 |
| ← arietis left | 07:55 |
|
_ramok
| from the folder where i'm currently in? /main/src/submodule | 07:55 |
|
thiago
| no, from the top of the super module's repository | 07:55 |
|
_ramok
| yes, it says: You need to run this command from the toplevel of the working tree. | 07:56 |
|
| thiago: i did a git submodule init, and after that a git submodule update, and get now: fatal: destination path 'main/src/submodule' already exists and is not an empty directory. Clone of 'xxxx' into submodule path 'main/src/submodule' failed | 07:57 |
|
thiago
| _ramok: there's your problem | 07:57 |
|
_ramok
| so should i delete the submodule folder? | 07:57 |
| → gjaldon joined | 07:58 |
|
thiago
| or move it away somewhere else | 07:58 |
|
| it's up to you | 07:58 |
| → mastro joined | 07:59 |
|
thiago
| and now I'm off to bed | 07:59 |
|
_ramok
| thank you | 07:59 |
| → thyseus_ joined | 07:59 |
| → BadProphet joined | 08:00 |
| → suy joined | 08:02 |
| Mission-Critical → MissionCritical | 08:02 |
| ← jdunck left | 08:03 |
| ← aspotashev left | 08:03 |
| ← Turicas left | 08:03 |
| ← mfn left | 08:03 |
| ← thiago left | 08:03 |
| → aBound joined | 08:04 |
| ← mastro left | 08:05 |
| → tPl0ch joined | 08:05 |
| ← Goplat left | 08:05 |
| → mfn joined | 08:06 |
| → whitman_ joined | 08:07 |
| ← aetcore left | 08:07 |
|
aBound
| Howdy all, where's a good place to learn Git? | 08:07 |
|
jast
| !doc | 08:09 |
|
gitinfo
| A list of useful documentation of all kinds is here: http://git-scm.com/documentation -- or try the wiki at http://git.wiki.kernel.org/. Also try typing "!book" "!cs" "!bottomup" "!parable" "!best_practices" or "!vcbe" or "!designers" here in IRC. !book is probably the most helpful. | 08:09 |
| ← shruggar left | 08:09 |
|
jast
| plus, of course, we can probably answer any questions that come up | 08:09 |
| ← o] left | 08:10 |
|
aBound
| !book | 08:10 |
|
gitinfo
| There are several good books available about git; 'Pro Git' is probably the best: http://git-scm.com/book but also look at !bottomup !cs !gcs !designers !gitt !vcbe and !parable | 08:10 |
|
aBound
| jast, I gotcha thanks for the info. | 08:10 |
|
jast
| good luck! :) | 08:10 |
| → o] joined | 08:11 |
| ← BadProphet left | 08:12 |
| ← kerrick left | 08:12 |
| → aetcore joined | 08:13 |
| → tida joined | 08:13 |
| → diegovio1a joined | 08:13 |
| ← Error404NotFound left | 08:13 |
| → JohnBat26 joined | 08:14 |
| ← diegoviola left | 08:14 |
| diegovio1a → diegoviola | 08:15 |
| ← ninegrid left | 08:15 |
| → timj joined | 08:15 |
|
aBound
| :) | 08:17 |
| ← timj1 left | 08:17 |
| → mastro joined | 08:18 |
| → bux joined | 08:19 |
| ← Pugnax left | 08:20 |
| → ninegrid joined | 08:20 |
| → jlopez joined | 08:21 |
| ← subhojit777 left | 08:21 |
| ← ninegrid left | 08:22 |
| → ninegrid joined | 08:25 |
| → Error404NotFound joined | 08:26 |
| ← Cassiel left | 08:27 |
| ← Sigma left | 08:29 |
| → laurav joined | 08:29 |
| ← tida left | 08:29 |
| → mastroWork joined | 08:31 |
| → Sigma joined | 08:32 |
| ← aBound left | 08:32 |
| → Xizor joined | 08:33 |
| ← mastro left | 08:34 |
| → Katafalkas joined | 08:34 |
| → blami_ joined | 08:34 |
| → BiggFREE joined | 08:37 |
| → BadProphet joined | 08:38 |
| → psoo joined | 08:38 |
| ← _ikke_ left | 08:40 |
| → rchavik joined | 08:40 |
| ← rchavik left | 08:40 |
| → rchavik joined | 08:40 |
| → mastro__ joined | 08:41 |
| → subhojit777 joined | 08:41 |
| ← mastroWork left | 08:41 |
| → _ikke_ joined | 08:42 |
| → jkremser joined | 08:44 |
| ← Sky[x] left | 08:44 |
| → holden247 joined | 08:45 |
| ← OOPMan left | 08:46 |
| ← pantsman left | 08:48 |
| → RaceCondition joined | 08:49 |
| ← BadProphet left | 08:49 |
| → hafeez3000 joined | 08:50 |
| → kladze joined | 08:50 |
| → mastroWork joined | 08:52 |
| ← mastro__ left | 08:52 |
| → dsirijus joined | 08:52 |
| ← fsvehla left | 08:52 |
| → JDuke128 joined | 08:53 |
| ← JohnBat26 left | 08:54 |
| → JohnBat26 joined | 08:55 |
|
JDuke128
| hey , how can i combine git commits? i have same project on my windows and mac machine.Both of them have different changes.I want to combine the changes | 08:56 |
|
| how* | 08:56 |
|
| ? | 08:56 |
|
FauxFaux
| JDuke128: Isn't that what 'pull' does, from the most basic workflow? | 08:57 |
| ← flijten left | 08:57 |
|
JDuke128
| i ve same project and same classes on both pc | 08:57 |
|
| but if i do push 1 | 08:57 |
|
| another will replace other's codes | 08:57 |
|
FauxFaux
| That's why I didn't say "push". | 08:58 |
|
JDuke128
| i don't want to replace some classes | 08:58 |
|
| on other | 08:58 |
| → martinjlowm-lapt joined | 08:58 |
| → thierryp joined | 08:58 |
|
FauxFaux
| So, if you cna't even concieve what git is going to do here, it doesn't matter; take backups, do whatever you think you can with git, then fix it afterwards. | 08:58 |
| → shruggar joined | 08:59 |
| → zeppo joined | 08:59 |
|
JDuke128
| how can i backup 1 and other before mix | 09:00 |
|
| git stash ? | 09:00 |
|
FauxFaux
| Well, if you don't trust git, I'd suggest using something that's not git. | 09:00 |
| ← hafeez3000 left | 09:01 |
| ← JohnBat26 left | 09:02 |
| → mastro__ joined | 09:02 |
| → LimeBlast joined | 09:02 |
| → xpen joined | 09:02 |
|
JDuke128
| i think my mistake is i edited same files on different machines | 09:03 |
|
| right? | 09:03 |
|
| it turned into spaghetti | 09:03 |
|
FauxFaux
| No, that's absolutely perfectly fine and expected. | 09:03 |
| → icio joined | 09:03 |
|
JDuke128
| edit same codes? | 09:04 |
| → kerrick joined | 09:04 |
| ← mastroWork left | 09:05 |
|
FauxFaux
| Yep. | 09:05 |
| → sisyphus joined | 09:07 |
| → lausi joined | 09:07 |
| ← dreiss left | 09:07 |
| → hafeez3000 joined | 09:07 |
| → dc5ala joined | 09:08 |
|
imachuchu
| JDuke128: so you have 2 commits, that may conflict, between a windows box and a mac box, right? | 09:08 |
| ← maleknet left | 09:09 |
| → eijk joined | 09:11 |
| ← matip left | 09:11 |
| → matip joined | 09:11 |
| → mastroWork joined | 09:12 |
| ← BiggFREE left | 09:14 |
| → _Qman joined | 09:14 |
| ← mastro__ left | 09:15 |
| → BadProphet joined | 09:16 |
| → JohnBat26 joined | 09:17 |
| → mikecmpbll joined | 09:17 |
| ← lausi left | 09:18 |
| → marhaban joined | 09:18 |
| → diget joined | 09:19 |
| → xiangfu joined | 09:19 |
| → klj613 joined | 09:20 |
| ← sisyphus left | 09:21 |
| → mastro__ joined | 09:22 |
| ← mastroWork left | 09:22 |
| → zenx joined | 09:24 |
|
The-Compiler
| Can I somehow automatically prepend a string to all commit messages I've ever made in a repo? | 09:24 |
|
_ikke_
| The-Compiler: look at man git filter-branch | 09:25 |
|
gitinfo
| The-Compiler: the git-filter-branch manpage is available at http://jk.gs/git-filter-branch.html | 09:25 |
|
The-Compiler
| gah, I guess I need to get sed first, since this is a windows system | 09:27 |
|
FauxFaux
| I think git ships with some sed implementation. | 09:28 |
| ← BadProphet left | 09:28 |
|
The-Compiler
| just noticed as well, just wasn't in my PATH | 09:28 |
| → AdrienBrault joined | 09:29 |
| → robotmay joined | 09:31 |
| ← xnox left | 09:32 |
| → fsvehla joined | 09:33 |
| → maleknet joined | 09:34 |
| ← JDuke128 left | 09:34 |
| → herdingcat joined | 09:37 |
| → AlexC_ joined | 09:37 |
| → mystMan joined | 09:38 |
|
AlexC_
| G'morning | 09:38 |
| → evildmp joined | 09:38 |
|
mystMan
| Morning | 09:38 |
| → jargon joined | 09:38 |
|
AlexC_
| I'm a little confused regarding .gitattributes and line endings. We want to ensure that all text files (php,html,css etc etc) all have LF line endings. Am I correct in thinking that "*.php text=auto" is what we need? | 09:38 |
| → flijten joined | 09:38 |
|
mystMan
| I have a shared repo at ##.##.##.###:/repos/repo.git and I want to add a local project to that repo. How do I add a local repo to the bare repo on the server | 09:39 |
|
_ikke_
| AlexC_: yes | 09:40 |
|
AlexC_
| Thanks _ikke_ :) | 09:40 |
| → mastroWork joined | 09:41 |
| ← PaulCapestany left | 09:41 |
| → Hounddog joined | 09:42 |
| ← aetcore left | 09:43 |
| ← mastro__ left | 09:44 |
| → achadwick joined | 09:44 |
| ← fsvehla left | 09:46 |
| → jsegura joined | 09:47 |
| → fsvehla joined | 09:48 |
| ← narfnarfnarf left | 09:49 |
| ← Sigma left | 09:50 |
| SeoZ → SeoZ-work[AWAY] | 09:50 |
| → chussenot joined | 09:51 |
| → Sigma joined | 09:52 |
| → oo_miguel joined | 09:52 |
|
oo_miguel
| Can I somehow revert doing "git fetch" | 09:52 |
| ← sluther left | 09:52 |
|
FauxFaux
| Which of the operations that it does would you like reverted? | 09:52 |
|
oo_miguel
| the merge | 09:53 |
|
FauxFaux
| git fetch doesn't merge. | 09:53 |
| ← jackh left | 09:53 |
|
oo_miguel
| so what does it do? | 09:53 |
| → narfnarfnarf joined | 09:53 |
|
oo_miguel
| I thought it pulls the remote branch and merges it with the current one | 09:53 |
|
FauxFaux
| Update remote tracking branches, and ensure you have the related data. | 09:53 |
|
jast
| it updates the remote-tracking branches in remotes/<name of remote> | 09:53 |
|
FauxFaux
| You must be thinking of 'pull'. | 09:54 |
|
oo_miguel
| oh sorry | 09:54 |
|
jast
| pull is fetch+merge. fetch is pull-merge :) | 09:54 |
| → mastro__ joined | 09:54 |
| → Desproges joined | 09:54 |
|
oo_miguel
| so I did a pull and want to reverse the merge :) | 09:54 |
| → Element9 joined | 09:54 |
|
oo_miguel
| sorry for confusion | 09:54 |
|
jast
| have you pushed the merge yet? | 09:54 |
|
oo_miguel
| I did but it was rejected | 09:55 |
|
jast
| oh, good | 09:55 |
| → BadProphet joined | 09:55 |
|
jast
| reverting a merge that has been published is messy business | 09:55 |
| → reenignEesreveR joined | 09:55 |
|
jast
| did you commit anything else after the merge completed? | 09:55 |
|
oo_miguel
| "non-fast-forward" updates were rrejected | 09:55 |
|
| no | 09:55 |
|
jast
| right | 09:56 |
|
reenignEesreveR
| in my repo i have a utils.py file. On a cloned repo i dont have the utils.py. when i do a "git pull", it says "already updated" but doesn't pull utils.py file. what am i doing wrong? | 09:56 |
|
jast
| do you have any uncomdo you have any uncommitted changes? | 09:56 |
|
| (whoops) | 09:56 |
| ← mastroWork left | 09:56 |
|
oo_miguel
| I have 9 uncommited changes and 1 unmerged path | 09:56 |
|
| after the merge | 09:57 |
|
jast
| reenignEesreveR: probably utils.py was never added/committed to the repository | 09:57 |
|
| oo_miguel: that indicates the merge never actually completed | 09:57 |
|
reenignEesreveR
| jast, i can see it on the web interface of bitbucket | 09:57 |
|
jast
| so you're still in a semi-broken merge in progress | 09:57 |
|
| reenignEesreveR: is the repo public? | 09:57 |
|
oo_miguel
| Can I somehow abort the process? | 09:58 |
|
reenignEesreveR
| jast, no. the repo is private | 09:58 |
|
jast
| oo_miguel: yes, but some of your uncommitted changes might disappear... git merge --abort | 09:58 |
|
oo_miguel
| I have a direcotry that I never commit, that is in my tree (With some user-generated-content) | 09:58 |
|
| will this dissappear? | 09:58 |
| → ak5 joined | 09:59 |
|
ak5
| any way to checkout a tag without creating a branch? | 09:59 |
|
jast
| oo_miguel: untracked dirs should be fine | 10:00 |
|
lb
| ak5: git checkout <tag> | 10:00 |
| ← BlindOracle left | 10:01 |
| ← herdingcat left | 10:01 |
| ← xpen left | 10:01 |
| → BlindOracle joined | 10:01 |
|
reenignEesreveR
| what happens if i do a "rm somefile; git pull" ... will i get back somefile? | 10:01 |
| ← fsvehla left | 10:01 |
|
oo_miguel
| Its fine, thank you jast, however It seems I have an outdated version of git, since I hat do user git reset --merge. Still it worked, thank you very much | 10:02 |
| → mastroWork joined | 10:02 |
|
jast
| reenignEesreveR: no | 10:02 |
| ← hafeez3000 left | 10:02 |
|
jast
| reenignEesreveR: 'git status' would tell you how to get the file back | 10:02 |
| ← maleknet left | 10:03 |
| ← riker2000 left | 10:03 |
| → fsvehla joined | 10:03 |
|
reenignEesreveR
| thanks jast :) | 10:03 |
| → riker2000 joined | 10:04 |
| ← chaiz left | 10:04 |
| ← cirwin left | 10:04 |
|
The-Compiler
| I have a big project in an SVN repo on our company SVN server, and a local, linear git-repo with a smaller project. Now I'd like to move the smaller project to the SVN server in a subfolder of the bigger project, while also having the whole git history converted to svn. Is this possible? I tried using git-svn but it did ignore the older commits | 10:05 |
| ← mastro__ left | 10:05 |
| ← imachuchu left | 10:06 |
| ← riker2000 left | 10:06 |
|
cbreak-work
| The-Compiler: yes, it is possible | 10:06 |
| → strk joined | 10:06 |
|
cbreak-work
| make a directory in svn | 10:07 |
|
| then git svn clone it | 10:07 |
| → riker2000 joined | 10:07 |
|
cbreak-work
| then rebase your git history onto that commit | 10:07 |
|
strk
| can I merge remote/something to something without changing current working tree ? | 10:07 |
|
cbreak-work
| and git svn dcommit it | 10:07 |
|
strk
| (how) | 10:07 |
|
cbreak-work
| strk: no, obviously not | 10:07 |
| ← BadProphet left | 10:07 |
|
cbreak-work
| unless you use -s ours | 10:07 |
| → mastro__ joined | 10:07 |
|
cbreak-work
| which is not really a merge | 10:07 |
| ← riker2000 left | 10:08 |
| ← mastroWork left | 10:08 |
| ← hyperair left | 10:08 |
|
strk
| I've a repo A that has upstream as remotes, and repo B being a clone from A | 10:08 |
|
| basically I want to get changes in B without changing A's checked out sources | 10:08 |
|
| maybe I don't really need a merge | 10:09 |
|
| just a way to reference A's remote-tracking branches from B | 10:09 |
|
| to fetch from | 10:09 |
|
cbreak-work
| fetching doesn't change working dirs | 10:09 |
| oposomme → oposomme|away | 10:09 |
| ← Industrial left | 10:10 |
|
strk
| to complicate the thing the "remote" in A is an SVN repo | 10:10 |
| ← fsvehla left | 10:10 |
| ← david2lin left | 10:10 |
| ← netj left | 10:11 |
|
cbreak-work
| git svn fetch | 10:11 |
| → netj joined | 10:11 |
|
strk
| that part is done | 10:11 |
|
cbreak-work
| that will update A | 10:11 |
|
| then fetch A in B | 10:11 |
|
| you'll probably have to fetch explicitly | 10:12 |
|
strk
| --all didn't bring in anything new | 10:12 |
|
cbreak-work
| of course not | 10:12 |
| ← rednaks left | 10:12 |
|
cbreak-work
| as I said: you have to fetch explicitly | 10:12 |
|
strk
| uhm | 10:12 |
|
| git fetch origin svn-1.5 | 10:12 |
|
cbreak-work
| if you want to fetch remote tracking branches | 10:13 |
|
strk
| it seems it has worked | 10:13 |
|
cbreak-work
| git ls-remote origin | 10:13 |
|
| those are the things you can fetch | 10:13 |
|
| only things that start with /refs/heads are local branches and are fetched normally | 10:13 |
|
| if you want something else you have to do it yourself | 10:14 |
|
strk
| refs/remotes/1.5 <--- sounds like this one is the remote (svn-bound) | 10:14 |
| → fsvehla joined | 10:14 |
|
strk
| git-svn could have choosen a better name for an svn-tracking branch :/ | 10:14 |
|
cbreak-work
| (you can also change the fetch spec of the remote in .git/config) | 10:14 |
|
| it did | 10:14 |
| → hafeez3000 joined | 10:15 |
|
cbreak-work
| it should be remotes/trunk or so | 10:15 |
|
strk
| yeah, for trunk, but for the "2.0" branch, it is "remotes/2.0" | 10:15 |
|
cbreak-work
| well... blame the person who picked that name | 10:16 |
| ← sgronblom left | 10:16 |
| → maleknet joined | 10:17 |
| → LekeFly joined | 10:18 |
| ← docai left | 10:20 |
| → JDuke128 joined | 10:20 |
| → mastroWork joined | 10:21 |
| → tsdh joined | 10:21 |
| → daniel_- joined | 10:22 |
| ← zenx left | 10:22 |
| → the_cybersphinx joined | 10:23 |
| ← mastro__ left | 10:23 |
| ← maleknet left | 10:24 |
|
ak5
| lb: thanks for that. I am now doing git checkout -f <mytag>, but then I want to switch back to whatever was HEAD before, can I do that? | 10:24 |
| ← ak5 left | 10:26 |
| ← fsvehla left | 10:26 |
| → fsvehla joined | 10:27 |
| → riker2000 joined | 10:28 |
| ← reenignEesreveR left | 10:29 |
| → berserkr joined | 10:30 |
| ← jdyin left | 10:31 |
| → glennpratt joined | 10:33 |
| → BadProphet joined | 10:33 |
| → zenx joined | 10:36 |
| ← luc__ left | 10:38 |
| ← fsvehla left | 10:39 |
| → fsvehla joined | 10:41 |
|
cbreak-work
| ak5: just check out a branch | 10:42 |
| → PaulCapestany joined | 10:42 |
| ← BadProphet left | 10:44 |
| ← bmcorser_ left | 10:44 |
| → ravenzz joined | 10:44 |
|
ravenzz
| hello | 10:44 |
| → bmcorser joined | 10:45 |
| → Innocentus joined | 10:46 |
|
ravenzz
| how do I merge a subbranch? | 10:47 |
|
lb
| ravenzz: what it a subbranch | 10:47 |
|
| s* | 10:47 |
|
ravenzz
| a branch of a branch | 10:47 |
|
| like I have master -> foo -> bar | 10:48 |
|
FauxFaux
| Exactly the same way as any other branch. | 10:48 |
|
ravenzz
| I want to merge bar | 10:48 |
|
| eheh that's what I thought | 10:48 |
|
lb
| ravenzz: git checkout master; git merge bar | 10:48 |
|
ravenzz
| but after the rebase, I can't see the commits on bar | 10:49 |
|
| when I do git glog | 10:49 |
|
lb
| ravenzz: so your question is not how to merge, rather than where is my stuff after a rebase? | 10:49 |
| → devsharpen joined | 10:49 |
|
FauxFaux
| You've just said three different things; try again, this time without saying "merge" when you mean "rebase", and "bar" when you mean "master". | 10:49 |
|
lb
| ravenzz: please !repro | 10:49 |
|
gitinfo
| ravenzz: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session. This will help immensely with troubleshooting. | 10:49 |
|
ravenzz
| http://pastie.org/5400529 | 10:50 |
|
| the next step would have been git merge bar (from foo) | 10:51 |
|
| co is an alias of checkout obviously | 10:52 |
| ← PaulCapestany left | 10:52 |
| ← fsvehla left | 10:52 |
| → pfFredd joined | 10:54 |
| → fsvehla joined | 10:54 |
|
esc
| what would be the best way to check if something is a git repo? | 10:55 |
|
| git rev-parse w/o args? | 10:55 |
|
FauxFaux
| ls-remote it. | 10:55 |
| ← rchavik left | 10:55 |
|
esc
| FauxFaux: need local | 10:56 |
|
_ikke_
| git rev-parse --is-inside-work-tree? | 10:56 |
| → volta joined | 10:57 |
|
esc
| _ikke_: I suppose, but things like git log will work also if you are not in the work-tree | 10:58 |
| ← fisted left | 11:00 |
| → fisted joined | 11:01 |
| → xiukun_ joined | 11:01 |
| → echo-area joined | 11:02 |
| ← xiukun left | 11:02 |
| ← eletuchy left | 11:02 |
| → rednaks joined | 11:02 |
|
_ikke_
| There are more options | 11:03 |
| → nelk joined | 11:03 |
| → tinti joined | 11:04 |
|
esc
| i reckon the rev-parse w/o args and options will be fine | 11:05 |
| → maleknet joined | 11:06 |
| ← zdk left | 11:08 |
| ← fsvehla left | 11:09 |
| ← boombatower left | 11:10 |
| → fsvehla joined | 11:11 |
| → BadProphet joined | 11:12 |
| → pfFred joined | 11:13 |
| ← fsvehla left | 11:13 |
| ← pfFredd left | 11:14 |
| → afuentes joined | 11:15 |
| ← mva left | 11:15 |
| ← jargon left | 11:17 |
| ← mikecmpbll left | 11:17 |
| → mikecmpbll joined | 11:18 |
|
_ikke_
| That would give an error when not in a repo | 11:18 |
| → PaulCapestany joined | 11:18 |
| ← mgedmin left | 11:19 |
| → mgedmin joined | 11:19 |
| → tiglog joined | 11:19 |
| → hotovson joined | 11:19 |
| ← AlexC_ left | 11:20 |
| → mastro__ joined | 11:22 |
| → flavius joined | 11:23 |
| ← BadProphet left | 11:23 |
| → dougsland joined | 11:23 |
| → pfFreddd joined | 11:25 |
| → caddoo joined | 11:25 |
| ← mastroWork left | 11:25 |
| ← juvenal left | 11:26 |
| ← Xizor left | 11:27 |
| ← pfFred left | 11:27 |
| → juvenal joined | 11:29 |
| ← PaulCapestany left | 11:29 |
| → ampz joined | 11:29 |
| ← ravenzz left | 11:29 |
| ← ampz left | 11:30 |
|
lb
| is it possible to override the git pull command on a local git installation? like an alias or something? | 11:30 |
| gitinfo set mode: +v | 11:31 |
|
_ikke_
| lb: Not within git itself | 11:31 |
|
FauxFaux
| Not really. Technically you could replace the binary in the exec dir. | 11:31 |
|
| If you just want to turn rebase on, there's a setting. | 11:31 |
| → pfFredd joined | 11:31 |
|
lb
| so i could move the binary to something else and create a symlink there instead? | 11:31 |
|
| FauxFaux: i want to forbid using git pull :D | 11:31 |
|
FauxFaux
| Why? | 11:32 |
| ← Chib left | 11:32 |
| → eletuchy joined | 11:32 |
| → pfFred joined | 11:33 |
| → mklappstuhl joined | 11:33 |
|
lb
| because my co-worker messed up twice using it. i wanna FORCE him to use git fetch and merge manually | 11:33 |
|
_ikke_
| remove the executable bit of the push binary | 11:33 |
|
lb
| _ikke_: oh that's a nice solution ;) | 11:34 |
|
| but you meant pull right? ;) | 11:34 |
|
_ikke_
| yeah | 11:34 |
| ← pfFreddd left | 11:34 |
|
lb
| ok thanks | 11:35 |
| ← pfFredd left | 11:36 |
| ← gjaldon left | 11:37 |
| → mastroWork joined | 11:38 |
| ← matip left | 11:39 |
| → bauruine joined | 11:39 |
| ← oposomme|away left | 11:40 |
| → oposomme joined | 11:40 |
| ← dsirijus left | 11:41 |
| ← mastro__ left | 11:41 |
| → fsvehla joined | 11:45 |
| → canttouchthis joined | 11:48 |
|
canttouchthis
| to not track anything under /dist i just add /dist in .gitignore right? | 11:48 |
|
FauxFaux
| Yes. Which you obviously tried. And it didn't work. So what now? | 11:48 |
|
_ikke_
| That only prevents things like git status to show them as untraced, and git add to add the accidentally | 11:48 |
|
| untracked* | 11:49 |
|
canttouchthis
| so how do I really ignore it | 11:49 |
|
FauxFaux
| !config | 11:49 |
|
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 | 11:49 |
|
canttouchthis
| how do I gitignore a directory? | 11:50 |
| ← hafeez3000 left | 11:50 |
|
FauxFaux
| The same way as files. But, gitignore does not, cannot, never will, and shouldn't apply to tracked files. | 11:50 |
| → BadProphet joined | 11:50 |
|
_ikke_
| You either care about them, and track them, you you don't care about them, and don't track them | 11:53 |
| → griotspeak joined | 11:54 |
| → chaiz joined | 11:55 |
| → PaulCapestany joined | 11:55 |
| → Ryback_ joined | 11:55 |
| ← fsvehla left | 11:56 |
| → hafeez3000 joined | 11:58 |
| → hyperair joined | 11:58 |
| → fsvehla joined | 11:59 |
| → pfFreddd joined | 12:00 |
| → fsvehla_ joined | 12:00 |
| → OOPMan joined | 12:01 |
| ← BadProphet left | 12:02 |
| → tvw joined | 12:02 |
| ← pfFred left | 12:03 |
| ← maleknet left | 12:03 |
| ← fsvehla left | 12:03 |
| → pfFredd joined | 12:04 |
| ← sangi left | 12:04 |
| ← pfFreddd left | 12:04 |
| → dvsharp joined | 12:05 |
| ← devsharpen left | 12:05 |
| ← fsvehla_ left | 12:05 |
| → leandrosansilva joined | 12:05 |
| ← PaulCapestany left | 12:06 |
| ← chussenot left | 12:06 |
| → fsvehla joined | 12:07 |
| → gavin_huang joined | 12:07 |
| ← oposomme left | 12:08 |
| → jargon joined | 12:09 |
| → fsvehla_ joined | 12:10 |
| → ben__duyujie joined | 12:10 |
| ← AdrienBrault left | 12:10 |
| → hinst joined | 12:12 |
| cinderblock → cinderblock_away | 12:12 |
| ← fsvehla left | 12:12 |
| fsvehla_ → fsvehla | 12:12 |
| → mva joined | 12:13 |
| ← ben__duyujie_ left | 12:14 |
| ← hmsimha left | 12:15 |
| ← shruggar left | 12:15 |
| → crocket joined | 12:15 |
| → maleknet joined | 12:16 |
| ← fsvehla left | 12:17 |
| ← hyperair left | 12:17 |
| → barq joined | 12:18 |
| → fsvehla joined | 12:18 |
| → TeamColtra joined | 12:19 |
| ← griotspeak left | 12:19 |
| ← JDuke128 left | 12:20 |
| ← liquid-silence left | 12:20 |
| ← fsvehla left | 12:23 |
| → fireglow joined | 12:25 |
| → ben__duyujie_ joined | 12:26 |
| ← ben__duyujie left | 12:27 |
| → gusnan joined | 12:28 |
| → dnivio joined | 12:28 |
| ← glennpratt left | 12:28 |
| → mentero joined | 12:28 |
| ← ben__duyujie_ left | 12:28 |
| → BadProphet joined | 12:28 |
| → picoguy joined | 12:29 |
| → AdrienBrault joined | 12:29 |
| → fsvehla joined | 12:29 |
| → infynyxx joined | 12:30 |
| → PaulCapestany joined | 12:32 |
| ← daniel_- left | 12:34 |
| ← ojacobson left | 12:34 |
| ← pfFredd left | 12:37 |
| → Anubisss_ joined | 12:37 |
| ← dhruvasagar left | 12:38 |
| ← mikecmpbll left | 12:39 |
| ← BadProphet left | 12:40 |
| ← Anubisss left | 12:40 |
| → mikecmpbll joined | 12:40 |
| ← fsvehla left | 12:41 |
| → riker2000_ joined | 12:41 |
| → Moult joined | 12:42 |
| ← PaulCapestany left | 12:42 |
|
Moult
| hey all - i work with a team of architects and I'm considering introducing some form of version control. has anybody had any experience using git with (large, very large) binary projects? | 12:43 |
| ← marthinal left | 12:45 |
| ← riker2000 left | 12:45 |
| → daniel_- joined | 12:45 |
| → chimay joined | 12:45 |
|
_ikke_
| Moult: git is not very suited for large binary files | 12:46 |
| ← babilen left | 12:47 |
| ← dropdrive left | 12:47 |
|
_ikke_
| If the binaries aren't too big, and the size of the repo is not really a concern, it might be doable | 12:47 |
| ← jgoss left | 12:47 |
| ← mastroWork left | 12:48 |
|
Moult
| nah, we regularly work with stuff which can easily grow to several hundred MB. | 12:48 |
| ← kukks left | 12:48 |
|
_ikke_
| The biggest problem is the packing part | 12:50 |
| → babilen joined | 12:50 |
|
_ikke_
| With large files, memory can get a problem | 12:50 |
| → JDuke128 joined | 12:51 |
| → marthinal joined | 12:51 |
| → hyperair joined | 12:52 |
| → dropdrive joined | 12:52 |
| ← marhaban left | 12:52 |
| → Anders_J joined | 12:53 |
| → iamjarvo joined | 12:54 |
|
Moult
| _ikke_: it's a pity :( | 12:54 |
| ← daniel_- left | 12:54 |
|
m1sc
| Moult: !large | 12:54 |
|
gitinfo
| Moult: [!large_repos] Git can be slow in the face of large repositories. There are git-config options which can help. pack.threads=1; pack.deltaCacheSize=1; pack.windowMemory=512m; core.packedGitWindowSize=16m; core.packedGitLimit=128m. Other likely ones exist. | 12:54 |
|
m1sc
| Moult: also !annex | 12:55 |
|
gitinfo
| Moult: git-annex and git-media are two solutions to the !binary problem. They work by keeping the blobs outside of the repo, storing a reference to the blob in the repo instead. See http://git-annex.branchable.com/ and https://github.com/schacon/git-media | 12:55 |
|
_ikke_
| but annex doesn't versions files iirc | 12:55 |
| → glennpratt joined | 12:57 |
| → cannonball joined | 12:57 |
| ← tplaner_ left | 12:57 |
| → shruggar joined | 12:58 |
| ← Esa_1 left | 12:58 |
| → JaredMiller joined | 12:59 |
| ← psoo left | 12:59 |
| → |Freeman| joined | 12:59 |
| → geekbri joined | 13:01 |
| ← glennpratt left | 13:03 |
| ← flijten left | 13:03 |
|
Moult
| _ikke_: hmm, what do you mean by "doesn't version files"? | 13:03 |
| → mastroWork joined | 13:05 |
| → glennpratt joined | 13:05 |
| → Imaginativeone joined | 13:06 |
| → BadProphet joined | 13:07 |
| → cedeon joined | 13:07 |
| → kukks joined | 13:07 |
| ← kukks left | 13:07 |
| → kukks joined | 13:07 |
|
_ikke_
| "With git-annex, git is instead "a stupid filename and metadata" tracker." | 13:08 |
| → sisyphus joined | 13:08 |
| ← sisyphus left | 13:09 |
| → PaulCapestany joined | 13:09 |
|
_ikke_
| But I could be wrong | 13:09 |
| ← flavius left | 13:09 |
| ← robbyoconnor left | 13:09 |
| ← notVert left | 13:10 |
| → lilleman joined | 13:10 |
|
lilleman
| When I get this: | 13:10 |
|
| # Your branch and 'origin/master' have diverged, | 13:10 |
|
| # and have 1 and 1 different commit(s) each, respectively. | 13:10 |
|
| How can I force my local to use the remotes commit and scrap the local one? | 13:11 |
|
FauxFaux
| git stash && git checkout -B master 'master@{u}' | 13:11 |
| ← xiukun_ left | 13:11 |
| ← pretty_function left | 13:11 |
| → jpjacobs joined | 13:11 |
| → rath-work joined | 13:11 |
|
Moult
| _ikke_: yes, which is completely fine for binaries. | 13:12 |
|
| well, git-annex looks very, very cool. i'm going to try it out | 13:12 |
|
jast
| depends on your use case | 13:12 |
|
jpjacobs
| Hi! Is there an oposite to git diff, I'd like something to show correspondances instead of differences... | 13:12 |
| → cakehero joined | 13:12 |
| ← canttouchthis left | 13:13 |
| ← JDuke128 left | 13:13 |
|
FauxFaux
| jpjacobs: That's a very odd request. | 13:13 |
|
| (Please explain further.) | 13:14 |
| → chussenot joined | 13:14 |
|
jpjacobs
| So I have 2 versions of a piece of code (horribly written in a horrible language) | 13:14 |
|
| And I'd like what stayed the same between 2 branches | 13:14 |
|
| or commits, whatever | 13:15 |
|
FauxFaux
| If it's all in the same file, you can use git diff -999999 | 13:15 |
| ← mastroWork left | 13:15 |
|
lilleman
| FauxFaux: error: unknown switch `B' | 13:15 |
|
jpjacobs
| hmmm i'll give it a try | 13:15 |
|
| thanks | 13:15 |
| ← mikecmpbll left | 13:15 |
|
FauxFaux
| git diff -U 9999 apparently | 13:15 |
|
| lilleman: You must have a ludicrously outdated version of git. | 13:16 |
|
lilleman
| git version 1.7.2.5 | 13:16 |
| → storrgie joined | 13:16 |
|
_ikke_
| Yup, outdated | 13:16 |
| → phaidros joined | 13:16 |
| ← mgedmin left | 13:16 |
|
jast
| here's an alternative, assuming the stash command already went through: git reset --hard '@{u}' | 13:17 |
|
FauxFaux
| Mmm, I'd've guessed it was available by then. | 13:17 |
| ← iamjarvo left | 13:17 |
|
phaidros
| how come a git clone seems always g-w? and, is there a standard way to fix that for all those who want a default g+w permission? (applies only to the top directory of the git repo it seems) | 13:17 |
|
FauxFaux
| phaidros: man git init --shared | 13:17 |
|
gitinfo
| phaidros: the git-init manpage is available at http://jk.gs/git-init.html | 13:17 |
|
lilleman
| FauxFaux: I'm running Debian 6, and use apt-get to install and maintain git. I guess they're a bit paranoid :) | 13:17 |
|
phaidros
| FauxFaux: yeha, thanx. | 13:18 |
| ← BadProphet left | 13:18 |
| ← hafeez3000 left | 13:18 |
|
_ikke_
| lilleman: debian is very conservative with updated versions | 13:18 |
|
| updating* | 13:18 |
|
| That versions is two years old | 13:18 |
|
lilleman
| _ikke_ and FauxFaux: Thanks! git reset --hard '@{u}' worked | 13:19 |
|
| now, what does '@{u}' actually mean? | 13:19 |
|
| and yeah, debian isnt fastest... but its stable :) | 13:19 |
| ← infynyxx left | 13:19 |
| ← PaulCapestany left | 13:19 |
|
FauxFaux
| lilleman: man git rev-parse | 13:20 |
|
gitinfo
| lilleman: the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html | 13:20 |
|
_ikke_
| @{upstream} | 13:20 |
| → infynyxx joined | 13:20 |
|
FauxFaux
| lilleman: A usable version is in backports. :) | 13:20 |
|
lilleman
| Thanks guys! | 13:20 |
| ← meLon left | 13:20 |
|
lilleman
| while I have you on the line | 13:20 |
|
| Is there a way to force git not to compress before sending/receiving? | 13:21 |
|
| I have a very slow ARM-box I'd like to use | 13:21 |
|
| but its to slow for some large repos | 13:21 |
|
| (3Watts power usage \o/ ) | 13:21 |
| ← storrgie left | 13:21 |
|
_ikke_
| raspberry pi? | 13:21 |
|
lilleman
| no, a bubba from excito | 13:21 |
|
_ikke_
| oh ok | 13:21 |
|
lilleman
| its super awsome in all ways.. except raw CPU power | 13:22 |
| ← bauruine left | 13:22 |
| ← alunduil left | 13:22 |
| ← LekeFly left | 13:24 |
| ← echo-area left | 13:25 |
| → luc_ joined | 13:25 |
| ← ergZay left | 13:26 |
| → hafeez3000 joined | 13:26 |
| → sgambino joined | 13:27 |
| → mastroWork joined | 13:28 |
| → tewecske joined | 13:30 |
| → elsewho joined | 13:31 |
| ← mklappstuhl left | 13:32 |
| ← JaredMiller left | 13:34 |
| → storrgie joined | 13:35 |
| → griotspeak joined | 13:35 |
| → JaredMiller joined | 13:36 |
| ← rurufufuss left | 13:36 |
| ← angelsl left | 13:36 |
| → angelsl joined | 13:36 |
| → xiukun joined | 13:37 |
| → m0ltar joined | 13:37 |
| ← Imaginativeone left | 13:40 |
| ← subhojit777 left | 13:40 |
| ← martinjlowm-lapt left | 13:40 |
| → daniel_- joined | 13:41 |
| ← intripoon left | 13:42 |
| → revagomes joined | 13:43 |
| ← mastroWork left | 13:43 |
| → intripoon joined | 13:43 |
| → sq-one joined | 13:43 |
| ← barq left | 13:44 |
| → mklappstuhl joined | 13:45 |
| → ojacobson joined | 13:46 |
| → PaulCapestany joined | 13:46 |
| → mikecmpbll joined | 13:47 |
| ← xiukun left | 13:48 |
| ← mentero left | 13:49 |
| → near joined | 13:49 |
| → flijten joined | 13:51 |
| ← hyperair left | 13:52 |
| ← hafeez3000 left | 13:54 |
| ← JSharpe_ left | 13:54 |
| → JSharpe_ joined | 13:55 |
| → hyperair joined | 13:55 |
| → skyf joined | 13:55 |
| → mastroWork joined | 13:56 |
| ← griotspeak left | 13:56 |
| → oposomme joined | 13:56 |
| ← PaulCapestany left | 13:57 |
| → Bass10 joined | 13:57 |
| ← near left | 13:57 |
| → sideone joined | 13:57 |
| → freeed joined | 13:57 |
| ← polaco left | 13:58 |
| ← Bass10 left | 13:58 |
| → hellopat joined | 13:58 |
| → Bass10 joined | 13:58 |
| → pandeiro joined | 13:59 |
| ← OOPMan left | 14:01 |
| ← skul left | 14:03 |
| ← mastroWork left | 14:05 |
| ← strk left | 14:06 |
| → mastroWork joined | 14:07 |
| → griotspeak joined | 14:07 |
| ← luc_ left | 14:08 |
| ← heytrav left | 14:09 |
| ← blurrr left | 14:09 |
| → rmr joined | 14:09 |
| ← DofLeFou left | 14:09 |
| → macabre joined | 14:10 |
| ← narfnarfnarf left | 14:11 |
| → mastro__ joined | 14:14 |
| ← mastroWork left | 14:14 |
| → d2dchat joined | 14:15 |
| ← kladze left | 14:16 |
| → rmr_ joined | 14:16 |
| ← RaceCondition left | 14:16 |
| ← rmr left | 14:16 |
| → cmn joined | 14:17 |
| → bauruine joined | 14:18 |
| ← notfunk left | 14:18 |
| → alunduil joined | 14:18 |
| → notfunk joined | 14:18 |
| → hafeez3000 joined | 14:19 |
| → martinjlowm-lapt joined | 14:20 |
| ← alunduil left | 14:20 |
| → alunduil joined | 14:20 |
| → AaronMT joined | 14:22 |
| → PaulCapestany joined | 14:23 |
| → schmiddy joined | 14:23 |
| → senior75151 joined | 14:24 |
| → mastroWork joined | 14:25 |
| ← senior75151 left | 14:25 |
| → flavius joined | 14:26 |
| → rotated8 joined | 14:26 |
| ← rotated8 left | 14:26 |
| ← mastro__ left | 14:28 |
| → asaaki joined | 14:29 |
| ← asaaki left | 14:29 |
| → invariant joined | 14:30 |
| → asaaki joined | 14:30 |
| ← asaaki left | 14:30 |
|
invariant
| After a git clone <url> and cd ing to the directory and then doing git status shows there are a lot of 'Modified ' files. I have never seen it do that. | 14:31 |
|
_ikke_
| invariant: Most likely line ending problems | 14:31 |
| → asaaki joined | 14:31 |
| ← asaaki left | 14:31 |
| → jatt joined | 14:31 |
|
invariant
| _ikke_, is there any solution to that? | 14:32 |
| ← rmr_ left | 14:32 |
| ← jceb left | 14:33 |
|
_ikke_
| first check if it's true | 14:33 |
|
| what does git diff show | 14:34 |
| ← PaulCapestany left | 14:34 |
| → pfFredd joined | 14:34 |
|
invariant
| _ikke_, yes, that's it. | 14:34 |
|
| _ikke_, so, what I want is on clone for files for certain file types, it should simply convert from whatever upstream has to my native representation and when sending patches out, it should convert to the upstream version. | 14:35 |
| ← fireglow left | 14:35 |
| → Goles joined | 14:35 |
|
_ikke_
| invariant: Look at man gitattributes | 14:35 |
|
gitinfo
| invariant: the gitattributes manpage is available at http://jk.gs/gitattributes.html | 14:35 |
|
_ikke_
| invariant: the text attribute | 14:36 |
|
Goles
| Hey guys, I'm getting this message on a repo submodule, 'fatal: reference is not a tree: d4a9143245d80db0eebeecefca0ed38d39ceb88f' , what could be going on here ? ( The folder of the submodule appears to be empty) | 14:36 |
|
invariant
| _ikke_, and which setting do I want to have? | 14:37 |
|
_ikke_
| Goles: It means the repo doesn't have that 'tree' | 14:37 |
|
| Goles: Someone forgot to push changes to the submodule | 14:37 |
|
| invariant: auto | 14:37 |
|
Goles
| _ikke_: I think I foun out how to solve the issue | 14:37 |
| → polaco joined | 14:38 |
| → jceb joined | 14:38 |
| ← surfdue left | 14:39 |
|
_ikke_
| Goles: good | 14:39 |
| → Neptu joined | 14:39 |
| → surfdue joined | 14:40 |
| ← martinjlowm-lapt left | 14:40 |
| → Davey joined | 14:40 |
| → Aartsie joined | 14:41 |
|
Aartsie
| Are here some dutch git users who can help me ? | 14:41 |
| ← macabre left | 14:41 |
| ryanneufeld → ryanneufeld|away | 14:41 |
|
invariant
| _ikke_, I added in the [core] section text=auto | 14:42 |
| → JDuke128 joined | 14:42 |
|
invariant
| _ikke_, this had no observable effect. | 14:42 |
|
| _ikke_, after another clone. | 14:42 |
|
| _ikke_, or rather, before. | 14:42 |
|
_ikke_
| invariant: gitattributes is something different | 14:43 |
|
| invariant: It's a separate file | 14:43 |
| ← jceb left | 14:43 |
| ← frogonwheels left | 14:43 |
|
_ikke_
| namely, .gitattributes | 14:43 |
|
invariant
| _ikke_, it wasn't simple enough to use it? | 14:43 |
| → bartek joined | 14:44 |
|
_ikke_
| invariant: what? | 14:44 |
|
invariant
| _ikke_, I just don't understand how anyone could have implemented a clone command that modifies data. | 14:45 |
|
| _ikke_, what were they thinking? | 14:45 |
| ← Antisoche left | 14:45 |
| → Antisoche joined | 14:46 |
| → chuckharmston joined | 14:46 |
|
_ikke_
| It's not modified on clone, but on checkout | 14:46 |
| ← AdrienBrault left | 14:46 |
|
invariant
| _ikke_, I did a clone and I see that there are modifications. | 14:46 |
| ← elsewho left | 14:46 |
|
_ikke_
| Yes | 14:46 |
|
| invariant: clone does a checkout ;) | 14:47 |
|
| The problem is mixed case in the repo | 14:47 |
| ← bartek left | 14:47 |
| → bartek joined | 14:47 |
| → asaaki joined | 14:47 |
| ← chuckharmston left | 14:47 |
| ← maleknet left | 14:47 |
| → chuckharmston joined | 14:47 |
|
invariant
| _ikke_, how can I fix this once and for all? | 14:48 |
|
| _ikke_, so, not just for one repo? | 14:48 |
| → m0viefreak joined | 14:48 |
|
_ikke_
| invariant: fix all line endings and commit that, use a gitattributes file to make the setting the same for all users | 14:48 |
| ← tiglog left | 14:48 |
|
_ikke_
| invariant: Problems occur when people use different settings | 14:48 |
|
invariant
| _ikke_, you are suggesting that I should commit something upstream which will modify all of the files? | 14:49 |
| → x82_nicole joined | 14:49 |
|
invariant
| _ikke_, it's likely a person who works on Windows. Do you really think that he/she is going to accept UNIX line endings? | 14:49 |
| → TeckniX joined | 14:49 |
|
_ikke_
| invariant: Either that, or disable normalisation at all | 14:49 |
| → AdrienBrault joined | 14:50 |
| ← soee left | 14:50 |
|
_ikke_
| see also core.autocrlf | 14:51 |
|
| in man git config | 14:51 |
|
gitinfo
| the git-config manpage is available at http://jk.gs/git-config.html | 14:51 |
| → newbie999|3 joined | 14:51 |
| ← newbie999 left | 14:52 |
| ← marthinal left | 14:52 |
| → syskk_ joined | 14:54 |
| ← syskk_ left | 14:54 |
| → syskk_ joined | 14:54 |
| → narfnarfnarf joined | 14:54 |
| ← Sigma left | 14:54 |
| → macabre joined | 14:54 |
| ← Goles left | 14:55 |
| → BadProphet joined | 14:55 |
|
invariant
| _ikke_, I already had that set. | 14:55 |
|
| _ikke_, it has now become a guessing game. | 14:56 |
| → jceb joined | 14:56 |
|
invariant
| _ikke_, I asked how I can get git clone foo to get me in a state where a subsequent git status will not show any modifications. | 14:56 |
|
_ikke_
| invariant: unset that and do a git reset --hard | 14:57 |
| syskk_ → syskk | 14:57 |
| ← oposomme left | 14:57 |
| ← BadProphet left | 14:57 |
| → Imaginativeone joined | 14:58 |
|
invariant
| _ikke_, it looks like there was already a .gitattributes file in the repo. | 14:58 |
|
| _ikke_, if there is this auto modification, why does git status list it as a difference? | 14:59 |
|
| _ikke_, it's supposed to be an equivalence relation. | 14:59 |
|
| As such, git status should return no output. | 14:59 |
| ← Tegi left | 15:00 |
| → BadProphet joined | 15:00 |
| → mastro__ joined | 15:00 |
| → PaulCapestany joined | 15:00 |
|
_ikke_
| Because there is a difference between what git checks out, and what git expects to be checked out | 15:01 |
|
| (different settings conflicting basically) | 15:02 |
| → mgedmin joined | 15:02 |
|
mgedmin
| git has the most awesome command-line UI ever | 15:02 |
|
| (in case you didn't know) | 15:02 |
|
invariant
| mgedmin, awesomely bad? | 15:02 |
|
_ikke_
| mgedmin: Not all people agree to you | 15:02 |
|
| ^^ | 15:03 |
|
invariant
| mgedmin, please explain why I need to care about line endings in the output of git status after a git clone. | 15:03 |
| ← mastroWork left | 15:03 |
|
invariant
| mgedmin, I don't want to care about that. | 15:03 |
|
| Nobody on this planet wants to care about that. | 15:03 |
| ← bartek left | 15:03 |
| → bartek joined | 15:04 |
|
_ikke_
| invariant: git sees a difference, so it reports that | 15:04 |
|
invariant
| _ikke_, but it's told in the configuration that it should auto convert. | 15:04 |
| ← Imaginativeone left | 15:04 |
|
invariant
| _ikke_, as such it should use this equivalence relation. | 15:04 |
| ← Araxia left | 15:04 |
|
mgedmin
| hey, don't take my joy in autopaging and colorization away from me | 15:04 |
|
invariant
| Or at least any guy who isn't brain dead would have designed it like that. | 15:05 |
|
| Yes, I picked those words on purpose :) | 15:05 |
| → Araxia joined | 15:05 |
|
_ikke_
| invariant: I guess you are very narrow minded and only looking at it from your perspective | 15:05 |
| → GeertB joined | 15:05 |
|
_ikke_
| It all looks too easy from the outside | 15:06 |
|
| until you need to implement things | 15:06 |
|
invariant
| _ikke_, that's because it is. | 15:06 |
|
| _ikke_, I implemented enough and much more complex things. | 15:06 |
|
| _ikke_, git is a trivial program. | 15:07 |
|
_ikke_
| invariant: eol conversion is a constructive operation | 15:07 |
|
| destructive* | 15:07 |
|
| meaning it can't be inverted | 15:07 |
|
invariant
| _ikke_, and who said it had to be implemented like that? | 15:07 |
|
| _ikke_, it's just bad design. | 15:07 |
| → erichynds joined | 15:07 |
|
_ikke_
| invariant: It is setting you can opt-in for | 15:07 |
|
invariant
| The git code is also rather bad. | 15:07 |
| → andrewhl joined | 15:07 |
|
invariant
| I am sure that it is fast. | 15:07 |
|
| It's however not meant to be understood by others. | 15:08 |
| → fletch` joined | 15:08 |
| ← jpjacobs left | 15:08 |
|
_ikke_
| git is complex system | 15:08 |
|
invariant
| The command line tools also do not check what effect they have on the world. | 15:08 |
|
_ikke_
| It's not expected that it's easily understood | 15:08 |
|
invariant
| Example, I had 3 times | 15:08 |
|
| [core] in my configuration file. | 15:08 |
| → mikepack joined | 15:08 |
| ← mikepack left | 15:09 |
|
invariant
| These are, I assume, completely useless. | 15:09 |
| ← hakunin left | 15:09 |
|
lb
| invariant: http://www.youtube.com/watch?v=4XpnKHJAok8 < linus on git | 15:09 |
|
_ikke_
| oh and, !refund applies | 15:09 |
|
gitinfo
| If you are not satisfied with git, or the support provided by the volunteers in #git, you are entitled to a full refund of the purchase price, and are invited to use another VCS. Elsewhere. | 15:09 |
| ← Araxia left | 15:09 |
|
invariant
| lb, I had seen it and I am not impressed, sorry. | 15:09 |
| → witul joined | 15:09 |
| → hakunin joined | 15:09 |
|
invariant
| lb, the world moved on. | 15:09 |
|
| lb, git was fun when svn was still being used. | 15:09 |
|
lb
| invariant: you shouldn't be. he does not intended to make the source good looking | 15:09 |
| → OOPMan joined | 15:10 |
| → Araxia joined | 15:10 |
| ← witul left | 15:10 |
|
invariant
| lb, that's ok, but then I can say that I am not overly impressed with the program. | 15:10 |
| → tdowg12 joined | 15:10 |
| → joshsmith joined | 15:10 |
|
lb
| invariant: of course. but what do YOU intend with that? | 15:10 |
| ← PaulCapestany left | 15:10 |
| ← tdowg12 left | 15:10 |
|
_ikke_
| invariant: I don't think very much people care about you being impressed | 15:11 |
|
invariant
| lb, someone was saying that git had the best UI ever or something like that. | 15:11 |
| → chaiz_ joined | 15:11 |
| → jday_ joined | 15:11 |
| → tdowg12 joined | 15:11 |
|
_ikke_
| invariant: And that person is entitled to that opinions | 15:11 |
|
| -s | 15:11 |
|
invariant
| _ikke_, sure | 15:12 |
| ← chaiz left | 15:12 |
| → h0bbit joined | 15:12 |
| → Destos joined | 15:12 |
| → axl_ joined | 15:13 |
| ← hakunin left | 15:13 |
| → Sigma joined | 15:14 |
| ← banghouse3 left | 15:14 |
| → marhaban joined | 15:15 |
|
_ikke_
| invariant: You said you had an example with config$? | 15:15 |
|
| ? | 15:15 |
| → v0n joined | 15:15 |
|
invariant
| _ikke_, I have no idea what you are talking about. | 15:15 |
|
_ikke_
| invariant | Example, I had 3 times | 15:16 |
|
invariant
| _ikke_, the configuration file contained 3 empty [core] sections. | 15:16 |
|
_ikke_
| And do you have a clue what you did that it got there? | 15:17 |
|
| as git is software, it's not without bugs | 15:18 |
| → etcetera joined | 15:18 |
| → martinjlowm-lapt joined | 15:19 |
|
FauxFaux
| The proxy configuration script going around here just appends to the .gitconfig each time you run proxyOn or proxyOff. /o\ | 15:19 |
|
_ikke_
| lol | 15:20 |
|
| FauxFaux personally just rewrites all urls to .ssh/config handled things. | 15:20 |
| ← h0bbit left | 15:21 |
| ← Innocentus left | 15:21 |
| ← sakkemo left | 15:23 |
| → sakkemo joined | 15:23 |
| → rgrau joined | 15:24 |
| ← sakkemo left | 15:25 |
| → sakkemo joined | 15:25 |
| ← xiangfu left | 15:26 |
|
invariant
| _ikke_, if someone is going to tell the rest of the world is fucking stupid, they should better deliver something which isn't fucking stupid themselves. | 15:26 |
| ← pfFredd left | 15:26 |
|
cmn
| you should tell that to whoever said it | 15:26 |
|
rgrau
| hi. I just found out that "git checkout -" will mimic shells' "cd -", which is great. My question is: is there a way to see which is the branch that "git checkout -" will bring you to, without moving there? | 15:27 |
| → e66 joined | 15:27 |
| → chaiz__ joined | 15:27 |
| ← lilleman left | 15:27 |
|
rgrau
| It'd be great for smarter autocompletion | 15:27 |
|
_ikke_
| rgrau: man git reflog probably | 15:28 |
|
gitinfo
| rgrau: the git-reflog manpage is available at http://jk.gs/git-reflog.html | 15:28 |
| → dreiss joined | 15:28 |
|
rgrau
| aha, yup, makes sense. thanks! | 15:29 |
| ← chaiz_ left | 15:29 |
| → rmr joined | 15:30 |
| ← chaiz__ left | 15:30 |
| ← Bass10 left | 15:30 |
| → chaiz joined | 15:30 |
|
rgrau
| yay, something like => %git reflog | grep 'moving from' | head -n1 | sed -e 's/.*moving from .* to \(.*\)$/\1/' | 15:32 |
|
| :) | 15:32 |
| → mastroWork joined | 15:32 |
|
rgrau
| blerh, but capturing the other one (¬¬) | 15:33 |
| ← TeckniX left | 15:33 |
| → TeckniX joined | 15:34 |
| ← d2dchat left | 15:34 |
| ← daniel_- left | 15:34 |
| → chrisgeorge joined | 15:35 |
| ← mastro__ left | 15:35 |
| → dnstbr joined | 15:36 |
| ← poolshark left | 15:37 |
| → PaulCapestany joined | 15:37 |
| → thiago_ joined | 15:37 |
| ← TeckniX left | 15:38 |
| → Imaginativeone joined | 15:38 |
| → defts joined | 15:38 |
| ← m0ltar left | 15:40 |
| → TeckniX joined | 15:41 |
| ← m0viefreak left | 15:42 |
| ← Anders_J left | 15:43 |
| ← griotspeak left | 15:45 |
| ← dreiss left | 15:46 |
| → dreiss joined | 15:46 |
| ← |Freeman| left | 15:46 |
| ← mikecmpbll left | 15:47 |
| ← PaulCapestany left | 15:48 |
| ← JDuke128 left | 15:48 |
| ← joshsmith left | 15:49 |
| ← syskk left | 15:51 |
| ← kermit left | 15:51 |
| ← evildmp left | 15:51 |
| → JDuke128 joined | 15:51 |
| ← hafeez3000 left | 15:52 |
| ← tg left | 15:52 |
| ← _ramok left | 15:53 |
| → kermit joined | 15:53 |
| ← Error404NotFound left | 15:54 |
| → d2dchat joined | 15:54 |
| → Err404NotFound joined | 15:54 |
| ← zoned left | 15:54 |
| → zoned joined | 15:55 |
| ← adamben left | 15:55 |
| ← renan_sa` left | 15:56 |
| → joshsmith joined | 15:57 |
| ← TeckniX left | 15:57 |
| → TeckniX joined | 15:58 |
| ← martinjlowm-lapt left | 15:58 |
| → ejd joined | 15:58 |
| ← friskd left | 15:59 |
| → a_ok joined | 15:59 |
| → leandrosansilva_ joined | 15:59 |
| ← leandrosansilva left | 16:00 |
| → hafeez3000 joined | 16:00 |
| ← whitman_ left | 16:00 |
| → PaulCapestany joined | 16:00 |
| → rmr_ joined | 16:00 |
| → ergZay joined | 16:00 |
| ← rmr left | 16:01 |
|
a_ok
| I am maintaining some JS for two separate content management systems. How do I merge changes from one into the other without overwriting the CMS specific stuff? | 16:01 |
| → axl__ joined | 16:01 |
| → R_Macy joined | 16:01 |
| → tg joined | 16:01 |
| → maleknet joined | 16:01 |
|
_ikke_
| a_ok: !config | 16:01 |
|
gitinfo
| a_ok: [!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 | 16:01 |
| ← giallu left | 16:02 |
| → mastro__ joined | 16:02 |
| → p3rror joined | 16:02 |
| ← axl_ left | 16:03 |
| ← bauruine left | 16:04 |
| → gittish joined | 16:04 |
| ← mastroWork left | 16:05 |
| ← ergZay left | 16:05 |
| → axl_ joined | 16:05 |
| ← flijten left | 16:05 |
| ← Neptu left | 16:06 |
| → Goles joined | 16:06 |
| ← axl__ left | 16:06 |
| ← sq-one left | 16:06 |
| ← tg left | 16:06 |
| thiago_ → thiago | 16:07 |
|
a_ok
| _ikke_: It is not a config file it is code that is similar but has quite some differences. Not commiting the changes is not an option | 16:07 |
| → chrisgeorge_ joined | 16:07 |
| → conner_bw joined | 16:07 |
| → guampa joined | 16:08 |
|
_ikke_
| a_ok: And having per site different files that overrides default settings? | 16:08 |
|
a_ok
| nope | 16:08 |
|
| Ow there are different settings but they are not in git | 16:09 |
| ← gavin_huang left | 16:10 |
| ← chrisgeorge left | 16:10 |
|
a_ok
| there are different DOM elements etc the js has to work on etc. | 16:10 |
| ← axl_ left | 16:10 |
| ← xxc_michael left | 16:10 |
| → liquid-silence joined | 16:11 |
| ← liquid-silence left | 16:11 |
| → liquid-silence joined | 16:11 |
| ← Katafalkas left | 16:11 |
| ← papegaaij left | 16:11 |
| → axl_ joined | 16:11 |
|
a_ok
| I already had it covert pretty much by setting up the most basic version first and than branch of the other CMS. but as soon as I change a line in the more basic version that is different in the complex version I can't merge the changes anymore | 16:12 |
|
_ikke_
| I would really recommend to put such changes in different untracked files | 16:12 |
| ← sgambino left | 16:12 |
| ← liquid-silence left | 16:12 |
| → ehsan joined | 16:12 |
| → sgambino joined | 16:12 |
| ← Milossh left | 16:12 |
| ← cbreak-work left | 16:13 |
| → Milossh joined | 16:13 |
| → elsewho joined | 16:13 |
| → tg joined | 16:14 |
|
elsewho
| hello | 16:14 |
|
| can i undo the last pull? | 16:14 |
|
cmn
| !fixup | 16:14 |
|
gitinfo
| So you lost or broke something or need to otherwise find, fix, or delete commits? Look at http://sethrobertson.github.com/GitFixUm/ for full instructions, or !fixup_hints for the tl;dr. Warning: changing old commits will require you to !rewrite published history! | 16:14 |
| ← angelsl left | 16:14 |
| → angelsl joined | 16:14 |
| → iamjarvo joined | 16:14 |
|
a_ok
| Don't think that is an option. That would be the same as having two completely diferent codebases. Guess I just can't merge my differences anymore unless | 16:14 |
| → liquid-silence joined | 16:16 |
| ← liquid-silence left | 16:16 |
| → liquid-silence joined | 16:16 |
| ← laurav left | 16:16 |
| ← conner_bw left | 16:16 |
| ← axl_ left | 16:16 |
| ← jargon left | 16:17 |
| ← liquid-silence left | 16:17 |
| ← tsdh left | 16:18 |
| → alexwaters joined | 16:19 |
| ← oo_miguel left | 16:19 |
| → friskd joined | 16:19 |
| → reenignEesreveR joined | 16:19 |
| ← Imaginativeone left | 16:20 |
| ← maleknet left | 16:20 |
| ← Aartsie left | 16:20 |
| ← gittish left | 16:21 |
| ← philips_ left | 16:22 |
| → senior75151 joined | 16:22 |
| → blurrr joined | 16:22 |
| → axl_ joined | 16:22 |
| ← senior75151 left | 16:22 |
| → chaiz_ joined | 16:22 |
| ← fisted left | 16:23 |
| ← jokajak left | 16:24 |
| ← chaiz left | 16:24 |
| → maletor joined | 16:24 |
| → jokajak joined | 16:25 |
| ← jceb left | 16:26 |
| → philips_ joined | 16:26 |
| ← Hounddog left | 16:26 |
| ← hyperair left | 16:27 |
| ← jatt left | 16:28 |
| ← Goles left | 16:28 |
| ← maletor left | 16:28 |
| ← chaiz_ left | 16:29 |
| → chaiz_ joined | 16:30 |
| → axl__ joined | 16:30 |
| ← volta left | 16:31 |
| → ergZay joined | 16:31 |
| ← axl_ left | 16:31 |
| axl__ → axl_ | 16:31 |
| → torjus_ joined | 16:31 |
| → brtdv joined | 16:32 |
| ← rath-work left | 16:32 |
| ← schmiddy left | 16:33 |
| → schmiddy joined | 16:34 |
| → Anubisss__ joined | 16:34 |
| ← TomWij left | 16:34 |
| → intripoon_ joined | 16:34 |
|
| frew wishes github supported gitolite style wildrepos | 16:35 |
| → renoc__ joined | 16:35 |
| → TomWij_ joined | 16:35 |
| ← JSharpe_ left | 16:35 |
| ← diegoviola left | 16:35 |
|
frew
| git clone gh:frioux/new-repo # win! | 16:35 |
| ← chaiz_ left | 16:35 |
| ← the_cybersphinx left | 16:35 |
| → the_cybersphinx joined | 16:35 |
| → chaiz_ joined | 16:36 |
| ← AdrienBrault left | 16:36 |
| ← tinti left | 16:36 |
| ← intripoon left | 16:36 |
| ← thiago left | 16:37 |
| → tinti joined | 16:37 |
| ← Anubisss_ left | 16:37 |
| ← storrgie left | 16:39 |
| ← reenignEesreveR left | 16:40 |
| → jhutson456_ joined | 16:40 |
|
jhutson456_
| I seem to be frozen and need some advice. I was following the guide here: http://git-scm.com/book/en/Getting-Started-First-Time-Git-Setup | 16:41 |
| cinderblock_away → cinderblock | 16:41 |
|
jhutson456_
| correction, here: http://git-scm.com/book/en/Getting-Started-Installing-Git | 16:41 |
| → LekeFly joined | 16:41 |
| ← mastro__ left | 16:41 |
| ← SamB_MacG5 left | 16:42 |
| ← chaiz_ left | 16:42 |
|
jhutson456_
| I got git 1.8.0 built from the source tar ball | 16:42 |
| → giallu joined | 16:42 |
| ← jlopez left | 16:43 |
| → SamB_MacG5 joined | 16:43 |
| → Xizor joined | 16:43 |
|
jhutson456_
| then cloned the git source and attempted to build from the git cloned repo to make sure I was on the newest version out there and saw this "If you're willing to trade off (much) longer build time for a later | 16:43 |
|
| faster git you can also do a profile feedback build with" then the appropriate commands | 16:43 |
| ← angelsl left | 16:43 |
|
jhutson456_
| I decided that that would be a good trade off for me, and issued the first command of the two: $ make prefix=/usr PROFILE=BUILD all | 16:44 |
|
wereHamster
| jhutson456_: there is usually no reason to build git from the git repo. Just use the release tarballs | 16:44 |
|
jhutson456_
| ok | 16:45 |
| → RaceCondition joined | 16:45 |
| ← axl_ left | 16:46 |
|
jhutson456_
| well, the question is, it ran that command for a while, probably 30 minutes (tar build in about 30 seconds) and then stopped here "ok 106 - README.html with non-ASCII characters (utf-8)" | 16:46 |
| → axl_ joined | 16:46 |
|
jhutson456_
| and has had the "blinking cursor" terminal for about 20-30 minutes now | 16:46 |
| ← mishok13 left | 16:46 |
| → chaiz_ joined | 16:46 |
|
wereHamster
| which guide did tell you to run make PROFILE=.. all ? | 16:47 |
|
jhutson456_
| that's in the INSTALL file in the / of the git repo | 16:47 |
| → daniel_- joined | 16:48 |
|
jhutson456_
| http://pastebin.com/NenGGPZ4 | 16:48 |
|
| there is the relevant (so far as I can tell) info from the install file | 16:48 |
| ← torjus_ left | 16:48 |
| → john_anderson joined | 16:49 |
| ← ergZay left | 16:49 |
|
jhutson456_
| I just thought it'd make for a cool feature, if I can cut down build times even a bit using a longer one time method, cool, ya know? but at the same time, if it is a known negative, I'll just stick with the source tar | 16:50 |
| ← cenuij left | 16:50 |
| ← boichev left | 16:50 |
|
jhutson456_
| but it seemed off to be stuck there for so long with no indication that it is done or continuing... | 16:50 |
| → fobban joined | 16:51 |
|
wereHamster
| jhutson456_: you're not cutting down build times if you profile | 16:52 |
|
| just run 'make install PREFIX=/wharever/you/want' | 16:52 |
|
jhutson456_
| hmm, what then is the advantage? | 16:53 |
|
wereHamster
| if you don't understand it, you probably shouldn't try it. | 16:53 |
| ryanneufeld|away → ryanneufeld | 16:53 |
|
jhutson456_
| fair enough | 16:53 |
| → lresende joined | 16:53 |
| → jceb joined | 16:54 |
|
jhutson456_
| i thought the beginning info "trade off longer build for later faster git" implied that it built in a manner which resulted in faster builds. | 16:54 |
| ← defts left | 16:54 |
| → adamben joined | 16:54 |
| ← adamben left | 16:54 |
| → adamben joined | 16:54 |
| ← john_anderson left | 16:55 |
| ← joshsmith left | 16:55 |
| ← kukks left | 16:56 |
| → Imaginativeone joined | 16:56 |
| ← dsantiago left | 16:56 |
| → Hounddog joined | 16:56 |
| → kukks joined | 16:56 |
|
jhutson456_
| thank you for the info wereHamster , it's appreciated :-) | 16:56 |
| → john_anderson joined | 16:56 |
|
jhutson456_
| redoing with the traditional "make" "make install" simple method | 16:57 |
| ← dc5ala left | 16:57 |
| → rehat joined | 16:58 |
| → joshsmith joined | 16:58 |
| ← jceb left | 16:58 |
| → dsantiago joined | 16:59 |
|
jhutson456_
| yep, that worked lightening fast, thanks again | 16:59 |
| → knapper_tech joined | 16:59 |
| ← irqq left | 16:59 |
| ← JDuke128 left | 16:59 |
|
knapper_tech
| does checking out a branch have the same effect of checking out an individual file when it comes to deleting files? | 17:00 |
| ← chaiz_ left | 17:00 |
| ← RaceCondition left | 17:00 |
| → heytrav joined | 17:00 |
|
knapper_tech
| morning typing... | 17:01 |
| ← schmiddy left | 17:01 |
|
knapper_tech
| does checking out a branch revert changes to the branch? | 17:01 |
| → _iron joined | 17:01 |
| ← d2dchat left | 17:01 |
|
jast
| if you use 'git checkout branch', n | 17:01 |
|
| o | 17:01 |
| → hyperair joined | 17:01 |
|
knapper_tech
| i did a pull and a lot of south migration files went missing | 17:01 |
| ← icio left | 17:02 |
|
knapper_tech
| i'll go ask on south | 17:02 |
| ← infynyxx left | 17:02 |
| ← axl_ left | 17:04 |
| ← cedeon left | 17:04 |
| ← variousnefarious left | 17:04 |
|
wereHamster
| pull will never delete untracked files, nor destroy uncommitted changes | 17:05 |
|
knapper_tech
| yeah....that's what i'm confused about | 17:05 |
|
| after i pulled, i was in the other branch somehow | 17:05 |
|
| checked out both branches | 17:05 |
|
| no migrations | 17:06 |
| → variousnefarious joined | 17:06 |
|
knapper_tech
| had 0037-0046... in the folder. at most I had committed them but not pushed them. | 17:06 |
| ← alexwaters left | 17:06 |
| ← zeppo left | 17:07 |
| → axl_ joined | 17:08 |
| → d2dchat joined | 17:08 |
| → mentero joined | 17:08 |
| ← d2dchat left | 17:09 |
| → barq joined | 17:09 |
| → boombatower joined | 17:09 |
| ← dnstbr left | 17:10 |
| ← aisbaa left | 17:10 |
| → d2dchat joined | 17:10 |
| → flijten joined | 17:11 |
| → fisted joined | 17:12 |
| fisted → Guest13876 | 17:12 |
| → jceb joined | 17:12 |
| ← friskd left | 17:12 |
| → tbrock joined | 17:13 |
| ← d2dchat left | 17:13 |
| ← albel727 left | 17:13 |
| ← ThomasLocke left | 17:13 |
| → albel727 joined | 17:13 |
| → attila_work joined | 17:14 |
| → LeMike joined | 17:14 |
| ← LeMike left | 17:14 |
| → LeMike joined | 17:14 |
| ← LeMike left | 17:14 |
| → LeMike joined | 17:15 |
| ← LeMike left | 17:15 |
| ← Guest13876 left | 17:15 |
| ← john_anderson left | 17:15 |
| → infynyxx joined | 17:16 |
| → bitkiller joined | 17:16 |
| → john_anderson joined | 17:17 |
| → dnstbr joined | 17:17 |
| → aantix joined | 17:18 |
| → LeMike joined | 17:18 |
|
knapper_tech
| nm, i had a fresh pull of the repo i was working with and everything was safe and lost | 17:18 |
| → maletor joined | 17:18 |
| → fisted_ joined | 17:18 |
| → Bass10 joined | 17:19 |
| → friskd joined | 17:19 |
| → volta joined | 17:20 |
| ← tbrock left | 17:21 |
| → ergZay joined | 17:22 |
| ← TeckniX left | 17:22 |
|
jhutson456_
| ok, one more question before bed. If I clone a repo, and start making edits to it to make it how I like, then the parent project updates something, I'm able to pull those changes into my project correct? | 17:22 |
| ← tPl0ch left | 17:23 |
|
jhutson456_
| (still terribly new to git, and reading through git pro but not yet that far and need to know) | 17:23 |
| ← chussenot left | 17:23 |
|
EugeneKay
| jhutson456_ - you're able to merge them in, yes. | 17:23 |
| → laurav joined | 17:24 |
| → d2dchat joined | 17:24 |
|
EugeneKay
| If there are conflicts between their changes and yours you will need to resolve them | 17:24 |
|
jhutson456_
| thank you EugeneKay | 17:24 |
| ← flavius left | 17:24 |
| → TeckniX joined | 17:25 |
| ← fobban left | 17:26 |
| ← laurav left | 17:26 |
|
jhutson456_
| is there a "Git Pro" type resource for "repo" (used with the Android code) | 17:26 |
| → laurav joined | 17:26 |
| → rampantmonkey joined | 17:27 |
| → gregm joined | 17:27 |
| → Shusshu joined | 17:28 |
|
bremner
| I don't think so. Whatever there is would be from google, at a guess. | 17:28 |
| ← Shusshu left | 17:28 |
| ← rampantmonkey left | 17:28 |
|
EugeneKay
| No, docs for repo are poor at best. | 17:28 |
|
jhutson456_
| bummer, thank you | 17:28 |
| ← Layke left | 17:29 |
| → spaceonline joined | 17:29 |
| ← LimeBlast left | 17:30 |
| ← afuentes left | 17:31 |
| → bauruine joined | 17:31 |
| → rakm joined | 17:31 |
| ← rakm left | 17:31 |
| ← klj613 left | 17:32 |
| → rakm joined | 17:32 |
| ← rakm left | 17:32 |
| → rakm joined | 17:33 |
| ← rakm left | 17:33 |
| → rakm joined | 17:33 |
| ← rakm left | 17:33 |
| → rakm joined | 17:34 |
| ← john_anderson left | 17:34 |
| → ShadeTornado joined | 17:34 |
| → TheJH joined | 17:34 |
| → pfFredd joined | 17:34 |
| → jn_ joined | 17:34 |
| ← bartek left | 17:35 |
| → brettster joined | 17:35 |
| → bartek joined | 17:35 |
| ← ShadeTornado left | 17:35 |
| → ShadeTornado joined | 17:35 |
| ← lresende left | 17:36 |
| ← ShadeTornado left | 17:37 |
| → Sarah joined | 17:37 |
| → ShadeTornado joined | 17:37 |
| → irqq joined | 17:37 |
| → john_anderson joined | 17:37 |
| → Synthead joined | 17:38 |
| ← Synthead left | 17:39 |
| → chaiz joined | 17:39 |
| → Synthead joined | 17:39 |
| ← infynyxx left | 17:40 |
| → nbari joined | 17:40 |
| → rob_w joined | 17:41 |
| → infynyxx joined | 17:41 |
| → sfalcon joined | 17:41 |
| → hakunin joined | 17:41 |
| → maleknet joined | 17:41 |
| → irqq_ joined | 17:41 |
| ← rakm left | 17:42 |
| → arietis joined | 17:43 |
| → leeN joined | 17:43 |
| → hobodave joined | 17:43 |
| → camt joined | 17:43 |
| ← jsegura left | 17:44 |
| ← dnivio left | 17:44 |
| ← irqq left | 17:44 |
| ← suy left | 17:46 |
| → torjus_ joined | 17:46 |
| ← d2dchat left | 17:46 |
| ← attila_work left | 17:46 |
| → friskd_ joined | 17:47 |
|
kermit
| how is it that diff origin has differences, yet ive pushed and pulled? | 17:47 |
|
Sarah
| Hello, I've been having some problems with setting up a git repository on my server. All I have to do is "git init", then, on the client-side, just follow this ( https://help.github.com/articles/create-a-repo ), right? FOllowing that, I get this weird error: http://pastebin.com/6pb5iFMu , and I have no idea where it comes from, nor what it means. Any help would be appreciated. | 17:48 |
|
kermit
| oh origin defaults to a different branch? | 17:48 |
| ← mentero left | 17:49 |
|
FauxFaux
| origin probably means origin/HEAD; nobody really uses it so I don't know what it means. Consider '@{u}'. | 17:49 |
| ← friskd left | 17:49 |
| friskd_ → friskd | 17:49 |
| ← cyphase left | 17:50 |
| ← blami_ left | 17:51 |
| ← ergZay left | 17:51 |
| ← bux left | 17:52 |
| ← maleknet left | 17:53 |
| → opus joined | 17:53 |
| → legumbre_ joined | 17:53 |
| → ShooterMG joined | 17:54 |
| ← asaaki left | 17:54 |
| → thiago_ joined | 17:55 |
| ← Desproges left | 17:55 |
| → lresende joined | 17:56 |
| ← tvw left | 17:58 |
| ← nbari left | 17:59 |
| ← john_anderson left | 17:59 |
| → john_anderson joined | 18:00 |
| → jcao219 joined | 18:01 |
| ← jkremser left | 18:01 |
| → revyd joined | 18:02 |
| → AdrienBrault joined | 18:03 |
| ← Vert left | 18:05 |
| ← rmr_ left | 18:05 |
| ← friskd left | 18:06 |
| → henryC joined | 18:07 |
| → friskd joined | 18:07 |
| ← friskd left | 18:07 |
| → cyphase joined | 18:08 |
| ← arvind_khadri left | 18:08 |
| ← shruggar left | 18:08 |
|
henryC
| I just migrated my sites and my repos from fedora to ubuntu, and in the process, my remotes that I called "hub" are now called "origin". This is fine but can someone help me understand what really happened then? | 18:09 |
|
cmn
| you cloned... | 18:09 |
| ← jwmann left | 18:09 |
| → jwmann joined | 18:09 |
| ← bgerber left | 18:09 |
| ← dnstbr left | 18:09 |
| → ergZay joined | 18:09 |
| → robustus joined | 18:10 |
|
henryC
| so since I cloned on a new machine, fresh git install, it took "origin" as default I guess? | 18:10 |
|
_ikke_
| henryC: yes | 18:10 |
|
henryC
| thanks | 18:10 |
|
_ikke_
| Has nothing to do with fresh git install though | 18:10 |
|
| just clone | 18:10 |
|
henryC
| oh | 18:10 |
|
_ikke_
| The remotes are stored in .git/config | 18:11 |
|
| and they don't get copied on clone | 18:11 |
| ← ninegrid left | 18:11 |
|
henryC
| I see that's what I was trying to figure out / learn... thanks | 18:11 |
| → bgerber joined | 18:12 |
| ← gmarseliss left | 18:13 |
| → project2501b joined | 18:13 |
| → ninegrid joined | 18:14 |
| ← Hounddog left | 18:17 |
| ← torjus_ left | 18:17 |
| ← LeMike left | 18:17 |
| → m0ltar joined | 18:18 |
| ← holden247 left | 18:18 |
| ← JohnBat26 left | 18:19 |
| → marthinal joined | 18:20 |
| → mishok13 joined | 18:22 |
| → JSharpe_ joined | 18:24 |
| ← ninegrid left | 18:25 |
| Vampire0_ → Vampire0 | 18:28 |
| ← renoc__ left | 18:28 |
| → lresende_ joined | 18:28 |
| thiago_ → thiago | 18:29 |
| ← achadwick left | 18:30 |
| ← lresende left | 18:31 |
| → JohnBat26 joined | 18:31 |
| → axl__ joined | 18:32 |
| ← lresende_ left | 18:32 |
| → floppyears joined | 18:32 |
| → ninegrid joined | 18:33 |
| → robbyoconnor joined | 18:33 |
| ← JohnBat26 left | 18:34 |
| ← axl_ left | 18:34 |
| axl__ → axl_ | 18:34 |
| ← JoeAngel_ left | 18:35 |
| → siert joined | 18:35 |
| ← chaiz left | 18:35 |
| ← bauruine left | 18:36 |
| ← siert left | 18:36 |
| ← eletuchy left | 18:36 |
| ← hafeez3000 left | 18:36 |
| ← bitkiller left | 18:37 |
| → Chillance joined | 18:37 |
| → pfFred joined | 18:37 |
| ← robbyoconnor left | 18:37 |
| cinderblock → cinderblock_away | 18:37 |
| → swiety joined | 18:38 |
| ← timj left | 18:38 |
| → minusthetiger joined | 18:38 |
| → shruggar joined | 18:39 |
| → rvl joined | 18:39 |
| ← a_ok left | 18:39 |
| ← irqq_ left | 18:40 |
| ← thierryp left | 18:40 |
| ← pfFredd left | 18:40 |
| ← ShooterMG left | 18:40 |
| ← tavisto left | 18:41 |
| → jdunck joined | 18:42 |
| ← Imaginativeone left | 18:42 |
| ← pfFred left | 18:42 |
| → cviebrock joined | 18:42 |
| → pfFred joined | 18:43 |
| ← elsewho left | 18:44 |
| ← shruggar left | 18:45 |
| → cebor joined | 18:46 |
| ← bgerber left | 18:47 |
| → bux joined | 18:47 |
| ← flijten left | 18:48 |
| ← daniel_- left | 18:49 |
| ← cviebrock left | 18:50 |
| → Dreamer3 joined | 18:51 |
| ← marhaban left | 18:51 |
| → bgerber joined | 18:51 |
| → Goplat joined | 18:53 |
| ← berserkr left | 18:54 |
| ← zenx left | 18:55 |
| → icio joined | 18:56 |
| ← TheJH left | 18:56 |
| → TheJH joined | 18:56 |
| → d2dchat joined | 18:56 |
| → shruggar joined | 18:58 |
| → rgsteele joined | 18:58 |
| → daniel_- joined | 18:58 |
| ← OOPMan left | 18:59 |
| ← fletch` left | 19:01 |
| → cenuij joined | 19:01 |
| ← cenuij left | 19:01 |
| → cenuij joined | 19:01 |
| ← d2dchat left | 19:02 |
| → TML joined | 19:02 |
| → ShooterMG joined | 19:03 |
| ← shruggar left | 19:04 |
| ← chimay left | 19:05 |
| → afuentes joined | 19:05 |
| ← Ryback_ left | 19:05 |
| → flijten joined | 19:06 |
| → hafeez3000 joined | 19:06 |
| → bauruine joined | 19:08 |
| ← john_anderson left | 19:08 |
| → Sky[x] joined | 19:08 |
| → john_anderson joined | 19:10 |
| → berserkr joined | 19:10 |
| → mentero joined | 19:10 |
| → dnivio joined | 19:11 |
| ← sideone left | 19:12 |
| → lresende joined | 19:12 |
| ← TML left | 19:13 |
| → Sonderblade joined | 19:13 |
| → Neptu joined | 19:14 |
|
EugeneKay
| Sarah - the error message means exactly what it says: the remote repository is a non-bare one, so it won't let you push into the checked-out branch. | 19:15 |
| → lresende_ joined | 19:15 |
| ← lresende left | 19:15 |
| lresende_ → lresende | 19:15 |
| → OOPMan joined | 19:15 |
|
EugeneKay
| Sarah - what you want to do, on your server, is 'git init --bare'. Note that if you're trying to !deploy there is some extra work | 19:16 |
|
gitinfo
| Sarah: 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 | 19:16 |
| → pfFreddd joined | 19:16 |
|
EugeneKay
| henryC - 'origin' is the default remote name, in the same way that the default branch is called 'master'. I recommend using meaningful names for both of these instead(eg, 'github' and 'stable') | 19:17 |
| → dangerousdave joined | 19:17 |
| ← BadProphet left | 19:17 |
|
Sarah
| EugeneKay, yup, I got it to work, thanks. | 19:17 |
| ← bux left | 19:18 |
| ← pfFred left | 19:18 |
| ← e66 left | 19:19 |
| → BadProph_ joined | 19:19 |
| → pfFred joined | 19:21 |
| ← pfFreddd left | 19:21 |
| ← flijten left | 19:23 |
| ← jcao219 left | 19:23 |
|
henryC
| EugeneKay: Thanks. I'll have to give the naming some more thought. | 19:23 |
|
ryanneufeld
| is there such thing as a recursive push? | 19:24 |
| → alexim joined | 19:24 |
|
_ikke_
| nope | 19:24 |
| ← cebor left | 19:24 |
| ← sirdancealot left | 19:27 |
| → pfFreddd joined | 19:27 |
| → mastro joined | 19:27 |
| → elixer joined | 19:27 |
| ← BadProph_ left | 19:27 |
| → bowikaxu_ joined | 19:28 |
| → irqq joined | 19:29 |
| ← pfFred left | 19:30 |
| → dnstbr joined | 19:30 |
| → pogo joined | 19:30 |
| ← bowikaxu_ left | 19:30 |
| → eletuchy joined | 19:31 |
| → tm512 joined | 19:32 |
| → dsantiag_ joined | 19:34 |
| ← dpino left | 19:34 |
| ← brettster left | 19:35 |
| ← dsantiago left | 19:35 |
| ← volta left | 19:35 |
| → sluther joined | 19:36 |
| → hwrd|work joined | 19:36 |
| → tenmilestereo joined | 19:37 |
| → Korrakoj joined | 19:37 |
| ← etcetera left | 19:37 |
|
CareBear\
| man gitweb | 19:38 |
|
gitinfo
| the gitweb manpage is available at http://jk.gs/gitweb.html | 19:38 |
| → etcetera joined | 19:38 |
| ← TomWij_ left | 19:39 |
| → TomWij joined | 19:39 |
| ← dnivio left | 19:39 |
| ← leandrosansilva_ left | 19:40 |
| ← caddoo left | 19:40 |
|
CareBear\
| Single URL for gitweb and for fetching says that /HEAD /info /objects /refs need to not go into gitweb, for single URL gitweb+fetch | 19:41 |
|
| no objections to that? | 19:42 |
| ← pfFreddd left | 19:42 |
| → dnivio joined | 19:43 |
| → rayrod2030 joined | 19:44 |
|
rayrod2030
| when doing a git svn rebase/git pull origin master/git push origin master how do you avoid a often occurring push spamming the github commit logs? | 19:45 |
|
| so of course I'm planning on running this rebase and pull/push on a cron timer. | 19:46 |
| ← blurrr left | 19:46 |
| → blurrr joined | 19:47 |
| ← hotovson left | 19:48 |
| → arnihr joined | 19:49 |
|
| milki just doesnt pay attention to the public history | 19:50 |
|
arnihr
| I'm seeing weird behavior, I'm executing something like this: ssh user@remote "cd repo; git fetch; git reset --hard origin/master" | 19:51 |
|
FauxFaux
| arnihr: !deploy | 19:51 |
|
gitinfo
| arnihr: 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 | 19:51 |
|
arnihr
| and it's creating a repo/local in which the origin/master code is located | 19:51 |
| → friskd joined | 19:51 |
| → shruggar joined | 19:51 |
|
FauxFaux
| arnihr: And you don't think there's a "local" folder in the master branch? | 19:52 |
|
arnihr
| FauxFaux: there isn't one | 19:52 |
|
FauxFaux
| Oh yes there is! | 19:52 |
| → |Freeman| joined | 19:52 |
|
arnihr
| I'm lost. How so? | 19:52 |
|
| the entire tree will reside inside the "local" folder | 19:52 |
|
| no such folder exists in the remote | 19:52 |
|
FauxFaux
| The command you've written looks fine, which normally means that git is right. :) | 19:53 |
|
arnihr
| haha | 19:53 |
|
| I know :) | 19:53 |
|
| I've done this before | 19:53 |
|
| and it worked just fine | 19:53 |
|
| now however... | 19:53 |
|
| I love this deployment page, thanks for that :-) | 19:53 |
|
| I just don't understand why it's doing this | 19:54 |
|
| doesn't matter if I reset --hard or checkout -f | 19:54 |
|
| the updated code will always be in "repo/local" | 19:55 |
|
| instead of just in the repo | 19:55 |
| ← maletor left | 19:56 |
| → Iuz joined | 19:57 |
|
arnihr
| now my command looks like this: cd repo; unset GIT_DIR; git fetch; git reset --hard origin/master | 19:57 |
| ← warthog9 left | 19:57 |
|
arnihr
| and local folder has symlinks into the folder below | 19:57 |
| → maletor joined | 19:57 |
|
arnihr
| it's quite bizarre | 19:57 |
| → eletuchy_ joined | 19:58 |
| ← lresende left | 19:58 |
| → timj joined | 19:59 |
|
ojacobson
| this is a fascinating documentary about cargo-cult debugging | 20:00 |
|
| how about shelling into the remote host and running a few commands? 'git fetch; git show-ref' and 'git status' are probably good starts. | 20:00 |
| → warthog9 joined | 20:00 |
|
ojacobson
| (And pasting the results in eg. gist.github.com for us to see -- verbatim, if possible) | 20:00 |
| ← eletuchy left | 20:01 |
| ← Sigma left | 20:02 |
| → aetcore joined | 20:02 |
| ← narfnarfnarf left | 20:04 |
| ← tinti left | 20:04 |
| → Mode-M_ joined | 20:04 |
| ← erichynds left | 20:05 |
| ← blurrr left | 20:05 |
| → m0viefreak joined | 20:09 |
| ← o] left | 20:10 |
| → alee___ joined | 20:10 |
| → sg83 joined | 20:10 |
| → epicfail joined | 20:11 |
| → o] joined | 20:11 |
| ← epicfail left | 20:13 |
| ← JPeterson left | 20:13 |
| → ihateyouall joined | 20:13 |
|
ihateyouall
| hi, how do i say to git "screw all i changed and overwrite it with the newest origin master" ? | 20:14 |
| ← axl_ left | 20:14 |
|
ciaranm
| reset --hard | 20:14 |
|
_ikke_
| ihateyouall: git reset --hard origin/master | 20:14 |
| ← hellopat left | 20:15 |
| ← sg83 left | 20:15 |
| → hellopat joined | 20:16 |
| → sirdancealot joined | 20:16 |
| ← camt left | 20:17 |
|
ihateyouall
| _ikke_, i changed files i never committed. after the reset --hard my local changes are gone? | 20:17 |
|
_ikke_
| ihateyouall: yes | 20:18 |
|
| ihateyouall: That's what you said you wanted | 20:18 |
| → gtrak joined | 20:18 |
|
FauxFaux
| And this, children, is why I tell people to run git stash && git checkout -B master origin/master | 20:18 |
|
| Because then you can never fuck it up. Please stop recommending reset. | 20:18 |
|
| Ever. | 20:18 |
| → thelodger joined | 20:18 |
|
ihateyouall
| _ikke_, it was what i wanted. Worked! thx man | 20:19 |
| ← chuckharmston left | 20:19 |
|
jast
| I always explain exactly what'll happen whenever I recommend some form of reset | 20:19 |
|
| plus, as we discovered today, git in debian stable doesn't have -B | 20:19 |
|
wereHamster
| FauxFaux: if someone wants to screw all his changes, then reset --hard *is* the right command | 20:20 |
|
_ikke_
| checkout -B? | 20:20 |
|
ihateyouall
| FauxFaux, git reset was EXACTLY what i wanted | 20:20 |
| ← prettyrobots left | 20:20 |
|
FauxFaux
| Totally not worth the risk. | 20:21 |
|
ihateyouall
| FauxFaux, i committed the changes i wanted permanent and the rest i just restted after | 20:21 |
| → camt joined | 20:21 |
| ← m0ltar left | 20:21 |
|
FauxFaux
| I still strongly recommend using stash in that case. | 20:21 |
|
jast
| stash is way overused IMO | 20:21 |
|
| I use it maybe once every few months | 20:22 |
|
| the only thing that occasionally forces it on me is rebase | 20:22 |
| ← aetcore left | 20:23 |
|
ihateyouall
| FauxFaux, i understand why u recommend git stash but in this case => im a noob and i need it as simple as possible | 20:23 |
|
| so reset | 20:23 |
|
ojacobson
| ihateyouall: you're a noob, so you need to be kept from blowing your feet off on our advice if we misunderstood what you wanted :) | 20:23 |
|
jast
| the only relevant difference at this point is that stashing things can be undone | 20:24 |
|
ojacobson
| we're all lucky this time around but honestly the stash solution means we can get your changes back if you didn't actually want what we heard you say you want | 20:24 |
| → aspotashev joined | 20:24 |
| → rampantmonkey joined | 20:24 |
| → prettyrobots joined | 20:24 |
|
ihateyouall
| jast, i understand that | 20:24 |
|
| well in my case i changed 1 line of code i wanted to be permanent (the one i committed before) so there would not be much harm | 20:25 |
| → doc|work joined | 20:25 |
|
jast
| note that you said you wanted to have everything overwritten with the origin's master? that would entail destroying your commit, too, would it not? | 20:26 |
| ← polaco left | 20:26 |
| ← hinst left | 20:26 |
|
jast
| 'git reset --hard origin/master' says: throw away all uncommitted changes, make the current branch exactly the same (i.e. same commit history) as origin/master, and gimme the corresponding files | 20:27 |
| ← rampantmonkey left | 20:27 |
| → polaco joined | 20:27 |
|
ihateyouall
| jast, arr sry wrong word... i pushed the line before i used git reset --hard | 20:27 |
|
jast
| now, throwing away uncommitted changes is usually not undoable, but even if you made a mistake and eliminated a few commits by accident, we can still get them back for quite a while | 20:28 |
|
ihateyouall
| so my changed line WAS the master | 20:28 |
|
jast
| right :) | 20:28 |
| ← infynyxx left | 20:28 |
|
jast
| just a friendly little reminder that misunderstandings can, in fact, happen :) | 20:28 |
| ← zoned left | 20:29 |
|
jast
| but really, the important thing here is that --hard irrevocably destroys uncommitted stuff and most other things are pretty safe, for a certain time at least | 20:29 |
| → zoned joined | 20:29 |
| ← rgsteele left | 20:29 |
|
ihateyouall
| i know to be careful when i wish to delete something and maybe backup it before but i can understand (and aprechiate) that u guys try to protect not so careful users from themself | 20:29 |
| ← rayrod2030 left | 20:30 |
|
jast
| well, I don't recommend the stash+checkout thing. so I kind of hand out medium-risk solutions. ;) | 20:30 |
| → resmo_ joined | 20:31 |
| ← tm512 left | 20:33 |
|
ihateyouall
| since i am here, the channel is empty and ur so helpful: cann u save me from rtfm and tell me how to open an new branch and copy the master in it? | 20:33 |
| → infynyxx joined | 20:33 |
| ← hafeez3000 left | 20:33 |
|
ihateyouall
| git branch 'name' and 'git checkout' is as far as i remember | 20:34 |
| → thierryp joined | 20:34 |
|
cmn
| you pass an extra argument to tell it the base | 20:34 |
|
ihateyouall
| git checkout 'name' sure | 20:34 |
|
cmn
| which you can read from the top 10 lines on either manpage | 20:34 |
|
ihateyouall
| and after git pull origin master? | 20:35 |
|
cmn
| after what? | 20:35 |
|
ojacobson
| ihateyouall: you almost certainly want 'git fetch' followed by 'git checkout origin/master -b your-new-branch' | 20:35 |
|
jast
| all you need is: git checkout -b newbranchname | 20:35 |
| ← eightyeight left | 20:35 |
|
ojacobson
| or if you want to use local master rather than origin's master, skip the fetch and 'git checkout master -b your-new-branch' | 20:35 |
| ← Xizor left | 20:36 |
|
jast
| (if you're on master right now, that is) | 20:36 |
| → JPeterson joined | 20:36 |
|
jast
| but my lucky guess says you are ;) | 20:36 |
| ← hwrd|work left | 20:36 |
| → oposomme joined | 20:36 |
| ← ShooterMG left | 20:37 |
|
oposomme
| hi I would reset to an old revision and apply some commit between the old revision and the HEAD what is the correct workflow ? | 20:37 |
| ← dnstbr left | 20:37 |
|
jast
| oposomme: so basically you want to throw away all commits from back then until now, save one? | 20:37 |
| ← prettyrobots left | 20:38 |
|
ihateyouall
| jast, what does -b ? | 20:38 |
| → kjellski joined | 20:38 |
|
jast
| ihateyouall: creates a new branch. as explained in the manpage. :} | 20:39 |
| ← juvenal left | 20:39 |
| → sq-one joined | 20:39 |
| ← m1sc left | 20:39 |
|
oposomme
| jast: I would come back to an earlier revision but I would keep some commits between the earlier revision and now :) | 20:39 |
| → juvenal joined | 20:40 |
| ← juvenal left | 20:40 |
|
jast
| there are several ways. one is: git rebase -i <old base commit>; then remove all the commits you want to get rid of from the list, save and quit. safety advisory: !rewriting | 20:40 |
|
gitinfo
| [!rewriting_public_history] Rewriting public history is a very bad idea. Anyone else who may have pulled the old history will have to jump through hoops (and you have to tell them to), so it's infinitely better to just move on without rewriting. That said, you can use `git push -f` to force your new history through (may get rejected, though). See http://git-scm.com/docs/git-rebase.html#_recovering_from_upstream_rebase | 20:40 |
| → juvenal joined | 20:41 |
| → hwrd|work joined | 20:41 |
|
ihateyouall
| jast, and the origin master is copied in my new branch after? | 20:41 |
| → prettyrobots joined | 20:41 |
|
oposomme
| jast: it seems easy like this I have never use git rebase I will try thx | 20:41 |
| → m1sc joined | 20:41 |
|
jast
| ihateyouall: no, your current master is. you can choose origin/master like this: git checkout -b mynewbranch origin/master but note that git will now assume you want to merge from origin/master when you run 'git pull' without args in that branch | 20:42 |
|
| by the way, that's quite a statement you've got there in your nickname ;) | 20:42 |
| ← barq left | 20:43 |
| → barq joined | 20:44 |
| → eijk_ joined | 20:45 |
| ← tenmilestereo left | 20:45 |
| → schlumpi joined | 20:45 |
|
ihateyouall
| jast, thats why i allways make sure that my master is the origin master before i even try to open a branch | 20:45 |
|
| jast, my nick... yeah... guess not the rest of the world has a problem. Its me who has a problem xD | 20:46 |
| ← john_anderson left | 20:46 |
| ← m1sc left | 20:46 |
|
jast
| ihateyouall: or maybe the all that you know is not quite the same all that some of us have found | 20:47 |
| → hmsimha joined | 20:47 |
| → m1sc joined | 20:47 |
| ← pandeiro left | 20:47 |
| ← eijk left | 20:47 |
| ← dangerousdave left | 20:47 |
|
oposomme
| jast: I have done git rebase -i <old revision> and it doesn't seems to do a lot but I would know how do I get rid of uwanted revision? | 20:48 |
| → john_anderson joined | 20:48 |
|
jast
| oposomme: it should start an editor in which you can reorder or remove commits or do a whole bunch of other crazy things | 20:48 |
| → Imaginativeone joined | 20:48 |
|
jast
| if it didn't, I'm going to need more details as to what happened | 20:48 |
| → eightyeight joined | 20:49 |
|
oposomme
| jast: Ah ok I have just quit the editor lol ok I will kill the correct line | 20:49 |
|
ihateyouall
| jast, thx for ur help. i will continue progamming now | 20:49 |
| ← Imaginativeone left | 20:49 |
| ← Neptu left | 20:49 |
| → pantsman joined | 20:50 |
| ← pantsman left | 20:50 |
| → pantsman joined | 20:50 |
| → srayner joined | 20:50 |
| ← etcetera left | 20:51 |
|
oposomme
| jast: the job is done it's magic | 20:51 |
| ← dnivio left | 20:51 |
| ← dedis left | 20:52 |
|
oposomme
| it seems that git doesn't take care of empty directory why? | 20:53 |
|
cmn
| because it has nothing inside it | 20:54 |
| → Imaginativeone joined | 20:54 |
| ← ihateyouall left | 20:54 |
|
oposomme
| cmn: ok | 20:55 |
| → etcetera joined | 20:56 |
| → JEEB joined | 20:56 |
| ← berserkr left | 20:56 |
| ← marthinal left | 20:56 |
| → zivester_ joined | 20:56 |
| ← Sarah left | 20:57 |
| → smoothbutta joined | 20:59 |
| ← _iron left | 20:59 |
| ← zivester left | 20:59 |
| → diegoviola joined | 21:00 |
| → cebor joined | 21:00 |
| ← ehsan left | 21:00 |
| ← dsantiag_ left | 21:01 |
| → diegovio1a joined | 21:01 |
| → samuel02 joined | 21:02 |
| → Neptu joined | 21:03 |
| → Shade_Tornado joined | 21:04 |
| → ehsan joined | 21:04 |
| ← schlumpi left | 21:04 |
| → aBound joined | 21:04 |
| ← m1sc left | 21:05 |
| ← aBound left | 21:05 |
| ← kermit left | 21:06 |
| → m1sc joined | 21:06 |
| ← diegovio1a left | 21:06 |
| → blurrr joined | 21:06 |
| → diegovio1a joined | 21:06 |
| → martinjlowm-lapt joined | 21:07 |
| ← ShadeTornado left | 21:07 |
| ← diegoviola left | 21:07 |
| alee___ → alee- | 21:08 |
| ← revagomes left | 21:08 |
| → ShadeTornado joined | 21:08 |
| ← Imaginativeone left | 21:08 |
| → aBound joined | 21:09 |
| → schlumpi joined | 21:10 |
| ← etcetera left | 21:10 |
| ← Shade_Tornado left | 21:10 |
| ← diegovio1a left | 21:11 |
| → axl_ joined | 21:11 |
| → berserkr joined | 21:11 |
| → yoklov joined | 21:13 |
| ← macabre left | 21:13 |
| → Shade_Tornado joined | 21:15 |
| ← Dreamer3 left | 21:16 |
| ← yshh left | 21:16 |
| ← antivert left | 21:16 |
| ← aBound left | 21:17 |
| ← geekbri left | 21:17 |
| ← ShadeTornado left | 21:18 |
| → etcetera joined | 21:18 |
| ← alee- left | 21:18 |
| → marhaban joined | 21:18 |
| → Dreamer3 joined | 21:19 |
| ← picoguy left | 21:19 |
| → macabre joined | 21:19 |
| ← mishok13 left | 21:20 |
| → alee- joined | 21:20 |
| ← rob_w left | 21:20 |
| → mishok13 joined | 21:21 |
| → vyvup joined | 21:22 |
| ← elixer left | 21:22 |
| ← infynyxx left | 21:22 |
| ← vyvup left | 21:23 |
| → Chaser joined | 21:23 |
| → infynyxx joined | 21:23 |
| → vyvup joined | 21:23 |
| → griotspeak joined | 21:23 |
| ← vyvup left | 21:23 |
| ← _Qman left | 21:24 |
| ← netj left | 21:24 |
| → netj joined | 21:24 |
| → tm512 joined | 21:26 |
| → kermit joined | 21:27 |
| ← Shade_Tornado left | 21:27 |
| → revagomes joined | 21:27 |
| → samholmes joined | 21:29 |
|
samholmes
| why do I have to enter my RSA passphrase everytime I want to push? | 21:29 |
|
jast
| well, git uses SSH for transport. if you're not using ssh-agent or anything like that, nothing remembers it for you. that's a security trade-off. | 21:29 |
|
| if you want ssh to remember your passphrase, set up ssh-agent | 21:30 |
| ← cebor left | 21:30 |
|
jast
| or whatever comparable thing your platform has | 21:30 |
| ← skyf left | 21:30 |
| → dsantiago joined | 21:30 |
| ← legumbre_ left | 21:30 |
| ← arietis left | 21:30 |
| → nioncode joined | 21:31 |
| ← hwrd|work left | 21:31 |
| → vyvup joined | 21:31 |
| ← GeertB left | 21:34 |
| → ShadeTornado joined | 21:34 |
| → hwrd|work joined | 21:34 |
| ← p3rror left | 21:34 |
| ← Mode-M_ left | 21:36 |
| ← ShadeTornado left | 21:36 |
| → ShadeTornado joined | 21:37 |
|
mel-
| (or setup gpg-agent, it support the ssh-agent protocol too and has certain advantages) | 21:37 |
| ← Tommy[D] left | 21:37 |
| → dnivio joined | 21:38 |
| ← asakura left | 21:41 |
| ← ojacobson left | 21:41 |
| → Innocentus joined | 21:41 |
| ← eletuchy_ left | 21:42 |
| ← hoschi left | 21:42 |
| ← cyphase left | 21:47 |
| ← afuentes left | 21:47 |
| → c_melder joined | 21:47 |
| ← henryC left | 21:48 |
| ← j416 left | 21:48 |
| → Akufen joined | 21:48 |
| ← Akufen left | 21:48 |
| → Akufen joined | 21:48 |
| ← c_melder left | 21:49 |
| → melder joined | 21:49 |
|
melder
| i'm getting whitespace errors when rebasing which causes it to fail. any way to get around that? | 21:49 |
| → Tommy[D] joined | 21:49 |
| ← dnivio left | 21:50 |
| → rukin5197 joined | 21:50 |
| → yshh joined | 21:51 |
| → fsvehla joined | 21:52 |
| ← Xethron left | 21:54 |
| ← jtm left | 21:54 |
| → jtm joined | 21:54 |
| ← blurrr left | 21:55 |
| ← sq-one left | 21:55 |
| → cyphase joined | 21:55 |
| ← pantsman left | 21:56 |
| → kjellski_ joined | 21:56 |
| → asakura joined | 21:57 |
| ← AaronMT left | 21:57 |
| ← riker2000_ left | 21:58 |
| → madewokherd joined | 21:59 |
| ← WinstonSmith left | 21:59 |
| → riker2000 joined | 21:59 |
| ← kjellski left | 22:00 |
| ← martinjlowm-lapt left | 22:00 |
| → henryC joined | 22:00 |
| ← hellopat left | 22:01 |
| → arvind_khadri joined | 22:01 |
| ← freeed left | 22:01 |
| → martinjlowm-lapt joined | 22:01 |
| ← Goplat left | 22:01 |
| → leitz joined | 22:02 |
| → codeFiend joined | 22:02 |
| → WinstonSmith joined | 22:02 |
|
leitz
| Noob question. I've started a repo on github and tried to commit the added files with git commit -am "Notes". I get an error that my branch is 2 revisions ahead of the origin/master but I'm not sure what to do about that. | 22:03 |
| ← eightyeight left | 22:03 |
| ← robustus left | 22:04 |
|
FauxFaux
| leitz: That's not an error, that's information. | 22:04 |
| → Xethron joined | 22:05 |
|
samholmes
| jast: I have ssh-agent running. What do I need to do? | 22:06 |
|
| I'm running Git Bash | 22:06 |
|
jast
| have you added your ssh key to the agent yet? try: ssh-add | 22:06 |
|
FauxFaux
| Lots of people have problems with ssh-agent on Windows. | 22:07 |
| ← etcetera left | 22:07 |
|
leitz
| FauxFaux, if it won't put my files up on the repo, that seems to be an error. :) | 22:07 |
|
FauxFaux
| leitz: commit doesn't put files into a remote repo, it puts them into the local repo. !book man everyday | 22:07 |
|
gitinfo
| leitz: 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 | 22:07 |
|
| leitz: the everyday manpage is available at http://jk.gs/everyday.html | 22:07 |
| → nejucomo joined | 22:07 |
| eijk_ → eijk | 22:07 |
| ← eijk left | 22:10 |
| ← jceb left | 22:10 |
| ← cannonball left | 22:11 |
| → dangerousdave joined | 22:12 |
| → eightyeight joined | 22:12 |
| ← martinjlowm-lapt left | 22:13 |
| ← leeN left | 22:13 |
| → guillaum joined | 22:14 |
| ← oposomme left | 22:16 |
|
eightyeight
| sorry for the recent noise | 22:17 |
| → eletuchy joined | 22:17 |
| → drizzd joined | 22:17 |
| ← revagomes left | 22:18 |
| → martinjlowm-lapt joined | 22:19 |
| ← guillaum left | 22:20 |
| → snearch joined | 22:21 |
| ← eightyeight left | 22:21 |
| ← martinjlowm-lapt left | 22:23 |
| ← icio left | 22:23 |
|
leitz
| Okay, with some github help pages, changing from https to ssh, and no small amount of frustration, the git push now works. Thanks! | 22:23 |
| ← iamjarvo left | 22:24 |
| ← eqs left | 22:25 |
| → EgS joined | 22:25 |
| ← minusthetiger left | 22:25 |
| ← maletor left | 22:26 |
| → icio joined | 22:26 |
| → aetcore joined | 22:27 |
| ← mentero left | 22:28 |
| ← hwrd|work left | 22:28 |
| → drizzd_ joined | 22:29 |
| → hwrd|work joined | 22:30 |
| ← Element9 left | 22:32 |
| → eightyeight joined | 22:33 |
| → axl__ joined | 22:34 |
| → reenignEesreveR joined | 22:36 |
| ← bartek left | 22:36 |
| ← axl_ left | 22:37 |
| axl__ → axl_ | 22:37 |
| → etcetera joined | 22:38 |
| ← mishok13 left | 22:38 |
| → maletor joined | 22:38 |
| ← thierryp left | 22:40 |
| ← reenignEesreveR left | 22:40 |
| ← srayner left | 22:41 |
| → MB_Mobile joined | 22:41 |
| ← kvothe left | 22:41 |
| ← MB_Mobile left | 22:42 |
| → MB_Mobile joined | 22:42 |
|
MB_Mobile
| What is that website which helps with resetting repos? it's set up in a Q/A format | 22:42 |
|
mmattice
| stackexchange? | 22:43 |
| ← aetcore left | 22:43 |
|
MB_Mobile
| mmattice, no it's specific to git. I've seen it referenced here before. | 22:43 |
| ← swiety left | 22:44 |
| → ampz joined | 22:44 |
|
milki
| MB_Mobile: !fixup | 22:44 |
|
gitinfo
| MB_Mobile: 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! | 22:44 |
|
MB_Mobile
| Thanks milki! | 22:44 |
| ← macabre left | 22:46 |
| → imrobert joined | 22:46 |
| ← MB_Mobile left | 22:47 |
| → thierryp joined | 22:48 |
| ← etcetera left | 22:48 |
| ← marhaban left | 22:48 |
| ← R_Macy left | 22:50 |
| ← ampz left | 22:51 |
| ← TheJH left | 22:51 |
| → p3rror joined | 22:51 |
| → etcetera joined | 22:53 |
| ← dangerousdave left | 22:53 |
| ← fsvehla left | 22:53 |
| → marhaban joined | 22:55 |
| ← opus left | 22:55 |
| ← snearch left | 22:57 |
| ← eletuchy left | 22:58 |
| → eletuchy joined | 22:58 |
| → Blue0ctober joined | 22:59 |
| ← fisted_ left | 23:00 |
| ← etcetera left | 23:00 |
| → FernandoBasso joined | 23:00 |
| ← drizzd_ left | 23:00 |
| → dnivio joined | 23:00 |
| → fisted joined | 23:00 |
| → lausi joined | 23:02 |
| ← lausi left | 23:02 |
| ← eletuchy left | 23:02 |
| ← cakehero left | 23:03 |
| ← Guest48221 left | 23:03 |
| ← dnivio left | 23:04 |
| ← v0n left | 23:05 |
| ← alunduil left | 23:05 |
| → ojacobson joined | 23:05 |
| → etcetera joined | 23:06 |
| ← kermit left | 23:07 |
| ← jcromartie left | 23:07 |
| ← infynyxx left | 23:10 |
| ← xp_prg left | 23:10 |
| ← glennpratt left | 23:10 |
| → Vile joined | 23:11 |
| ← dvsharp left | 23:11 |
| → fsvehla joined | 23:12 |
| ← TeckniX left | 23:14 |
| ← thierryp left | 23:14 |
| ← Destos left | 23:15 |
| → kermit joined | 23:17 |
| ← laurav left | 23:17 |
| ← jn_ left | 23:17 |
| → apok joined | 23:18 |
| ← mklappstuhl left | 23:19 |
| → eletuchy joined | 23:21 |
| → Destos joined | 23:23 |
| ← tm512 left | 23:24 |
| ← griotspeak left | 23:24 |
| ← bapa left | 23:24 |
| → tm512 joined | 23:25 |
| → relipse joined | 23:25 |
| ← ninegrid left | 23:25 |
| ← dvide left | 23:25 |
|
relipse
| i'm using windows | 23:25 |
|
wereHamster
| you poor soul | 23:26 |
|
relipse
| I made a folder a repo | 23:26 |
|
| my localhost website | 23:26 |
| ← fsvehla left | 23:27 |
| ← knapper_tech left | 23:27 |
|
FauxFaux
| And? | 23:27 |
|
relipse
| now is it possible to make my other folder a copy of that repo | 23:27 |
|
| and then pull changes from the main folder | 23:27 |
|
FauxFaux
| Isn't that what clone does? | 23:28 |
| → fsvehla joined | 23:28 |
|
relipse
| that way I can ftp it after I pull the changes? | 23:28 |
|
| ok but the problem is the config files are different for both versions | 23:28 |
|
| but every other file is the same | 23:28 |
|
| do I need a branch for that? | 23:28 |
|
wereHamster
| relipse: !deploy | 23:29 |
|
gitinfo
| relipse: 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 | 23:29 |
|
wereHamster
| relipse: and !config | 23:29 |
|
gitinfo
| relipse: [!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 | 23:29 |
| → hotovson_ joined | 23:29 |
| ← samuel02 left | 23:29 |
|
relipse
| umm | 23:29 |
|
| can you help me | 23:29 |
|
| i was thinking i can have 2 branches | 23:30 |
|
| a localhost trunk, and a web branch | 23:30 |
| ← Destos left | 23:32 |
| ← shruggar left | 23:34 |
| → ninegrid joined | 23:34 |
| → cakehero joined | 23:35 |
| ← TomWij left | 23:38 |
| → avpx joined | 23:39 |
| ← hobodave left | 23:40 |
| → Destos joined | 23:40 |
| → TomWij joined | 23:41 |
| ← chrisgeorge_ left | 23:42 |
| ← adamben left | 23:42 |
| ← rukin5197 left | 23:43 |
| → hellopat joined | 23:44 |
| ← Xethron left | 23:44 |
| → syskk joined | 23:44 |
| ← syskk left | 23:44 |
| → syskk joined | 23:44 |
| ← dsantiago left | 23:44 |
| → Zael joined | 23:44 |
| ← tewecske left | 23:47 |
| → dsantiago joined | 23:49 |
| → Vert joined | 23:49 |
| ← hwrd|work left | 23:50 |
| ← ergZay left | 23:50 |
| ← nioncode left | 23:51 |
| ← cakehero left | 23:51 |
| ← axl_ left | 23:52 |
| ← jfs left | 23:53 |
| ← rednaks left | 23:53 |
| → cakehero joined | 23:53 |
| ← gtrak left | 23:54 |
| ← ninegrid left | 23:56 |
| ← x82_nicole left | 23:56 |
| ← fsvehla left | 23:58 |
| → theBrettman joined | 23:58 |
| → jcromartie joined | 23:58 |
| → Goplat joined | 23:58 |