| 2013-08-17 |
|
cmn
| then you need to check for the error conditions you want to handle specially | 00:00 |
|
catsup
| exactly | 00:00 |
|
| but how to do it? | 00:00 |
| → g0bl1n joined | 00:00 |
|
catsup
| well i guess i check the string output of rev-parse for "Path '.*' does not exist" | 00:01 |
| ← mmlac-bv left | 00:01 |
| ← lethjakman left | 00:01 |
| ← maroloccio left | 00:01 |
| ← mckendri_ left | 00:02 |
|
cmn
| each one is different, so you need to check differently | 00:02 |
| ← infynyxx left | 00:03 |
|
cmn
| if you don't know how to handle it, then you shouldn't and you should simply fail | 00:03 |
|
catsup
| um | 00:03 |
|
| the absense of the file is not an error | 00:03 |
|
| absence | 00:04 |
|
| in my application. however, anything else is an error. | 00:04 |
| → plumpkin joined | 00:04 |
|
catsup
| (in other words i need the application to do one thing if the file is not there, another if the file is there, and yet another if there is any kind of error.) | 00:05 |
| → tatsuya_o joined | 00:06 |
| → kcj joined | 00:07 |
| → mizu_no_oto joined | 00:08 |
| ← jkremser left | 00:11 |
| → dreiss joined | 00:11 |
| ← tatsuya_o left | 00:11 |
| → juanmabc joined | 00:13 |
| ← conan_ left | 00:14 |
| → conan joined | 00:17 |
| ← Milossh left | 00:17 |
| ← skiernose left | 00:19 |
| → rfoust joined | 00:20 |
| ← dreiss left | 00:21 |
| ← m0viefreak left | 00:21 |
| → JPeterson joined | 00:23 |
| ← mvensky left | 00:24 |
| ← bsaboia_ left | 00:25 |
| → kpreid joined | 00:27 |
| ← mloskot left | 00:27 |
| → multi_io joined | 00:27 |
| ← kcj left | 00:28 |
| ← thiago left | 00:28 |
| ← cedeon left | 00:29 |
| → Chryyz joined | 00:29 |
| ← g0bl1n left | 00:30 |
| ← juanmabc left | 00:33 |
| → dreiss joined | 00:33 |
| ← tjbiddle left | 00:35 |
| ← frgtn left | 00:37 |
| → maxmanders joined | 00:37 |
| ← devoldmx left | 00:39 |
| → devoldmx joined | 00:40 |
| → skiernose joined | 00:40 |
| → twoface88 joined | 00:41 |
| → v0n joined | 00:42 |
| ← v0n left | 00:42 |
| → v0n joined | 00:42 |
| → aegis__ joined | 00:43 |
| ← crazydiamond left | 00:43 |
| ← maxmanders left | 00:43 |
| v0n → v1n | 00:43 |
| → lethjakman joined | 00:43 |
| ← acharlieh left | 00:43 |
| → bitslip joined | 00:43 |
| ← iliketur_ left | 00:45 |
| ← devoldmx left | 00:45 |
| ← skiernose left | 00:46 |
| → maxmanders joined | 00:46 |
| ← sparq_ left | 00:49 |
| ← joepie91 left | 00:49 |
| → spechal_ joined | 00:49 |
| → frgtn joined | 00:50 |
|
spechal_
| When I do a git clone to convert an SVN repo, it keeps asking gem for a password after almost revision, saying: Found branch parent: (refs/remotes/tags/2.0.2rc2) ed698a5d4172ade49d6a32dbba344ea7b50b42ca Following parent with do_switch … could anyone elaborate on why it would keep asking me for a password? I've converted several subbranches from this repo already | 00:51 |
| → relipse joined | 00:51 |
| → Davey joined | 00:51 |
| → devoldmx joined | 00:55 |
| → jalama joined | 00:55 |
| → crazydiamond joined | 00:56 |
| ← dmarkham left | 00:57 |
| → _BJFreeman joined | 00:57 |
| ← Davey left | 00:58 |
| → Roots47 joined | 00:58 |
| _BJFreeman → BJfreeman | 00:58 |
| ← v1n left | 00:59 |
| ← maxmanders left | 00:59 |
| → Cromulent joined | 01:00 |
| ← ColKurtz left | 01:00 |
| ← ewnd9 left | 01:00 |
| → ewnd9 joined | 01:01 |
| → Suprano joined | 01:01 |
| ← devoldmx left | 01:02 |
| ← FernandoBasso left | 01:02 |
| → devoldmx joined | 01:02 |
| → girishr joined | 01:03 |
| ← M4renz left | 01:04 |
| ← CodeShark left | 01:05 |
| → normanrichards joined | 01:05 |
| → kcj joined | 01:07 |
| ← devoldmx left | 01:07 |
| → Goplat joined | 01:08 |
| ← rednaks_ left | 01:08 |
| ← hwrd|work left | 01:09 |
| → Juri_Agarin joined | 01:10 |
| → Milossh joined | 01:10 |
| ← Skrypter left | 01:10 |
| → pdurbin joined | 01:10 |
| → madewokherd joined | 01:10 |
| → marklite joined | 01:10 |
| → M4renz joined | 01:11 |
| ← amcsi left | 01:11 |
| ← hahuang65 left | 01:11 |
| ← marklite left | 01:12 |
| → Gatwick joined | 01:12 |
| → v1n joined | 01:13 |
| → enr joined | 01:14 |
| ← Suprano left | 01:14 |
| ← BSaboia left | 01:16 |
| ← Droolio left | 01:16 |
| ← aegis__ left | 01:16 |
| → AWinterman joined | 01:17 |
| ← AWinterman left | 01:18 |
| → AWinterman joined | 01:18 |
| ← Gatwick left | 01:19 |
| → Gatwick joined | 01:19 |
| ← enr left | 01:20 |
| ← yacks left | 01:20 |
| ← mizu_no_oto left | 01:20 |
| ← Gatwick left | 01:21 |
| → Tabmow joined | 01:21 |
| → Gatwick joined | 01:21 |
| ← Gatwick left | 01:21 |
| → devoldmx joined | 01:21 |
| → Gatwick joined | 01:22 |
| ← crazydiamond left | 01:22 |
| ← looper left | 01:22 |
| → sarcasticsimba joined | 01:23 |
| sarcasticsimba → vigs | 01:23 |
|
milki
| hm | 01:24 |
|
| it depends on how you are connecting maybe | 01:24 |
| → looper joined | 01:24 |
|
offby1
| spechal_: I seem to recall that Subversion would do that if you're not using ssh-agent | 01:26 |
|
| Which means: I doubt it's git-svn's fault | 01:26 |
| → vlad003 joined | 01:27 |
| ← FreezingCold left | 01:28 |
| → Cromulent|2 joined | 01:28 |
| ← nitrix left | 01:28 |
| ← Cromulent left | 01:29 |
| ← Cromulent|2 left | 01:31 |
| → Vampire0_ joined | 01:31 |
| → Skrypter joined | 01:32 |
| → abrkn joined | 01:32 |
| → devoldmx3 joined | 01:32 |
| ← abrkn left | 01:33 |
| → bmac joined | 01:33 |
| → devoldmx27 joined | 01:34 |
| ← lethjakman left | 01:35 |
| ← Vampire0 left | 01:35 |
| → maxmanders joined | 01:35 |
| ← arborism left | 01:35 |
| ← frgtn left | 01:36 |
| ← devoldmx left | 01:36 |
| ← SHyx0rmZ left | 01:36 |
| ← Dougie187 left | 01:36 |
| ← devoldmx3 left | 01:37 |
| → nitrix joined | 01:37 |
| nitrix → Guest67157 | 01:37 |
| vigs → tomhanks | 01:39 |
| tomhanks → vigs | 01:39 |
| ← Guest67157 left | 01:39 |
| → Guest67157 joined | 01:39 |
| ← joshsmith left | 01:39 |
| → Spyro joined | 01:40 |
| → iliketur_ joined | 01:41 |
| ← Guest67157 left | 01:41 |
| ← iliketur_ left | 01:42 |
| → nitrix joined | 01:42 |
| ← scorphus left | 01:43 |
| ← shuaib left | 01:43 |
| ← M4renz left | 01:43 |
| ← maxmanders left | 01:44 |
| ← gusnan left | 01:45 |
| ← Marquisk2 left | 01:45 |
| → aisbaa joined | 01:45 |
| → maxmanders joined | 01:45 |
| → iliketur_ joined | 01:46 |
| → Marquisk2 joined | 01:46 |
| ← BJfreeman left | 01:46 |
| ← mechanicalduck left | 01:47 |
| → M4renz joined | 01:47 |
| → mizu_no_oto joined | 01:48 |
| → natechan joined | 01:49 |
| → Davey joined | 01:53 |
| ← Gamecubic left | 01:53 |
| → freestyl3r joined | 01:56 |
| ← pitzips_alt left | 01:57 |
| ← looper left | 01:57 |
| → hahuang65 joined | 01:57 |
| ← Davey left | 01:58 |
| ← freestyl3r left | 01:59 |
| → intripoon_ joined | 01:59 |
| ← wongon left | 01:59 |
| → sgambino joined | 01:59 |
| → diegoviola joined | 02:00 |
| → Swayz joined | 02:01 |
| → Nicholas_Rishel_ joined | 02:02 |
| ← Gatwick left | 02:02 |
| ← Swayz left | 02:02 |
| ← spechal_ left | 02:02 |
| → Gatwick joined | 02:03 |
| → freestyl3r joined | 02:03 |
| ← Nicholas_Rishel left | 02:05 |
| → maroloccio joined | 02:06 |
| ← alvaro_o left | 02:08 |
| ← bmac left | 02:08 |
| → joshsmith joined | 02:09 |
| → verysoftoiletppr joined | 02:09 |
| → bmac joined | 02:09 |
| → Balliad joined | 02:10 |
| → mmlac-bv joined | 02:11 |
| ← ziddey left | 02:11 |
| ← devoldmx27 left | 02:12 |
| → devoldmx joined | 02:12 |
| ← cads left | 02:12 |
| → tmcmahon joined | 02:13 |
| ← bitkiller left | 02:14 |
| ← diegoviola left | 02:15 |
| → enr joined | 02:15 |
| → simesy joined | 02:15 |
| → diegoviola joined | 02:16 |
| → Midnightblues joined | 02:17 |
| → bitkiller joined | 02:19 |
| ← boombatower left | 02:19 |
| ← enr left | 02:19 |
| ← FrodoTheHobbit left | 02:20 |
| ← bmac left | 02:20 |
| → FrodoTheHobbit joined | 02:21 |
| → russt joined | 02:21 |
| → bmac joined | 02:21 |
| ← Destos left | 02:22 |
| ← Skrypter left | 02:22 |
| → quazimodo joined | 02:26 |
| ← Kabaka left | 02:26 |
| ← w0ng left | 02:27 |
| → Kabaka joined | 02:28 |
| ← mizu_no_oto left | 02:28 |
| ← tmcmahon left | 02:29 |
| ← freestyl3r left | 02:31 |
| → jiku joined | 02:32 |
| → kiffer84 joined | 02:33 |
| ← kcj left | 02:33 |
| ← Midnightblues left | 02:34 |
| ← Balliad left | 02:34 |
| ← Gatwick left | 02:34 |
| ← kiffer84 left | 02:35 |
| → acharlieh joined | 02:35 |
| → Gatwick joined | 02:36 |
| ← bmac left | 02:38 |
| → marklite joined | 02:38 |
| ← marklite left | 02:39 |
| ← maxmanders left | 02:41 |
| ← Gatwick left | 02:46 |
| ← AWinterman left | 02:46 |
| → FrodoTheHobbit1 joined | 02:49 |
| → nilg joined | 02:50 |
| ← griotspeak left | 02:52 |
| ← FrodoTheHobbit left | 02:52 |
| → Swayz joined | 02:53 |
| → griotspeak joined | 02:53 |
| → Davey joined | 02:53 |
| ← bitkiller left | 02:54 |
| ← mmlac-bv left | 02:57 |
| → thiago joined | 02:57 |
| → bitkiller joined | 02:58 |
| ← Davey left | 02:58 |
| → maxmanders joined | 02:59 |
| ← jiku left | 03:01 |
| ← mdiers left | 03:02 |
| → mdiers joined | 03:04 |
| ← donmichelangelo left | 03:04 |
| → donmichelangelo joined | 03:04 |
| ← quazimodo left | 03:05 |
| → tatsuya_o joined | 03:07 |
| ← jalama left | 03:08 |
| → FreezingCold joined | 03:09 |
| → Cromulent joined | 03:10 |
| ← maxmanders left | 03:10 |
| ← Cromulent left | 03:10 |
| ← iliketur_ left | 03:11 |
| → Cromulent joined | 03:12 |
| ← tatsuya_o left | 03:12 |
| → frgtn joined | 03:12 |
| ← griotspeak left | 03:14 |
| → iliketur_ joined | 03:15 |
| ← tplaner left | 03:15 |
| ← Roots47 left | 03:15 |
| → enr joined | 03:16 |
| ← frgtn left | 03:16 |
| → Roots47 joined | 03:16 |
| → jiku joined | 03:18 |
| → seanruby joined | 03:18 |
|
seanruby
| hello | 03:19 |
|
gitinfo
| seanruby: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 03:19 |
| ← enr left | 03:20 |
|
seanruby
| how do you diff two git repos? is there a way? | 03:20 |
|
j416
| seanruby: that doesn't make sense | 03:20 |
|
| seanruby: what do you want to accomplish? | 03:21 |
|
seanruby
| I want to compare to git repos | 03:21 |
| → AWinterman joined | 03:21 |
| → kcj joined | 03:21 |
|
seanruby
| I'm building one thats exactly the same as another and I want to compare mine vs there's | 03:21 |
|
| and see what the differences are | 03:21 |
|
j416
| use recursive diff? | 03:22 |
|
| (outside of git) | 03:22 |
| → flippo joined | 03:22 |
|
j416
| seanruby: still not sure what your use case is. sorry. | 03:22 |
| ← iliketur_ left | 03:23 |
| ← sgambino left | 03:24 |
| ← harish left | 03:24 |
|
seanruby
| okay. I'm going through a book right now, and I have a example git repo, and I want to compare the git repo I've built from the book to the git repo I've been given. | 03:24 |
| ← SergeyPenkin left | 03:25 |
|
seanruby
| that's why I'd like to do a git wide diff, to see the differences between my git and the author's | 03:25 |
|
j416
| ok | 03:25 |
| → iliketur_ joined | 03:25 |
|
j416
| you'd have to script that | 03:25 |
|
seanruby
| yea, i've found a vim plugin called dirdiff | 03:26 |
|
j416
| I don't believe git has a built-in feature to compare the repo a as a whole, at least not in porcelain | 03:26 |
|
seanruby
| that recrusively builds a vimdiff between two directories | 03:26 |
|
j416
| you'll have differences there anyway | 03:26 |
|
| it won't help | 03:26 |
|
| because your repo is (I'm guessing) not the exact same | 03:26 |
|
| (i.e. you committed in another name perhaps, and most likely your commits have different timestamps compared to those of the author) | 03:27 |
|
| you could add the author's repo as a remote and compare the contents of your branches | 03:27 |
|
seanruby
| right, I'd imagine that. I just want to see the code differences in certain directories. to see why the author's code works and why mine doesn't | 03:28 |
|
j416
| and then do a visual (manual) scan of the log history to see if there's a difference | 03:28 |
| → pitzips_alt joined | 03:28 |
|
j416
| seanruby: see, that's a whole different question | 03:28 |
| → arvind_khadri joined | 03:28 |
|
seanruby
| that might be a little more convenient | 03:28 |
|
j416
| seanruby: add the author's repo as a remote, git fetch, then run git diff between your branch and the remote branch | 03:29 |
|
| I'm in a bit of a hurry but that should get you started | 03:29 |
| → preflex_ joined | 03:29 |
|
seanruby
| okay, that was very helpful though. I'll give it a shot | 03:29 |
| → w0ng joined | 03:29 |
|
seanruby
| that sounds a little smarter than what I was originally planning to do | 03:30 |
| preflex_ → preflex | 03:30 |
| ← acharlieh left | 03:30 |
|
j416
| what you originally asked sounds a bit like "I want to compare my computer to his computer and see what the difference is" | 03:30 |
|
| (when all you wanted was to compare the contents of a specific directory) | 03:30 |
|
| :) | 03:30 |
|
seanruby
| well. I could do that with dirdiff | 03:30 |
|
j416
| whatever floats your boat. :) | 03:31 |
|
seanruby
| even if I compare the two git's using remote branches, all my database stuff will show up in the diff | 03:31 |
|
| okay! I'll try them both out | 03:31 |
|
| it seems like a convenient thing to know how to do in either case | 03:31 |
|
j416
| you can choose to diff only specific paths | 03:32 |
| → sgambino joined | 03:33 |
|
j416
| it works very similar to the regular diff, except that it knows how to diff against things in your repo | 03:33 |
| → harish joined | 03:33 |
|
girishr
| git log A..B -- foo.c shows me changes of foo.c between those revisions. what do i put for A when A is the first commit of the repo? | 03:35 |
|
j416
| girishr: the sha1 of the first commit of the repo | 03:36 |
|
girishr
| j416: that doesn't work, though i expect it to | 03:37 |
| ← natechan left | 03:37 |
|
j416
| ok | 03:37 |
|
girishr
| j416: if you have git.git handly | 03:39 |
|
| git log e83c51633..8bc9a0c76 -- README doesn't show e83 commit | 03:39 |
| → michaelarestad joined | 03:39 |
|
girishr
| git whatchanged e83c51 shows README | 03:39 |
|
j416
| sure | 03:40 |
|
| `git log e83c51633..8bc9a0c76` shows the difference between those commits. If your README file didn't change, it won't be shown. | 03:40 |
|
| since your first commit adds all the files, then all files will show in its diff against nothing | 03:41 |
|
girishr
| j416: right. so how do i say git log <since_the_very_beginning>...8bc9a0c76 -- README | 03:41 |
|
j416
| girishr: cat README | 03:41 |
|
tkil
| j416 -- ? | 03:42 |
|
| cat is current, log is history of changes... unless i'm misunderstanding? | 03:42 |
|
girishr
| git log -- README shows the very beginning commit. so, git can show it if i can figure out how | 03:42 |
|
tkil
| girishr -- omit the commit range. all changes to README from initial commit *should* be: .... right. | 03:42 |
|
| girishr -- rev-list should return ids that log is describing. | 03:43 |
|
| so: git rev-list -- README | tail -1 ? | 03:43 |
|
| hm, rev-list requires commits. | 03:43 |
|
| girishr -- git rev-list --all -- README | tail -1 => e83c5163316f89bfbde7d9ab23ca2e25604af290 (for git.git) | 03:44 |
|
j416
| girishr: before you added anything, you had nothing. I.e., README didn't exist. The difference between nothing and what you have now, is per definition equal to what you have now. Thus, `cat README`. :) | 03:44 |
|
| girishr: if you want to be sure, you can do `git log -p -- README` to see a log with all the diffs for that file | 03:45 |
|
tkil
| j416 -- "where am i?" "you're in a helicopter!" http://www.bastichlabz.org/~tigger/TechHumor/mshelicopter.txt | 03:46 |
| → lpaul7 joined | 03:47 |
| ← russt left | 03:47 |
| ← pitzips_alt left | 03:47 |
| ← guampa left | 03:48 |
| → PovAddict joined | 03:49 |
|
j416
| tkil: hm, 404 | 03:49 |
|
PovAddict
| I seem to have crafted a git repository with an empty subtree :o | 03:49 |
| → CheckDavid joined | 03:49 |
| ← sgambino left | 03:50 |
|
PovAddict
| $ git ls-tree HEAD:kstars | grep downloads | 03:50 |
|
| 040000 tree 4b825dc642cb6eb9a060e54bf8d69288fbee4904 downloads | 03:50 |
|
| $ git ls-tree HEAD:kstars/downloads | 03:51 |
|
| $ | 03:51 |
|
tkil
| j416 -- WFM. *shrug* | 03:51 |
|
j416
| maybe some dns trouble | 03:51 |
|
tkil
| j416 -- punchline (and relevance to the conversation) is simply: "... they gave me a technically correct but completely useless answer." | 03:51 |
|
j416
| tkil: heh well.. I'm trying hard to understand what is asked for, not always obvious. :) | 03:52 |
| → quazimodo joined | 03:52 |
|
tkil
| j416 -- same one here http://www.ncbuy.com/humor/jokes_view.html?jkv=10613 | 03:52 |
|
j416
| my above answers should suffice | 03:52 |
| → frgtn joined | 03:52 |
|
tkil
| j416 -- "changes from origin" to "cat current version" is a bit of a large leap. :) | 03:52 |
|
j416
| lol | 03:53 |
|
| tkil: he didn't say origin | 03:53 |
| ← AWinterman left | 03:53 |
|
tkil
| j416 -- "how do i say git log <since_the_very_beginning>" | 03:53 |
|
| (yes, "origin" is overloaded in git-speak, sorry.) | 03:53 |
|
j416
| tkil: he said, the diff from the very beginning, i.e. before the first commit (since using the first commit wasn't early enough as I understood it...) | 03:54 |
|
| :) | 03:54 |
|
| anyway | 03:54 |
|
| I have to get going, girishr I hope you got what you wanted, good luck! ;) | 03:54 |
|
girishr
| j416: thanks | 03:54 |
|
| i am still looking though :) | 03:54 |
|
PovAddict
| whew http://paste.kde.org/pd6611845/ | 03:54 |
| ← joshsmith left | 03:54 |
|
girishr
| --root shows some promise | 03:55 |
|
tkil
| girishr -- then restate, plase? j416 and others have tried to answer a few different versions of what you're asking... | 03:55 |
| → carpii joined | 03:55 |
|
tkil
| do you have a concise statement of the problem you're actually trying to solve? | 03:55 |
|
girishr
| sure, let me try again | 03:55 |
|
| "command to check if a file has changed between two revisions" | 03:55 |
|
carpii
| I have quite a few stashes, many of which have already been applied and merged into master (by using stash apply and then not dropping them). How would I go about iterating over my stashes to see which ones actualy contacin diffs which have not yet been merged into master? | 03:56 |
|
tkil
| ok. and git diff rev1..rev2 -- path/to/file doesn't work, why? | 03:56 |
|
girishr
| tkil: my first attempt was git diff A..B -- README. this works as long as A is not the first commit of the repo | 03:56 |
|
PovAddict
| carpii: git show -p stash@{42} | 03:56 |
|
| girishr: you don't need the .. in that case | 03:57 |
|
girishr
| right. so i just need to special case, i guess :( | 03:57 |
|
carpii
| Pov, this does a diff compared to current branch? | 03:57 |
| → tpollard joined | 03:57 |
| → AWinterman joined | 03:57 |
| → Davey joined | 03:57 |
|
PovAddict
| carpii: no, that would be kinda useless | 03:57 |
|
carpii
| why? | 03:57 |
|
PovAddict
| if you do normal commits on your branch, and then compare a stash ref with the current branch, the diff would show those commits being reverted | 03:58 |
|
tkil
| girishr -- it does seem to work here. | 03:58 |
|
PovAddict
| even though that's not what would happen if you apply/pop the stash | 03:58 |
|
tkil
| girishr -- that is, first commit for git.git is e83... right? | 03:58 |
| ← jiku left | 03:58 |
|
carpii
| Pov, I understand, but can you explain what -p does? I cant see it in man git show | 03:59 |
|
gitinfo
| the git-show manpage is available at http://jk.gs/git-show.html | 03:59 |
|
carpii
| i guess its a patch, but based on what | 03:59 |
|
tkil
| girishr -- and if i do, e.g. "git diff e83c5163316f89bfbde7d9ab23ca2e25604af290..HEAD -- streaming.c", then it shows it as pure insertion (which makes sense) | 03:59 |
|
carpii
| actually a stash itself is just a patch right | 03:59 |
|
tkil
| carpii -- "pretty" | 03:59 |
|
carpii
| oh, ok | 03:59 |
|
j416
| carpii: see man git-log for the -p option | 03:59 |
|
gitinfo
| carpii: the git-log manpage is available at http://jk.gs/git-log.html | 03:59 |
|
PovAddict
| carpii: a stash is internally stored as a commit | 03:59 |
|
tkil
| carpii -- more particularly, with git-show, it's "pretty as per the type of object" | 03:59 |
|
carpii
| so ti find staches which havent yet been merged into master, i would need to write some bash script to iterate over each git show -p ? | 03:59 |
|
| to find stashes | 04:00 |
| ← donmichelangelo left | 04:00 |
| ← plumpkin left | 04:00 |
|
j416
| carpii: you might be able to use man git-cherry for it | 04:00 |
|
gitinfo
| carpii: the git-cherry manpage is available at http://jk.gs/git-cherry.html | 04:00 |
|
PovAddict
| well, start with "git stash list" :) | 04:00 |
|
tkil
| carpii -- without thinking about it too hard, why not just check out your current state then: for each stash, apply, see if there are diffs; if not, discard stash; if yes, ignore that stash (git reset something), then move on to next stash. | 04:00 |
|
carpii
| sure, but its a bit more complcated than stash list :) | 04:01 |
|
girishr
| tkil: let me check | 04:01 |
|
PovAddict
| oh wow | 04:01 |
|
| carpii: "git stash list -p" :) | 04:01 |
|
carpii
| j416, thanks looks real useful | 04:01 |
| → donmichelangelo joined | 04:01 |
|
PovAddict
| but that'd still be "reviewing diffs manually" | 04:01 |
|
carpii
| tkil, thats a good diea. I could just loop over each stash, apply it, see if theres any diffs, and then reset HEAD | 04:02 |
|
| i dont mind reviewing them manually, if somethings changed | 04:02 |
|
| i just want to clean up all the cruft | 04:02 |
|
| and maybe stop using stashs after that :p | 04:02 |
|
tkil
| carpii -- fwiw, i suspect that more than one stash per branch is probably a bad habit. | 04:02 |
| → yacks joined | 04:02 |
|
tkil
| ... right. :) | 04:02 |
|
carpii
| yeah i agree | 04:02 |
|
| i always stashed thinking it would be temp | 04:03 |
|
PovAddict
| just found I have 8 stashes in here | 04:03 |
|
carpii
| but it never works out that way | 04:03 |
|
PovAddict
| x.x | 04:03 |
|
carpii
| so they kinda hang about | 04:03 |
|
girishr
| tkil: mm | 04:03 |
|
| anway, i have something that works for me now :) i just drop the ... | 04:03 |
|
tkil
| girishr -- if that's not what you want, let's work on reformulating the question. | 04:03 |
| → sgambino joined | 04:03 |
| → ffio joined | 04:03 |
| ← PovAddict left | 04:04 |
| ← Swayz left | 04:04 |
| ← sgambino left | 04:05 |
| ← dreiss left | 04:05 |
|
girishr
| tkil: http://pastebin.com/rtqFzpK3 basically is what i wanted | 04:06 |
|
tkil
| girishr -- so it's really just an api issue then. ok. :) | 04:07 |
| → dsdeiz joined | 04:10 |
| → sparq_ joined | 04:11 |
| ← OOPMan left | 04:12 |
| ← iliketur_ left | 04:13 |
| → OOPMan joined | 04:13 |
| ← bitkiller left | 04:13 |
|
pekster
| carpii: Perhaps spinning off branches instead would be better for your workflow in those cases; you can always decide to commit it back to your master (or whatever is upstream) or just delete the branch if you don't want it | 04:13 |
| ← simesy left | 04:14 |
| ← Marquisk2 left | 04:14 |
|
pekster
| I'll sometimes do something like `git checkout -b WIP-documentation-updates` or something instead of a stash. Works much the same, but I can "let it sit" if I end up doing that (after all, coding is more fun that documenting :D ) | 04:14 |
| → BiggFREE joined | 04:17 |
| → trusktr joined | 04:17 |
| → Tommy[D]_ joined | 04:17 |
|
carpii
| pek, yeah I use branches an awful lot, its just my workflow got a bit screwed up because I was being interrupted by other devs (and needing to switch branches) | 04:17 |
|
| think ive sorted that now, i just create a new branch even if its called stash.whatever | 04:17 |
|
| stash.list output is not intuitive as to what branch you were on imo | 04:18 |
| ← Cromulent left | 04:18 |
| → Cromulent joined | 04:18 |
| ← ErKa left | 04:20 |
| ← Cromulent left | 04:21 |
| ← quazimodo left | 04:22 |
| → Nicholas_Rishel joined | 04:23 |
| → skiernose joined | 04:24 |
| ← h0bbit left | 04:24 |
| ← Roots47 left | 04:25 |
| ← Nicholas_Rishel_ left | 04:25 |
| ← dsdeiz left | 04:27 |
| → oojacoboo joined | 04:30 |
| ← oojacoboo left | 04:32 |
| ← maroloccio left | 04:33 |
| ← seanruby left | 04:34 |
| ← sparq_ left | 04:35 |
| → simesy joined | 04:39 |
| → raf joined | 04:40 |
| → shuaib joined | 04:40 |
| ← CheckDavid left | 04:40 |
| ← Davey left | 04:40 |
| ← Joshi3s` left | 04:41 |
| ← lpaul7 left | 04:41 |
| ← carpii left | 04:50 |
| ← normanrichards left | 04:52 |
| ← Nicholas_Rishel left | 04:53 |
| → angelsl joined | 04:54 |
| ← v1n left | 04:55 |
| → Nicholas_Rishel joined | 04:55 |
| ← raf left | 04:55 |
| ← OOPMan left | 04:56 |
| → ErKa joined | 04:57 |
| → lil-omega joined | 04:58 |
| → OOPMan joined | 04:58 |
| → fridim__ joined | 04:59 |
| gitinfo set mode: +v | 05:00 |
| → beautifulmind joined | 05:02 |
| ← beautifulmind left | 05:03 |
| → beautifulmind joined | 05:04 |
|
enli
| i have two different repos lying on the file system. i wish to apply commits from repo1 to repo2. i do not wish to add remote of repo1 to repo2 and pull because i am near partition size where repo2 is. | 05:05 |
|
| i created patches with "git format-patch" and i have patches with me but there are so many patch portions those are not applied because the repo2 has updated files | 05:06 |
|
| what i need to do is while creating patches with "git format-patch", add more number of reference code around the changed blocks. i am not sure if this is the correct wording. | 05:07 |
|
| so i can easily compare the patch file with the current source code and apply patch manually if it fails. can i somehow achive this? | 05:08 |
| ← simesy left | 05:10 |
| → h0bbit joined | 05:10 |
|
thiago
| enli: what do you mean by "add more number of reference code" ? | 05:10 |
| ← ErKa left | 05:11 |
|
enli
| thiago: whenever a patch is generated for changed lines(added/deleted) it also adds the code around those changed lines. what is the name of that block? i am referring to that one. | 05:11 |
|
thiago
| the context | 05:11 |
|
| do you want more lines in the context? | 05:11 |
| ← RogueBurger left | 05:12 |
| ← mribeirodantas left | 05:14 |
| ← verysoftoiletppr left | 05:14 |
| → verysoftoiletppr joined | 05:16 |
| → enr joined | 05:16 |
| → maqr joined | 05:17 |
| → dsdeiz joined | 05:17 |
| ← enr left | 05:21 |
| ← Nicholas_Rishel left | 05:24 |
| → rue joined | 05:25 |
| → tango_ joined | 05:27 |
| ← diegoviola left | 05:27 |
|
enli
| thiago: yes, i guess thats it. | 05:27 |
| → raf_ joined | 05:27 |
| ← AWinterman left | 05:29 |
| ← skiernose left | 05:30 |
| → Cromulent joined | 05:32 |
| → xequence joined | 05:32 |
| → acharlieh joined | 05:33 |
| → vals_ joined | 05:33 |
| ← kukks left | 05:33 |
| ← tango_ left | 05:34 |
|
enli
| thiago: thanks! found the switch -U and that is exactly what i needed. | 05:34 |
| → catsup joined | 05:36 |
| → kerrick joined | 05:36 |
| → Caritade joined | 05:38 |
| ← angelsl left | 05:38 |
| → juanmabc joined | 05:39 |
| → rdecurnex joined | 05:41 |
| ← dsdeiz left | 05:42 |
| ← rdecurnex left | 05:42 |
| → Sigma joined | 05:42 |
| → rdecurnex joined | 05:42 |
| → hwrd|work joined | 05:44 |
| ← lil-omega left | 05:45 |
| → sparq_ joined | 05:48 |
| → angelsl joined | 05:48 |
| → mckendri_ joined | 05:49 |
| ← arvind_khadri left | 05:51 |
| ← Cromulent left | 05:53 |
| ← michaelarestad left | 05:53 |
| → michaelarestad joined | 05:54 |
| ← tpollard left | 05:54 |
| → AWinterman joined | 05:56 |
| → ledestin joined | 05:57 |
| ← michaelarestad left | 05:58 |
| → Cromulent joined | 05:59 |
| ← mckendri_ left | 05:59 |
| → mckendri_ joined | 06:02 |
| ← w0ng left | 06:03 |
| → ErKa joined | 06:03 |
| → zacts joined | 06:04 |
| → scorphus joined | 06:04 |
| ← fridim__ left | 06:05 |
| → FreezingAlt joined | 06:06 |
| ← h0bbit left | 06:06 |
| ← mckendri_ left | 06:06 |
| ← FreezingCold left | 06:08 |
| → whowantstolivefo joined | 06:09 |
| → Cassiel joined | 06:10 |
| → h0bbit joined | 06:10 |
| → Gue______ joined | 06:11 |
| → ncd|leeN joined | 06:17 |
| ← acharlieh left | 06:18 |
| → tatsuya_o joined | 06:19 |
| ← Cromulent left | 06:20 |
| → SergeyPenkin joined | 06:20 |
| → simesy joined | 06:20 |
| → mckendri_ joined | 06:21 |
| ← sparq_ left | 06:23 |
| → michaelarestad joined | 06:24 |
| ← hwrd|work left | 06:24 |
| ← simesy left | 06:25 |
| ← scorphus left | 06:25 |
| ← mckendri_ left | 06:27 |
| ← raf_ left | 06:29 |
| → mckendri_ joined | 06:29 |
| ← juanmabc left | 06:31 |
| → irqq_ joined | 06:31 |
| ← shinnya left | 06:32 |
| irqq_ → irqq | 06:32 |
| ← beautifulmind left | 06:33 |
| ← michaelarestad left | 06:33 |
| → Nicholas_Rishel joined | 06:36 |
| → JosephFerano joined | 06:38 |
| ← Caritade left | 06:38 |
| → hwrd|work joined | 06:42 |
| ← vigs left | 06:42 |
| → dsdeiz joined | 06:44 |
| ← akurilin left | 06:45 |
| → dfanjul joined | 06:47 |
| ← GT4066 left | 06:47 |
| → drizzd joined | 06:51 |
| → chuckharmston joined | 06:52 |
| → Edgan joined | 06:56 |
| ← ffio left | 06:57 |
| ← Goplat left | 06:58 |
| ← frgtn left | 06:59 |
| ← yacks left | 06:59 |
| → michaelarestad joined | 06:59 |
| ← FreezingAlt left | 06:59 |
| ← chuckharmston left | 07:00 |
| → godoitis joined | 07:01 |
| → scorphus joined | 07:03 |
| → fostertheweb joined | 07:03 |
| → dsdeiz_ joined | 07:03 |
| ← michaelarestad left | 07:04 |
| ← Nicholas_Rishel left | 07:05 |
| ← dsdeiz left | 07:05 |
| → longbeach joined | 07:06 |
| ← scorphus left | 07:06 |
| → sh4rm4 joined | 07:07 |
| → scorphus joined | 07:07 |
| ← madewokherd left | 07:09 |
| ← fostertheweb left | 07:09 |
| ← hyperair left | 07:09 |
| → hyperair joined | 07:10 |
| ← hyperair left | 07:15 |
| → enr joined | 07:17 |
| ← kerrick left | 07:19 |
| ← godoitis left | 07:19 |
| → godoitis joined | 07:19 |
| ← hwrd|work left | 07:21 |
| → kerrick joined | 07:21 |
| ← enr left | 07:22 |
| ← mdiers left | 07:23 |
| ← mckendri_ left | 07:24 |
| → umib0zu joined | 07:24 |
| → mdiers joined | 07:24 |
| ← sh4rm4 left | 07:26 |
| → sh4rm4 joined | 07:27 |
| → Roots47 joined | 07:28 |
| → frgtn joined | 07:29 |
| → maxmanders joined | 07:30 |
| ← maxmanders left | 07:30 |
| → third^ joined | 07:30 |
| ← dfanjul left | 07:32 |
| → emergion joined | 07:35 |
| → Tritania joined | 07:37 |
| → yacks joined | 07:38 |
| ← frgtn left | 07:38 |
| ← rdecurnex left | 07:38 |
| ← scorphus left | 07:38 |
| → mona_ joined | 07:38 |
| → byprdct joined | 07:39 |
| ← ewnd9 left | 07:39 |
| → frgtn joined | 07:40 |
| → ozette joined | 07:41 |
| → ewnd9 joined | 07:42 |
| ← tatsuya_o left | 07:43 |
| ← ErKa left | 07:46 |
| → Thra11 joined | 07:48 |
| ← thiago left | 07:49 |
| → babilen joined | 07:50 |
| → rendar joined | 07:50 |
| → simesy joined | 07:54 |
| ← shuaib left | 07:56 |
| → rchavik_ joined | 07:56 |
| → w0ng joined | 07:57 |
| ← Gue______ left | 07:57 |
| rchavik_ → rchavik | 07:59 |
| → subhojit777 joined | 08:00 |
| → michaelarestad joined | 08:00 |
| ← AWinterman left | 08:01 |
| → AWinterman joined | 08:01 |
| → shuaib joined | 08:02 |
| ← enli left | 08:03 |
| ← shuaib left | 08:04 |
| ← michaelarestad left | 08:04 |
| ← xequence left | 08:04 |
| → bvi joined | 08:06 |
| ← AWinterman left | 08:06 |
| → raf_ joined | 08:07 |
| ← yacks left | 08:08 |
| → Guest__ joined | 08:08 |
| → Fritz7 joined | 08:09 |
| → shruggar joined | 08:09 |
| ← ewnd9 left | 08:10 |
| → Ratler joined | 08:13 |
| ← nitrix left | 08:15 |
| ← Roots47 left | 08:15 |
| → fuzzybunny69y joined | 08:15 |
| ← umib0zu left | 08:15 |
| → Roots47 joined | 08:16 |
| → nitrix joined | 08:16 |
| nitrix → Guest46913 | 08:16 |
| → xequence joined | 08:18 |
| → enr joined | 08:18 |
| → dreiss joined | 08:18 |
| → jonifen joined | 08:19 |
| → vkz joined | 08:20 |
| → pantsman joined | 08:20 |
| ← enr left | 08:22 |
| → quazimodo joined | 08:23 |
| ← FrodoTheHobbit1 left | 08:26 |
| → whowantstolivef3 joined | 08:26 |
| → exoon joined | 08:26 |
| ← jonifen left | 08:28 |
| → jonifen joined | 08:28 |
| → aladdinwang joined | 08:28 |
| → marthinal joined | 08:30 |
| → bvi_ joined | 08:31 |
| ← SergeyPenkin left | 08:31 |
| → marthinal_ joined | 08:33 |
| ← bvi left | 08:33 |
| ← dreiss left | 08:33 |
| ← marthinal left | 08:35 |
| ← girishr left | 08:35 |
| → nova_ joined | 08:36 |
| ← bvi_ left | 08:36 |
| → marthinal joined | 08:37 |
| vals_ → tango_ | 08:37 |
| ← raf_ left | 08:39 |
| ← marthinal_ left | 08:40 |
| ← JosephFerano left | 08:41 |
| ← shruggar left | 08:42 |
| → JosephFerano joined | 08:43 |
| ← relipse left | 08:44 |
| → sq-one joined | 08:44 |
| → rednaks joined | 08:48 |
| ← huoxito left | 08:49 |
| → cads joined | 08:52 |
| → ziddey joined | 08:53 |
| ← godoitis left | 08:53 |
| ← Guest__ left | 08:54 |
| → aChatir joined | 08:54 |
| → maxmanders joined | 08:54 |
| ← rendar left | 08:55 |
| → yacks joined | 09:00 |
| ← maxmanders left | 09:00 |
| → michaelarestad joined | 09:00 |
| → skorgon joined | 09:01 |
| → hyperair joined | 09:01 |
| ← ziddey left | 09:01 |
| ← emergion left | 09:02 |
| → nicedice_ joined | 09:03 |
| → |third| joined | 09:03 |
| → crane_ joined | 09:03 |
| → intripoon joined | 09:04 |
| ← michaelarestad left | 09:05 |
| ← third^ left | 09:05 |
| → Gatwick joined | 09:05 |
| ← nsanden left | 09:05 |
| → mechanicalduck joined | 09:06 |
| ← ntus1017 left | 09:06 |
| ← intripoon_ left | 09:06 |
| ← crane left | 09:06 |
| ← pantsman left | 09:06 |
| ← nicedice left | 09:07 |
| → rendar joined | 09:08 |
| → maxmanders joined | 09:08 |
| |third| → third^ | 09:09 |
| ← Milossh left | 09:10 |
| → raf_ joined | 09:10 |
| → ffio joined | 09:13 |
| → Milossh joined | 09:15 |
| → FrodoTheHobbit joined | 09:15 |
| ← quazimodo left | 09:15 |
| ← St_Marx left | 09:15 |
| → gittish joined | 09:16 |
| → enr joined | 09:18 |
| ← xequence left | 09:20 |
| ← frgtn left | 09:20 |
| ← cads left | 09:23 |
| → pdx joined | 09:23 |
| → jkremser joined | 09:23 |
| ← Textmode left | 09:23 |
| ← enr left | 09:23 |
| ← jkremser left | 09:24 |
| → jkremser joined | 09:24 |
| ← aChatir left | 09:27 |
| ← dvide left | 09:28 |
| ← ozette left | 09:30 |
| → cads joined | 09:31 |
| → marklite joined | 09:31 |
| → m8 joined | 09:32 |
| ← raf_ left | 09:33 |
| ← Gatwick left | 09:34 |
| → crazydiamond joined | 09:34 |
| ← marklite left | 09:34 |
| ← jonifen left | 09:35 |
| → elixir joined | 09:37 |
| → ozette joined | 09:38 |
| → jceb joined | 09:41 |
| → Mitchellvanw joined | 09:41 |
| → Gatwick joined | 09:42 |
| ← crazydiamond left | 09:44 |
| → the_cybersphinx joined | 09:46 |
| → xequence joined | 09:46 |
| → jonifen joined | 09:47 |
| ← sq-one left | 09:51 |
| → ffio_ joined | 09:51 |
| ← ffio left | 09:52 |
| ← Gatwick left | 09:53 |
| → Gatwick joined | 09:53 |
| ← Gatwick left | 09:53 |
| → Gatwick joined | 09:53 |
| ← Gatwick left | 09:53 |
| → Gatwick joined | 09:53 |
| ← Gatwick left | 09:55 |
| → SHyx0rmZ joined | 09:55 |
| → Cromulent joined | 09:55 |
| → Guest__ joined | 09:57 |
| → cha1tanya joined | 09:58 |
| → crazydiamond joined | 09:58 |
| ← banger left | 09:59 |
| ← h0bbit left | 10:00 |
| → michaelarestad joined | 10:01 |
| ← jonifen left | 10:02 |
| → Gatwick joined | 10:03 |
| ← Gatwick left | 10:03 |
| → yassine joined | 10:04 |
| → p1ng joined | 10:05 |
| ← Roots47 left | 10:05 |
| ← michaelarestad left | 10:05 |
| ← mechanicalduck left | 10:08 |
| → stormwild joined | 10:08 |
| → mikef joined | 10:12 |
| → bvi_ joined | 10:14 |
| → Roots47 joined | 10:15 |
| → deuterium joined | 10:16 |
| → CheckDavid joined | 10:17 |
| → mikef__ joined | 10:17 |
| → enr joined | 10:19 |
| ← mikef left | 10:20 |
| → zhost joined | 10:22 |
| ← whowantstolivefo left | 10:23 |
| ← nilg left | 10:23 |
| ← jceb left | 10:23 |
| ← enr left | 10:24 |
| → raf_ joined | 10:25 |
| ← bvi_ left | 10:26 |
| → zbcm joined | 10:27 |
| ← angelsl left | 10:28 |
| → bvi_ joined | 10:28 |
| → shruggar joined | 10:28 |
| → Caritade joined | 10:29 |
| ← Thra11 left | 10:30 |
| ← Mitchellvanw left | 10:30 |
| → Mitchellvanw joined | 10:33 |
| → Gamecubic joined | 10:33 |
| ← Cassiel left | 10:34 |
| → HelloShitty joined | 10:39 |
| ← xequence left | 10:39 |
| ← Roots47 left | 10:41 |
| ← raf_ left | 10:42 |
| ← mikef__ left | 10:43 |
| → Balliad joined | 10:43 |
| ← Caritade left | 10:44 |
| → mikef__ joined | 10:44 |
| ← cads left | 10:45 |
| ← doener left | 10:45 |
| ← rednaks left | 10:46 |
| → mikef joined | 10:46 |
| ← mikef__ left | 10:47 |
| → rednaks joined | 10:47 |
| → Thra11 joined | 10:47 |
| ← shruggar left | 10:48 |
| ← nova_ left | 10:50 |
| → mikef__ joined | 10:50 |
| ← yacks left | 10:51 |
| ← mikef left | 10:54 |
| → nova_ joined | 10:54 |
| → marhaban joined | 10:55 |
| ← Sigma left | 10:55 |
| → normanrichards joined | 10:55 |
| ← Balliad left | 10:55 |
| ← PaulCapestany left | 10:55 |
| → ngladitz joined | 10:57 |
| ← mikef__ left | 10:58 |
| ← maxmanders left | 11:01 |
| → michaelarestad joined | 11:01 |
| ← bvi_ left | 11:02 |
| ← mona_ left | 11:05 |
| → freestyl3r joined | 11:05 |
| ← michaelarestad left | 11:06 |
| ← marhaban left | 11:07 |
| ← twoface88 left | 11:08 |
| → xequence joined | 11:08 |
| → twoface88 joined | 11:08 |
| → Sigma joined | 11:09 |
| → glosoli joined | 11:10 |
| → quazimodo joined | 11:10 |
| ← byprdct left | 11:12 |
| → yacks joined | 11:13 |
| ← rue left | 11:13 |
| → rue joined | 11:15 |
| → wrouesnel1 joined | 11:16 |
| ← nova_ left | 11:17 |
| → nova_ joined | 11:18 |
| → mikef joined | 11:18 |
| → boblu joined | 11:19 |
| → mona_ joined | 11:19 |
| → Droolio joined | 11:20 |
| ← boblu left | 11:25 |
| ← xequence left | 11:28 |
| ← gittish left | 11:29 |
| → mikef__ joined | 11:29 |
| ← rue left | 11:30 |
| → Mode-M joined | 11:30 |
| ← mikef__ left | 11:30 |
| → rue joined | 11:31 |
| → michaelarestad joined | 11:31 |
| ← mikef left | 11:32 |
| ← Guest__ left | 11:32 |
| ← ngladitz left | 11:33 |
| ← TandyUK left | 11:35 |
| → TandyUK2 joined | 11:35 |
| ← michaelarestad left | 11:36 |
| → FernandoBasso joined | 11:36 |
| → PeterBooker joined | 11:44 |
| ← Cromulent left | 11:45 |
| ← simesy left | 11:46 |
| ← ffio_ left | 11:46 |
| ← normanrichards left | 11:46 |
| → boblee joined | 11:46 |
| → BitPuffin_ joined | 11:52 |
| → Gue______ joined | 11:52 |
| → gittish joined | 11:57 |
| → Ry0_ joined | 11:58 |
| → Nibato joined | 11:59 |
| ← longbeach left | 12:02 |
| → gusnan joined | 12:02 |
| → noxd joined | 12:03 |
| → gusnan_ joined | 12:04 |
| → maxmanders joined | 12:05 |
| → ffio_ joined | 12:06 |
| ← gusnan left | 12:07 |
| → silverfix joined | 12:08 |
| ← maxmanders left | 12:09 |
| → maxmanders joined | 12:12 |
| → abrkn joined | 12:16 |
| ← kcj left | 12:16 |
| ← ffio_ left | 12:16 |
| → Cromulent joined | 12:16 |
| ← maxmanders left | 12:16 |
| → ffio joined | 12:17 |
| → hoschi joined | 12:20 |
| ← vkz left | 12:22 |
| → flaguy48 joined | 12:23 |
| ← marthinal left | 12:24 |
| → angelsl joined | 12:26 |
| → plumpkin joined | 12:26 |
| → maxmanders joined | 12:27 |
| ← ffio left | 12:27 |
| → ntus1017 joined | 12:28 |
| → sgambino joined | 12:28 |
| ← Cromulent left | 12:29 |
| ← maxmanders left | 12:31 |
| ← Mode-M left | 12:32 |
| → michaelarestad joined | 12:32 |
| ← hoschi left | 12:32 |
| ← conan left | 12:32 |
| → simesy joined | 12:33 |
| ← michaelarestad left | 12:37 |
| → _iron joined | 12:39 |
| ← elixir left | 12:39 |
| → elixir joined | 12:39 |
| → maxmanders joined | 12:40 |
| ← ozette left | 12:40 |
| → Naoe-Kanno joined | 12:41 |
| ← Mitchellvanw left | 12:42 |
| ← SHyx0rmZ left | 12:43 |
| → kcj joined | 12:43 |
| → maxmande_ joined | 12:43 |
| → mtk joined | 12:44 |
| → Balliad joined | 12:45 |
| → Mitchellvanw joined | 12:45 |
| ← maxmanders left | 12:45 |
| → tatsuya_o joined | 12:46 |
| → danicampa901 joined | 12:48 |
| ← Milossh left | 12:48 |
| → tatsuya__ joined | 12:48 |
| ← maxmande_ left | 12:49 |
| ← tatsuya_o left | 12:49 |
| ← HelloShitty left | 12:51 |
| → guampa joined | 12:52 |
| → Milossh joined | 12:53 |
| → HelloShitty joined | 12:53 |
| ← cotton left | 12:57 |
| ← gittish left | 12:57 |
| → xequence joined | 12:57 |
| → cotton joined | 12:58 |
| ← Balliad left | 13:00 |
| → ulkesh joined | 13:01 |
| → hoschi joined | 13:02 |
| ← freestyl3r left | 13:02 |
| → rath joined | 13:03 |
| → St_Marx joined | 13:03 |
| → Balliad joined | 13:03 |
| ← Ry0_ left | 13:04 |
| ← angelsl left | 13:04 |
| → angelsl joined | 13:06 |
| → gittish joined | 13:07 |
| ← zbcm left | 13:09 |
| ← angelsl left | 13:10 |
| → angelsl joined | 13:12 |
| → m0ltar joined | 13:12 |
| ← angelsl left | 13:12 |
| ← Balliad left | 13:13 |
| ← m0ltar left | 13:13 |
| → sdrfnord1 joined | 13:14 |
| → rodyhaddad joined | 13:14 |
| ← sh4rm4 left | 13:14 |
| → sh4rm4 joined | 13:15 |
| → angelsl joined | 13:15 |
| → Balliad joined | 13:16 |
| ← xequence left | 13:18 |
| → mechanicalduck joined | 13:19 |
| ← BitPuffin_ left | 13:19 |
| → xequence joined | 13:20 |
| → enr joined | 13:20 |
| → frgtn joined | 13:20 |
| → Marquisk2 joined | 13:21 |
| ← cha1tanya left | 13:23 |
| → gvdm joined | 13:25 |
| ← enr left | 13:25 |
| ← tatsuya__ left | 13:25 |
| ← frgtn left | 13:25 |
| glosoli → rubysyntax | 13:26 |
| rubysyntax → pythonsyntax | 13:27 |
| pythonsyntax → glosoli | 13:27 |
| ← Mitchellvanw left | 13:27 |
| ← a-l-e left | 13:28 |
| ← angelsl left | 13:32 |
| → herdingcat joined | 13:32 |
| → michaelarestad joined | 13:32 |
| → shinnya joined | 13:33 |
| → angelsl joined | 13:34 |
| ← mona_ left | 13:35 |
| ← angelsl left | 13:35 |
|
herdingcat
| hi, if I wanna send commits to an email after commit to a mail addr, what hook I shall use? | 13:35 |
|
moritz
| post-receive, iirc | 13:36 |
| → angelsl joined | 13:37 |
| ← michaelarestad left | 13:37 |
|
herdingcat
| thanks moritz | 13:38 |
|
cbreak
| if you actually want on commit | 13:38 |
|
| consider wanting something else | 13:38 |
| → fridim__ joined | 13:38 |
|
cbreak
| there is post-commit but it usually makes no sense for notification | 13:38 |
| → fdel joined | 13:39 |
|
fdel
| I have an annotated tag where I'd like to edit the tag message (without moving the tag to a new commit). I tried "-a -f" options, it opens the editor but the old message isn't loaded. Is it possible to "amend" it without copy-pasting? | 13:40 |
| → localghost joined | 13:41 |
| → RogueBurger joined | 13:42 |
| → freestyl3r joined | 13:43 |
|
herdingcat
| cbreak, what I shall use? post-commit / post-receive ? | 13:43 |
| ← subhojit777 left | 13:43 |
| ← Gue______ left | 13:45 |
| → tinti joined | 13:45 |
|
cbreak
| herdingcat: if you want to do it properly, post-receive on some central server | 13:47 |
| ← rodyhaddad left | 13:47 |
| → heroux joined | 13:49 |
| ← dsdeiz_ left | 13:49 |
| → nerdfiles joined | 13:55 |
| ← glosoli left | 13:56 |
| → boblu joined | 13:56 |
| → gebi joined | 13:58 |
|
herdingcat
| cbreak, acked | 13:59 |
| ← xequence left | 14:01 |
| → cedeon joined | 14:02 |
| → xequence joined | 14:02 |
| → michaelarestad joined | 14:03 |
| ← michaelarestad left | 14:03 |
| → michaelarestad joined | 14:03 |
| ← kcj left | 14:04 |
| ← yassine left | 14:06 |
| ← gebi left | 14:07 |
| → DoniRS joined | 14:07 |
| → gebi joined | 14:07 |
| ← babilen left | 14:08 |
| ← michaelarestad left | 14:08 |
| ← jkremser left | 14:08 |
| → wongon joined | 14:09 |
| ← silverfix left | 14:09 |
| ← gebi left | 14:10 |
| → vkz joined | 14:10 |
| → gebi joined | 14:12 |
| → kcj joined | 14:13 |
| → babilen joined | 14:13 |
| ← gebi left | 14:16 |
| → Vinnie_win joined | 14:17 |
| → gebi joined | 14:17 |
| → tufflax joined | 14:19 |
| ← gebi left | 14:19 |
| → enr joined | 14:21 |
| ← angelsl left | 14:21 |
| ← ledestin left | 14:21 |
| → gebi joined | 14:22 |
| → rabellamy joined | 14:22 |
| → angelsl joined | 14:23 |
| → mfulz joined | 14:24 |
| ← mfulz left | 14:25 |
| ← enr left | 14:25 |
| ← elixir left | 14:26 |
| ← noxd left | 14:26 |
| → ledestin joined | 14:27 |
| ← gebi left | 14:29 |
| → gebi joined | 14:29 |
| → maxmanders joined | 14:30 |
| ← donmichelangelo left | 14:30 |
| → donmichelangelo joined | 14:30 |
| ← pfoley left | 14:31 |
| → shruggar joined | 14:31 |
| → Mitchellvanw joined | 14:32 |
| → bitkiller joined | 14:32 |
| → e66 joined | 14:33 |
| → Gues_____ joined | 14:33 |
| ← verysoftoiletppr left | 14:34 |
| → michaelarestad joined | 14:34 |
| ← michaelarestad left | 14:34 |
| → michaelarestad joined | 14:34 |
| ← maxmanders left | 14:34 |
| → Schrostfutz joined | 14:36 |
| → mdhopkins joined | 14:36 |
|
Schrostfutz
| hi, does someone know how i can delete a git repository with gitosis? | 14:36 |
| → p3lim joined | 14:36 |
| → mechanicalduck_ joined | 14:37 |
| → frgtn joined | 14:38 |
| ← Mitchellvanw left | 14:38 |
|
mdhopkins
| Hi, we have our designers/artists set up to use Git with us devs. They use the Gitbox GUI client. We didn't think about the problems all their large binary files would cause and now need to deal with some massive repos, malloc errors errors etc. I am looking at git-annex and git-media as solutions and am anxious to not have to retrain them. From their perspective, will adding files and pushing/pulling them be as seamless as before | 14:38 |
|
| or are will there be an addition to their workflow because of the binary file management? | 14:38 |
| ← ntus1017 left | 14:39 |
| ← michaelarestad left | 14:39 |
| ← mechanicalduck left | 14:39 |
| → Vinnie_win_w joined | 14:40 |
| → MrDHat joined | 14:44 |
| ← Vinnie_win left | 14:45 |
| → eqyiel joined | 14:45 |
| ← simesy left | 14:47 |
| ← aladdinwang left | 14:50 |
| ← nfroidure left | 14:51 |
|
iveqy
| mdhopkins: the manuals for git-annex would tell you that, but afaik it will add som complexity since it's not completely hidden (that would be dangerous) | 14:52 |
| ← fuzzybunny69y left | 14:52 |
| → nfroidure joined | 14:52 |
| ← ulkesh left | 14:52 |
| → cluster28 joined | 14:53 |
|
cbreak
| how about making the binary part a submodule? | 14:54 |
| ← rendar left | 14:54 |
|
cbreak
| then only the artists will suffer from the problems :) | 14:54 |
| ← ledestin left | 14:54 |
| ← exoon left | 14:54 |
| → exoon joined | 14:54 |
|
cluster28
| i followed this tutotrial bur i not able to enable the public repository http://git-scm.com/book/en/Git-on-the-Server-Public-Access | 14:55 |
|
| i get this error: $ git clone http://git.gitserver/project.git/ | 14:55 |
|
| Cloning into 'project'... | 14:55 |
|
| fatal: http://git.gitserver/project.git/info/refs?service=git-upload-pack not found: did you run git update-server-info on the server? | 14:55 |
|
mdhopkins
| cbreak: ;) At one point, the web code and the working art files were in the same repo. We have at least been splitting those out; it was ridiculous. | 14:56 |
| → ntus1017 joined | 14:56 |
| → dsdeiz joined | 14:56 |
|
mdhopkins
| iveqy: I'll read through more carefully; I suppose I will need to simulate the workflow myself to see where the issues might arise and how trainable the changes will be. | 14:56 |
|
cbreak
| is git annex still windows hostile? | 14:57 |
| ← ntus1017 left | 14:57 |
| → bmac joined | 14:57 |
| ← rchavik left | 14:58 |
| ← bmac left | 14:58 |
| ← rednaks left | 14:58 |
| ← twoface88 left | 14:59 |
| → ffio joined | 14:59 |
| → z8z joined | 15:01 |
| ← babilen left | 15:02 |
| ← gebi left | 15:03 |
| → babilen joined | 15:03 |
| → gebi joined | 15:03 |
| → michaelarestad joined | 15:05 |
| ← gebi left | 15:05 |
| ← michaelarestad left | 15:05 |
| ← Balliad left | 15:05 |
| → michaelarestad joined | 15:05 |
| → joshsmith joined | 15:05 |
| → maxmanders joined | 15:06 |
| → marix88x joined | 15:06 |
| → Gatwick joined | 15:07 |
| ← rabellamy left | 15:07 |
| ← boblu left | 15:07 |
| → gebi joined | 15:08 |
| → Dougie187 joined | 15:08 |
| → raf_ joined | 15:09 |
| → Cromulent joined | 15:10 |
| ← gebi left | 15:10 |
| ← michaelarestad left | 15:10 |
| ← maxmanders left | 15:11 |
| ← angelsl left | 15:12 |
| ← Gues_____ left | 15:12 |
| ← raf_ left | 15:13 |
| → gebi joined | 15:13 |
| Vinnie_win_w → Vinnie_win | 15:14 |
| → tinti_ joined | 15:16 |
| ← gebi left | 15:16 |
| → goldbrush joined | 15:17 |
| → pantsman joined | 15:17 |
| ← Guest46913 left | 15:17 |
| → Guest46913 joined | 15:17 |
| Guest46913 → nitrix | 15:17 |
| ← herdingcat left | 15:18 |
| → gebi joined | 15:18 |
| → herdingcat joined | 15:19 |
| → rednaks joined | 15:20 |
| ← cluster28 left | 15:21 |
| ← herdingcat left | 15:21 |
|
grawity
| not much – I haven't tried it, but the last few weeks of blog posts have been mainly about the dev porting it to Windows | 15:21 |
|
| it sounds like latest builds work well | 15:21 |
| → herdingcat joined | 15:22 |
| → Gues_____ joined | 15:22 |
| → arietis joined | 15:22 |
| → angelsl joined | 15:23 |
| ← xequence left | 15:23 |
| ← herdingcat left | 15:24 |
| ← z8z left | 15:25 |
| → herdingcat joined | 15:25 |
| ← angelsl left | 15:25 |
| → angelsl joined | 15:26 |
| ← herdingcat left | 15:26 |
| → ErKa joined | 15:27 |
| ← cedeon left | 15:27 |
| → herdingcat joined | 15:27 |
| ← angelsl left | 15:28 |
| → mckendri_ joined | 15:29 |
| ← herdingcat left | 15:30 |
| ← gebi left | 15:30 |
| → gebi joined | 15:30 |
| → farn joined | 15:30 |
| → michaelarestad joined | 15:30 |
| → angelsl joined | 15:31 |
| → herdingcat joined | 15:31 |
| ← gebi left | 15:32 |
| → xequence joined | 15:32 |
| ← CheckDavid left | 15:33 |
| ← herdingcat left | 15:33 |
| ← Sigma left | 15:34 |
| ← Gues_____ left | 15:34 |
| → relipse joined | 15:34 |
| → mribeirodantas joined | 15:35 |
|
nitrix
| Hi, is the git:// protocol encrypted? | 15:35 |
| → gebi joined | 15:35 |
| → conan_ joined | 15:36 |
| → b0x joined | 15:37 |
|
b0x
| hi - any suggestions for good github alternatives (free) that support private repos? | 15:38 |
| ← xequence left | 15:38 |
| ← exoon left | 15:38 |
|
osse
| b0x: bitbucket | 15:38 |
|
b0x
| thats what i was leaning towards | 15:39 |
|
| though its limited to 5 users? | 15:39 |
|
iveqy
| nitrix: no | 15:39 |
| → minerale_ joined | 15:40 |
| → HobGoblin joined | 15:40 |
| HobGoblin → Guest53096 | 15:41 |
|
cbreak
| nitrix: wouldn't be of much use, considering it's not authenticated | 15:43 |
|
nitrix
| I just noticed. Mhhh, alright. | 15:43 |
|
cbreak
| use ssh if you want security | 15:43 |
|
iveqy
| nitrix: you're looking for ssh | 15:44 |
|
nitrix
| https in my case. | 15:44 |
|
| Is there a way to save https credentials in a config somewhere? | 15:44 |
|
| I love my dotfiles... | 15:44 |
|
cbreak
| nitrix: look up .netrc or so | 15:45 |
|
| git uses libcurl for http stuff as far as I know | 15:45 |
|
| cbreak prefers to stay away from that abused protocol | 15:45 |
|
grawity
| .netrc should work for curl, if your password doesn't have spaces | 15:45 |
| → setmeaway joined | 15:46 |
|
grawity
| Git has its own credential management these days too | 15:46 |
|
| plugins for keyrings, flatfile, memory cache, etc. | 15:46 |
|
nitrix
| I'd rather keep it vanilla. | 15:46 |
| → maxmanders joined | 15:46 |
| → lethjakman joined | 15:46 |
|
iveqy
| grawity: git has? | 15:47 |
|
cbreak
| I just use ssh's :) | 15:47 |
|
grawity
| iveqy: man git credential | 15:47 |
|
gitinfo
| iveqy: the git-credential manpage is available at http://jk.gs/git-credential.html | 15:47 |
|
iveqy
| grawity: thanks | 15:47 |
|
grawity
| comes with 'helpers' for memory and flatfile (man git-credential-cache, man git-credential-store), there are a few more in contrib/ for gnome-keyring, kwallet, Windows, OS X, etc. | 15:48 |
|
gitinfo
| the git-credential-cache manpage is available at http://jk.gs/git-credential-cache.html | 15:48 |
|
| the git-credential-store manpage is available at http://jk.gs/git-credential-store.html | 15:48 |
| ← gebi left | 15:48 |
|
iveqy
| grawity: oh, it's just for the helper files, it's not for git:// | 15:48 |
| → gebi joined | 15:48 |
|
grawity
| well, git:// doesn't have authentication at all, so yeah | 15:49 |
|
| I wasn't talking about the git protocol, I was talking about the git software. | 15:49 |
|
| and the git software already uses this thing for https?:// | 15:50 |
| ← maxmanders left | 15:51 |
| ← frgtn left | 15:51 |
| → Guest__ joined | 15:52 |
| → thiago joined | 15:52 |
| → ology joined | 15:52 |
| → monokrome joined | 15:52 |
| ← arietis left | 15:53 |
| → vince_prignano joined | 15:54 |
|
cbreak
| authentication for http isn't terribly useful, considering it's unencrypted. | 15:54 |
| → nsanden joined | 15:57 |
| → simesy joined | 15:57 |
| ← gebi left | 15:57 |
| → gebi joined | 15:58 |
| → aChatir joined | 15:58 |
| ← setmeaway left | 15:58 |
| → eribeiro joined | 16:01 |
| ← simesy left | 16:02 |
| → rnz_ joined | 16:03 |
| → tmcmahon joined | 16:03 |
| ← kcj left | 16:04 |
| ← aChatir left | 16:04 |
| → benzrf joined | 16:05 |
|
benzrf
| hello! | 16:05 |
|
| is there a server I can run to allow cloning of my repo? | 16:05 |
|
| I don't want to use hosting, nor do I want to hand out scp access | 16:06 |
| ← gebi left | 16:06 |
|
benzrf
| *ssh | 16:06 |
| ← vince_prignano left | 16:06 |
| ← gittish left | 16:06 |
| → vince_prignano joined | 16:06 |
| ← tmcmahon left | 16:07 |
| → xequence joined | 16:08 |
| → v8energy joined | 16:09 |
| ← Dougie187 left | 16:09 |
| → h0bbit joined | 16:10 |
|
EugeneKay
| benzrf - there's git-daemon, but !publish ;-) | 16:10 |
|
gitinfo
| benzrf: [!publish_github] Publishing git repos via git-daemon or gitweb is not for the faint of heart. Consider using Github as a free place to post your work, and let them worry about administration. | 16:10 |
|
v8energy
| I moved a file from one folder to another. I pushed, the file was still in the same folder. so I tried doing git add . -A then commit and push, and then git add -u then commit and push. then I also tried git rm file/location but it complained that the file is no longer at that folder. help. | 16:10 |
|
benzrf
| hmm | 16:11 |
|
| in what way are they not for the faint of heart? | 16:11 |
|
| o_o | 16:11 |
|
EugeneKay
| PITA to setup, relative to `git push github` | 16:11 |
| → normanrichards joined | 16:11 |
| → twoface88 joined | 16:11 |
|
benzrf
| hm | 16:12 |
| ← Cromulent left | 16:12 |
| ← Guest__ left | 16:12 |
| → rabellamy joined | 16:13 |
| → arietis joined | 16:13 |
| → meLon joined | 16:14 |
| ← joshsmith left | 16:14 |
|
fdel
| I have an annotated tag where I'd like to edit the tag message (without moving the tag to a new commit). I tried "-a -f" git-tag options, it opens the editor but the old message isn't loaded. Is it possible to "amend" it without copy-pasting? | 16:15 |
|
offby1
| fdel: I think you'll have to delete the tag and make a new one | 16:15 |
|
| tags are like commits: they're immutable | 16:15 |
|
fdel
| When I move them to another tag, I can edit the tag annotation | 16:16 |
|
| so you must be wrong, offby1 | 16:16 |
|
osse
| fdel: but editing the messages you are in fact creating a new tag with the same name and deleting the previous one | 16:16 |
|
| it feels like editing, but it isn't | 16:17 |
| → Guest__ joined | 16:17 |
|
fdel
| yes, but I wonder why I can't see the old tag message when staying on the same commit | 16:17 |
| ← plumpkin left | 16:17 |
|
benzrf
| oh | 16:17 |
|
fdel
| I do when I move the tag to another commit | 16:17 |
|
benzrf
| I'll just use ftp | 16:17 |
|
| -.- | 16:17 |
|
osse
| fdel: maybe there is no good reason and it's just an oversight | 16:18 |
| → rudak joined | 16:21 |
|
offby1
| benzrf: have you looked at !gitolite? | 16:21 |
|
gitinfo
| benzrf: Gitolite is a tool to host git repos on a server. It features fine-grained access control, custom hooks, and can be installed without root. Download: https://github.com/sitaramc/gitolite Docs: http://gitolite.com/gitolite/ | 16:21 |
| ← rudak left | 16:21 |
|
offby1
| it does require 'handing out scp access' but perhaps it's not as bad as you think | 16:21 |
|
osse
| fdel: git tag -a -f -F <(git log -1 --pretty=%B your_tag) your_tag | 16:21 |
| ← renatow left | 16:21 |
| → Goplat joined | 16:21 |
| → renatow joined | 16:21 |
| → enr joined | 16:21 |
|
fdel
| osse: hmm yes didn't think of that way. thx | 16:22 |
|
v8energy
| please hellp. the file doesn't wanna go away :(( | 16:22 |
| → Artpicre joined | 16:22 |
|
osse
| fdel: it's a bitch to write, but you can make it a shell function | 16:22 |
|
benzrf
| !help | 16:22 |
|
gitinfo
| What do you need help with? Something with git? Tell us what's going on, and please be specific. For information on how to abuse me (I'm a bot!), see http://jk.gs/git/bot . Please be gentle. | 16:22 |
|
benzrf
| hm | 16:22 |
|
CareBear\
| v8energy : your problem description is lacking lots of information | 16:23 |
|
| v8energy : because you are not being very explicit about what you have done | 16:23 |
|
EugeneKay
| v8energy - !repro | 16:23 |
|
gitinfo
| v8energy: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting. | 16:23 |
|
offby1
| !repro | 16:23 |
|
gitinfo
| Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting. | 16:23 |
|
EugeneKay
| Jinx! | 16:23 |
| ChanServ set mode: +o | 16:23 |
|
| offby1 glares at EugeneKay | 16:23 |
| EugeneKay set mode: +q | 16:23 |
|
offby1
| ow. | 16:23 |
| → bewest joined | 16:23 |
|
EugeneKay
| Oh, dangit. | 16:23 |
| → hwrd|work joined | 16:24 |
|
benzrf
| what is +q? | 16:24 |
|
| quiet? | 16:24 |
| → Ry0_ joined | 16:25 |
|
EugeneKay
| Yeah, but it doesn't work if I've previously +v'ed him, also as a joke. | 16:25 |
|
benzrf
| ah | 16:25 |
| EugeneKay set mode: -q | 16:25 |
| EugeneKay set mode: -o | 16:25 |
|
| offby1 spits out pieces of gag | 16:25 |
| ← p1ng left | 16:25 |
| mechanicalduck_ → mechanicalduck | 16:26 |
|
offby1
| the joke goes over my head since I never know what those codes mean anyway | 16:26 |
|
EugeneKay
| Well, done properly, you'll see "cannot send to channel" per the /topic | 16:26 |
| ← enr left | 16:27 |
| → AWinterman joined | 16:27 |
| → Mitchellvanw joined | 16:29 |
| ← ErKa left | 16:29 |
| ← conan_ left | 16:29 |
| → ozette joined | 16:29 |
|
arand
| cbreak: It's being worked on, I think it's in the "testing welcom" state ;) | 16:30 |
|
| cbreak: Oh, that was a reply to somewhere way back in scrollback. | 16:31 |
|
rohieb
| hmm. If I git am patches previously given to me by git format-patch, they do not have the same SHA1 for me and for the people who send me the patches, right? | 16:31 |
|
osse
| rohieb: correct | 16:31 |
|
rohieb
| okay. So when I then git pull from them, I have to take care of this? | 16:31 |
|
| or do I just merge -s ours? | 16:31 |
| ← benzrf left | 16:31 |
|
v8energy
| CareBear\: https://gist.github.com/anonymous/2fdc3dbcd4e79599da25 | 16:32 |
|
osse
| rohieb: if you pull --rebase Git will automatically detect idential patches and drop yours | 16:32 |
|
rohieb
| osse: okay, thx | 16:33 |
| → tatsuya_o joined | 16:34 |
| ← marix88x left | 16:34 |
| ← ferdev left | 16:35 |
| ← twoface88 left | 16:35 |
| ← rabellamy left | 16:36 |
| ← Sonderblade left | 16:38 |
| → muculus joined | 16:40 |
| ← OOPMan left | 16:42 |
|
CareBear\
| v8energy : so what is the question? | 16:43 |
| → pitzips_alt joined | 16:43 |
|
CareBear\
| v8energy : ls vendor/assets/javascripts/ | 16:43 |
|
v8energy
| the PIE.js won't get removed from vendor/assets/javascripts | 16:43 |
| ← Guest__ left | 16:43 |
|
v8energy
| it's not in the directory | 16:43 |
|
CareBear\
| so it was removed | 16:43 |
|
v8energy
| but it's still in the git | 16:43 |
| ← sgambino left | 16:44 |
| → OOPMan joined | 16:44 |
|
CareBear\
| I somehow doubt that.. | 16:44 |
|
v8energy
| i will take a screenshot | 16:44 |
|
CareBear\
| git ls-tree vendor/assets/javascripts/ | 16:44 |
|
| sorry: git ls-tree HEAD vendor/assets/javascripts/ | 16:44 |
|
v8energy
| http://puu.sh/443eg.png | 16:44 |
|
| ok | 16:44 |
|
CareBear\
| "in the git" is vastly different from "on github" | 16:45 |
| → boblu joined | 16:45 |
|
v8energy
| CareBear\: https://gist.github.com/anonymous/92f3b96451746947ca51 | 16:45 |
| ← ology left | 16:45 |
|
v8energy
| i am using gitbucket | 16:45 |
|
CareBear\
| github is a service offering some toys for using git | 16:45 |
|
| same same | 16:46 |
|
| so, | 16:46 |
|
v8energy
| yea | 16:46 |
| → EdGrubemran joined | 16:46 |
|
CareBear\
| as you see, PIE.js is not in the tree | 16:46 |
|
v8energy
| yeah it's not | 16:46 |
|
| but it won't go away from the gitbucket | 16:46 |
|
CareBear\
| I think it's likely that you are not reading what you think you are reading, on gitbucket | 16:47 |
| → Guest__ joined | 16:47 |
|
CareBear\
| or that you haven't written what you think you have written, to gitbucket | 16:47 |
| ← infogulch left | 16:47 |
| EdGrubemran → EdGruberman | 16:47 |
| ← Naoe-Kanno left | 16:47 |
| ← b0x left | 16:47 |
| → infogulch joined | 16:47 |
|
CareBear\
| look into the git push situation, so that you are actually performing the actions that you want | 16:48 |
|
v8energy
| when i push it says everything is up to date | 16:48 |
| → conan_ joined | 16:48 |
| → SHyx0rmZ joined | 16:48 |
|
v8energy
| even though PIE.js doesn't exist in the directory but it's still in the gitbucket | 16:49 |
|
CareBear\
| you should study the two concepts branches and remotes | 16:49 |
|
iveqy
| v8energy: what's gitbucket? | 16:49 |
|
CareBear\
| I fear that you don't really know what's going on when you push | 16:49 |
|
v8energy
| i meant bitbucket sorry | 16:49 |
| ← xequence left | 16:51 |
|
iveqy
| v8energy: is this problem somehow related to the problem you described in #github? | 16:51 |
|
v8energy
| iveqy: yeah | 16:51 |
|
iveqy
| v8energy: so what part has github with this? I don't get that | 16:52 |
| → Roots47 joined | 16:52 |
| → verysoftoiletppr joined | 16:52 |
| ← Artpicre left | 16:53 |
| ← boblu left | 16:53 |
| ← h0bbit left | 16:55 |
| → sriracha joined | 16:55 |
| → Artpicre joined | 16:55 |
|
v8energy
| people in github know how git works :P | 16:56 |
| ← normanrichards left | 16:56 |
| → RaceCondition joined | 16:56 |
| → SergeyPenkin joined | 16:56 |
|
osse
| My guess is that you are pushing other branches or pushing to the wrong place, and that's why you don't see the change onbitbucket | 16:56 |
|
iveqy
| v8energy: well, I say !repro, off all your commands, not just a screenshot | 16:57 |
|
gitinfo
| v8energy: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session -- or, even better for complex issues, design a minimal case in which your problem can be reproduced, and share it with us. This will help immensely with troubleshooting. | 16:57 |
| → outcoldman joined | 16:57 |
| → rabellamy joined | 16:57 |
| → devoldmx3 joined | 16:58 |
| ← babilen left | 16:58 |
| → twoface88 joined | 16:59 |
|
v8energy
| iveqy: i already have | 16:59 |
| → longbeach joined | 16:59 |
|
v8energy
| iveqy: https://gist.github.com/anonymous/2fdc3dbcd4e79599da25 | 17:00 |
| → nursodiq joined | 17:00 |
| ← nursodiq left | 17:00 |
| ← Tabmow left | 17:01 |
| ← devoldmx left | 17:01 |
| → sq-one joined | 17:02 |
| → gittish joined | 17:06 |
| ← AWinterman left | 17:06 |
| ← tatsuya_o left | 17:07 |
| → AWinterman joined | 17:07 |
| ← _iron left | 17:07 |
| ← stormwild left | 17:07 |
| ← sriracha left | 17:08 |
| ← gittish left | 17:08 |
| ← pitzips_alt left | 17:08 |
| ← dsdeiz left | 17:08 |
| ← Droolio left | 17:08 |
| → btree joined | 17:10 |
| → girishr joined | 17:10 |
| ← btree left | 17:10 |
| ← foobarbaz left | 17:11 |
| → natechan joined | 17:12 |
| ← AWinterman left | 17:12 |
| ← thiago left | 17:12 |
| → thiago joined | 17:13 |
| → mehdiNej joined | 17:13 |
| → noxd joined | 17:15 |
| ← _jmg left | 17:15 |
| → joshsmith joined | 17:16 |
| → tatsuya_o joined | 17:17 |
| → h0bbit joined | 17:18 |
| → AWinterman joined | 17:20 |
| → babilen joined | 17:20 |
| ← Mitchellvanw left | 17:21 |
| → enr joined | 17:22 |
| ← vkz left | 17:22 |
| ← enr left | 17:24 |
| ← SergeyPenkin left | 17:25 |
| → barneybook joined | 17:27 |
| ← ozette left | 17:27 |
| ← Ry0_ left | 17:27 |
| → Cromulent joined | 17:28 |
| → bmac joined | 17:29 |
| ← michaelarestad left | 17:30 |
| → michaelarestad joined | 17:30 |
| → maxmanders joined | 17:31 |
| → gittish joined | 17:33 |
| → Forkk joined | 17:33 |
| Vampire0_ → Vampire0 | 17:33 |
| ← michaelarestad left | 17:35 |
| → skiernose joined | 17:36 |
| ← Cromulent left | 17:36 |
| ← skiernose left | 17:37 |
| → cads joined | 17:39 |
| → rendar joined | 17:40 |
| → cha1tanya joined | 17:40 |
| → EF0 joined | 17:40 |
| → FreezingCold joined | 17:42 |
| ← FrodoTheHobbit left | 17:42 |
| ← sq-one left | 17:42 |
| → Mode-M joined | 17:42 |
| → Ry0_ joined | 17:43 |
| → hackula joined | 17:48 |
| mckendri_ → mckendricks | 17:48 |
| → dan64 joined | 17:48 |
| ← sdrfnord1 left | 17:49 |
| → sdrfnord1 joined | 17:50 |
| ← wrouesnel1 left | 17:50 |
| → kukks joined | 17:51 |
| ← kukks left | 17:51 |
| → kukks joined | 17:51 |
| ← hoschi left | 17:54 |
| → leen^| joined | 17:54 |
| ← rfoust left | 17:54 |
| ← sdrfnord1 left | 17:56 |
| ← goldbrush left | 17:57 |
| ← ncd|leeN left | 17:57 |
| → lpapp joined | 17:58 |
| → Darrell joined | 17:59 |
| → michaelarestad joined | 18:00 |
|
Darrell
| hello. i'm new to git and VCS in general. I'm just curious about a good git workflow… So, how often should one be committing to the repository? every 5-10 minutes? every time a new feature is added/bug is fixed? | 18:01 |
| → R1KRDO joined | 18:02 |
| ← tatsuya_o left | 18:02 |
|
canton7
| do it per unit of work rather than per time. for me, normally every time I make a set of change which accomplish something, however small | 18:02 |
| ← gvdm left | 18:02 |
| ← cads left | 18:02 |
| → gvdm joined | 18:03 |
|
axrfnu
| yep, working units are a reasonable approach | 18:03 |
|
| if you need a more fine-grained saving status your editor/ide may help you with undo-history | 18:04 |
| ← lpapp left | 18:05 |
| ← michaelarestad left | 18:05 |
| → plumpkin joined | 18:07 |
|
Darrell
| ah, okay. thanks guys. | 18:09 |
| ← Darrell left | 18:10 |
| ← rabellamy left | 18:11 |
| ← trusktr left | 18:11 |
| ← Ry0_ left | 18:13 |
| → aChatir joined | 18:14 |
| ← aChatir left | 18:15 |
| → dmarkham joined | 18:15 |
| → PaulCapestany joined | 18:18 |
| → CodeShark joined | 18:19 |
| → Naoe-Kanno joined | 18:20 |
| ← natechan left | 18:20 |
| ← St_Marx left | 18:20 |
| → matanya joined | 18:21 |
| ← Artpicre left | 18:21 |
| ← SHyx0rmZ left | 18:22 |
| → enr joined | 18:23 |
| ← Schrostfutz left | 18:25 |
| → parcs_ joined | 18:25 |
|
parcs_
| 'git pull' is equivalent to 'git fetch' followed by what? | 18:26 |
|
canton7
| 'git merge @{upstream}' | 18:26 |
|
parcs_
| ah okay | 18:26 |
| ← enr left | 18:28 |
| → Schrostfutz joined | 18:29 |
| ← Milossh left | 18:30 |
| → CheckDavid joined | 18:30 |
| → NikolayAndMushro joined | 18:30 |
| → Ry0_ joined | 18:31 |
| gitinfo set mode: +v | 18:31 |
|
NikolayAndMushro
| Hello. Does anybody have problem with getting last version of git? | 18:32 |
|
| at ubuntu/mint | 18:32 |
| ← conan_ left | 18:34 |
| ← Guest__ left | 18:34 |
| → conan_ joined | 18:35 |
|
cbreak
| NikolayAndMushro: cloning from git.git doesn't work? | 18:35 |
| → aard_ joined | 18:36 |
| → michaelarestad joined | 18:36 |
|
parcs_
| is there any way to have 'git merge --ff-only' explain why it is unable to fast-forward? | 18:36 |
|
cbreak
| parcs_: just use !lol | 18:37 |
|
gitinfo
| parcs_: A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 18:37 |
|
cbreak
| parcs_: or git log --graph --oneline --decorate HEAD HEAD@{u} | 18:37 |
|
parcs_
| oh i see | 18:38 |
|
| fast-forward is only usable when there are no local commits | 18:38 |
|
| otherwise you have to use rebase | 18:38 |
| ← rath left | 18:39 |
|
cbreak
| or merge | 18:39 |
|
| or reset | 18:39 |
|
parcs_
| rebase is better | 18:39 |
| → atomx joined | 18:40 |
| ← dmarkham left | 18:40 |
| ← michaelarestad left | 18:40 |
|
atomx
| What is the space limit for free accounts to BitBucket ? | 18:41 |
| ← kbar left | 18:42 |
|
thiago
| atomx: check bitbucket.com, or see if they have an IRC channel | 18:42 |
|
| we're not affiliated | 18:42 |
|
atomx
| Maybe somebody will know ;) I managed only to find that they offer unlimited number of projects . And 90 % of users here used bitbucket at least once. | 18:43 |
| → raf_ joined | 18:43 |
| → iderik joined | 18:45 |
|
cbreak
| atomx: I read it's at least 1 | 18:46 |
| → dr_ick joined | 18:47 |
|
atomx
| Bitbucket offers both commercial plans and free accounts. It offers free accounts with an unlimited number of private repositories (which can have up to five users in the case of free accounts) as of September 2010 | 18:47 |
|
| quote from wikipedia | 18:48 |
|
| says nothing about the limits of space. | 18:48 |
| → Morgon_ joined | 18:49 |
|
iveqy
| v8energy: if you look at the first error message from git commit you see that you have nothing to commit, use git commit -am "ok" | 18:50 |
| ← angelsl left | 18:51 |
| → vkz joined | 18:51 |
|
Morgon_
| Greetings! What might be the best way to take a branch and squash some older, non-related commits (accidentally used a framework's git repo as a base), yet keep our own commit history? | 18:51 |
| → natechan joined | 18:51 |
|
iveqy
| Morgon_: with git rebase -i | 18:52 |
|
| Morgon_: however see !public | 18:52 |
|
gitinfo
| Morgon_: [!rewriting_public_history] Rewriting public history is usually bad. Everyone who has pulled the old history have to do work (and you'll have to tell them to). If you must, you can use `git push -f` to force (and the remote may reject that, anyway). See http://goo.gl/waqum | 18:52 |
|
Morgon_
| Yeah, that's why I was asking - wasn't sure if there was another way to do it other than rebase :) | 18:53 |
|
parcs_
| what extra work would they have to do? just git rebase origin/master right? | 18:53 |
| ← Schrostfutz left | 18:53 |
| ← raf_ left | 18:53 |
| → aspiers joined | 18:54 |
|
iveqy
| Morgon_: well there is. You could do an orphan branch starting from your first commit and then build your commits on top on that | 18:54 |
| ← shruggar left | 18:54 |
|
iveqy
| Morgon_: and then just delete the old branch | 18:54 |
|
| it might be simplier, depending on your repo structure | 18:54 |
|
Morgon_
| I'm having trouble with rebase, I keep seeing 'noop'. | 18:55 |
|
iveqy
| parcs_: no, a git reset | 18:55 |
| → v1n joined | 18:55 |
| ← cha1tanya left | 18:55 |
| ← h0bbit left | 18:56 |
| ← babilen left | 18:56 |
| → babilen joined | 18:57 |
| ← devoldmx3 left | 18:58 |
| ← mechanicalduck left | 18:58 |
|
Morgon_
| Sheesh. This repo is a mess. Combination of project commits and framework commits from their authors. heh | 18:59 |
| → glosoli joined | 19:00 |
|
iveqy
| Morgon_: that's why everyone should read !merge_vs_rebase until they understand it ;) | 19:01 |
|
gitinfo
| Morgon_: [!merge_or_rebase] For a detailed discussion of the dis-/advantages of merge and rebase, and when to best use which, see: https://coderwall.com/p/ny1hia -- and here's how Linus explains which one to use: http://www.mail-archive.com/dri-devel@lists.sourceforge.net/msg39091.html | 19:01 |
| ← v1n left | 19:01 |
| → michaelarestad joined | 19:01 |
| ← Marquisk2 left | 19:02 |
| ← atomx left | 19:02 |
| ← R1KRDO left | 19:03 |
| → normanrichards joined | 19:05 |
|
Morgon_
| iveqy: Sure, that helps going forward. But how do I fix the past? :P | 19:07 |
| ← vkz left | 19:08 |
|
iveqy
| Morgon_: not shure you should... | 19:08 |
|
Morgon_
| :-/ Definitely don't need/want commit history from the framework maintainers. | 19:09 |
| → pandeiro joined | 19:09 |
|
iveqy
| Morgon_: I've gived you two alternatives, both can be pretty work intensive, not sure you'll benefit from it | 19:09 |
|
Morgon_
| But there have been a non-trivial amount of commits done by the team that needs to stay. | 19:09 |
| → whowantstolivefo joined | 19:09 |
|
iveqy
| Morgon_: how will you get new features from the framework guys? | 19:09 |
|
Morgon_
| iveqy: And I definitely thank you! I'm just having trouble using rebase.. keeps telling me 'noop' | 19:09 |
|
| composer, mostly. The framework stuff is just the application skeleton, essentially. They make minor tweaks that could be patched in; we don't need git history | 19:10 |
| → kesha_ joined | 19:10 |
|
iveqy
| Morgon_: well, how many commits are we talking about that is not from the framework? | 19:11 |
| ← vince_prignano left | 19:11 |
|
Morgon_
| That is from us? 350+ | 19:12 |
| ← Roots47 left | 19:13 |
| ← babilen left | 19:14 |
| ← NikolayAndMushro left | 19:14 |
|
iveqy
| Morgon_: a bit too many to cherry-pick IMHO | 19:14 |
| → cedeon joined | 19:14 |
| → babilen joined | 19:15 |
|
Morgon_
| iveqy: I'd be willing to do it if there's a way to remove it from the framework skeleton history. *sigh* It's so dirty. | 19:15 |
|
iveqy
| Morgon_: it is, do the orphan branch trick | 19:15 |
| → boblu joined | 19:17 |
|
Morgon_
| iveqy: git branch --orphan git_rebase <SHA> ? | 19:17 |
|
| er, 'git checkout --orphan git_rebase <SHA>' | 19:18 |
|
iveqy
| Morgon_: unfortunately not =(, git checkout --orphan | 19:19 |
|
| I can't understand why that isn't possible to do with the git branch command =( | 19:19 |
| → tatsuya_o joined | 19:21 |
| ← girishr left | 19:22 |
|
Morgon_
| iveqy: Perhaps I'm confused on the purpose of this command. It seemed like it would have allowed me to use <SHA> as my original commit, but still keeping the commits after that. Essentially this command puts me 'at' the commit in question with no history. Where do I get the additional history? | 19:22 |
| → Shusshu joined | 19:23 |
| → Dougie187 joined | 19:23 |
| → enr joined | 19:23 |
|
thiago
| Morgon_: first of all, are you aware of the consequences of the rewrite of history? | 19:24 |
| ← Shusshu left | 19:24 |
|
thiago
| Morgon_: do you have contributors to your code? people who have cloned your repository? | 19:24 |
|
Morgon_
| Perhaps not fully.. but enough that I know it's not always the best option. But in this case, I would really like to try. | 19:24 |
|
iveqy
| Morgon_: you got a link about that from me earlier... | 19:25 |
|
Morgon_
| This is not a public repo. | 19:25 |
|
| There are other contributors, but we're all part of the same team. | 19:25 |
|
| I just want to remove non-project commits from the history. It *really* shouldn't be this hard, if I'm fully honest. :( | 19:25 |
|
thiago
| Morgon_: it's the *last* option, always | 19:26 |
|
Morgon_
| Well that's where we're at. | 19:26 |
|
thiago
| Morgon_: everyone will need to re-clone | 19:26 |
|
Morgon_
| They'll live. | 19:26 |
|
thiago
| Morgon_: delete their repositories | 19:26 |
|
iveqy
| Morgon_: do a git checkout to the first commit you want to use, then git checkout --orphan... then cherry pick the commits you like. After that move the branch pointer (master if you like) with git reset | 19:26 |
|
thiago
| Morgon_: if they have commits on top that they haven't pushed to the master code line, there will be trouble | 19:26 |
|
| Morgon_: are you sure you want to continue? | 19:26 |
| ← rendar left | 19:27 |
|
iveqy
| thiago: well, it's possible for them to cherry-pick their commits too. It just requires some more git knowledge | 19:27 |
|
Morgon_
| That... doesn't make sense from a 'not a git developer' point of view. Changes should only be determined by their difference from existing code. I don't see how rebasing history is going to affect code they're working on. | 19:27 |
|
thiago
| iveqy: yes | 19:27 |
|
| iveqy: but it opens up for the possibility someone will merge the old history | 19:28 |
| ← fridim__ left | 19:28 |
| ← enr left | 19:28 |
|
iveqy
| Morgon_: every commit has a sha1, the sha1 is the content of the commit and all history, if you change the history you'll change the commit | 19:28 |
|
| thiago: yes. Your recommendations is clearly the best way to go with unexperienced git users | 19:29 |
|
Morgon_
| thiago: The situation is this: We checked out a framework's 'skeleton' repo (the rest is handled via composer) as the basis for our project. It has all of the commit history from their development, as well as ours. I want to keep our history, but not have theirs. | 19:29 |
| → ziddey joined | 19:29 |
|
thiago
| Morgon_: I know | 19:30 |
|
Morgon_
| ..ok | 19:30 |
|
thiago
| Morgon_: but you did not answer my questions | 19:30 |
|
| Morgon_: are you prepared to have everyone delete their repositories? | 19:30 |
|
Morgon_
| Sure. It's small enough that we could have them stash, patch, or otherwise get to a common spot. | 19:31 |
|
thiago
| no patch | 19:31 |
|
| I mean, no stash | 19:31 |
|
Morgon_
| Fine. | 19:31 |
|
thiago
| you need to create patches with git format-patch | 19:31 |
|
| anything else is dangerous | 19:31 |
|
Morgon_
| Patch. Copy code. This shouldn't have anything to do with the history. It's just changes in code. | 19:31 |
|
thiago
| ok | 19:31 |
|
| now, besides the history, are there files you need to remove? | 19:32 |
|
Morgon_
| No | 19:32 |
|
thiago
| I mean, the skeleton repo, do you want to remove it too? | 19:32 |
| ← mdiers left | 19:32 |
|
thiago
| or just the commits from it? | 19:32 |
| → vigs joined | 19:32 |
|
Morgon_
| Just the commits is fine. | 19:32 |
|
thiago
| ok | 19:32 |
|
| do you have one commit that represents the exact initial state you want? | 19:32 |
|
Morgon_
| Yes. Going to use the team's first commit on the project (pre skeleton) | 19:33 |
|
thiago
| ok | 19:33 |
|
| what do you mean by "pre skeleton" ? | 19:33 |
|
Morgon_
| These were commits that were made before we moved to the framework. | 19:33 |
|
| How they're both there, I honestly don't remember at this point. | 19:34 |
|
| both == full project history, and full framework history | 19:34 |
|
thiago
| you've lost me | 19:34 |
|
| I couldn't care less about what the contents of your repo are | 19:35 |
|
| I am interested only in history | 19:35 |
|
Morgon_
| That's what I mean. | 19:35 |
|
| If I do 'git log', our history is essentially intertwined with the framework's commit history | 19:35 |
|
thiago
| is there one commit whose ancestors you want to discard, but the tree state is what you want? | 19:35 |
|
| intertwined? | 19:36 |
| ← boblu left | 19:36 |
|
thiago
| have people been merging the unwanted history? | 19:36 |
|
Morgon_
| Yeah. The first initial commit of our project is where I want to be the new base of the history | 19:36 |
|
thiago
| ok, let's try this | 19:36 |
|
Morgon_
| And yes, we've been using it for updates of the framework. | 19:36 |
| → ology joined | 19:36 |
|
Morgon_
| It's messy, I know | 19:36 |
| → btree joined | 19:36 |
|
thiago
| what is the SHA-1 of that first commit? | 19:36 |
|
Morgon_
| 6af50b | 19:37 |
|
| (or 6af50b0fb905f82901c98a6ac578e9c3bca4e59d if you want the full) | 19:37 |
|
thiago
| echo 6af50b0fb905f82901c98a6ac578e9c3bca4e59d > .git/info/grafts | 19:37 |
|
| now do a git log and see if the history is un-messy | 19:37 |
| ← PaulCapestany left | 19:37 |
|
Morgon_
| Oh, which branch should I be in when I do this? | 19:37 |
|
| Because I had started to do the orphan thing | 19:37 |
| ← Ry0_ left | 19:38 |
|
Morgon_
| So I'm on an orphan branch now | 19:38 |
|
thiago
| the echo can be done from any branch | 19:38 |
|
| it affects the entire history | 19:38 |
|
Morgon_
| Right, but the reason I ask is because 'git log' currently says "bad default revision 'HEAD'" :) | 19:38 |
|
thiago
| was it working before? | 19:38 |
|
Morgon_
| Before I did the orphan, yes. Not in my orphan branch. | 19:39 |
| ← FreezingCold left | 19:39 |
|
thiago
| check out any of your branches | 19:39 |
|
| forget the orphan thing | 19:39 |
| ← ffio left | 19:40 |
| ← btree left | 19:40 |
| → madewokherd joined | 19:41 |
|
Morgon_
| I just nuked it (temp directory anyway) and started over. In any case, after echoing to grafts, 'git log' does not seem any different than normal. | 19:41 |
|
| thiago: | 19:41 |
|
thiago
| then your history is messy | 19:41 |
|
| it means your first commit is not the first commit | 19:41 |
| → ErKa joined | 19:41 |
|
thiago
| the framework was merged at a later point | 19:42 |
|
Morgon_
| Yes, it was. Sorry if I didn't make that more clear than I thought I did. :) | 19:42 |
| → cha1tanya joined | 19:42 |
|
Morgon_
| The first commit is the framework's first commit. | 19:42 |
|
thiago
| find the first commit that isn't messy | 19:42 |
|
| the first commit past the mess | 19:42 |
|
| that's the commit you have to echo into the grafts file | 19:43 |
|
| don't worry, the grafts file is completely reversible | 19:43 |
| ← lethjakman left | 19:43 |
|
thiago
| no loss | 19:43 |
| → lifelike joined | 19:44 |
|
Morgon_
| thiago: Sorry, what do you mean 'isn't messy'. They're all messy, I guess. The most recent commit from the framework side was June 15th. We do have several of our own commits afterwards, but there are also many commits before then that I'd like to keep. | 19:44 |
| ← wongon left | 19:44 |
|
thiago
| ok | 19:44 |
|
| then find each and every one of the merge commits | 19:45 |
|
| in the grafts file, write the SHA-1 of the commit and the SHA-1 of the parent you want to keep, one pair per line | 19:45 |
|
| separated by spaces | 19:45 |
| → aChatir joined | 19:46 |
| → Roots47 joined | 19:46 |
| ← glosoli left | 19:46 |
| ← kesha_ left | 19:47 |
| → bklane joined | 19:48 |
|
Morgon_
| thiago: I can use the short sha's right? (Since that's what git log spits out for Merge notifications) | 19:49 |
|
milki
| not for grafts | 19:49 |
|
Morgon_
| Oh come on. | 19:49 |
|
tkil
| does someone have a cheat sheet for working against linux-next? cloned it a month or so ago, branched off of it and did some work. now i'd like to rebase my branch on the current state of linux-next. | 19:49 |
|
| just not sure how to do that... | 19:49 |
| → aard__ joined | 19:49 |
| → barneybook|2 joined | 19:50 |
| ← aard__ left | 19:50 |
|
thiago
| tkil: git rebase remotename/linux-next | 19:50 |
|
tkil
| thiago -- "fatal: Needed a single revision" "git remote -v" says: origin git://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git (fetch) (and same for push) | 19:52 |
| ← barneybook left | 19:52 |
|
thiago
| tkil: what command printed that? | 19:52 |
|
tkil
| $ git rebase origin/linux-next -> fatal: Needed a single revision | 19:52 |
| ← aard_ left | 19:52 |
|
tkil
| doing "git rebase origin" gives me a merge error. | 19:53 |
|
grawity
| There's no branch called 'linux-next' there... | 19:53 |
|
thiago
| tkil: git log origin/linux-next | 19:53 |
|
tkil
| adding "-s ours" works but it seems to want to individually hundreds of packages. | 19:53 |
|
thiago
| tkil: does the branch even exist? | 19:53 |
|
tkil
| s/packages/patches/ thinko. | 19:53 |
|
grawity
| linux-next just has a 'master' branch where the "next" stuff goes | 19:53 |
|
thiago
| tkil: ok: git rebase remotename/branchname | 19:54 |
|
grawity
| Which `git rebase origin` picks up correctly. | 19:54 |
|
thiago
| tkil: replace with the correct remote name and branch name | 19:54 |
|
tkil
| thiago -- at this point, i have no idea. i'm pretty sure my steps were: clone the url given for linux-next, make a branch, work on branch. now i want to rebase my work branch off current linux-next... | 19:54 |
|
| ok, i'll try those. | 19:54 |
| ← Roots47 left | 19:54 |
|
tkil
| thiago -- whole point is i'm not sure what the "correct remote and branch name" are, other than the fact that i successfully cloned it originally... | 19:55 |
| ← eribeiro left | 19:55 |
|
thiago
| tkil: don't ask us then | 19:55 |
|
| tkil: we're users of Git. If you need help with the project you're working on, ask the people working on that project. | 19:56 |
|
tkil
| ah. nice day to you too. | 19:56 |
| ← maxmanders left | 19:56 |
| ← Dougie187 left | 19:56 |
| ← lifelike left | 19:57 |
|
Morgon_
| thiago milki - Is there a way to show the full SHA for Merge histories? | 19:57 |
|
milki
| use the short one and shove it at rev-parse | 19:57 |
|
Morgon_
| Ah, that's something at least. Thanks. | 19:58 |
| ← bklane left | 20:00 |
| → glosoli joined | 20:02 |
| ← crazydiamond left | 20:03 |
| ← cha1tanya left | 20:03 |
| ← iderik left | 20:04 |
| ← JPeterson left | 20:05 |
| ← OOPMan left | 20:05 |
| → Gues_____ joined | 20:06 |
| → momomomomo joined | 20:07 |
| ← hwrd|work left | 20:07 |
| → xequence joined | 20:07 |
| ← noxd left | 20:08 |
| ← babilen left | 20:09 |
| → OOPMan joined | 20:10 |
| ← OOPMan left | 20:10 |
| → hwrd|work joined | 20:11 |
| ← tatsuya_o left | 20:11 |
| → sriracha joined | 20:13 |
| ← muculus left | 20:13 |
|
Morgon_
| thiago: Other than one merge having duplicate graft data (will look into why there are two merges with the same parent), this seems pretty good. The very first commit is still from the framework maintainer.. don't know if that's to be expected, since their history is earlier than ours. | 20:14 |
|
| Hrm. Though I only have 120 commits here, instead of the 350 I was expecting. | 20:15 |
| ← mehdiNej left | 20:15 |
| → OOPMan joined | 20:15 |
| → mizu_no_oto joined | 20:16 |
|
Morgon_
| Ah, looks like all of the project history before the introduction of the framework is no longer here. Will have to find those merges. | 20:16 |
|
thiago
| Morgon_: there's no such thing as duplicate | 20:16 |
| ← xequence left | 20:16 |
|
thiago
| Morgon_: not per commit. Same parent is fine. | 20:17 |
|
Morgon_
| error: duplicate graft data: bb3607291ba29d53eec2fc111edcc1c44bf7b023 55d1d533d14c3a61c28765a146813a849cd31e55 | 20:17 |
|
| I found two merges with the same parent, but the child is different. | 20:17 |
| ← hackula left | 20:17 |
|
Morgon_
| It's 55d1 in one, a4cac5 in the other. | 20:17 |
|
| There's another one like this, as well. Let me check what those merges were. | 20:18 |
|
thiago
| Morgon_: like I said, there's no duplicate of the first commit | 20:18 |
|
| Morgon_: you can repeat the parents as often as you want | 20:18 |
| → tatsuya_o joined | 20:20 |
|
Morgon_
| thiago: Weird. I definitely see two similar merges. Merge: bb36072 a4cac55 .. Merge: bb36072 55d1d53 | 20:20 |
|
| Same commit message, too | 20:20 |
| → noxd joined | 20:21 |
| ← mizu_no_oto left | 20:21 |
|
thiago
| Morgon_: those are the parents | 20:21 |
|
| Morgon_: the important thing is that the actual commits (the one in "commit 123456") is not repeated | 20:21 |
| → Nicholas_Rishel joined | 20:21 |
|
Morgon_
| Buuuut they are. | 20:21 |
|
thiago
| no, they aren't | 20:22 |
|
| anyway, I've just found git log --no-abbrev-commit | 20:22 |
| ← hwrd|work left | 20:22 |
|
Morgon_
| Two similar merge IDs that are pointing to two different commits; those two commits also have the same message. | 20:22 |
|
| Hrm, --no-abbrev-commit doesn't seem to affect Merge IDs. | 20:23 |
|
thiago
| what do you mean by "merge IDs"? | 20:23 |
| → mizu_no_oto joined | 20:23 |
| → Roots47 joined | 20:23 |
| → mloskot joined | 20:23 |
|
Morgon_
| "Merge: bb36072 a4cac55 " in the history. Perhaps the wrong terminology | 20:23 |
| ← conan_ left | 20:23 |
|
thiago
| yes | 20:23 |
|
| "parents" | 20:23 |
|
Morgon_
| Which one is the parent? The first or the second | 20:24 |
| ← mizu_no_oto left | 20:24 |
|
thiago
| both | 20:24 |
|
Morgon_
| ....k | 20:24 |
| → iderik joined | 20:24 |
| ← AWinterman left | 20:24 |
|
thiago
| the first is the first parent; the second is the second parent | 20:24 |
|
Morgon_
| So why is git complaining about 'duplicate', then | 20:24 |
| → conan joined | 20:24 |
|
thiago
| you repeated the commit | 20:24 |
| → AWinterman joined | 20:24 |
|
thiago
| as I said, there's no repetition of the commit | 20:24 |
|
| you can repeat parents as often as you want, but not the commit (the first field) | 20:25 |
|
Morgon_
| Well *I* didn't. It wasn't my commit. But if I look at the raw log, I see the commit twice with two different SHAs | 20:25 |
| → rabellamy joined | 20:25 |
|
Morgon_
| Sec, I'll show you. | 20:25 |
|
thiago
| then there is no duplication | 20:25 |
| ← arietis left | 20:25 |
|
thiago
| you've just said there are two different SHA-1s | 20:25 |
|
| commit 08d91d4b8e72b8fe6f6a86b53c995fb548cff81b | 20:25 |
|
| Merge: 071c48a5ff8842d43fcdc95db08b561d340a2bfd 6a56fd306937552dbeb53b30149288dc83d2c90b | 20:25 |
|
| suppose you want to remove the second parent | 20:25 |
|
| you'll write to the grafts file: 08d91d4b8e72b8fe6f6a86b53c995fb548cff81b 071c48a5ff8842d43fcdc95db08b561d340a2bfd | 20:26 |
| → shruggar joined | 20:26 |
| ← iderik left | 20:26 |
|
Morgon_
| thiago: http://pastebin.com/TAVNsRkZ .. I simply copied the merge parents 'bb36072 a4cac55' and 'bb36072 55d1d53' to the grafts file, and git is complaining about those. | 20:27 |
| → iderik joined | 20:28 |
|
grawity
| The graft syntax is <commit> <parent> [parent...], right? | 20:28 |
|
thiago
| right | 20:28 |
|
Morgon_
| But if you notice, the merges and the commits they point to have different IDs. | 20:28 |
|
thiago
| Morgon_: please read what I said | 20:28 |
|
Morgon_
| Hrm. | 20:28 |
|
| So I have to operate on commits, not merge parents? | 20:29 |
|
thiago
| Morgon_: of course | 20:29 |
|
| Morgon_: if you want to remove a parent from a commit, you need to tell Git what that commit is | 20:29 |
| ← AWinterman left | 20:29 |
|
Morgon_
| *shrugs* You said "thiago: then find each and every one of the merge commits" .. So I just looked for the Merge data | 20:29 |
|
thiago
| grawity: actually, it's commit [parent...] | 20:29 |
| → maxmanders joined | 20:29 |
|
thiago
| Morgon_: find the merge *commits* | 20:30 |
|
Morgon_
| Well the merge parents represent *commits* | 20:30 |
|
thiago
| Morgon_: no | 20:30 |
|
Morgon_
| ..k | 20:30 |
|
thiago
| Morgon_: commits represent commits | 20:30 |
| ← iderik left | 20:30 |
|
thiago
| Morgon_: each commit has zero or more parents | 20:30 |
|
| Morgon_: merge commits have two or more parents | 20:30 |
|
| Morgon_: regular commits have one parent | 20:30 |
| → iderik joined | 20:30 |
|
thiago
| Morgon_: root commits have zero parents | 20:30 |
|
Morgon_
| git is intentionally confusing, then. When I see "Merge: bb36072 a4cac55" and I can resolve "bb36072" into a full commit ID, that says merge parents represent commits. That's fine if that's not actually the case, but you can't blame me for thinking so | 20:31 |
| ← verysoftoiletppr left | 20:31 |
|
thiago
| Morgon_: Git not confusing | 20:31 |
| → Dougie187 joined | 20:31 |
|
thiago
| Morgon_: each commit is identified by exactly one SHA-1 | 20:31 |
|
Morgon_
| StackOverflow would suggest otherwise. :) | 20:31 |
|
EugeneKay
| They're idiots. !blog | 20:31 |
|
gitinfo
| Blog posts, while helpful and informative, are quite often outdated, give bad advice, or are just plain wrong. Please don't rely solely upon them, or treat them as authoritative. | 20:31 |
| → acharlieh joined | 20:31 |
| ← sriracha left | 20:31 |
|
thiago
| Morgon_: each commit may have zero or more parents. When it has two (or more), it's called a merge commit. | 20:31 |
|
| Morgon_: the parents are listed in that Merge: line | 20:32 |
| ← maxmanders left | 20:32 |
|
thiago
| Morgon_: find the parent you want to remove, then write to the grafts file: <commit> <parent you want to keep> | 20:32 |
| ← noxd left | 20:32 |
|
EugeneKay
| Two commits which have the same changeset may have different SHAs, because of a difference in parentage, timestamp, author, message, or any other metadata - that makes them different commit. | 20:32 |
|
Morgon_
| So how would I accurately determine the commits to use in the grafts file? How would I start, at least? I felt that if I just operated on our own commits, that would give me the right data. | 20:32 |
|
pekster
| Morgon_: If you're coming from subversion, think of the Merge: HASH lines like the svn:refinfo that svn keeps -- same idea, it just says "this commit has data that came from this other commit" | 20:33 |
|
thiago
| Morgon_: find the merge commits that have parents you want to remove | 20:33 |
|
pekster
| revinfo* | 20:33 |
|
Morgon_
| pekster: Nope, not from svn. Sorry. | 20:33 |
|
EugeneKay
| If they were the same commit, they'd hash to the same SHA | 20:33 |
| → AWinterman joined | 20:33 |
| → h0bbit joined | 20:33 |
|
Morgon_
| thiago: I thought I was identifying things I wanted to keep? grafts is for what I want to remove? | 20:33 |
|
thiago
| Morgon_: identify things you want to remove | 20:34 |
|
| Morgon_: grafts is both about adding and removing | 20:34 |
|
| Morgon_: it's about rewriting ancestry | 20:34 |
|
Morgon_
| I want to remove: all things that have nothing to do with our commits. | 20:34 |
|
| our = team. | 20:34 |
|
thiago
| Morgon_: right. But there's no git do-what-I-wnat | 20:34 |
|
| Morgon_: you have to identify the commits that bring changes you don't want. | 20:34 |
|
| Morgon_: I've been assuming that those are merges. | 20:35 |
|
Morgon_
| Seems fairly easy to say "Give me these commit ids" | 20:35 |
| ← rednaks left | 20:35 |
|
thiago
| Morgon_: sure. What's the selection criteria? | 20:35 |
|
| what are... | 20:35 |
|
Morgon_
| Commits that are done by specific people in my team. I don't mind if I have to manually go in and paste the actual commit ids. I just don't want any commits that were done by the other project. | 20:36 |
|
thiago
| to remove the commits you don't want, you have to identify the commits that brought them in. | 20:36 |
|
pekster
| Sounds like more of a workflow issue then since perhaps these "other projects" should have been committing to their own branch. It's a little late to fix that for your existing history though | 20:36 |
|
thiago
| I'm assuming that they were brought in by a merge by someone in your team. | 20:37 |
| → Caritade joined | 20:37 |
|
Morgon_
| pekster: It shouldn't be. rebase. keep these commits, remove the others. It's very simple when you think of it from outside git. | 20:37 |
|
EugeneKay
| This sounds pathological | 20:37 |
|
Morgon_
| thiago: Yes. | 20:37 |
|
thiago
| Morgon_: find *those* commits: the merges by someone in your team. | 20:37 |
|
| Morgon_: each merge has two (or more) parents. Write to the grafts file: <commit SHA-1> <parent(s) that you want to *keep*> | 20:38 |
|
pekster
| You're rebasing commits that have been pushed between teams? If you're doing that you're generally doing it wrong (as then everyone has to pull *your* rebased changes, and git won't do this automatically for anyone else) | 20:38 |
| → enjoi joined | 20:38 |
| ← Roots47 left | 20:38 |
|
enjoi
| Hello all | 20:38 |
| → rfoust joined | 20:38 |
|
thiago
| pekster: as far as I've identified so far, there have been no rebases | 20:38 |
|
| pekster: someone in his team has been merging code that he doesn't want there anymore. Some other component. | 20:39 |
| → maxmanders joined | 20:39 |
| gitinfo set mode: +v | 20:39 |
|
thiago
| actually, he wants the code. He just doesn't want the history of them. | 20:39 |
|
enjoi
| Hey there :-) | 20:39 |
|
Morgon_
| thiago: Okay, that might be a little easier to identify, as that was A) me, and B) most of it was done just once when I did my initially merge of the changes. So... okay. | 20:39 |
|
| So the commit is d8e35a43aa3ec17fc963bd149203f7a20009c49d and the Merge line is Merge: a3542be e314457 | 20:39 |
| ← Mode-M left | 20:40 |
|
Morgon_
| You're saying identify the commit that represents the code line previous to what I want to keep, or to what I want to remove | 20:40 |
|
EugeneKay
| wtf are you trying to do, and what is wrong with rebase | 20:40 |
|
thiago
| Morgon_: which commit don't you want? | 20:40 |
|
Morgon_
| EugeneKay: When I try to rebase, I just get 'noop', so I'm done with that. :) | 20:40 |
|
thiago
| Morgon_: which parent do you want removed? | 20:40 |
|
EugeneKay
| That's the wrong question | 20:41 |
| → scripty joined | 20:41 |
|
EugeneKay
| Your inability to use a command does not mean the command is bad | 20:41 |
| ← scripty left | 20:41 |
|
Morgon_
| I didn't say the command was bad. | 20:41 |
|
| I simply said it wasn't working for my particular situation | 20:41 |
| → thelamest joined | 20:41 |
|
enjoi
| So I have a question.. I have a git repo on github.com -- I have of course the master, then the branches : SideBar, and AboutU -- a developer is working on the branches and he has comiited the stuff, in order for me to 'receive' the work that he has changed, can I just do a git clone command again? | 20:41 |
|
| or do I have to do something else? | 20:41 |
| ← h0bbit left | 20:41 |
|
EugeneKay
| .....which is? Though at this point I don't know that I care - I hate having to beat problems otu of people. Good luck; you'll need it. | 20:41 |
|
enjoi
| I am a bit confused with this, i've read the manual on git, but im still a bit confused here | 20:42 |
| ← dr_ick left | 20:42 |
|
Morgon_
| EugeneKay: I'm fully willing to give you the full rundown if you stop assuming. | 20:42 |
| ← valtido left | 20:42 |
|
EugeneKay
| Morgon_ - you weren't three sentences ago ;-) | 20:42 |
|
| enjoi - did they Fork your github repo? Or did oyu grant them access to push to your repo directly? | 20:42 |
|
enjoi
| I tried doing a git merge command, but it said i didn't have a working trree or soemthing | 20:42 |
|
| um, it is all in our repo | 20:43 |
|
| but he does have a fork too | 20:43 |
|
| but we will call the fork illrelivant for now | 20:43 |
| ← AWinterman left | 20:43 |
|
Morgon_
| thiago: Okay, found it. It was actually a different merge line that I needed to follow. commit 1d3ac2f0f0a10d4bf76042e55abd8c5c2133a0da / Merge: 08cb97f a3542be -- I do NOT want 08cb97f | 20:43 |
| → AWinterman joined | 20:43 |
|
Morgon_
| thiago: It should be noted that a35 doesn't exist in the log. Don't know if that's relevant. | 20:43 |
|
EugeneKay
| Within the Github web UI, you can play with the Pull Request button. They've moved it around lately, so go hunting | 20:43 |
|
thiago
| Morgon_: write: 1d3ac2f0f0a10d4bf76042e55abd8c5c2133a0da a3542be<the rest> | 20:43 |
|
EugeneKay
| Or from your (working copy, not --bare) clone, `git fetch; git merge origin/SomeBranch` while you're on the master branch; then `git push` the result if it looks good. | 20:44 |
| → scripty joined | 20:44 |
|
EugeneKay
| IF the commits are in the other Fork on github, you need to `git remote add somefork <URL>`, then `git fetch somefork`, and proceed ettc | 20:44 |
| ← AWinterman left | 20:45 |
|
EugeneKay
| (Or they can make a Pull Request from their repo to yours via the web UI, which will give you an automerge button, OR you can use the !request refspec hack) | 20:45 |
| → AWinterman joined | 20:45 |
|
Morgon_
| thiago: Oh man. That's the only line I apparently needed! | 20:45 |
|
EugeneKay
| (and of course that's the wrong bot factoid) | 20:45 |
|
enjoi
| so if my github were say http://github.com/development1 and i had a branch AboutU I would do git merge github.com/development1 AboutU? | 20:45 |
|
Morgon_
| Just that single line removes all of the other junk | 20:45 |
|
thiago
| Morgon_: check with git log that the history looks like what it needed to look like | 20:45 |
|
Morgon_
| (Except one small merge, but I'm not going to nitpick) | 20:45 |
| ← tatsuya_o left | 20:46 |
|
thiago
| Morgon_: once you're satisfied, we can make it permanent | 20:46 |
|
Morgon_
| 387 commits. Definitely looks better | 20:46 |
|
EugeneKay
| enjoi - no; fetch from the named remote "origin", which uses that URL. Then `git merge origin/BRANCH`. | 20:46 |
| → tatsuya_o joined | 20:46 |
|
EugeneKay
| When you fetch git keeps a local copy of branches from your repo on github, under the "origin/" namespace(because that's what the default remote is called when you ran `git clone` | 20:46 |
|
enjoi
| ohh I think I see | 20:47 |
| → otc joined | 20:47 |
|
enjoi
| when I used git clone, it kept the url that I cloned from | 20:47 |
|
Morgon_
| thiago: Fantastic. Thank you for all of your help and patience thus far. How do we make this permanent, and does this have the same pitfalls as rebase? (Or will we still be rebasing? heh) | 20:47 |
|
enjoi
| so now from this point forward, I can just use like git fetch | 20:47 |
|
| or so forth, right? | 20:47 |
|
EugeneKay
| Exactly so. | 20:47 |
|
enjoi
| ahhh | 20:47 |
|
| I was missing that part before lol | 20:47 |
|
EugeneKay
| To fetch from a Fork(as github calls them), you need to add additiona lremotes | 20:48 |
|
enjoi
| I did something earlier and wonked it allllll up on the local pc lol | 20:48 |
|
| i was so frustrated | 20:48 |
| → hoschi_ joined | 20:48 |
|
EugeneKay
| Github(through some magic) also exposes Pull Requests(the things in their Issues system) through a special refspec that you can use. !github_pull | 20:48 |
|
gitinfo
| To easily see Github Pull Requests in your local repo, use this fetchspec trick: https://gist.github.com/piscisaureus/3342247 | 20:48 |
|
enjoi
| I had to reclone it and everything | 20:48 |
|
EugeneKay
| I don't doubt it. git is a hard thing to wrap one's head around | 20:48 |
|
enjoi
| hehe | 20:48 |
|
| well practice makes perfect | 20:49 |
|
pekster
| The good news is you can practices as your local repo is entirely "your domain" until you do a push somewhere else | 20:49 |
|
EugeneKay
| Or frustrates you to the point of quitting | 20:49 |
|
enjoi
| (anything with a irc freenode channel has got to be complicated) | 20:49 |
|
| =p | 20:49 |
|
EugeneKay
| But whatever | 20:49 |
| → mechanicalduck joined | 20:49 |
|
enjoi
| nice | 20:49 |
|
thiago
| Morgon_: no rebasing | 20:49 |
|
| Morgon_: to make it permanent, run: git filter-branch --all | 20:50 |
|
enjoi
| that def clears stuff up EugeneKay | 20:50 |
|
| thanks much man :) | 20:50 |
|
EugeneKay
| enjoi - for more reading, try !concepts. It helps. | 20:50 |
|
gitinfo
| enjoi: "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://gitolite.com/gcs/ | 20:50 |
|
thiago
| Morgon_: then delete the server repository, recreate it, push | 20:50 |
|
| Morgon_: once that is done, delete all clones | 20:50 |
| ← mdhopkins left | 20:50 |
|
Morgon_
| thiago: Hrm. One catch... you can't delete 'master' on a github repo, can you | 20:50 |
|
EugeneKay
| You can; change the default branch in the Settings page | 20:51 |
|
Morgon_
| Ah, thank you | 20:51 |
| → vkz joined | 20:51 |
|
EugeneKay
| !master ;-) | 20:52 |
|
gitinfo
| [!master_branch] 'master' is the default name for the first branch commited by git, and it is in no way special. You can just delete it, and use more meaningful names such as 'dev' 'stable' 'unstable' 'bug/001' etc. If this is a bare repo, you will want to change the default branch(`git symbolic-ref HEAD refs/heads/somebranch`) first. | 20:52 |
| → boblu joined | 20:52 |
| → rnsanchez joined | 20:53 |
| → rednaks joined | 20:53 |
|
thiago
| Morgon_: I wouldn't know | 20:53 |
|
| Morgon_: I said delete the repository. | 20:53 |
| → arietis joined | 20:53 |
|
thiago
| Morgon_: then recreate it | 20:53 |
|
Morgon_
| Even branches? | 20:53 |
|
enjoi
| ok, so I did 'git fetch origin SideBar" and I got the result of this " * branch SideBar -> FETCH_HEAD" | 20:53 |
|
thiago
| Morgon_: delete *everything* | 20:53 |
|
enjoi
| so now do I have to merge it or anything? | 20:53 |
|
Morgon_
| Oi. Okay. | 20:53 |
|
enjoi
| in order for the code to come from github to my pc? | 20:53 |
|
thiago
| Morgon_: you've just created new and incompatible branches | 20:53 |
|
EugeneKay
| !fetch4 | 20:53 |
|
gitinfo
| [!fetchfour] We recommend against using 'git fetch/pull <remote> <refspec>' (i.e. with branch argument), because it doesn't update the <remote>/<branch> ref. The easy way to fetch things properly is to get everything: 'git fetch' or 'git pull' are sufficient if you have one remote; otherwise we recommend 'git fetch <remote>' (plus 'git merge <remote>/<branch>' if you wanted to pull/merge). | 20:53 |
|
thiago
| Morgon_: you may want to back up first | 20:53 |
|
EugeneKay
| Just `git fetch origin`; no branch. | 20:53 |
|
enjoi
| ohh | 20:54 |
|
Morgon_
| thiago: I'd say. :P | 20:54 |
|
enjoi
| oops lol | 20:54 |
|
EugeneKay
| Everybody does it | 20:54 |
|
thiago
| Morgon_: delete the repository and all its clones. Create the repository again. Push from your work area. | 20:54 |
|
| Morgon_: when I say "all its clones", I mean ALL. Including those on your colleagues' computers. | 20:54 |
| ← glosoli left | 20:54 |
|
Morgon_
| thiago: Well I'll send an email out about the impending doom. | 20:55 |
| → glosoli joined | 20:55 |
|
Morgon_
| As long as the history is there, it shouldn't be too terribly tragic. | 20:55 |
|
| thiago: Thank you very much for your help. I greatly appreciate it | 20:55 |
|
thiago
| Morgon_: if they forget to delete and push some work, you'll have to do this all over again | 20:56 |
|
enjoi
| ok so. | 20:56 |
|
| I think i did it lol | 20:56 |
|
| I guess ill have to wait and see if my boss says it did or not | 20:57 |
|
| =x | 20:57 |
| ← Gues_____ left | 20:57 |
|
enjoi
| this should be the freakin developers that is developing the sites job | 20:57 |
|
| why i am stuck doing it, beats me lol | 20:57 |
|
| but at least now i have a reason to learn git | 20:57 |
|
pekster
| Don't count on it; I've seen contractors leave things in a really screwed up state before | 20:57 |
|
enjoi
| oh please | 20:58 |
|
| dont get me started lma | 20:58 |
| ← boblu left | 20:58 |
|
enjoi
| I walked into a fucking JUNGLE as a web administrator for this place | 20:58 |
| ← aChatir left | 20:58 |
|
enjoi
| centos 6.4 vps in SHAMBLES | 20:58 |
|
EugeneKay
| Hop in the deep end: swim or drown | 20:58 |
|
enjoi
| yep | 20:58 |
|
| exactly lol | 20:58 |
| ← normanrichards left | 20:58 |
|
pekster
| Smarter companies invest some time into laying out standards and review process for code commits so it doesn't get messy in the first place. Or if it does there's at least someone to blame for it ;) | 20:58 |
|
enjoi
| oh oh oh | 20:59 |
|
| thats me! | 20:59 |
|
| haha | 20:59 |
|
EugeneKay
| yay, irc works on phone now | 20:59 |
|
enjoi
| woot | 20:59 |
|
| using airc? | 20:59 |
| ← hoschi_ left | 20:59 |
| → mdiers joined | 20:59 |
|
pekster
| Start drafting up some standards then :). git (and any VCS really) lets you work in a variety of workflows, but that lets you do "bad things" too (since someone else might want that) | 20:59 |
|
enjoi
| want to know my solution? .... | 21:00 |
|
EugeneKay
| This one https://play.google.com/store/apps/details?id=com.countercultured.irc | 21:00 |
| → boombatower joined | 21:00 |
|
enjoi
| get rid of this shitty box, start fresh | 21:00 |
|
| this way we can actually have a real architechture design | 21:00 |
|
EugeneKay
| I recommend a Linode. They're excellent boxen. | 21:00 |
|
| Lemme guess, PHP? | 21:00 |
|
enjoi
| you're the 3rd to tell me that | 21:00 |
|
| lol | 21:00 |
|
EugeneKay
| Gee, I wonder why | 21:00 |
| → mizu_no_oto joined | 21:00 |
|
enjoi
| can you host multiple domains and such with linode as well? | 21:01 |
| → kesha__ joined | 21:01 |
|
EugeneKay
| Sure, that's your own configuration mostly. | 21:01 |
|
| They have a DNS manager integrated into their panel; works excellently. | 21:02 |
| ← Nicholas_Rishel left | 21:02 |
| ← twoface88 left | 21:02 |
| ← boombatower left | 21:02 |
| → boombatower joined | 21:03 |
| → Cassiel joined | 21:03 |
|
enjoi
| nice | 21:03 |
|
| yeah the first thing I did after establishing root on here was install webmin | 21:04 |
|
| has made life much easier lol | 21:04 |
|
EugeneKay
| Ew :-p | 21:04 |
| → aChatir joined | 21:04 |
|
enjoi
| much better than cpanel | 21:04 |
|
| as long as it is secured properly its a great tool imo | 21:05 |
|
EugeneKay
| Much worse than knowing how to configure a server(or using a config tool like Salt! <3) | 21:05 |
|
enjoi
| I was going to use sendmail right.. | 21:05 |
| ← rfoust left | 21:05 |
|
enjoi
| but no, i have to use shitty Exim | 21:05 |
|
| because the box refuses to let me use sendmail with cpanel | 21:05 |
|
EugeneKay
| wtf and ew | 21:05 |
| ← pdx left | 21:06 |
|
enjoi
| yum install anything, fucks up because of rpmforge (i've fixed it now) | 21:06 |
| ← kesha__ left | 21:06 |
|
enjoi
| but still wants me to use yum-complete-transaction | 21:06 |
|
EugeneKay
| Yup. | 21:06 |
|
enjoi
| for what reason not sure | 21:06 |
|
EugeneKay
| rpmforge is like that. | 21:06 |
| → twoface88 joined | 21:06 |
|
enjoi
| i've done yum clear all, yum-complete-transaction | 21:06 |
|
EugeneKay
| Because you got the yum DB wedged | 21:06 |
|
enjoi
| etc.. | 21:06 |
| → normanrichards joined | 21:07 |
|
enjoi
| ah | 21:07 |
| → pdx joined | 21:07 |
|
enjoi
| I was googling for hours trying to find out why haha | 21:07 |
| → kesha__ joined | 21:07 |
|
enjoi
| I might be giving up this job, its not worth it | 21:08 |
| ← irqq left | 21:08 |
|
EugeneKay
| Nothing wrong with that | 21:09 |
| ← twoface88 left | 21:11 |
| → fostertheweb joined | 21:12 |
|
enjoi
| $2000 (payed at the end) for the following: Manage the VPS, Maintain the urrent source code control system, control and monitor user access to the server, implement security measures to safeguard sensitive data, plan for backup and recovery of database information , maintain archived data, and assist as needed with development for Wordpress | 21:13 |
|
| projects* | 21:13 |
|
| and they are using the living hell out of me... | 21:14 |
| → Roots47 joined | 21:14 |
|
EugeneKay
| Charge hourly; invoice weekly | 21:15 |
|
| devops 4.... wait, no, I don't do that much anymore. Hell yeah. | 21:15 |
| ← matanya left | 21:15 |
| ← kesha__ left | 21:15 |
| ← arietis left | 21:15 |
| → m0ltar joined | 21:16 |
|
cbreak
| 2000... one week of work or so? | 21:16 |
| → fridim__ joined | 21:18 |
|
| EugeneKay snorts | 21:19 |
|
EugeneKay
| "week" | 21:19 |
|
cbreak
| :( | 21:20 |
| → shellH joined | 21:20 |
|
EugeneKay
| :-D | 21:20 |
|
| Of course, I'm stuck in an airport this afternoon. | 21:20 |
|
cbreak
| 2k/week isn't that bad, is it? | 21:20 |
|
thiago
| before or after taxes? | 21:21 |
|
cbreak
| before | 21:22 |
| → JPeterson joined | 21:22 |
|
thiago
| well, it's not as good as after :-) | 21:22 |
|
cbreak
| yeah :/ | 21:23 |
| → m0viefreak joined | 21:23 |
|
cbreak
| it's probably different for everyone, but I pay around 1.5 moths worth of salary per year in direct taxes | 21:23 |
|
| (and then mandatory retirement fund, VAT, ...) | 21:24 |
|
thiago
| 1.5/12 = 12.5% | 21:24 |
|
| that's really nothing | 21:24 |
| MrDHat → MrDHat|offline | 21:24 |
| ← pdx left | 21:24 |
|
enjoi
| lol after taxes of course | 21:24 |
| → enr joined | 21:24 |
|
enjoi
| ind contractor man | 21:24 |
|
| I have to put half of that away for taxes (mainly because I live in CT) | 21:24 |
| → mdhopkins joined | 21:24 |
|
enjoi
| the biggest theives of america | 21:24 |
|
thiago
| how much is the state tax there? | 21:25 |
|
enjoi
| 6.35 I think | 21:25 |
|
thiago
| it's 8.5 here in OR | 21:25 |
|
enjoi
| ouch | 21:25 |
|
| and here I thought we were getting bent over | 21:26 |
|
thiago
| which reminds me... the state revenue service hasn't replied on my tax returns yet | 21:26 |
|
enjoi
| greedy sobs | 21:26 |
|
| EugeneKay, no no | 21:27 |
|
| this is for a couple of months | 21:27 |
|
EugeneKay
| Ouch | 21:28 |
|
enjoi
| yeah | 21:28 |
| ← mribeirodantas left | 21:28 |
|
enjoi
| I did it for my resume though | 21:28 |
| ← enr left | 21:28 |
|
enjoi
| I don't have any college, and I kind of got fucked out of my high school diploma when my sister decided to be a stupd meth head and abandon her 2 kids leaving me to take care of them | 21:29 |
|
| got filed on for 2 counts of truency, etc... jail school sentenced, didnt want to be in jail school cause I couldn't stand it | 21:29 |
|
| had kids, so that put off my GED | 21:29 |
| ← w0ng left | 21:29 |
|
cbreak
| life's so much easier without interacting with people | 21:29 |
|
enjoi
| so any experience i can grab up to put on my resume I do it | 21:29 |
|
cbreak
| -> no kids | 21:29 |
|
enjoi
| yeah, you're right | 21:30 |
| ← mdhopkins left | 21:30 |
| ← AWinterman left | 21:30 |
|
enjoi
| I love my kids to death, I am seperated from the mother now so I have time to study and such | 21:30 |
|
| but it does make life easier | 21:30 |
|
cbreak
| I hope only figurative and not literal death... :) | 21:30 |
|
enjoi
| if I could have them live with me though I would in a heart beat | 21:30 |
|
| lol yeah shes just a bitch ind of deal | 21:31 |
|
| shes still breathing unfortionately | 21:31 |
|
| oops did I say that | 21:31 |
|
| everything I know is all self learned | 21:32 |
|
| i've been a computer junky since I was a young tot, dialing up to get freeware on my dads friends bbs @ 9800 baud | 21:32 |
| → Nicholas_Rishel joined | 21:32 |
|
enjoi
| when it was just unix, dos, or rude-dos | 21:33 |
|
| lol | 21:33 |
| ← iderik left | 21:33 |
| → iderik joined | 21:33 |
|
enjoi
| 386 with a turbo button that does...absolutely nothing! | 21:33 |
|
| I was so excited I was like 8 years old and my mom brought me home an old TRS-80 terminal from her job | 21:34 |
|
| I was like yeahh, can't really do anything with it, but yeahh! | 21:34 |
| ← fostertheweb left | 21:34 |
|
enjoi
| go monochrome color power! | 21:34 |
| → kesha_ joined | 21:34 |
|
enjoi
| hehe | 21:34 |
| → Fernando1asso joined | 21:35 |
|
cbreak
| my first computer had 256 color support :P | 21:35 |
|
enjoi
| Anyone here ever goto the AOL priv chat VB? | 21:35 |
|
| I went back to AOL years later on a trial just so i could do some penn testing on it and I found out they banned the VB rooms | 21:35 |
|
| Which is a big shame, because I as well as many others learned to program there | 21:36 |
| ← danillonunes left | 21:36 |
|
enjoi
| that was like "THE" room to goto if you wanted progs or to learn how to develop progs | 21:36 |
| → mdhopkins joined | 21:36 |
| ← FernandoBasso left | 21:36 |
| Fernando1asso → FernandoBasso | 21:36 |
| ← fridim__ left | 21:37 |
| → AWinterman joined | 21:38 |
| ← scripty left | 21:38 |
| ← mdhopkins left | 21:39 |
| ← m0ltar left | 21:39 |
| ← kesha_ left | 21:39 |
|
enjoi
| any commander keen fans? lol | 21:39 |
|
otc
| I'm old enough to remember it but I wasn't really a fan. | 21:41 |
|
| Preferred Sonic and Mario. | 21:41 |
| → joelpittet joined | 21:42 |
|
enjoi
| Mmm mario | 21:43 |
|
| I still remember that like yesterday | 21:43 |
| → rudak joined | 21:43 |
| ← boombatower left | 21:43 |
| → cads joined | 21:43 |
|
enjoi
| like if you jump over the first pipe after a couple steps you can get your 1up, so no matter how much you screw up you can still play withno game over | 21:43 |
| → boombatower joined | 21:43 |
|
enjoi
| or when you take the ele up forthe level warp | 21:43 |
|
| lol | 21:43 |
|
tkil
| thiago -- fwiw, it turns out that linux-next is substantially rebased every night, so on one hand, it's not a good tree to base work on; on the other hand, it's the tree that greg k-h recommends. | 21:43 |
| ← ology left | 21:44 |
|
tkil
| thiago -- in the end, i ended up cherry-picking the non-applied commits from my original series onto a new branch created off that day's rebase of linux-next. | 21:44 |
| ← pantsman left | 21:44 |
| ← rudak left | 21:45 |
| ← otc left | 21:46 |
| ← boombatower left | 21:46 |
| ← Thra11 left | 21:46 |
| ← rabellamy left | 21:47 |
| ← PeterBooker left | 21:49 |
| → boombatower joined | 21:50 |
| → fostertheweb joined | 21:50 |
| ← boombatower left | 21:50 |
| → boombatower joined | 21:52 |
| ← FernandoBasso left | 21:53 |
| ← aChatir left | 21:53 |
| ← rednaks left | 21:53 |
| → FernandoBasso joined | 21:53 |
| → vince_prignano joined | 21:53 |
|
enjoi
| lol yeah EugeneKay: "The term is effective from 8/12 until 11/29." | 21:53 |
|
| via contract | 21:54 |
| ← boombatower left | 21:54 |
|
enjoi
| rough huh? | 21:54 |
| ← joki left | 21:54 |
|
enjoi
| for $2000?! -- Thats what I get for walking in blind lol | 21:54 |
|
| maybe next time ill tell them I want to see the status of the server first lol | 21:54 |
| → boombatower joined | 21:55 |
| ← iderik left | 21:57 |
| → dr_ick joined | 21:57 |
| ← longbeach left | 21:58 |
| → diegoviola joined | 21:59 |
| ← Dougie187 left | 21:59 |
| ← CheckDavid left | 22:00 |
| → joki joined | 22:01 |
| ← normanrichards left | 22:03 |
| → dreiss joined | 22:04 |
| → superfred joined | 22:06 |
| ← dr_ick left | 22:06 |
| → GT4066 joined | 22:06 |
| ← cedeon left | 22:07 |
| → tplaner joined | 22:07 |
| → iderik joined | 22:08 |
| ← quazimodo left | 22:08 |
| ← joshsmith left | 22:09 |
| ← enjoi left | 22:09 |
| ← flippo left | 22:10 |
| ← AWinterman left | 22:10 |
| ← BiggFREE left | 22:10 |
| ← Vinnie_win left | 22:10 |
| ← maxmanders left | 22:11 |
| ← vigs left | 22:11 |
| → ology joined | 22:11 |
| → tmcmahon joined | 22:11 |
| → Vinnie_win joined | 22:12 |
| ← momomomomo left | 22:12 |
| ← danicampa901 left | 22:12 |
| ← Roots47 left | 22:12 |
| → skiernose joined | 22:13 |
| → fridim__ joined | 22:14 |
| → kesha_ joined | 22:16 |
| ← bmac left | 22:17 |
| → FreezingCold joined | 22:19 |
| ← tmcmahon left | 22:20 |
| → enr joined | 22:24 |
| ← boombatower left | 22:25 |
| → wongon joined | 22:28 |
| ← acharlieh left | 22:28 |
| ← enr left | 22:29 |
| ← kesha_ left | 22:29 |
| ← fostertheweb left | 22:30 |
| → kesha_ joined | 22:30 |
| → fuzzybunny69y joined | 22:31 |
| ← ziddey left | 22:32 |
| → g00s joined | 22:36 |
| → Roots47 joined | 22:37 |
| ← nova_ left | 22:37 |
|
g00s
| hi, is user.email used by git for anything (beside storing in the commit)? if i put some opaque thing in there like a uuid; will it break any functionality in git or github ? | 22:37 |
|
grawity
| It won't break anything... in fact, many repos converted from SVN have user@repo-uuid as the email addresses. | 22:38 |
| → insejn joined | 22:38 |
| ← Guest53096 left | 22:39 |
| → Guest53096 joined | 22:39 |
|
g00s
| grawity ok, thanks. | 22:39 |
| Guest53096 → UukGoblin | 22:39 |
|
grawity
| (I've even seen geniuses who ended up with "Author: mark <mark mark@31f1291d-b8d6-0310-a050-a5561fc1590b@5417fbe8-f217-4b02-8779-1006273d7864>" in their repo, but that's an edge case.) | 22:39 |
|
g00s
| heh | 22:39 |
|
snogglethorpe
| hmm, wait a trs80 is a complete computer... surely you could do something with it... :] | 22:40 |
|
grawity
| although I'm kind of wondering why you would /want/ to put UUIDs there | 22:40 |
| → bmac joined | 22:40 |
|
arand
| Isn't it used by git send-email as well? | 22:40 |
| → ferdev joined | 22:41 |
|
grawity
| It is, as the 'From:' address, but I guess g00s will just use Github pull requests... | 22:41 |
|
g00s
| honestly, i'm thinking about changing my email in a few months and as a noobie, kind of freaking out about using git filter-branch to rewrite history | 22:42 |
|
grawity
| Then don't rewrite it, there's no reason for doing that | 22:42 |
| ← pandeiro left | 22:42 |
|
g00s
| ok | 22:42 |
|
grawity
| If it was your email address at the time of making those old commits, then the history is fine | 22:42 |
| ← kesha_ left | 22:42 |
|
grawity
| g00s: Git sometimes uses the ".mailmap" file to translate old addresses, or to merge duplicates – I think it's described in the manpage of `git shortlog` | 22:43 |
|
| g00s: for example, https://github.com/gitster/git/blob/master/.mailmap or https://github.com/torvalds/linux/blob/master/.mailmap | 22:44 |
|
| I don't think Github uses it yet, though, but you can add multiple email addresses to a Github account anyway | 22:44 |
| → kesha_ joined | 22:44 |
|
g00s
| ok, thanks ! | 22:44 |
|
grawity
| (so both old and new commits can be associated) | 22:44 |
|
| hmm, the mailmap in torvalds/linux is a bit odd | 22:45 |
|
| but the one in gitster/git should work as an example. | 22:45 |
| ← g00s left | 22:46 |
| ← Caritade left | 22:47 |
| ← outcoldman left | 22:48 |
| ← bmac left | 22:55 |
| ← tatsuya_o left | 22:56 |
| → twoface88 joined | 22:56 |
| → TDJACR joined | 22:56 |
| ← kesha_ left | 22:56 |
| → kesha_ joined | 22:58 |
| → rurufufuss joined | 22:59 |
| ← vkz left | 22:59 |
| ← Nicholas_Rishel left | 22:59 |
| → Joshi3s` joined | 23:00 |
| → kcj joined | 23:00 |
| → rednaks joined | 23:00 |
| ← mizu_no_oto left | 23:00 |
| ← gvdm left | 23:00 |
| → gvdm joined | 23:01 |
| → rabellamy joined | 23:02 |
| ← Gatwick left | 23:04 |
| → acharlieh joined | 23:05 |
| ← diegoviola left | 23:06 |
| → ozette joined | 23:06 |
| → elkng joined | 23:07 |
| → bbloom joined | 23:07 |
|
elkng
| why wen I do "wget https://github.com/lhunath/scripts/archive/master.zip" I got file "master" instead of "master.zip" ? | 23:07 |
|
grawity
| 1) not a Git question, 2) because that URL actually redirects to https://codeload.github.com/lhunath/scripts/zip/master (and wget even shows this to you) | 23:08 |
| ← nerdfiles left | 23:09 |
|
grawity
| actually, the second URL has a header with "filename=scripts-master.zip", but wget doesn't understand that one | 23:09 |
| ← OOPMan left | 23:09 |
| ← rnsanchez left | 23:10 |
| → verysoftoiletppr joined | 23:10 |
| → rnsanchez joined | 23:10 |
| ← kesha_ left | 23:11 |
| → kesha_ joined | 23:11 |
| → nerdfiles joined | 23:11 |
| → _Dweller joined | 23:12 |
| ← nerdfiles left | 23:12 |
| ← Roots47 left | 23:13 |
| ← kesha_ left | 23:13 |
| → kesha_ joined | 23:13 |
| → hwrd|work joined | 23:16 |
| ← rnz_ left | 23:16 |
| ← whowantstolivefo left | 23:17 |
| ← kesha_ left | 23:18 |
| ← twoface88 left | 23:21 |
| ← zhost left | 23:23 |
| → twoface88 joined | 23:24 |
| → enr joined | 23:25 |
| ← verysoftoiletppr left | 23:26 |
| ← Tuna-Fish left | 23:26 |
| → otc joined | 23:27 |
| → verysoftoiletppr joined | 23:28 |
| ← verysoftoiletppr left | 23:29 |
| → verysoftoiletppr joined | 23:29 |
| ← hwrd|work left | 23:29 |
| ← enr left | 23:30 |
| → Tuna-Fish joined | 23:30 |
| → joshsmith joined | 23:31 |
| ← kcj left | 23:31 |
| → rabellamy1 joined | 23:32 |
| ← twoface88 left | 23:33 |
| ← leen^| left | 23:33 |
| → normanrichards joined | 23:34 |
| ← rabellamy left | 23:35 |
| → outcoldman joined | 23:38 |
| ← localghost left | 23:38 |
| ← dreiss left | 23:38 |
| ← tinti left | 23:39 |
| ← ozette left | 23:39 |
| ← rabellamy1 left | 23:39 |
| ← vince_prignano left | 23:41 |
| ← Goplat left | 23:42 |
| → Terry_ joined | 23:45 |
| ← normanrichards left | 23:45 |
| ← whaley left | 23:46 |
| → flippo joined | 23:46 |
|
offby1
| lesson: use "curl ... >" instead :) | 23:47 |
| → Goplat joined | 23:48 |
| → Entomo joined | 23:49 |
| ← drizzd left | 23:49 |
| → rnz joined | 23:51 |
| → kcj joined | 23:51 |
| ← shinnya left | 23:51 |
| → fury joined | 23:53 |
| ← TheFuzzball left | 23:53 |
| → coot joined | 23:53 |
|
coot
| Hello, how to change the yellow color in git log output (the color of sha)? | 23:54 |
| → pierre1 joined | 23:55 |
| ← wongon left | 23:56 |
|
elkng
| how that channel differ from #github ? | 23:57 |
| → _iron joined | 23:57 |
|
arand
| coot: I think you'd need to redefine the whole git log --format= | 23:57 |
| → whaley joined | 23:57 |
| ← conan left | 23:58 |
|
coot
| this what I expect after my doc reading and googling ... | 23:58 |
| → terravires joined | 23:59 |