| 2012-11-22 |
|
crocket
| After I delete a hook from ~git/.gitolite/hooks/common and execute "gitolite setup", the symlinks to the hook aren't deleted from gitolite repositories. | 00:00 |
|
| So there are wrong symlinks after then. | 00:00 |
| ← dedis left | 00:02 |
| → devsharpen joined | 00:02 |
| ← schnatta left | 00:03 |
| ← v0n left | 00:04 |
| → Plouj- joined | 00:05 |
| → gitnewb joined | 00:05 |
| ← aruiz left | 00:06 |
| → alunduil joined | 00:07 |
| → ninegrid joined | 00:08 |
| ← giallu left | 00:10 |
| ← opus left | 00:10 |
| → opus joined | 00:11 |
| ← Dweezahr left | 00:11 |
| → Dweezahr joined | 00:12 |
| ← maletor left | 00:12 |
| ← etcetera left | 00:13 |
| ← kerrick left | 00:14 |
| ← shruggar left | 00:14 |
| → etcetera joined | 00:15 |
| ← eijk_ left | 00:17 |
| → rchavik joined | 00:17 |
| ← rchavik left | 00:17 |
| → rchavik joined | 00:17 |
| ← ninegrid left | 00:19 |
| → ninegrid joined | 00:21 |
| → Raydiation joined | 00:21 |
| → JaredMiller joined | 00:23 |
| → chaiz joined | 00:23 |
| ← russt left | 00:23 |
| ← LekeFly left | 00:23 |
| → LekeFly joined | 00:24 |
| ← Linc left | 00:26 |
| ← juril left | 00:28 |
| ← tbrock left | 00:28 |
| ← Arokh left | 00:29 |
| → russt joined | 00:29 |
|
EugeneKay
| Yes, this is by design. Otherwise gitolite would remove any repo-specific hooks you may have added. | 00:30 |
|
| Something like "find repositories/ -type d -name "*.git" -exec rm {}/hooks/foohook \;" will clean up the hook you're trying to get rid of | 00:30 |
| ← ninegrid left | 00:32 |
|
EugeneKay
| I use a custom hook-calling-hook in combination with a config variable, hooks.FooHook.SubHookName, to choose what hooks to execute on a per-repo basis. | 00:32 |
| ← LekeFly left | 00:33 |
| → acl_ joined | 00:33 |
| ← d2dchat left | 00:33 |
| → alvarezp joined | 00:34 |
| ← Synthead left | 00:34 |
| ← hyperair left | 00:35 |
| ← hwrd|work left | 00:35 |
| ← myx left | 00:36 |
| → p3rror joined | 00:36 |
| ← eletuchy left | 00:36 |
| ← e66 left | 00:37 |
|
alvarezp
| Hi guys. I have two files that usually have the same content, but it's not mandatory. I usually do a diff between the two and create a file with the diff and commit diff along with the content into git. However, when I see the patch in gitweb I see the diff all green. This is expected, of course, but not so useful. Do you know if git provides some tool to get around this? | 00:39 |
|
FauxFaux
| Why are you committing the diff, and not the two files seperately..? | 00:39 |
|
alvarezp
| FauxFaux, because I want to see the diff in gitweb. I'm not tracking code, I'm tracking text-based configs. I collect them once in a while. Two files should (but not must) be the same, and you know the rest. | 00:41 |
|
| FauxFaux, so I subscribe to the gitweb RSS feed and monitor for config changes. | 00:41 |
|
| FauxFaux, oh, and yes, I'm also committing both files separately. | 00:42 |
| ← RaceCondition left | 00:42 |
| ← Dweezahr left | 00:43 |
| → Dweezahr joined | 00:43 |
|
alvarezp
| Maybe what I'm looking for is some option in gitweb to always include a diff for the two files instead of committing the diff itself to the repo. | 00:45 |
|
FauxFaux
| gitweb can do diffs.. | 00:45 |
|
RandalSchwartz
| cgit is prettier | 00:45 |
|
| and far faster | 00:45 |
| → jttam joined | 00:46 |
|
alvarezp
| gitweb does diffs, but only between commits, not between files in the same commit. | 00:47 |
| → tbrock joined | 00:47 |
| ← etcetera left | 00:47 |
|
RandalSchwartz
| yeah, I don't know anything that does diffs between files in a tree | 00:48 |
| ← jttam left | 00:50 |
| ← fisted left | 00:50 |
|
FauxFaux
| Mmm, I thought gitweb could do it, but I can't find it. | 00:52 |
| ← wheezl left | 00:53 |
|
alvarezp
| I'm finding it's not hookable either, am I correct? | 00:54 |
|
| RandalSchwartz, is cgit hookable? | 00:54 |
|
RandalSchwartz
| not sure | 00:55 |
|
| there's some customization | 00:55 |
|
| keep in mind cgit isn't gitolite | 00:55 |
|
| it's a viewer | 00:55 |
|
| so I don't know what "hookable" means there | 00:55 |
|
| cgit is closer to gitweb | 00:55 |
|
| at $previous_client, I deployed a major gitolite + cgit setup | 00:56 |
| ← Thra11_ left | 00:57 |
| ← _Vi left | 00:59 |
| → vmiklos joined | 00:59 |
|
FauxFaux
| The interenet seems to think blobdiff can do it, but I can't work it out from the code. | 00:59 |
| ← tbrock left | 01:00 |
|
| FauxFaux goes to bed, as per half an hour ago's plan. | 01:00 |
|
alvarezp
| FauxFaux, good nite. Thanks for the help. | 01:00 |
| → maletor joined | 01:02 |
| → pfFred joined | 01:02 |
| → dougsland joined | 01:04 |
| ← dougsland left | 01:04 |
| → dougsland joined | 01:04 |
| ← opus left | 01:05 |
| ← pfFredd left | 01:05 |
| → noyb joined | 01:05 |
|
alvarezp
| Maybe if I hook "git diff" to show something more that really exists and "git pre-commit" to filter the phantom diff out just in case it wants to go back in... Not sure if that is hookable, though. | 01:05 |
| → eletuchy joined | 01:07 |
| ← pfFred left | 01:08 |
| ← Dweezahr left | 01:10 |
| → Dweezahr joined | 01:11 |
| ← thiago left | 01:12 |
| → _Vi joined | 01:12 |
| → LucasTizma joined | 01:12 |
| ← maletor left | 01:13 |
| ← setmeaway left | 01:14 |
| → kerrick joined | 01:15 |
| ← eletuchy left | 01:16 |
| ← Bootstrapper left | 01:16 |
| → hyperair joined | 01:20 |
| ← Dweezahr left | 01:21 |
| → Dweezahr joined | 01:21 |
| → xiangfu joined | 01:22 |
| ← beagleDude left | 01:23 |
| → nitrix joined | 01:24 |
| → mikepack joined | 01:25 |
| → AaronMT joined | 01:26 |
| → dermoth_ joined | 01:26 |
| ← AaronMT left | 01:26 |
| ← infynyxx left | 01:27 |
| ← ShadeTornado left | 01:27 |
| → AaronMT joined | 01:28 |
| ← kenperkins left | 01:33 |
| → archdori joined | 01:33 |
| → infynyxx joined | 01:33 |
| → flippo joined | 01:34 |
| ← nitrix left | 01:35 |
| → GeertB joined | 01:37 |
| ← daniel_- left | 01:38 |
| → etcetera joined | 01:41 |
| → hwrd|work joined | 01:42 |
| → eletuchy joined | 01:43 |
| → revyd joined | 01:44 |
| → jhutson456_ joined | 01:45 |
| → volante joined | 01:48 |
| ← OOP_Man left | 01:49 |
| ← alexim left | 01:50 |
|
volante
| anyone noticed on mac ports that 'git log --grep' doesnt seem to support extended regex or PCRE? any way i can fix that? | 01:51 |
| → OOP_Man joined | 01:52 |
| ← noyb left | 01:53 |
| ← eletuchy left | 01:53 |
|
SethRobertson
| Well, I thought it supported -P. I guess not | 01:53 |
| → jdunck joined | 01:54 |
|
volante
| oh, when i put -E my pattern works | 01:55 |
|
| thats good t hen | 01:55 |
| → cyphase joined | 01:57 |
| ← mikepack left | 01:57 |
| → v0n joined | 01:59 |
| ← _Vi left | 01:59 |
|
volante
| is there a way for git log --grep to only apply its grep to the first line of the commit msg? | 02:00 |
| → kenperkins joined | 02:03 |
| ← nsanden left | 02:03 |
| → setmeaway joined | 02:03 |
| → SaCu joined | 02:03 |
| → fisted joined | 02:05 |
| → luc_ joined | 02:05 |
| → jdyin joined | 02:10 |
| ← tvw left | 02:10 |
| ← v0n left | 02:15 |
| → _Vi joined | 02:16 |
| ← etcetera left | 02:17 |
| ← Goles left | 02:18 |
| ← maqr left | 02:19 |
| ← Davey left | 02:19 |
| → eletuchy joined | 02:19 |
| ← davidbanham left | 02:19 |
| ← Raydiation left | 02:24 |
| → timj joined | 02:26 |
| → intripoon joined | 02:26 |
| → tmcmahon joined | 02:27 |
| ← dreiss left | 02:28 |
| → osmosis joined | 02:29 |
| → ninegrid joined | 02:29 |
| → eletuchy_ joined | 02:30 |
| ← devsharpen left | 02:30 |
| ← eletuchy left | 02:30 |
| ← hwrd|work left | 02:31 |
| ← dorkmafia left | 02:31 |
| → docai joined | 02:31 |
| ← kukks left | 02:33 |
| ← TeamColtra left | 02:35 |
| → thiago joined | 02:36 |
| → Bass10 joined | 02:40 |
| → archdori_ joined | 02:43 |
| → relipse joined | 02:43 |
| ← p3rror left | 02:46 |
| ← archdori left | 02:46 |
| → amiller joined | 02:49 |
| → Tommy[D] joined | 02:50 |
| → davidbanham joined | 02:50 |
| → bubbles10101 joined | 02:51 |
| → Vampire0 joined | 02:51 |
| → thinkdevcode joined | 02:53 |
| → Bombe joined | 02:56 |
| → Goles joined | 02:56 |
| → maqr joined | 02:57 |
| ← davidbanham left | 02:58 |
| ← senj left | 02:59 |
| ← _Vi left | 03:00 |
| → jackh joined | 03:00 |
| ← amiller left | 03:03 |
| ← sideone left | 03:05 |
| → Guest79895 joined | 03:07 |
| → jroc joined | 03:09 |
| → jcromartie joined | 03:10 |
| ← kerrick left | 03:11 |
| ← cybersphinx left | 03:11 |
| → davidbanham joined | 03:11 |
| ← jackh left | 03:13 |
| ← maqr left | 03:15 |
| → TeamColtra joined | 03:15 |
| ← ehsan left | 03:16 |
| → _Vi joined | 03:16 |
| → raek joined | 03:17 |
| → xpen joined | 03:17 |
| → skyf joined | 03:22 |
| → hwrd|work joined | 03:25 |
| ← skyf left | 03:27 |
| ← AaronMT left | 03:27 |
| → frogonwheels joined | 03:28 |
| ← frogonwheels left | 03:30 |
| → frogonwheels joined | 03:30 |
| → Chib joined | 03:31 |
| ← hwrd|work left | 03:32 |
| → riker2000 joined | 03:33 |
| ← madewokherd left | 03:35 |
| ← spiderweb left | 03:36 |
| ← Dreamer3 left | 03:36 |
| → madewokherd joined | 03:37 |
| ← SaCu left | 03:38 |
| ← Roots left | 03:39 |
| → SaCu joined | 03:39 |
| ← OOP_Man left | 03:40 |
| → nsanden joined | 03:40 |
| ← guampa left | 03:41 |
| → pheaver joined | 03:41 |
| ← nsanden left | 03:42 |
| → dhruvasagar joined | 03:43 |
| → archdori joined | 03:43 |
| → minusthetiger_ joined | 03:46 |
| ← archdori_ left | 03:47 |
| → relipse2 joined | 03:47 |
| → chuckharmston joined | 03:48 |
| ← relipse left | 03:49 |
| → wheezl joined | 03:49 |
| ← aristidesfl left | 03:50 |
| ← virako left | 03:55 |
| → virako joined | 03:56 |
| ← alvarezp left | 03:57 |
| ← Guest79895 left | 03:58 |
| → noyb joined | 03:59 |
| → Bootstrapper joined | 04:00 |
| → PCChris joined | 04:05 |
| ← Bootstrapper left | 04:06 |
| ← SBoudrias left | 04:08 |
| ← chuckharmston left | 04:08 |
| → hwrd|work joined | 04:10 |
| ← hwrd|work left | 04:10 |
| → ehsan joined | 04:11 |
| → chuckharmston joined | 04:11 |
| → Tegi joined | 04:11 |
| ← BadProphet left | 04:13 |
| → a-l-e joined | 04:13 |
| ← chuckharmston left | 04:14 |
|
spyro
| So I heard the canadians got their emergency syrup back | 04:19 |
| ← JoeAngel_ left | 04:19 |
| ← wheezl left | 04:21 |
| ← fisted left | 04:21 |
| ← Cassiel left | 04:22 |
| → Cassiel joined | 04:23 |
| ← virako left | 04:27 |
| → virako joined | 04:28 |
| ← jcromartie left | 04:29 |
| ← tmcmahon left | 04:30 |
| → blathijs joined | 04:31 |
| → gittish joined | 04:32 |
| ← icio left | 04:34 |
| ← TeamColtra left | 04:34 |
| ← Tommy[D] left | 04:34 |
| ← LucasTizma left | 04:34 |
| → woky joined | 04:35 |
| → delirium joined | 04:35 |
| → Tommy[D] joined | 04:35 |
| → skorgon joined | 04:35 |
| → EugeneKay joined | 04:36 |
| → gary_golden joined | 04:37 |
| → iamjarvo joined | 04:38 |
| → beautifulmind joined | 04:40 |
| ← chaiz left | 04:42 |
| → maqr joined | 04:42 |
| → jcromartie joined | 04:43 |
| ← jroc left | 04:43 |
| → BadProphet joined | 04:44 |
| → acrocity_ joined | 04:45 |
| ← Destos left | 04:45 |
| ← jdunck left | 04:45 |
| → Parhs8 joined | 04:46 |
| ← wbednarski left | 04:46 |
| ← infynyxx left | 04:46 |
| → dorkmafia joined | 04:47 |
| acrocity_ → acrocity | 04:47 |
| ← jcromartie left | 04:50 |
| → Dreamer3 joined | 04:52 |
| ← Parhs8 left | 04:52 |
| ← BadProphet left | 04:54 |
| ← osmosis left | 04:55 |
| ← relipse2 left | 04:55 |
| → relipse joined | 04:55 |
| → Sigma joined | 04:56 |
|
relipse
| is there a way to do git commit and ftp all the files that were staged all in one script? | 04:56 |
| → duncanm joined | 04:57 |
|
DrPoole
| yes but ... i'd reconsider that choice. | 04:57 |
|
| !deploy | 04:57 |
|
gitinfo
| Git is not a deployment tool. You can build one around it for simple environments. http://sitaramc.github.com/the-list-and-irc/deploy.html | 04:57 |
|
DrPoole
| or something | 04:57 |
|
| DrPoole & fist pump | 04:57 |
|
DrPoole
| why ftp it? why not push it from git to a remote? | 04:57 |
| → milleja46 joined | 04:58 |
| → pretty_function joined | 04:58 |
| → doki_pen joined | 04:59 |
| → macrover joined | 05:00 |
| ← _Vi left | 05:00 |
| ← milleja46 left | 05:02 |
| → milleja46 joined | 05:02 |
| ← gitnewb left | 05:03 |
| ← minusthetiger_ left | 05:03 |
| → miyaken joined | 05:03 |
| → Caelum joined | 05:05 |
| → rurufufuss joined | 05:06 |
| → private joined | 05:08 |
| private → Guest23361 | 05:09 |
| → manchicken joined | 05:09 |
| → Febul joined | 05:09 |
|
manchicken
| Hey all, I have a question about version control in git: so I have my own site version controlled in git, but I want to be able to detach cakephp from my application so that when updates come I can update CakePHP independently from my code, and then fix any issues which arise. Do I need to write scripts to check them out into separate working directories and then symlink them over, or should I fork cakephp and just put my changes into my fork, o | 05:10 |
|
| something else? | 05:10 |
|
relipse
| drpoole my webserver i'm not sure i can get git on there | 05:10 |
| → Linc joined | 05:12 |
| ← dermoth_ left | 05:12 |
| ← Sigma left | 05:12 |
| → dermoth_ joined | 05:13 |
| ← davidbanham left | 05:14 |
| → davidbanham joined | 05:14 |
| ← duncanm left | 05:17 |
|
Febul
| What's the difference between "git init" and "git init --bare" ? | 05:17 |
| → nitrix joined | 05:17 |
| → _Vi joined | 05:17 |
| ← milleja46 left | 05:18 |
| → duncanm joined | 05:18 |
| → smw_ joined | 05:18 |
| smw_ → smw | 05:19 |
| → milleja46 joined | 05:19 |
|
EugeneKay
| Febul - !bare | 05:19 |
|
gitinfo
| Febul: an explanation of bare and non-bare repositories (and why pushing to a non-bare one causes problems) can be found here: http://bare-vs-nonbare.gitrecipes.de/ | 05:19 |
| → longbeach joined | 05:19 |
|
Febul
| Thanks | 05:19 |
| → BadProphet joined | 05:20 |
| ← macrover left | 05:21 |
|
Febul
| Is it possible to have someone check out to a git repository on my computer and make changes to the repository? | 05:23 |
|
| check out remotely* | 05:24 |
|
EugeneKay
| No. They must clone it. | 05:25 |
|
| You can have them send you a patch against a tarball of the repo, but that is not within git's knowledge. | 05:25 |
| → hafeez3000 joined | 05:26 |
| ← miyaken left | 05:27 |
|
BryanRuiz
| how do you list the branches available? | 05:28 |
|
EugeneKay
| man git-branch | 05:28 |
|
gitinfo
| the git-branch manpage is available at http://jk.gs/git-branch.html | 05:28 |
|
BryanRuiz
| tx EugeneKay | 05:28 |
|
EugeneKay
| You're probably looking for the -a flag, which will include remote branches which you have not yet created locally(git checkout foo) | 05:28 |
| → tdowg12 joined | 05:28 |
|
Febul
| A friend and I want to work on a project. We are in different locations, and want a VCS that'll allow us to make individual changes and get each others updates. What do you suggest I use? | 05:29 |
|
BryanRuiz
| lol | 05:29 |
|
| git | 05:29 |
|
EugeneKay
| git is excellent for that, especially in concert with a central repository somewhere. | 05:29 |
|
Febul
| You said that my friend would have to clone the repo though. | 05:30 |
|
| And then submit a patch. | 05:30 |
|
EugeneKay
| No, I said he could clone it OR submit a patch | 05:30 |
|
Febul
| Instead of simply committing his changes to the repo. | 05:30 |
|
frogonwheels
| Febul: It is possible to work with you pulling data from their repository, you're much better off using a central repo. !gitolite works well. | 05:30 |
|
gitinfo
| Febul: Want to host as many git repos (and users!) as you like, on your own server, with fine-grained access control? You want gitolite: https://github.com/sitaramc/gitolite - Documentation: http://sitaramc.github.com/gitolite/master-toc.html | 05:30 |
|
EugeneKay
| Those are two separate workflows | 05:30 |
|
| He makes a clone of the repo, then pushes/pulls to a repo somewhere which you can also push/pull from/to. Or you can pull from each other. | 05:30 |
|
frogonwheels
| Febul: That's how git works. You clone the repo (it's very efficient) and work on it - then push/pull otherwise sync changes | 05:30 |
|
Febul
| Ah, alright. | 05:31 |
|
frogonwheels
| Febul: For eg - the crud that svn puts in your working directory under a multitude of .svn directories is often more than the whole clone git repo (under .git) | 05:31 |
|
Febul
| Is this possible without a central repository? | 05:32 |
| ← BadProphet left | 05:33 |
|
frogonwheels
| Febul: see my comment | 05:33 |
|
EugeneKay
| Yes, but it's a bit more challenging because you must both be online at once to fetch from each other | 05:33 |
|
| You /can/ use git-bundle to send stuff between repos, but it's.... difficult. | 05:33 |
|
| (via email) | 05:33 |
|
| If cost is a problem(and you don't have a cheap VPS to use to host gitolite), then bitbucket's free tier may be an option for private projects. | 05:34 |
|
frogonwheels
| Febul: there are many options. As i said, you _can_ pull from their repo | 05:34 |
|
Febul
| Well I have a VPS. I'll just attempt to create a central repository on it. | 05:34 |
|
EugeneKay
| Well there you go. Use gitolite. Really. It's easier. | 05:34 |
|
frogonwheels
| Febul: should be easy enough .. just use gitolite - | 05:35 |
|
Febul
| I'll look into gitolite, but I'm curious as to how I go about doing it without it. | 05:35 |
|
EugeneKay
| git init --shared=group and filesystem permissions | 05:36 |
|
| not terribly elegant or scalable | 05:36 |
|
Febul
| What are the disadvantages to that? | 05:36 |
|
EugeneKay
| They're covered in the gitolite Why? doc | 05:37 |
|
Febul
| I'll check it out. Thank you. | 05:37 |
| → infynyxx joined | 05:37 |
| ← bubbles10101 left | 05:38 |
| ← tdowg12 left | 05:39 |
| → andres_f joined | 05:41 |
| ← dhruvasagar left | 05:44 |
| ← hafeez3000 left | 05:45 |
| → Gentlecat joined | 05:48 |
| ← m0viefreak left | 05:50 |
| → qmanjr5 joined | 05:50 |
| → hafeez3000 joined | 05:52 |
| ← nitrix left | 05:52 |
| → segv_ joined | 05:52 |
| → nafg joined | 05:53 |
| ← Goles left | 05:54 |
| → blurrr joined | 05:54 |
| → ahri_ joined | 05:54 |
| ahri_ → Guest10485 | 05:55 |
| ← andres_f left | 05:55 |
| ← blurrr left | 05:56 |
| → blurrr joined | 05:57 |
|
qmanjr5
| Is it possible to change the symbols Git uses for the Bash information? | 05:57 |
|
EugeneKay
| Sure. Copy the bash script and edit it as you like | 05:57 |
| ← o] left | 05:58 |
|
qmanjr5
| Which script is it? | 05:58 |
| → relipse2 joined | 05:58 |
| ← noyb left | 05:58 |
| → o] joined | 05:59 |
| → BadProphet joined | 05:59 |
| ← _Vi left | 06:01 |
| → andres_f joined | 06:01 |
| → laurav joined | 06:01 |
| → Arokh joined | 06:02 |
| ← relipse left | 06:02 |
| ← hafeez3000 left | 06:02 |
|
Febul
| I'm on an Ubuntu VPS. How do I go about properly creating the user for gito-lite? | 06:02 |
| → Goles joined | 06:03 |
| → hafeez3000 joined | 06:05 |
| ← laurav left | 06:06 |
| → JohnBat26 joined | 06:07 |
|
qmanjr5
| EugeneKay: The script I have is in my .bashrc file, and it calls __git_ps1, a function which isn't set in the .bashrc file. | 06:07 |
|
EugeneKay
| I honestly have no idea where it's kept. /usr/share/git perhaps | 06:08 |
|
| I wrote my ps1 script myself ;-) | 06:08 |
|
qmanjr5
| I see. | 06:10 |
| ← blurrr left | 06:11 |
| ← BadProphet left | 06:11 |
| → blurrr joined | 06:12 |
| ← Goles left | 06:14 |
| ← BryanRuiz left | 06:15 |
| → chuckharmston joined | 06:15 |
| → shreya joined | 06:15 |
| → _Vi joined | 06:18 |
| → BiggFREE joined | 06:19 |
| → diegoviola joined | 06:21 |
| ← Arokh left | 06:23 |
| ← beautifulmind left | 06:23 |
| → irqq joined | 06:23 |
| ← thelodger left | 06:24 |
| ← relipse2 left | 06:26 |
| → Tabmow joined | 06:28 |
| → chaiz joined | 06:29 |
| → beautifulmind joined | 06:32 |
| → unreal joined | 06:33 |
| → etcetera joined | 06:34 |
| ← hafeez3000 left | 06:35 |
| → tewecske joined | 06:35 |
| → hafeez3000 joined | 06:36 |
| ← BiggFREE left | 06:38 |
| → BadProphet joined | 06:39 |
| → shruggar joined | 06:40 |
| ← fuzzybunny69y left | 06:40 |
| ← beautifulmind left | 06:43 |
| → fuzzybunny69y joined | 06:45 |
| → soee joined | 06:46 |
| ← gittish left | 06:47 |
| ← hafeez3000 left | 06:48 |
| → fisted joined | 06:49 |
| → ThomasLocke joined | 06:50 |
| → hafeez3000 joined | 06:51 |
| ← BadProphet left | 06:52 |
|
cmn
| qmanjr5: if you installed via your package manager, it's in the same place as the completion scripts, /etc/bash_completion.d | 06:52 |
| → caseymcg joined | 06:56 |
| → eph3meral joined | 06:57 |
| ← xiangfu left | 06:59 |
| → pantsman joined | 07:00 |
| ← pantsman left | 07:00 |
| → pantsman joined | 07:00 |
| ← acl_ left | 07:04 |
| ← shruggar left | 07:05 |
| → mikepack joined | 07:05 |
| → RaceCondition joined | 07:05 |
| ← volante left | 07:06 |
| → laurav joined | 07:07 |
| ← etcetera left | 07:09 |
| ← chuckharmston left | 07:10 |
| ← sgambino left | 07:10 |
| → tjadc joined | 07:13 |
| → marthinal joined | 07:14 |
| ← Bass10 left | 07:17 |
| ← Cassiel left | 07:17 |
| ← Gx4ff left | 07:18 |
| ← fuzzybunny69y left | 07:18 |
| → BadProphet joined | 07:18 |
| ← GeertB left | 07:18 |
| → fuzzybunny69y joined | 07:19 |
| → Cassiel joined | 07:19 |
| ← fuzzybunny69y left | 07:20 |
| → Bass10 joined | 07:21 |
| ← laurav left | 07:21 |
| → cbreak-work joined | 07:22 |
| → papegaaij joined | 07:22 |
| → kennethreitz joined | 07:22 |
| → Goles joined | 07:24 |
| → glennpratt joined | 07:27 |
| → martinjlowm-lapt joined | 07:28 |
| ← Goles left | 07:29 |
| → dreiss joined | 07:29 |
| ← madewokherd left | 07:30 |
| → mmc joined | 07:31 |
| → dhruvasagar joined | 07:31 |
| → luc__ joined | 07:32 |
| → flijten joined | 07:32 |
| → fsvehla joined | 07:32 |
| ← BadProphet left | 07:32 |
| ← luc_ left | 07:33 |
| → arvind_khadri joined | 07:34 |
| → OOPMan joined | 07:34 |
| ← Bass10 left | 07:35 |
| → laurav joined | 07:35 |
| ← davidbanham left | 07:36 |
| ← Febul left | 07:38 |
| ← glennpratt left | 07:39 |
| → hotovson joined | 07:39 |
| → AdmiralSausage joined | 07:40 |
| ← AdmiralSausage left | 07:40 |
| → kerrick joined | 07:42 |
| ← irqq left | 07:42 |
| ← imrobert left | 07:42 |
| → xxc_michael joined | 07:42 |
| ← mmc left | 07:44 |
| → harrylynes joined | 07:45 |
| → mishok13 joined | 07:45 |
| → dpino joined | 07:46 |
| → rath-work joined | 07:48 |
| → hwrd|work joined | 07:49 |
| ← bauruine left | 07:50 |
| ← harrylynes left | 07:50 |
| ← |Freeman| left | 07:50 |
| → G0re2 joined | 07:50 |
| → tPl0ch joined | 07:53 |
| → rob_w joined | 07:58 |
| → BadProphet joined | 07:58 |
| → whitman joined | 07:59 |
| ← blurrr left | 08:00 |
| ← dreiss left | 08:01 |
| ← chaiz left | 08:02 |
| ← _Vi left | 08:02 |
| ← PaulCape_ left | 08:04 |
| → adamben joined | 08:05 |
| ← adamben left | 08:05 |
| → adamben joined | 08:05 |
| ← srji left | 08:05 |
| → suy joined | 08:05 |
| → davidbanham joined | 08:07 |
| ← archdori left | 08:08 |
| → booginga joined | 08:08 |
| → timj1 joined | 08:10 |
| ← o] left | 08:10 |
| → o] joined | 08:11 |
| ← BadProphet left | 08:12 |
| → ISF joined | 08:12 |
| → aisbaa joined | 08:12 |
| ← timj left | 08:13 |
| → Parhs joined | 08:15 |
| ← Parhs left | 08:15 |
| → Parhs joined | 08:15 |
| → BiggFREE joined | 08:16 |
| → saju_m joined | 08:17 |
| ← BiggFREE left | 08:17 |
| → blurrr joined | 08:17 |
| → zeppo joined | 08:18 |
| → _Vi joined | 08:19 |
| → __class__ joined | 08:19 |
| → jargon joined | 08:20 |
| ← G0re2 left | 08:22 |
| → dc5ala joined | 08:24 |
| ← davidbanham left | 08:24 |
| → davidbanham joined | 08:24 |
| → letharion joined | 08:24 |
| → legnaleurc_ joined | 08:26 |
| → JoeAngel_ joined | 08:26 |
| ← legnaleurc left | 08:26 |
| ← TomWij left | 08:27 |
| → TomWij_ joined | 08:27 |
| → BiggFREE joined | 08:27 |
| → svetlyak40wt joined | 08:28 |
| ← kerrick left | 08:29 |
| → tsdh joined | 08:29 |
| → eijk joined | 08:29 |
| ← Goplat left | 08:30 |
| → afuentes joined | 08:31 |
| → jceb joined | 08:32 |
| ← Sky[x] left | 08:33 |
| → BadProphet joined | 08:35 |
| ← nafg left | 08:38 |
| ← pheaver left | 08:38 |
| → Sigma joined | 08:39 |
| ← jjang left | 08:39 |
| → jlopez joined | 08:39 |
| → h0bbit joined | 08:41 |
| ← mishok13 left | 08:41 |
| ← dorkmafia left | 08:43 |
| ← pantsman left | 08:43 |
| ← thiago left | 08:43 |
| → berserkr joined | 08:45 |
| ← hwrd|work left | 08:45 |
| ← hafeez3000 left | 08:48 |
| → kerrick joined | 08:49 |
| → nafg_ joined | 08:49 |
| ← delirium left | 08:51 |
| → resmo joined | 08:51 |
| → robotmay joined | 08:51 |
| ← robotmay left | 08:52 |
| ← Sigma left | 08:53 |
| ← nafg_ left | 08:54 |
| ← mikepack left | 08:56 |
| whitman → whitman_ | 08:58 |
| → TheHaven joined | 08:58 |
| → shruggar joined | 08:58 |
| whitman_ → whitman | 09:01 |
| ← _Vi left | 09:02 |
| → LimeBlast joined | 09:03 |
| ← maqr left | 09:04 |
| → hafeez3000 joined | 09:04 |
| → zenx joined | 09:05 |
| whitman → whitman_ | 09:06 |
| → mishok13 joined | 09:06 |
| ← Vile left | 09:07 |
| whitman_ → whitman | 09:08 |
| → chussenot joined | 09:08 |
| → Eclesia joined | 09:10 |
|
Eclesia
| hi | 09:10 |
| → Element9 joined | 09:10 |
| whitman → whitman_ | 09:11 |
| → marc_kdab joined | 09:11 |
| → mlb- joined | 09:11 |
|
Eclesia
| question : how can I pull all changes from the server, all commits AND new branchs ? | 09:11 |
|
EugeneKay
| you fetch refs, which are tags and branches. These point to commits | 09:12 |
| → psoo joined | 09:12 |
| whitman_ → whitman | 09:12 |
|
Eclesia
| EugeneKay: one fetch for each branch ? | 09:13 |
|
EugeneKay
| If you haven't mucked with your fetchspec since creating the remote, 'git fetch $REMOTE' will fetch branches for $REMOTE | 09:13 |
|
| No, one fetch will cover all branches on that remote. | 09:13 |
|
| If you want the tags you will also need to use 'git fetch --tags $REMOTE' | 09:13 |
| → alkino joined | 09:14 |
| → mmc joined | 09:14 |
|
eph3meral
| is there any reasonably simple way (one command-ish?) to reset a file on a branch to the state it was in just prior to branching? that is, undo all the changes to a file done on a current branch? | 09:14 |
|
| instead of fast-forward, I want a rewind | 09:14 |
|
| a rewind to where my branch split off from master | 09:15 |
|
sajbar
| eph3meral: you want the version from master? | 09:15 |
|
eph3meral
| I mean I figure I suppose I can lookup the exact commit numbers and do a manual e.g. git checkout somefile.foo COMMITHASHHERE | 09:15 |
|
EugeneKay
| Yes. 'git checkout $COMMIT -- foo/bar' | 09:15 |
|
eph3meral
| sajbar: yeah I've been contemplating just doing it by hand, like copy paste style | 09:16 |
|
Eclesia
| eph3meral: hg update thefile -r wantedrevision ... (for mercurial) | 09:16 |
|
EugeneKay
| You /could/ use merge-base to find the point where it was branched off, but it's usually easier to just peek at the !lol really quck. | 09:16 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 09:16 |
|
eph3meral
| but I'd rather rewind/revert any commits I've made rather than making yet another commit over the top of my changes | 09:16 |
|
EugeneKay
| Use the --hard flavor of !reset | 09:16 |
|
gitinfo
| A good resource explaining git-reset is http://git-scm.com/2011/07/11/reset.html | 09:16 |
|
EugeneKay
| Gah, damn bot. !resets | 09:17 |
|
gitinfo
| tl;dr of man git-reset: --soft moves HEAD, --mixed moves HEAD+index, --hard moves HEAD+index+work-tree, -- foo.txt will !unstage | 09:17 |
| → skul joined | 09:17 |
| → orafu joined | 09:17 |
|
eph3meral
| EugeneKay: well I don't want to lose other changes in this branch, just one or two files | 09:17 |
| → Cromulent joined | 09:17 |
|
EugeneKay
| Then you'll need to make a new commit from where you are | 09:17 |
| ← oojacoboo left | 09:18 |
|
eph3meral
| ah ok | 09:18 |
| ← eletuchy_ left | 09:18 |
|
eph3meral
| I might just merge my changes in to a new branch by hand, one that doesn't have those two files | 09:18 |
|
| or rather, that has not changed those two files | 09:18 |
| → eletuchy joined | 09:19 |
| → _Vi joined | 09:19 |
|
EugeneKay
| If it's an unmerged topic branch you can reset --soft back, create a new branch, and then checkout everything except the file(s) you want to keep. | 09:19 |
|
| Actually, I guess u don't need to create the new branch. I need liquor. | 09:19 |
|
| s/u/you | 09:19 |
|
| I also can't typpe. | 09:19 |
| → eletuchy_ joined | 09:20 |
| → mentero joined | 09:20 |
|
eph3meral
| heh | 09:21 |
|
| I will probably need liquor in about 12 hours :) | 09:21 |
|
EugeneKay
| Relevant: http://eugenekay.com/img/codingdrunk.jpg | 09:22 |
|
| Wait, that one's a png | 09:22 |
|
| http://eugenekay.com/img/codingdrunk.png | 09:22 |
| ← saju_m left | 09:22 |
|
EugeneKay
| I am /really/ out of it tonight. | 09:22 |
| ← rob_w left | 09:23 |
|
Eclesia
| EugeneKay: git fetch --tags , will this pull all stuffs, nothing missing ? | 09:23 |
| ← eletuchy left | 09:23 |
| → bauruine joined | 09:23 |
|
EugeneKay
| Eclesia - No, it pulls just tags. Consult man git-fetch for exact behaviour. | 09:23 |
|
gitinfo
| Eclesia: the git-fetch manpage is available at http://jk.gs/git-fetch.html | 09:23 |
| → dvide joined | 09:23 |
|
Eclesia
| isn't there a command to pull everything ? | 09:24 |
|
EugeneKay
| You can modify your fetchspec to grab branches and tags at once, but it is not the default. | 09:24 |
| → Cork- joined | 09:27 |
| Cork- → Cork | 09:27 |
|
EugeneKay
| Note that the default behaviour of fetch DOES grab tags which are "on" the branches you have fetched, which are typically the tags you care about. One-off tags(not in any branches history) are the ones that need --tags to grab. | 09:27 |
|
Eclesia
| strange default behavior if you ask me | 09:28 |
|
EugeneKay
| Not really - it grabs what you're interested in. | 09:29 |
| → Xethron joined | 09:29 |
| → dcorbin_work joined | 09:29 |
| ← dcorbin_work left | 09:29 |
| → dcorbin_work joined | 09:29 |
|
Eclesia
| ok so, git fetch --all will pull any update on the current branchs I already have. and --tags possible new branchs unrelated. so git fetch --all --tags should do what I want right ? | 09:30 |
| → _Qman joined | 09:31 |
|
EugeneKay
| No; that is not what --all does. | 09:31 |
| → Sigma joined | 09:31 |
|
EugeneKay
| Go back and read the man page if you want exact behaviour of each switch | 09:31 |
|
Eclesia
| "Fetch all remotes." | 09:32 |
|
| that's all it fucking say in the doc | 09:32 |
|
Silex
| "git bisect run" is a blessing \o/ | 09:32 |
|
EugeneKay
| "fetch all remotes" sounds nothing like "fetch everything from the one remote I give you" ;-) | 09:32 |
|
| And !fsck | 09:33 |
|
gitinfo
| [!profanity] Hey! This is a family-safe channel, so keep it frakking clean you fierfekker! | 09:33 |
| → maqr joined | 09:33 |
| → mikecmpbll joined | 09:33 |
|
EugeneKay
| See also the syntax at the header - note how --all is on its own line, with no [<repository>] | 09:33 |
| → jlg13 joined | 09:33 |
|
EugeneKay
| This indicates that it is incompatible with specifying a remote | 09:33 |
| ← mikecmpbll left | 09:34 |
| ← iamjarvo left | 09:35 |
|
Eclesia
| I think I'm just going to use a hg-git command mapping tool, to have normal commands. | 09:35 |
| → mikecmpbll joined | 09:35 |
|
Eclesia
| already wasted to much time on migrating repos to git. | 09:35 |
|
EugeneKay
| "normal" depends solely upon perspective. And you can always !refund | 09:36 |
|
gitinfo
| If you are not satisfied with git, or the support provided by the volunteers in #git, you are entitled to a full refund of the purchase price, and are invited to use another VCS. Elsewhere. | 09:36 |
|
Eclesia
| and i'm going to, will stay on mercurial for a couple more years. | 09:37 |
| ← hafeez3000 left | 09:37 |
|
EugeneKay
| Enjoy! | 09:37 |
|
Eclesia
| thanks for the help and your patience, and sorry for disturbing. ++ | 09:38 |
| ← Eclesia left | 09:38 |
|
jast
| so much happiness <3 | 09:38 |
|
Bombe
| :) | 09:38 |
| → blami_ joined | 09:38 |
|
EugeneKay
| I LOVE YOU ALL WITH A GREAT HUGE LOVE | 09:38 |
| → xpen_ joined | 09:38 |
|
FauxFaux
| I have a love tax; you have to send me nekkids. | 09:39 |
| → bux joined | 09:39 |
|
EugeneKay
| You may wish to rethink that | 09:39 |
|
FauxFaux
| I don't plan to look at them or anything, just blackmail material in case you stop loving me. | 09:40 |
| → JrCs_ joined | 09:40 |
| → hwrd|work joined | 09:41 |
| → robbyoconnor joined | 09:42 |
| → hafeez3000 joined | 09:42 |
| ← xpen left | 09:42 |
| → Vile joined | 09:43 |
| ← maqr left | 09:46 |
| ← hwrd|work left | 09:46 |
| → theForce joined | 09:46 |
|
theForce
| hi | 09:47 |
| → hwrd|work joined | 09:47 |
| → giallu joined | 09:47 |
|
theForce
| question about git-svn: when i chmod +x a file and commit that, will this +x also be pushed to the svn repository when i "git svn dcommit"? | 09:47 |
| → aphro joined | 09:53 |
| → Hounddog joined | 09:53 |
|
Silex
| when I "git commit --fixup" a bunch of commit, I know I can then "EDITOR=cat git rebase -i --autosquash origin/master". Can I simply "git rebase --autosquash origin/master" instead? | 09:53 |
| ← aphro left | 09:53 |
| ← BiggFREE left | 09:55 |
|
jast
| Silex: no | 09:55 |
| ← infynyxx left | 09:55 |
|
jast
| but you can do this: git config --global autosquash '!EDITOR=cat git rebase -i --autosquash' | 09:56 |
|
| and then this: git autosquash origin/master | 09:56 |
|
Silex
| jast: alright, thanks | 09:57 |
|
jast
| whoops | 09:57 |
|
Silex
| oops? | 09:57 |
|
jast
| actually: git config --global alias.autosquash ... | 09:57 |
|
Silex
| yeah, I'm editing my .gitconfig anyway so | 09:57 |
|
| :) | 09:57 |
|
| git aliases are handy | 10:00 |
| → txomon|home joined | 10:00 |
| → musonic joined | 10:01 |
| → jgomez joined | 10:02 |
| → robustus joined | 10:04 |
| ← jlg13 left | 10:04 |
| ← hyperair left | 10:05 |
| ← laurav left | 10:05 |
| → the_cybersphinx joined | 10:06 |
| → rob_w joined | 10:06 |
| ← zeppo left | 10:06 |
| → zeppo joined | 10:07 |
| → Davey joined | 10:08 |
| → hoschi joined | 10:09 |
| ← rob_w left | 10:09 |
|
mmc
| wereHamster: do you remember me saying that "git symbolic-ref" is not good enough, that I still prefer cat-ing the file? https://gist.github.com/b37f6e3ddc5652dd7e71 symbolic-ref somehow returns the last ref. | 10:12 |
| → rob_w joined | 10:13 |
| ← musonic left | 10:14 |
| → laurav joined | 10:15 |
| andres_f → andres | 10:15 |
| → wheezl joined | 10:16 |
| ← Cromulent left | 10:16 |
| → thyseus joined | 10:16 |
| ← jdyin left | 10:17 |
| → Xizor joined | 10:18 |
| → marhaban joined | 10:20 |
| ← manchicken left | 10:20 |
| ← Sigma left | 10:22 |
| → Anders_J joined | 10:22 |
| → maqr joined | 10:23 |
| → volta joined | 10:26 |
| ← TheHaven left | 10:28 |
| → achadwick joined | 10:30 |
| ← caseymcg left | 10:30 |
| ← maqr left | 10:32 |
| → houman joined | 10:32 |
| → daniel_- joined | 10:33 |
| ← daniel_- left | 10:33 |
| → daniel_- joined | 10:33 |
|
houman
| Hi, I have commited and pushed some changes to my repository. Can I now go back to three revisions before just to test something without commiting anything? | 10:35 |
|
FauxFaux
| git checkout -B temp HEAD~3 | 10:36 |
| → Sigma joined | 10:36 |
| → devsharpen joined | 10:36 |
| ← luc__ left | 10:36 |
| → newbie999 joined | 10:37 |
| ← RaceCondition left | 10:39 |
| → myx joined | 10:40 |
| ← hoschi left | 10:40 |
| → RaceCondition joined | 10:40 |
| ← svetlyak40wt left | 10:41 |
| ← xpen_ left | 10:41 |
| → svetlyak40wt joined | 10:42 |
| → AdrienBrault joined | 10:43 |
|
jast
| git checkout HEAD~3 (git checkout yourbranch to go back afterwards) | 10:43 |
|
houman
| Thanks guys. :) | 10:44 |
| ← docai left | 10:44 |
|
wereHamster
| mmc: cat-ing the file won't work if the ref is packed. But.. well.. that is your problem then. | 10:45 |
| → davidban_ joined | 10:47 |
| ← shreya left | 10:48 |
| → p3rror joined | 10:49 |
| ← davidbanham left | 10:50 |
| ← marhaban left | 10:50 |
|
mmc
| wereHamster: sure. But maybe you can find out a way to get the real "value" of the symbolic ref?:) | 10:51 |
| → Cristen joined | 10:51 |
| → caddoo joined | 10:51 |
|
mmc
| wereHamster: but yes, I can have a look at the git sources. | 10:51 |
| ← AdrienBrault left | 10:52 |
| ← martinjlowm-lapt left | 10:53 |
| → LekeFly joined | 10:53 |
| ← LekeFly left | 10:54 |
|
Cristen
| Hi everyone, I setup a git like that : local copy (VM with linux mint) and remote --bare repo. I then cloned the --bare repo on my remote to access the files. But when I try to pull on the cloned repository it says : your local changes would be overwritten by merge. I don't get it can anyone explain what's wrong ? | 10:54 |
| ← _Qman left | 10:55 |
|
Cristen
| Do I need to git clone each time I push to the bare repo ? | 10:55 |
| ← Sigma left | 10:57 |
| → maqr joined | 10:57 |
| → LekeFly joined | 10:58 |
|
wereHamster
| mmc: you can ask on the mailing list if they'd add a option to git-symbolic-ref to return the first ref instead of the last. | 11:00 |
|
| Cristen: you have local changes to files. Why? And what do you want to do with them? | 11:01 |
| ← eletuchy_ left | 11:01 |
|
wereHamster
| also, why do you need to access the file? | 11:02 |
|
Cristen
| well the remote is my production server, with a --bare repo I don't see any files(only git indexes) so do my server. The changes were only made on the VM machine (on my computer) I tried to push and update my remote server with the changes | 11:03 |
| → pfFredd joined | 11:03 |
| ← LekeFly left | 11:04 |
| ← rob_w left | 11:04 |
|
Cristen
| so how do I update my website then ? Do I git clone the bare repository everytime I push the changes made on the VM ? or is there any other way ? | 11:04 |
| → rob_w joined | 11:04 |
| ← rob_w left | 11:05 |
| → rob_w joined | 11:05 |
| → Milossh joined | 11:06 |
| → marhaban joined | 11:06 |
| ← ISF left | 11:06 |
| → chaiz joined | 11:06 |
| → milli joined | 11:07 |
| → jlg13 joined | 11:08 |
| → dharrigan joined | 11:08 |
|
cbreak-work
| Cristen: cloning is for getting a new copy of a repository | 11:09 |
|
| you only need to do it once | 11:10 |
| ← Cassiel left | 11:10 |
|
Cristen
| so cbreak-work how do I update my files on the remote server once I cloned the bare repo ? | 11:10 |
| → Cassiel joined | 11:11 |
| ← daniel_- left | 11:13 |
|
houman
| sorry guys, I have merged my master with a previous branch to test something. Now I would like to undo this merge. (I haven't pushed anything yet) How do i do this please? | 11:13 |
| → eletuchy joined | 11:15 |
|
cbreak-work
| Cristen: you can pull if you want to merge | 11:15 |
| ← Guest10485 left | 11:15 |
|
cbreak-work
| or pull --rebase if you want to rebase | 11:15 |
|
| if you never make local changes, you can also just git remote update && git reset --hard @{u} | 11:16 |
| → nizeguy joined | 11:17 |
|
Cristen
| k thx | 11:17 |
| → angelsl joined | 11:18 |
|
jast
| houman: have you done any other commits after merging? | 11:18 |
| ← jlg13 left | 11:18 |
|
houman
| jast: No I haven't. Therefore, is this approach correct? git reset --hard origin/master | 11:20 |
| → SuperrMann joined | 11:22 |
| ← Cassiel left | 11:22 |
| ← hotovson left | 11:24 |
| ← hafeez3000 left | 11:24 |
| → asakura joined | 11:24 |
| → elik joined | 11:25 |
| → hotovson joined | 11:27 |
| ← Chib left | 11:30 |
| → xiangfu joined | 11:32 |
| ← blurrr left | 11:32 |
|
jast
| houman: if you don't have any other unpushed commits you wanted to keep (nor any uncommitted changes), then yes, that's the way to go | 11:32 |
| → Cassiel joined | 11:32 |
| → marhaban1 joined | 11:34 |
| ← marhaban left | 11:35 |
| ← mikecmpbll left | 11:35 |
| ← rob_w left | 11:35 |
| ← fsvehla left | 11:37 |
| ← tjadc left | 11:39 |
| ← wheezl left | 11:39 |
| ← sluther left | 11:43 |
| → daniel-s joined | 11:44 |
| ← Cassiel left | 11:45 |
| → icio joined | 11:45 |
| → Cassiel joined | 11:46 |
| → tinti joined | 11:46 |
| → blurrr joined | 11:47 |
| → sentinal8473 joined | 11:49 |
| → Sigma joined | 11:52 |
| ← dougsland left | 11:52 |
| → timini joined | 11:53 |
| → Ryback_ joined | 11:54 |
|
timini
| how can I merge a detached HEAD into master branch? | 11:54 |
|
jast
| timini: write down the commit ID (e.g. git rev-parse HEAD); then switch to master and merge that | 11:54 |
|
| or cherry-pick things or whatever | 11:54 |
| → babilen joined | 11:55 |
| ← _Vi left | 11:55 |
|
timini
| jast, thanks :) thats exactly the kind of thing that would have taken me an hour of messing arround to find out for myself! | 11:55 |
|
jast
| FWIW, a more convenient way to see all kinds of history info, including commit IDs, is 'git log' | 11:56 |
|
nevyn
| timini: git checkout -b mybranch to make a new branch then merge mybranc h | 11:57 |
| ← Cassiel left | 11:57 |
|
timini
| :) thanks | 11:57 |
| ← OOPMan left | 11:57 |
| → Cassiel joined | 11:58 |
| → mikecmpbll joined | 11:58 |
| → RaceCondishun joined | 12:00 |
| → barq joined | 12:01 |
|
nevyn
| timini: so label your detached head then use that label to merge it into master | 12:02 |
| ← RaceCondition left | 12:02 |
| → _Vi joined | 12:02 |
|
timini
| Nevyn , give us a clue how can i label mea head? :P | 12:02 |
| → fanno joined | 12:04 |
| ← RaceCondishun left | 12:05 |
| ← Cassiel left | 12:06 |
| → Cassiel joined | 12:07 |
| → fuzzybunny69y joined | 12:08 |
|
houman
| jast: Thank you :) | 12:08 |
| → dougsland joined | 12:09 |
| ← yshh left | 12:10 |
|
fanno
| hello everyone, i am member of a open source project where i have to modify a script on out server the creator is unable to help (busy) the script is trying to pull using --rebase i get message saying that i cant rebase because it is out of date (in the scripts function that is expected.) what pull command would i need to look for inorder to "force" the server "working repo" to be updated to the current repo on github ? i know that push | 12:11 |
|
nevyn
| timini: git checkout -b mybranch | 12:11 |
| ← icio left | 12:11 |
| ← xxc_michael left | 12:12 |
| ← Cassiel left | 12:12 |
| ← kennethreitz left | 12:12 |
|
crocket
| How can I delete a hook from gitolite? | 12:12 |
|
fanno
| nevyn: would that also update from the github ? i thought checkout was only to switch between local branches ? | 12:12 |
|
| nevyn: wops .. i missed that message was not for me =( sorrrryyyyy ! | 12:13 |
| ← sentinal8473 left | 12:13 |
| ← hwrd|work left | 12:13 |
|
nevyn
| scripts shouldn't pull and rebase | 12:13 |
| → Cassiel joined | 12:14 |
|
nevyn
| it's insane | 12:14 |
|
| fanno: the script should probably fetch and reset --hard | 12:14 |
| ← gary_golden left | 12:14 |
|
fanno
| nevyn: well that is why i have to change it because it is not working as it should =) | 12:14 |
|
nevyn
| so the answer is fetch and reset. | 12:15 |
|
| pull doesn't do this | 12:15 |
|
| pull is fetch and merge or fetch and rebase | 12:15 |
|
timini
| If I've just commited how can I diff that commit to the previous one? | 12:15 |
|
nevyn
| timini: git diff HEAD^ | 12:15 |
|
| or do you want the actual diff of the commits? | 12:16 |
|
| like what changed between the two changes. | 12:16 |
| → sentinal8473 joined | 12:16 |
| → wheezl joined | 12:16 |
| → jackh joined | 12:17 |
|
fanno
| nevyn: am i correct assume that --hard is similar to --force ? | 12:17 |
| ← _Vi left | 12:17 |
| → shihan joined | 12:17 |
|
timini
| so HEAD^ is the latest commit in the staging/cached area? | 12:18 |
| → oso96_2000 joined | 12:18 |
| → troyt joined | 12:19 |
| ← jlopez left | 12:19 |
| ← xiangfu left | 12:22 |
| → xiangfu joined | 12:23 |
|
wereHamster
| timini: HEAD^ is the first parent of HEAD | 12:24 |
|
| and HEAD is the commit you have currently checked out | 12:25 |
| → replore_ joined | 12:25 |
| ← chussenot left | 12:27 |
| → LekeFly joined | 12:28 |
| → _Vi joined | 12:28 |
| → gary_golden joined | 12:29 |
| ← adamben left | 12:29 |
| ← chaiz left | 12:29 |
| ← jackh left | 12:29 |
| ← angelsl left | 12:30 |
| → jackh joined | 12:30 |
| ← thyseus left | 12:30 |
| → thyseus joined | 12:31 |
| → bitkiller joined | 12:32 |
| → AdrienBrault joined | 12:32 |
| ← pretty_function left | 12:32 |
| → subhojit777 joined | 12:34 |
| → yshh joined | 12:35 |
| ← BadProphet left | 12:36 |
| ← dhruvasagar left | 12:36 |
| → BadProphet joined | 12:37 |
| ← _Vi left | 12:37 |
| → angelsl joined | 12:37 |
| ← AdrienBrault left | 12:37 |
| ← fuzzybunny69y left | 12:39 |
| → AdrienBrault joined | 12:39 |
| ← babilen left | 12:40 |
|
nevyn
| fanno: no. | 12:41 |
|
| fanno: !gcs | 12:41 |
|
gitinfo
| fanno: [!concepts] "Git Concepts Simplified" explains the basic structures used by git, which is very helpful for understanding its concepts. http://sitaramc.github.com/gcs/ | 12:41 |
| ← svetlyak40wt left | 12:41 |
| ← BadProphet left | 12:42 |
| → Goles joined | 12:42 |
| ← Cassiel left | 12:42 |
| → Cassiel joined | 12:44 |
| → RaceCondition joined | 12:44 |
| ← RaceCondition left | 12:44 |
| → RaceCondition joined | 12:44 |
| → JSharpe joined | 12:45 |
| → M4renz joined | 12:47 |
| ← M4renz left | 12:47 |
| → Marenz joined | 12:47 |
|
Marenz
| Greetings | 12:47 |
|
| I try to use git dch to update my changelog for a ubuntu package. For some reason it always wants to append "ubuntu1" to the version number and after it did that, it fails to find the tag anymore (because that obviously doesn't have ubuntu1 appended) How can I stop it from appending ubuntu1? | 12:48 |
|
FauxFaux
| git dch is nothing to do with git. | 12:48 |
|
Marenz
| ok | 12:49 |
| → jkremser joined | 12:50 |
| → chussenot joined | 12:50 |
| ← aetcore_ left | 12:50 |
| → jlopez joined | 12:50 |
| ← ninegrid left | 12:51 |
|
jast
| Marenz: the script is from the git-buildpackage package. check its docs. | 12:52 |
|
| probably some kind of ubuntu customization | 12:53 |
| ← Cassiel left | 12:57 |
| → eijk_ joined | 12:57 |
| → Cassiel joined | 12:58 |
| ← angelsl left | 12:59 |
| ← jfs left | 12:59 |
| ← eijk left | 12:59 |
| → angelsl joined | 12:59 |
| → leandrosansilva joined | 13:00 |
| → pandeiro joined | 13:01 |
| ← jlopez left | 13:02 |
| ← fanno left | 13:02 |
| → svetlyak40wt joined | 13:02 |
| → oojacoboo joined | 13:03 |
|
sqz
| how can I add a particular branche, from a remote repo to an existing repo? so far I tried: git remote add --track master foo_remote [email@hidden.address] | 13:03 |
| → mklappstuhl joined | 13:03 |
| ← AdrienBrault left | 13:03 |
|
sqz
| which works..but I get only the master..renaming the 'master'-part to the particular branch also doesnt work | 13:03 |
| ← chussenot left | 13:04 |
| → fuzzybunny69y joined | 13:04 |
| ← oojacoboo left | 13:05 |
| → AdrienBrault joined | 13:06 |
| ← Xizor left | 13:06 |
| ← Cassiel left | 13:06 |
| ← maqr left | 13:07 |
| → Cassiel joined | 13:07 |
| → icio joined | 13:07 |
| → lausi joined | 13:07 |
| → aristidesfl joined | 13:07 |
| → RaceCondishun joined | 13:08 |
| ← lausi left | 13:08 |
| → chussenot joined | 13:08 |
| ← RaceCondition left | 13:09 |
| RaceCondishun → RaceCondition | 13:09 |
| ← RaceCondition left | 13:09 |
| → RaceCondition joined | 13:09 |
| → jlopez joined | 13:11 |
| → TeamColtra joined | 13:13 |
| → revagomes joined | 13:14 |
| ← psoo left | 13:16 |
| → jaeckel joined | 13:17 |
| ← milli left | 13:17 |
| → BlueChip joined | 13:17 |
| → thelodger joined | 13:18 |
| ← PCChris left | 13:19 |
| ← AdrienBrault left | 13:19 |
|
BlueChip
| I wanted to clone a single (10MB) directory of git repo ...but git apparently cannot do that ...so I cloned all 770MB of the repo to find that 640MB of it is in the ".git" directory ...can someone explain this please ? | 13:20 |
| → chuckharmston joined | 13:21 |
|
esc
| BlueChip: .git directory contains the repository | 13:21 |
| ← pandeiro left | 13:21 |
|
esc
| so, all previous versions | 13:21 |
|
| stored cleverly | 13:21 |
| → yakko joined | 13:21 |
| → milli joined | 13:22 |
|
esc
| BlueChip: you can pass the --depth argument to git clone | 13:22 |
|
| BlueChip: man git clone | 13:22 |
|
gitinfo
| BlueChip: the git-clone manpage is available at http://jk.gs/git-clone.html | 13:22 |
|
BlueChip
| a) OUCH! and b) for a given definition of "clever" | 13:22 |
| → chaiz joined | 13:22 |
| ← yakko left | 13:22 |
|
esc
| clever means, it doesn't just store the versions as is, but computes the changes (deltas) between individual versions, to store less | 13:22 |
| ← davidban_ left | 13:22 |
|
bremner
| also, clever assumes your goal is version control, which seems to be true only about 50% of the time around here. | 13:23 |
| ← danillonunes left | 13:23 |
|
| bremner grumbles | 13:23 |
|
BlueChip
| What i want is to grab the Raspberyy Pi bootfiles in such a way as I can keep them updated ...but to do that I have to clone everything that has ever happened to the Raspberry Pi firmware | 13:24 |
| → AdrienBrault joined | 13:24 |
| → jiku joined | 13:24 |
|
bremner
| esc already answered that. | 13:24 |
| → babilen joined | 13:25 |
|
BlueChip
| That wasn't a question - and I am reading the url now | 13:25 |
|
esc
| as for keeping up-to-date, i belived you can pull into a shallow clone, but may be mistaken, any one else know for sure? | 13:26 |
| → les_sylvains joined | 13:26 |
| ← svetlyak40wt left | 13:27 |
| ← mikecmpbll left | 13:27 |
|
BlueChip
| how well does git deal with binary diffs? | 13:27 |
| → svetlyak40wt joined | 13:27 |
| → guampa joined | 13:29 |
|
wereHamster
| BlueChip: same way as text diffs | 13:29 |
| ← AdrienBrault left | 13:29 |
| → DoniRS joined | 13:29 |
|
BlueChip
| bdiff can be a nightmarish algorithms - just wondered if it used its own algorithm or a standardised one | 13:30 |
|
| s/ms/m/ | 13:30 |
|
wereHamster
| git uses the same algorithm for text and binary files | 13:30 |
|
jast
| you mean the stuff for delta compression or for displaying diffs? | 13:30 |
| ← chuckharmston left | 13:31 |
|
esc
| BlueChip: git doesn't deal very well with binary files | 13:31 |
|
BlueChip
| delta generation (such as `bdiff`) | 13:31 |
| → OOPMan joined | 13:31 |
|
BlueChip
| cheers - I imagine that is why the RPi firmware repo has bloated | 13:31 |
| ← svetlyak40wt left | 13:31 |
|
wereHamster
| yes, that's a good guess | 13:32 |
|
jast
| it depends on the binary files, really | 13:32 |
|
BlueChip
| well, yes | 13:32 |
| ← mklappstuhl left | 13:32 |
|
esc
| i suppose one could use a rolling checksum to split the file into chunks and then diff the chunks, like rsync does it | 13:32 |
|
jast
| if they're compressed (as many files are), no off-the-shelf delta compression will help | 13:32 |
|
| esc: that's actually slightly less efficient than what git does | 13:32 |
| → psoo_ joined | 13:33 |
|
jast
| except it compresses faster | 13:33 |
|
BlueChip
| indeed :( ...I don't know much about the firmware blobls, I hear there is a RE project afoot | 13:33 |
|
esc
| jast: oh really? | 13:33 |
|
jast
| in any case, you *did* run 'git gc' prior to complaining, right? :) | 13:33 |
| ← pfFredd left | 13:33 |
|
jast
| esc: git uses sliding window LZ-style compression over a window of several objects | 13:33 |
|
BlueChip
| I am new to git - `git gc` is new to me ...so: no :/ | 13:33 |
|
jast
| with straightforward assumptions geared towards delta applications | 13:34 |
|
| all right | 13:34 |
| → kukks joined | 13:34 |
|
jast
| 'git gc' does housecleaning, including doing delta compression | 13:34 |
| ← kukks left | 13:34 |
| → kukks joined | 13:34 |
|
jast
| you'll want to run it every now and then | 13:34 |
| ← RaceCondition left | 13:34 |
|
BlueChip
| I guess LZ is good a CPU saver, but not much of a compressor - the age old weigh-off :) | 13:35 |
|
jast
| LZ is fairly good for compression | 13:35 |
| → Zenopus joined | 13:36 |
| ← Zenopus left | 13:36 |
|
jast
| I mean, of course if we bring in bit prediction and stuff like that... sure, you can do much better, but it's also two orders of magnitude slower | 13:36 |
| → alegen joined | 13:36 |
|
jast
| in any case, for delta compression, you can do much, much worse | 13:37 |
|
| plus I can't really think of other compression algorithms that translate so easily to generating deltas | 13:38 |
|
BlueChip
| delta generation is an art form in and of itself | 13:39 |
| → R1KRDO joined | 13:40 |
| ← R1KRDO left | 13:41 |
| ← subhojit777 left | 13:41 |
| → R1KRDO joined | 13:41 |
| ← Milossh left | 13:43 |
|
jast
| honestly, it might have been a better choice to just use xdelta | 13:43 |
|
| bit too late for that, though | 13:43 |
| → thierryp joined | 13:43 |
| → fanno joined | 13:43 |
|
BlueChip
| I'm sure Linus made his choice carefully based on any number of criteria | 13:44 |
| → RaceCondition joined | 13:44 |
|
jast
| I highly doubt that ;) | 13:44 |
|
BlueChip
| lol | 13:44 |
| → Thra11_ joined | 13:44 |
| ← dharrigan left | 13:44 |
|
jast
| fun fact: fossil, self-proclaimed git contender, has its own delta generator, too, which outputs text-based delta instructions | 13:44 |
|
esc
| jast: whats the deal with fossil anyway | 13:45 |
|
BlueChip
| "There's always another way" lol | 13:45 |
|
jast
| it... exists | 13:45 |
|
BlueChip
| lol | 13:45 |
| → mklappstuhl joined | 13:46 |
|
esc
| great fossil is such a common term, i'm having trouble putting it into google trends | 13:47 |
| ← russt left | 13:47 |
|
bremner
| it sounds like version control for old people. But I thought CVS had that niche locked up. | 13:47 |
|
BlueChip
| lol | 13:47 |
|
esc
| http://www.fossil-scm.org/index.html/doc/trunk/www/quotes.wiki | 13:49 |
| → Zenopus joined | 13:49 |
|
BlueChip
| "Git approaches the useability of iptables, which is to say, utterly unusable unless you have the manpage tattooed on you arm." | 13:49 |
|
| that's one *fat* programmer | 13:50 |
|
esc
| yeah and a very tiny font | 13:50 |
| ← RaceCondition left | 13:50 |
| → Arokh joined | 13:51 |
| → nitrix joined | 13:52 |
| → davidbanham joined | 13:53 |
| → _Vi joined | 13:54 |
| → marc_kdab_ joined | 13:54 |
| → tbrock joined | 13:54 |
|
mmc
| wereHamster: FYI: symbolic refs (i.e. those pointing at other refs ,not direct SHA1), are not included in pack-refs. | 13:55 |
|
| so my approach (cat-ing the file) is safe. | 13:55 |
| → sq-one joined | 13:57 |
| → iamjarvo joined | 13:57 |
|
BlueChip
| Am I correct in believing it is impossible to pull a section of a repo ...even with depth 1, I am still being forced to download 133MB to obtain the 3MB i actually want | 13:57 |
| ← marc_kdab left | 13:58 |
| → Villadelfia joined | 13:59 |
| ← robbyoconnor left | 13:59 |
| → Milossh joined | 13:59 |
| → SeySayux joined | 13:59 |
|
wereHamster
| mmc: where is that documented? | 14:00 |
| → Bass10 joined | 14:00 |
|
wereHamster
| BlueChip: yes. But isn't it better to use a web interface to download the one file you need? | 14:00 |
| → hyperair joined | 14:00 |
| ← gary_golden left | 14:00 |
| → gv joined | 14:01 |
| ← davidbanham left | 14:02 |
| ← sq-one left | 14:02 |
| ← tbrock left | 14:02 |
|
esc
| damn, anyone have the oneline to clone all repos one has access to from gitolite? | 14:02 |
| → ebouchut joined | 14:03 |
| → maqr joined | 14:04 |
| ← babilen left | 14:04 |
| → mikecmpbll joined | 14:04 |
| → Error404NotFound joined | 14:04 |
|
sitaram
| esc: v3? | 14:04 |
| → robbyoconnor joined | 14:04 |
| → gonzzor joined | 14:05 |
|
esc
| sitaram: ssh bbpgit info | grep R | cut -f2 | while read line ; do ; git clone bbpgit:${line}.git ; done | 14:05 |
| → sq-one joined | 14:05 |
|
esc
| sitaram: v3.1-28-gc666473 to be exact | 14:05 |
|
sitaram
| perfect | 14:05 |
|
esc
| although it fails on the wild ones, but that doesn't matter much | 14:05 |
| → RaceCondition joined | 14:06 |
|
esc
| and you could probably use somtheing like "^\ R.*" for the regex | 14:06 |
|
| but quick and dirty is ok | 14:06 |
|
| sitaram: BTW, did you see the new version of git-bit-picture? | 14:06 |
|
sitaram
| esc: I did; it's nice. I also could not remember what it was I asked for last time :( | 14:06 |
|
esc
| :( | 14:07 |
|
| if you remember, let me know! :) | 14:07 |
|
wereHamster
| esc: what is it? | 14:07 |
|
esc
| wereHamster: a visualisation tool for git: https://github.com/esc/git-big-picture | 14:07 |
|
| i just released version 0.9.0 two days ago | 14:08 |
| → tbrock joined | 14:10 |
| ← iamjarvo left | 14:10 |
|
gonzzor
| esc: Thanks, just the tool I needed. :) | 14:10 |
| ← maqr left | 14:11 |
|
esc
| gonzzor: cool! | 14:11 |
| ← Cassiel left | 14:11 |
| ← zeppo left | 14:11 |
|
esc
| although i am having some trouble running the graphviz utility 'dot' on larger repositories | 14:11 |
|
gonzzor
| How large is larger? | 14:12 |
| ← JaredMiller left | 14:12 |
|
esc
| i am running just dot on the git.git repo now for >24 hours | 14:12 |
|
wereHamster
| llinux kernel large? | 14:12 |
|
gonzzor
| Ouch.. | 14:12 |
|
esc
| yeah, it hangs with 40.8 % memory usage and one core at 100% | 14:12 |
|
wereHamster
| esc: is the problem in your tool or in dot itself? | 14:12 |
|
esc
| wereHamster: well, the --graphviz option produces the graphviz syntax only | 14:13 |
| → riker2000_ joined | 14:13 |
|
esc
| that takes 30 seconds on git.git | 14:13 |
|
| i then run dot on that, and it's been taking for ever | 14:13 |
|
wereHamster
| esc: how many nodes/edges does the graph have? | 14:13 |
| → bartek_ joined | 14:13 |
|
esc
| one sec | 14:13 |
|
comps
| do git aliases support parametrization and default values? .. ie. something like ${1:-HEAD} in bash | 14:13 |
|
esc
| wereHamster: 500 nodes roughly | 14:14 |
|
| but 30k edges | 14:14 |
| → Cassiel joined | 14:14 |
| ← gv left | 14:14 |
|
wereHamster
| oh. maybe if you try a simpler layout engine for dot it'll be faste? | 14:14 |
| → gv joined | 14:15 |
|
mmc
| wereHamster: in the code:) pack-refs.c handle_one_ref () /* Do not pack the symbolic refs */ if ((flags & REF_ISSYMREF)) return 0; | 14:15 |
|
esc
| wereHamster: so, I am assuming it's dot, but maybe there is something wrong with the input file | 14:15 |
| → AaronMT joined | 14:15 |
|
esc
| wereHamster: yeah, i just discovered this recently, so i'm still evaluating options | 14:15 |
| → russt joined | 14:15 |
| ← riker2000 left | 14:16 |
|
esc
| i want to see first if this ever runs to completion, but the halting problem is giving me grief ;) | 14:16 |
| → dharrigan joined | 14:17 |
| ← dharrigan left | 14:17 |
| → dharrigan joined | 14:17 |
|
BlueChip
| wereHamster : How? And no, it is better to have the files in a dir where I can type "update" and the directory updates | 14:17 |
| → fisted_ joined | 14:18 |
| ← aef left | 14:18 |
| → infynyxx joined | 14:18 |
|
BlueChip
| --depth has cut 500MB off the download, but the git folder is still 80MB and I am grabbing 128MB of files I don't want/need | 14:19 |
| ← infynyxx left | 14:19 |
|
BlueChip
| I have read it is impossible to clone a subset of a project ...I read you must clone the whole project, then trim it to requirements | 14:20 |
| ← fisted left | 14:21 |
| fisted_ → fisted | 14:21 |
| ← skul left | 14:21 |
| ← Cassiel left | 14:21 |
| ← psoo_ left | 14:21 |
|
wereHamster
| BlueChip: that is true. | 14:21 |
| → psoo_ joined | 14:21 |
| → Cassiel joined | 14:22 |
| → m0viefreak joined | 14:22 |
| ← JSharpe left | 14:22 |
| ← leandrosansilva left | 14:22 |
|
BlueChip
| wereHamster: So how do I clone only a subset of folders within a repo? | 14:22 |
| ← TomWij_ left | 14:23 |
|
wereHamster
| BlueChip: it is impossible. | 14:23 |
|
BlueChip
| ah! <cries a little> | 14:23 |
| → TomWij joined | 14:23 |
| → leandrosansilva joined | 14:24 |
| ← bartek_ left | 14:25 |
|
BlueChip
| If I fork the repo and strip out all the crap I don't want/need - can I instruct github to keep my repo up to date from the source repo? | 14:25 |
|
| BlueChip starts to think laterally about the problem | 14:25 |
| → pansdr joined | 14:26 |
|
kinlo
| does gitx have any irc channel? | 14:26 |
| ← jackh left | 14:27 |
| → techhelp joined | 14:28 |
|
wereHamster
| BlueChip: no. *you* have to keep it up to date | 14:29 |
| ← virako left | 14:29 |
|
BlueChip
| I feel a cron job coming on - lol | 14:29 |
| → else- joined | 14:30 |
| → chussenot_ joined | 14:31 |
| ← techhelp left | 14:31 |
| → techhelp joined | 14:31 |
| ← techhelp left | 14:32 |
| ← leandrosansilva left | 14:32 |
| → witul joined | 14:32 |
| → leandrosansilva joined | 14:32 |
| → techhelp joined | 14:32 |
|
BlueChip
| is --depth 0 more shallow than --depth 1 ? | 14:32 |
| ← witul left | 14:33 |
| ← chussenot_ left | 14:33 |
| ← chussenot left | 14:33 |
| ← sq-one left | 14:34 |
| → chussenot joined | 14:34 |
| → bubbles10101 joined | 14:34 |
|
BlueChip
| it appears --depth 0 is ignored | 14:34 |
| ← xiangfu left | 14:35 |
|
BlueChip
| or maybe the % indicator is files, not bytes | 14:35 |
| ← arvind_khadri left | 14:35 |
| ← fuzzybunny69y left | 14:35 |
|
BlueChip
| ah yes, 2%=50MB, 10%=60MB | 14:36 |
| → ninegrid joined | 14:36 |
| → gain joined | 14:37 |
| → maqr joined | 14:37 |
| → JaredMiller joined | 14:38 |
| → lacrymology joined | 14:38 |
| → aruiz joined | 14:38 |
| ← eijk_ left | 14:39 |
| → eijk_ joined | 14:40 |
| ← marhaban1 left | 14:40 |
| psoo_ → psoo | 14:42 |
| ← chussenot left | 14:45 |
| ← Zenopus left | 14:45 |
| ← maqr left | 14:45 |
| ← h0bbit left | 14:46 |
| → dvsharp joined | 14:46 |
| → sjhuang joined | 14:47 |
| ← hotovson left | 14:47 |
| → hotovson joined | 14:49 |
| ← mmc left | 14:49 |
| ← devsharpen left | 14:49 |
| ← marthinal left | 14:49 |
| → krosenvold joined | 14:50 |
| → adamben joined | 14:50 |
| ← adamben left | 14:50 |
| → adamben joined | 14:50 |
| → aetcore joined | 14:52 |
| ← jiunec left | 14:52 |
| ← jiku left | 14:52 |
| → cenuij joined | 14:52 |
| ← cenuij left | 14:52 |
| → cenuij joined | 14:52 |
| ← Guest23361 left | 14:53 |
| → davidbanham joined | 14:54 |
| → babilen joined | 14:54 |
| → madewokherd joined | 14:55 |
| ← Milossh left | 14:55 |
| ← Cassiel left | 14:55 |
| ← aristidesfl left | 14:56 |
| → Cassiel joined | 14:56 |
| → pandeiro joined | 14:57 |
| ← Sigma left | 14:58 |
| ← ehsan left | 14:58 |
| → ehsan joined | 14:59 |
| → ccapndave joined | 14:59 |
| → hafeez3000 joined | 15:00 |
| ← hafeez3000 left | 15:00 |
|
ccapndave
| Hey everyone - I am having some confusion deleting stuff from a collection. I want to delete everything older than a certain timestamp and am using Logs.remove( { timestamp: { $lt: (1).hour().ago() } } ); but nothing is getting deleted. If I do Logs.find( { timestamp: { $lt: (1).hour().ago() } } ).fetch(); then I can see loads of objects matching. Does anyone have any ideas? | 15:01 |
| ← davidbanham left | 15:02 |
| → Logi joined | 15:02 |
|
mgedmin
| that looks like a mongodb question | 15:02 |
| ← soee left | 15:02 |
|
mgedmin
| this is a git channel | 15:02 |
| → zeppo joined | 15:03 |
| → Febul joined | 15:04 |
| → ShadeTornado joined | 15:04 |
| Febul → Guest55248 | 15:04 |
|
ccapndave
| oops | 15:05 |
|
| Sorry | 15:05 |
|
| Meant to post in #meteor | 15:05 |
|
| (blush) | 15:05 |
| → Mode-M joined | 15:05 |
| ← ShadeTornado left | 15:05 |
| → ojacobson joined | 15:05 |
| → ShadeTornado joined | 15:06 |
| ← flijten left | 15:06 |
| → BryanRuiz joined | 15:10 |
| ← gv left | 15:10 |
| ← tbrock left | 15:10 |
| ← leandrosansilva left | 15:10 |
| → infynyxx joined | 15:11 |
| → maqr joined | 15:11 |
| ← infynyxx left | 15:12 |
| ← replore_ left | 15:13 |
| ← milli left | 15:14 |
| → Sky[x] joined | 15:15 |
| → tbrock joined | 15:15 |
| ← thinkdevcode left | 15:15 |
| → rob_w joined | 15:15 |
| ← rob_w left | 15:15 |
| → wubino joined | 15:17 |
| ← mentero left | 15:17 |
| ← Thra11_ left | 15:18 |
| → marhaban joined | 15:18 |
| ← fanno left | 15:19 |
| ← thierryp left | 15:19 |
| ← maqr left | 15:19 |
| ← angelsl left | 15:19 |
| → milli joined | 15:19 |
| → replore_ joined | 15:20 |
| ← jcao219 left | 15:20 |
| ← marhaban left | 15:21 |
| → pfFredd joined | 15:21 |
| → flijten joined | 15:21 |
| ← mastro left | 15:22 |
| ← Cassiel left | 15:23 |
| → Cassiel joined | 15:23 |
| → svetlyak40wt joined | 15:24 |
| → cakehero joined | 15:24 |
| ← ehsan left | 15:25 |
| → angelsl joined | 15:26 |
| → thiago joined | 15:26 |
| → Chillance joined | 15:27 |
| ← zeppo left | 15:28 |
| ← milli left | 15:28 |
| ← robbyoconnor left | 15:29 |
| ← Goles left | 15:29 |
| → jcao219 joined | 15:30 |
| → milli joined | 15:30 |
| → xpen joined | 15:30 |
| ← ShadeTornado left | 15:30 |
| ← kpreid left | 15:30 |
| → riker2000 joined | 15:32 |
| → vpopov joined | 15:33 |
|
wubino
| can I branch a master repo that uses a different git server? | 15:33 |
| ← BlueChip left | 15:33 |
| → v0n joined | 15:33 |
|
wubino
| basically can I use bitbucket for master branch and github for public branch? | 15:34 |
|
bremner
| you can push a local branch to whatever remote repo you want | 15:34 |
| ← ccapndave left | 15:35 |
| ← riker2000_ left | 15:35 |
| → Desproges joined | 15:36 |
| → Gx4 joined | 15:37 |
| → jds_ joined | 15:38 |
|
jds_
| Heya | 15:38 |
| → NoDLL joined | 15:38 |
| → _ivar_ joined | 15:39 |
| ← Cassiel left | 15:39 |
|
jds_
| I guess I'm reading the manpage for git-lsfiles wrong, but I expected "git ls-files -c -o" to print both tracked and untracked files | 15:40 |
|
| Instead, it just prints tracked files | 15:40 |
|
NoDLL
| Hello, if I have a windows user with spaces to which I need to give permissions to a gitolite repository, How should I provide such username at the config file? | 15:40 |
| ← tbrock left | 15:40 |
| → abrkn joined | 15:40 |
|
sitaram
| NoDLL: the windows userid has nothing to do with the gitolite userid | 15:40 |
|
| NoDLL: read the second link in !gitolite_ssh | 15:40 |
|
gitinfo
| NoDLL: See http://sitaramc.github.com/gitolite/sts.html for steps to troubleshoot ssh/gitolite. See http://sitaramc.github.com/gitolite/glssh.html for how a single "real" userid can play host to multiple "virtual" users using ssh keys. | 15:40 |
|
abrkn
| i merged a config file into master from my prod branch (which has passwords) by mistake. is there a way to undo that? | 15:40 |
|
NoDLL
| sitaram thanks | 15:41 |
| ← v0n left | 15:41 |
| ← Linc left | 15:42 |
| → spaceonline joined | 15:45 |
| → nizeguy_ joined | 15:45 |
| → maqr joined | 15:45 |
| ← nizeguy left | 15:46 |
| → Fingolfin joined | 15:46 |
| ← m0viefreak left | 15:46 |
| → mmc joined | 15:47 |
| → marhaban joined | 15:48 |
| ← Logi left | 15:48 |
| → infynyxx joined | 15:49 |
| → Cassiel joined | 15:50 |
| → riker2000_ joined | 15:51 |
| ← Cassiel left | 15:51 |
| → tzanger joined | 15:51 |
|
Fingolfin
| is it just me or is the git mailing list dead? There were no mails for the past 20 hours or so (including one I sent), and I don't see any posts in the various list archives, either... | 15:51 |
|
tzanger
| good morning | 15:51 |
| → senior75151 joined | 15:52 |
| ← senior75151 left | 15:52 |
| → ehsan joined | 15:52 |
| ← svetlyak40wt left | 15:53 |
|
tzanger
| I have a question... I have two git repos. A contains subdirectories sub1, sub2 and sub3, and B contains code (with revision history) that contains code that belongs in sub2, as a different branch. | 15:53 |
|
| Is there any way to create a branch in A that I can inject the code and history from B into A/sub2? | 15:53 |
|
| they should have never been separate repos | 15:53 |
| ← riker2000 left | 15:54 |
| ← maqr left | 15:54 |
| → davidbanham joined | 15:54 |
|
tzanger
| B/ should be A/sub2/src | 15:54 |
|
_ikke_
| tzanger: Look at sub-tree merge | 15:54 |
|
tzanger
| _ikke_: ok, thank you | 15:54 |
| → skyf joined | 15:55 |
| ← aruiz left | 15:55 |
| ← LekeFly left | 15:55 |
| → daniel_- joined | 15:56 |
| → v0n joined | 15:56 |
| → Cassiel joined | 15:56 |
| ← wubino left | 15:59 |
| → chussenot joined | 15:59 |
| ← R1KRDO left | 16:00 |
| ← chaiz left | 16:00 |
| → ethanol joined | 16:00 |
| ← infynyxx left | 16:00 |
| → torjus_ joined | 16:00 |
| ← newbie999 left | 16:01 |
| ← wheezl left | 16:01 |
| ← davidbanham left | 16:03 |
| ← Cassiel left | 16:03 |
|
_ikke_
| Fingolfin: It's not just you | 16:03 |
|
Fingolfin
| aha. good. I mean, bad. ;) | 16:04 |
| ← xpen left | 16:04 |
| ← chussenot left | 16:04 |
| ← mikecmpbll left | 16:04 |
| ← tsdh left | 16:04 |
| → NL1GLB joined | 16:04 |
|
Fingolfin
| just when I write my first email in a couple of months, it breaks down... coincidence??? ;) | 16:04 |
| → Cassiel joined | 16:04 |
| ← NL1GLB left | 16:04 |
| → infynyxx joined | 16:04 |
|
_ikke_
| haha | 16:05 |
|
| Last mail I have is from Junio, 19 hours ago | 16:05 |
| ← revagomes left | 16:05 |
| → chussenot joined | 16:05 |
| → flavius joined | 16:05 |
| → danillonunes joined | 16:05 |
| ← danillonunes left | 16:06 |
| → relipse joined | 16:06 |
| ← chussenot left | 16:06 |
| ← infynyxx left | 16:06 |
| → danillonunes joined | 16:06 |
| ← Cristen left | 16:06 |
| → dreiss joined | 16:07 |
| ← jcao219 left | 16:07 |
| ← aisbaa left | 16:08 |
| ← cbreak-work left | 16:09 |
| → infynyxx joined | 16:10 |
| → revagomes joined | 16:11 |
|
Fingolfin
| yeah, same here. OK, so it's Junio's fault then ;) | 16:11 |
| → riker2000 joined | 16:12 |
|
_ikke_
| haha :D | 16:12 |
| ← papegaaij left | 16:12 |
| → PaulCapestany joined | 16:12 |
| ← cakehero left | 16:12 |
| → martinjlowm-lapt joined | 16:13 |
| ← TeamColtra left | 16:14 |
| ← bauruine left | 16:14 |
| ← riker2000_ left | 16:15 |
| ← angelsl left | 16:15 |
| → BadProphet joined | 16:15 |
| → angelsl joined | 16:15 |
| → aruiz joined | 16:15 |
| ← hyperair left | 16:15 |
| ← angelsl left | 16:16 |
| ← infynyxx left | 16:16 |
| → hoschi joined | 16:17 |
| ← OOPMan left | 16:19 |
| → OOP_Man joined | 16:19 |
| → tjadc joined | 16:20 |
| → maqr joined | 16:20 |
| ← ehsan left | 16:20 |
| ← spaceonline left | 16:20 |
| → ehsan joined | 16:21 |
| ← Gx4 left | 16:22 |
| ← rath-work left | 16:23 |
| ← OOP_Man left | 16:24 |
| ← Hounddog left | 16:24 |
| ← dpino left | 16:24 |
| → OOP_Man joined | 16:24 |
| → wheezl joined | 16:24 |
| → nioncode joined | 16:24 |
| → heinrich5991 joined | 16:24 |
| → Thra11_ joined | 16:26 |
| → TeamColtra joined | 16:26 |
| → fbe joined | 16:27 |
|
fbe
| hi | 16:27 |
|
gitinfo
| fbe: 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. | 16:27 |
| → neiz joined | 16:27 |
| ← maqr left | 16:28 |
| → imrobert joined | 16:28 |
| → spaceonline joined | 16:29 |
| → davidbanham joined | 16:29 |
| ← bux left | 16:30 |
|
neiz
| hello, are there any config options which may help with a repo that won't clone? I clone, authenticate, and git creates the root folder - and then hangs while doing something with the .git folder. I have tried increasing the buffer size to no avail | 16:31 |
| ← revagomes left | 16:31 |
|
_ikke_
| neiz: !repro | 16:31 |
|
gitinfo
| neiz: Please paste (using https://gist.github.com/ or similar) a transcript (https://gist.github.com/2415442) of your terminal session. This will help immensely with troubleshooting. | 16:31 |
|
wereHamster
| neiz: pastebin the whole output | 16:31 |
|
fbe
| i have a local repo with 2 branches - master and newfeature. i'm developing in newfeature most of the time. i'm keeping my newfeature branch up2date with git merge master frequently - so i have now 4 or 5 merge master into newfeature. is it possible to rebase the newfeature branch after those merges? i want to squash the complete development line of this branch to one commit. | 16:32 |
|
wereHamster
| fbe: yes. | 16:32 |
|
fbe
| ok, what do i have to do for this? | 16:32 |
|
wereHamster
| git rebase master | 16:33 |
| ← RaceCondition left | 16:34 |
| ← ThomasLocke left | 16:34 |
|
fbe
| wereHamster: ah! | 16:36 |
| → RaceCondition joined | 16:36 |
|
jds_
| Can I get git-lsfiles to show both cached and 'other' files ? | 16:37 |
| ← torjus_ left | 16:37 |
|
_ikke_
| and -co doesn't work? | 16:37 |
|
| according to the manual it should | 16:37 |
|
fbe
| now he added all my commits of my branch on top of the latest master commit and i have a new fresh branch with all my old branch commits and i can now squash :-) | 16:37 |
|
| nice! thanks wereHamster | 16:37 |
| ← davidbanham left | 16:37 |
| → jamesflorentino joined | 16:38 |
| ← jamesflorentino left | 16:38 |
| ← jkremser left | 16:39 |
| ← RaceCondition left | 16:39 |
| ← giallu left | 16:39 |
| ← danillonunes left | 16:40 |
| → danillonunes joined | 16:41 |
| ← skyf left | 16:41 |
|
jds_
| _ikke_: Yeah, that's what I though. It doesn't seem to - "git lsfiles . -o" shows me 'other' files, and "git lsfiles . -c" shows me tracked files, but '-co' just seems to give me tracked | 16:41 |
| → itatitat joined | 16:41 |
| ← tPl0ch left | 16:42 |
|
Nevik
| jds_: have you tried git lsfiles -c -o . | 16:43 |
| → selckin joined | 16:43 |
| ← flijten left | 16:44 |
| → demure joined | 16:45 |
|
Nevik
| jds_: "git ls-files -co" works for me; what does it do for you? error message? | 16:46 |
|
jast
| "but '-co' just seems to give me tracked" | 16:46 |
| → manchicken joined | 16:46 |
| → MacGyver joined | 16:46 |
| ← manchicken left | 16:46 |
| → manchicken joined | 16:46 |
| ← MacGyver left | 16:46 |
| → MacGyver joined | 16:46 |
| → madduck joined | 16:46 |
| ← madduck left | 16:46 |
| → madduck joined | 16:46 |
|
Nevik
| oh, sorry, missed that | 16:46 |
| → WakiMiko joined | 16:47 |
| ← jceb left | 16:47 |
| → Cromulent joined | 16:47 |
|
Nevik
| nevertheless, it works for me | 16:47 |
|
| jds_: what's your git version | 16:47 |
| → RaceCondition joined | 16:47 |
| → NoiseEee joined | 16:48 |
| ← v0n left | 16:48 |
| → revagomes joined | 16:48 |
| → arvind_khadri joined | 16:49 |
|
NoiseEee
| hey, i'm working on a new-feature branch, but needed to fix something on master (where i'll eventually merge new-feature into). I also want that fix in my new-feature branch, so I cherry-picked the commit into my new-feature branch. When I eventually merge new-feature into master, will Git be smart enough to recognize there is NOT a conflict in the two files... ie; does the hash of the cherry pick help or will it be a conflict because both files wer | 16:50 |
| → marhaban1 joined | 16:51 |
| ← marhaban left | 16:51 |
| ← psoo left | 16:52 |
|
NoiseEee
| turkey day | 16:52 |
| ← webdev left | 16:53 |
|
Nevik
| i think part of your line got cut off | 16:54 |
|
| it ended with "does the hash of the cherry pick help or will it be a conflict because both files wer" | 16:54 |
|
NoiseEee
| thanks... "...were changed on both branches? | 16:54 |
| → maqr joined | 16:54 |
|
_ikke_
| NoiseEee: See man git patch-id | 16:55 |
|
gitinfo
| NoiseEee: the git-patch-id manpage is available at http://jk.gs/git-patch-id.html | 16:55 |
| → chisler joined | 16:56 |
|
NoiseEee
| _ikke_: use that after the merge, when its reporting a conflict? | 16:56 |
|
_ikke_
| NoiseEee: No, it's a mechanism git uses to check if two commits basically do the same | 16:57 |
|
NoiseEee
| or are you saying create a patch instead of cherry-picking the commit from master into new-feature? | 16:57 |
| → bux joined | 16:57 |
|
NoiseEee
| oh | 16:57 |
|
| so then i should be good to go? | 16:57 |
|
_ikke_
| yeah | 16:57 |
|
NoiseEee
| thanks | 16:58 |
| → Shusshu joined | 16:58 |
| → arietis joined | 16:58 |
| ← booginga left | 16:59 |
|
demure
| for git commit, if there are multiple files that changed, can they have individual messages? | 16:59 |
|
ojacobson
| demure: the message is per-commit | 17:00 |
|
NoiseEee
| demure: if you commit individual files at once | 17:00 |
|
| commit the ones you want to group together with a message, etc | 17:00 |
|
ojacobson
| so if you want multiple messages, you need to commit the files one at a time (and try to pick an ordering that produces a series of "good" commits rather than a bunch of broken intermediate states) or your future self will be annoyed when they have to fix a bug introduced in that series of commits :) | 17:00 |
| ← relipse left | 17:01 |
| ← rchavik left | 17:02 |
| ← timini left | 17:02 |
|
demure
| okay, so aside from doing more timely commits in the future, can I choose to only commit one file at a time? | 17:02 |
| ← maqr left | 17:02 |
|
wereHamster
| sure. | 17:03 |
| → jcao219 joined | 17:03 |
| ← Shusshu left | 17:04 |
|
demure
| ah, i give the path, after the message | 17:04 |
|
_ikke_
| You can even commit parts of files | 17:04 |
| ← arietis left | 17:05 |
| → pheaver joined | 17:07 |
| ← Guest55248 left | 17:07 |
|
_ikke_
| I seem to have completely misunderstood what git cherry reports | 17:08 |
| ← Caelum left | 17:08 |
|
NoiseEee
| _ikke_: hmm? | 17:08 |
| → Caelum joined | 17:08 |
| ← doki_pen left | 17:08 |
| ← pheaver left | 17:08 |
| ← milleja46 left | 17:09 |
| ← Arokh left | 17:09 |
|
_ikke_
| I did a git cherry topic | grep ^- and wonders why I saw commits that I expected in the current branch | 17:09 |
| → arietis joined | 17:09 |
|
_ikke_
| wondered* | 17:09 |
| → twobitsprite joined | 17:09 |
| ← ehsan left | 17:09 |
| → doki_pen joined | 17:10 |
| → TheMoonMaster joined | 17:10 |
| → milleja46 joined | 17:10 |
| ← kermit left | 17:11 |
| → thinkdevcode joined | 17:11 |
| → ehsan joined | 17:11 |
| → kermit joined | 17:11 |
| ← neiz left | 17:12 |
| ← marhaban1 left | 17:14 |
| → rgr joined | 17:14 |
| ← mklappstuhl left | 17:14 |
| → Innocentus joined | 17:15 |
| ← babilen left | 17:15 |
| → Goplat joined | 17:17 |
| ← Davey left | 17:17 |
| ← les_sylvains left | 17:19 |
| ← PaulCapestany left | 17:19 |
| ← itatitat left | 17:20 |
| ← pfFredd left | 17:21 |
| → Fuxx joined | 17:23 |
| ← NoiseEee left | 17:23 |
| ← o] left | 17:24 |
| → PaulCapestany joined | 17:25 |
| → Sigma joined | 17:26 |
| → leeN joined | 17:26 |
| ← gain left | 17:26 |
| ← achadwick left | 17:27 |
| → Hounddog joined | 17:27 |
| → R1KRDO joined | 17:29 |
| → maqr joined | 17:31 |
| → thierryp joined | 17:32 |
| ← thierryp left | 17:32 |
| → torjus_ joined | 17:33 |
| → Arokh joined | 17:34 |
| ← RaceCondition left | 17:34 |
| ← afuentes left | 17:34 |
| ← LimeBlast left | 17:35 |
| ← maqr left | 17:35 |
| → yhager joined | 17:37 |
| → daniel_-_ joined | 17:37 |
| → swiety joined | 17:37 |
| → gittish joined | 17:39 |
| ← daniel_- left | 17:39 |
| ← jgomez left | 17:39 |
| ← mishok13 left | 17:39 |
| ← suy left | 17:39 |
| → legumbre_ joined | 17:40 |
| → mklappstuhl joined | 17:40 |
| → lonewulf` joined | 17:43 |
| → psoo joined | 17:44 |
| → jbub joined | 17:44 |
| → pheaver joined | 17:45 |
| → mastro joined | 17:45 |
| ← TeamColtra left | 17:47 |
| → AdrienBrault joined | 17:51 |
| ← BryanRuiz left | 17:51 |
| ← caddoo left | 17:51 |
| → mirage335 joined | 17:53 |
|
mirage335
| I need to modify a code in a bunch of branches from a single remote repository (IQEmu github repo), then push those changes back to the separate remote branches they belong in. | 17:54 |
| ← psoo left | 17:54 |
|
mirage335
| Is there an easy way to handle multiple remote branches? | 17:54 |
| ← nioncode left | 17:54 |
| ← gittish left | 17:55 |
| ← legumbre_ left | 17:56 |
| ← Innocentus left | 17:57 |
| → legumbre_ joined | 17:57 |
| ← Goplat left | 17:57 |
|
_ikke_
| Not really automated | 17:57 |
| ← OOP_Man left | 17:57 |
|
_ikke_
| In git, you most of the time operate on one branch at the same time | 17:58 |
| → wanders joined | 17:58 |
|
_ikke_
| mirage335: but things like git cherry-pick allows you to copy changes from one branch to another | 17:58 |
| → gv joined | 17:58 |
|
mirage335
| _ikke_: Thanks. | 17:59 |
| ← thinkdevcode left | 17:59 |
| ← gusnan left | 18:00 |
| ← timj1 left | 18:03 |
| ← bux left | 18:04 |
| ← bgerber left | 18:06 |
| ← torjus_ left | 18:06 |
| ← swiety left | 18:06 |
| ← manchicken left | 18:07 |
| → TeamColtra joined | 18:07 |
| ← alkino left | 18:07 |
| → sirdancealota joined | 18:08 |
| → tolland joined | 18:08 |
| → dinkytoy joined | 18:08 |
|
tolland
| i have a git repo in the base of my home directory with a wildcard excluding most of the files for example ~/Desktop | 18:09 |
| → ShadeTornado joined | 18:09 |
|
tolland
| so git ignores desktop, but if you cd into Desktop and do "git status" even though its not added, it still returns "git status" | 18:09 |
| ← ShadeTornado left | 18:10 |
| → ShadeTornado joined | 18:10 |
|
tolland
| so I can kind of see why this would happen, but it causes eclipse to perceive ~/workspace as being part of a git repo, even though its excluded | 18:10 |
| ← replore_ left | 18:10 |
|
_ikke_
| tolland: it returns git status? | 18:10 |
|
cbreak
| tolland: it's part of a git repo | 18:11 |
|
tolland
| oops, so git status, returns the status of the repo, in a directory excluded from the repo | 18:11 |
|
cbreak
| tolland: everything with a .git in the same or a parent level is inside a git repo | 18:11 |
| ← SirCmpwn left | 18:11 |
|
cbreak
| tolland: git status has nothing to do with it | 18:11 |
| → SirCmpwn joined | 18:11 |
| ← pheaver left | 18:11 |
|
tolland
| so there is no .git dir in Desktop | 18:12 |
|
| $ find ~/Desktop -name .git | wc -l | 18:12 |
|
| 0 | 18:12 |
| ← daniel_-_ left | 18:13 |
|
tolland
| but git status returns the status of the parent directory repo | 18:13 |
| ← chisler left | 18:13 |
| → Jippi joined | 18:13 |
|
cbreak
| tolland: doesn't matter | 18:13 |
|
| tolland: everything with a .git in the same or a parent level is inside a git repo | 18:13 |
|
tolland
| even if its in gitignore | 18:14 |
|
cbreak
| gitignore has nothing to do with it | 18:14 |
|
tolland
| it sounds like it should do | 18:14 |
|
cbreak
| the only thing gitignore does is hide untracked things from git | 18:14 |
|
tolland
| it sounds like the git repo should ignore it | 18:14 |
|
cbreak
| nothing more, nothing less | 18:14 |
|
| the repo ignores it... | 18:14 |
|
| it won't show up in git status | 18:14 |
|
tolland
| maybe you should rename it to githidesuntrackedfilesfromgit | 18:14 |
|
cbreak
| if you try to git add it, git will complain | 18:14 |
|
| and so on | 18:14 |
|
| if you don't want something to be inside a git repository | 18:15 |
|
| then MOVE IT OUT | 18:15 |
|
| easy. | 18:15 |
|
tolland
| i will do, im just here to bitch a bit first | 18:15 |
|
| ;-) | 18:15 |
|
ojacobson
| tolland: ignores are "I don't want to track this", not "this isn't part of my repo" | 18:15 |
|
| it works broadly the same way in every SCM tool | 18:15 |
|
| svn's kind of the odd one out because until recently svn tracked "is part of repo" on a per-directory basis | 18:16 |
|
cbreak
| with the difference that git's interpretation is safer | 18:16 |
|
| if git gets told to track and ignore something at the same time, it will track it | 18:17 |
|
| I heard svn will ignore it, even if it is told to track it | 18:17 |
|
| so you might lose data | 18:17 |
| ← aruiz left | 18:17 |
| → Goles joined | 18:17 |
| → _iron joined | 18:18 |
|
ojacobson
| cbreak: that wasn't true when I last used svn (it would never ignore tracked files) around 1.6 | 18:19 |
| → RaceCondition joined | 18:20 |
| → OOPMan joined | 18:21 |
| → marthinal joined | 18:24 |
|
tolland
| a work around seems to be to create an empty git repo in the ~/workspace dir | 18:24 |
|
| so the eclipse projects are submodules of that. | 18:24 |
|
| is that going to cause other problems? | 18:25 |
| → les_sylvains joined | 18:25 |
| → ISF joined | 18:25 |
| → OOP_Man joined | 18:26 |
| ← alunduil left | 18:26 |
| ← OOPMan left | 18:27 |
|
osse
| tolland: how often do you use the repo you have in your home directory? | 18:27 |
| ← JoeAngel_ left | 18:27 |
|
osse
| tolland: just once or twice a week for syncing your dotfiles? or very often? | 18:27 |
| ← rurufufuss left | 18:28 |
| ← shruggar left | 18:28 |
| ← danillonunes left | 18:29 |
| → aruiz joined | 18:29 |
| → alunduil joined | 18:29 |
| → startling joined | 18:29 |
|
startling
| what's the best way to convert some parts of a repository to git annex? remove them from history (they're pretty large) and then re-add them with annex? | 18:30 |
| ← dc5ala left | 18:30 |
|
startling
| also: I have a ~/code/ directory that has a million repositories in it. Right now I just rsync to my backup drive; is there a better solution to this? | 18:31 |
|
tolland
| osse: so i could probably do without it | 18:31 |
|
Nevik
| startling: whats wrong with rsyncinc them ? | 18:32 |
|
osse
| tolland: hmm. that sentence makes me think you wrote something else that I can't see. | 18:32 |
| ← NoDLL left | 18:32 |
| ← alunduil left | 18:32 |
| ← skorgon left | 18:33 |
| → alunduil joined | 18:33 |
|
startling
| Nevik, I don't need to keep all these files on my laptop, but I'm hesitant to get rid of some without a system I can trust to tell me there's a copy somewhere | 18:33 |
|
Nevik
| startling: if you have remotes, the copies are there; otherwise, yes, just move them somewhere else | 18:34 |
| ← Cromulent left | 18:34 |
|
bremner
| startling: probably there is no better way than removing the objects from history and then annexing them. | 18:34 |
| ← Goles left | 18:34 |
|
Nevik
| git repos are self-contained; to use them you only need git available to the active system | 18:34 |
| ← fisted left | 18:34 |
| → bgerber joined | 18:34 |
| → skorgon joined | 18:34 |
|
startling
| Nevik, sure, but going throught my ~200 directories and adding remotes and syncing them all would be a pain | 18:35 |
| → techhelp2 joined | 18:35 |
|
Nevik
| here's a fun question (i dont have a concrete case of this, just thought of it) -- does git complain when time goes backward (i.e. system time incorrect, new commit earlier than the previous one) ? | 18:35 |
|
| startling: as i said, move the repo to your backup drive, and youre fine | 18:35 |
|
_ikke_
| I don't think git will care | 18:36 |
|
| afaik commit time is only meta data | 18:36 |
|
Nevik
| startling: or copy it to several backup locations if that makes you feel safer | 18:36 |
|
| _ikke_: thought so | 18:36 |
| ← Sigma left | 18:36 |
|
startling
| Nevik, yeah. was hoping there was something that would take care of it for me; oh well | 18:36 |
| → danillonunes joined | 18:36 |
|
startling
| bremner, okay, that works. | 18:36 |
|
_ikke_
| Only stat info might confus git | 18:36 |
|
Nevik
| yeah | 18:36 |
|
cbreak
| each git commit has two time stamps | 18:37 |
|
| the commit time and the authorship time | 18:37 |
|
_ikke_
| yeah | 18:37 |
|
cbreak
| neither needs to be later than any of its parent commits' | 18:37 |
|
osse
| tolland: anyway, what I wanted to say is this: I have a hacky solution to this problem where I have a shell function that just toggles the name of the git dir between .git and .git-off | 18:37 |
|
Nevik
| startling: there are things that git can do for you, but if you want to backup the whole local repo, just compress it with whatever you like, and put it in a safe spot | 18:37 |
|
_ikke_
| cbreak: Does git use these dates anywhere internally? | 18:37 |
|
startling
| Nevik: sure | 18:37 |
|
cbreak
| yes | 18:38 |
| ← techhelp left | 18:38 |
|
cbreak
| for displaying dates | 18:38 |
|
Nevik
| lol | 18:38 |
| → cwillu_at_work joined | 18:38 |
| ← rhl left | 18:38 |
|
Nevik
| display != internal | 18:38 |
|
cbreak
| or things like reflog lookup | 18:38 |
|
| or date-order | 18:38 |
|
Nevik
| thats more like it | 18:38 |
| ← gv left | 18:38 |
|
Nevik
| so it might confuse things, but it wouldnt directly break anything | 18:38 |
|
| very git'ish | 18:38 |
| ← zenx left | 18:38 |
|
cbreak
| you can change them if you want | 18:39 |
|
Nevik
| yeah | 18:39 |
|
cbreak
| Nevik: man git-commit | 18:39 |
|
gitinfo
| Nevik: the git-commit manpage is available at http://jk.gs/git-commit.html | 18:39 |
|
cbreak
| look at --date | 18:39 |
|
| and the *_DATE env vars | 18:39 |
|
Nevik
| yeah | 18:39 |
| ← PaulCapestany left | 18:39 |
| ← icio left | 18:40 |
|
Nevik
| internet, y u so slow :< | 18:40 |
|
tolland
| osse: yeah, so I mainly created the repo there so I could learn how xfce was storing its configs in my ~/.* files | 18:40 |
|
jast
| my line is capped to 2 mbit/s down and 128 kbit/s up | 18:40 |
|
tolland
| so i could actually do without it | 18:40 |
|
jast
| due to bad SNR | 18:40 |
|
Nevik
| damn | 18:40 |
|
jast
| occasionally the modem will decide to cap to 1 mbit/s | 18:41 |
| → v0n joined | 18:41 |
|
cbreak
| my line's capped at 100mbit down, 7mbit up :( | 18:41 |
|
Nevik
| jast: the dorm i live in has a 100mbit connection, but the fiber node it's connected to is oversold, so during peak hour (weekdays, ~7-9pm), it drops really bad | 18:41 |
|
jast
| poor cbreak | 18:41 |
|
Nevik
| just now i dropped down to around 1Mbit or so | 18:42 |
|
| or maybe 2 | 18:42 |
|
| hard to tell with multiple devices | 18:42 |
| → aristidesfl joined | 18:42 |
| ← aristidesfl left | 18:42 |
| ← Hounddog left | 18:42 |
| ← startling left | 18:42 |
| ← bubbles10101 left | 18:43 |
|
Fingolfin
| ah, seems the git ml is alive again | 18:43 |
|
_ikke_
| Oh, cool | 18:43 |
| ← legumbre_ left | 18:43 |
|
_ikke_
| Are all those mails in the mean time just lost? | 18:43 |
| → h0bbit joined | 18:44 |
| → aristidesfl joined | 18:44 |
| ← RaceCondition left | 18:45 |
| → fdel joined | 18:45 |
| → OOPMan joined | 18:45 |
| → RaceCondition joined | 18:45 |
| ← OOP_Man left | 18:45 |
| → Goles joined | 18:46 |
| ← SuperrMann left | 18:46 |
| ← aristidesfl left | 18:46 |
|
Fingolfin
| _ikke_: no idea... well, there is one from 9 hours ago... perhaps there are more waiting in a queue? | 18:46 |
| ← Vile left | 18:47 |
|
| Fingolfin emailed the vger postmaster some time ago, but did not yet get a reply | 18:47 |
|
_ikke_
| possible | 18:47 |
|
Fingolfin
| there are several mails I know were sent but are missing | 18:47 |
| ← Goles left | 18:47 |
|
Fingolfin
| I know because I got a CC to a not subscribed email address of mine, that is | 18:47 |
| → aristidesfl joined | 18:47 |
| ← aristidesfl left | 18:48 |
| → aristidesfl joined | 18:49 |
|
Fingolfin
| gtg, cya | 18:49 |
| ← Fingolfin left | 18:49 |
| → flijten joined | 18:49 |
| → nobitanobi joined | 18:49 |
| ← aristidesfl left | 18:50 |
|
nobitanobi
| Hi. I have the following .gitignore: https://gist.github.com/4132531 but everytime I modify the .gitignore it appears in Changes not staged for commit: - why is that?? | 18:50 |
| → babilen joined | 18:51 |
|
_ikke_
| nobitanobi: Because you are tracking the file | 18:51 |
| → marhaban joined | 18:51 |
|
_ikke_
| nobitanobi: (you have git added and comitted it) | 18:51 |
|
| git doesn't ignore tracked files | 18:52 |
|
| (ignoring means you don't want to track something, so ignoring something tracked is basically a conflict) | 18:52 |
| → Sigma joined | 18:52 |
| → hinst joined | 18:53 |
| ← berserkr left | 18:53 |
| ← volta left | 18:53 |
| → PaulCapestany joined | 18:53 |
| ← p3rror left | 18:54 |
| ← tjadc left | 18:54 |
| → tjadc joined | 18:54 |
| ← sentinal8473 left | 18:55 |
| ← marhaban left | 18:56 |
| → j416 joined | 18:56 |
| → Innocentus joined | 18:56 |
|
fdel
| I have 2 versions of a git repository: v1 with only branches starting at master's HEAD and v2 pristine version with the same HEAD | 18:56 |
|
| I have a "error: .git/objects/pack/pack-58...f5.pack SHA1 checksum mismatch" when running "git fsck --full --strict --progress" on v1 | 18:56 |
|
| Is there a way I can "repair" v1 with v2? | 18:56 |
| → daniel_-_ joined | 18:57 |
| ← diegoviola left | 18:58 |
| → cilly joined | 18:58 |
| ← thelodger left | 18:59 |
| ← DoniRS left | 18:59 |
| → bauruine joined | 19:00 |
|
fdel
| (or simply repair v1) | 19:02 |
| ← barq left | 19:02 |
|
nobitanobi
| _ikke_ thanks | 19:03 |
| ← marthinal left | 19:03 |
|
nobitanobi
| I have two remotes and I see that I am in the branch "master", but when I try to do git diff master integration/master I get the following: "fatal: ambiguous argument 'integration/master': unknown revision or path not in the working tree." | 19:05 |
|
| Why is that happening? | 19:05 |
| ← vpopov left | 19:05 |
|
nobitanobi
| Can't I compare my local master to the remote master? | 19:05 |
|
imMute
| nobitanobi: separate them with a .. | 19:05 |
|
| nobitanobi: master..integration/master | 19:05 |
| → private joined | 19:05 |
|
imMute
| might be a ... and/or reversed order, depending on what you want to see, exactly | 19:06 |
| private → Guest46977 | 19:06 |
|
nobitanobi
| I think is because I don't have a local tracking branch | 19:06 |
| → avjpl joined | 19:07 |
|
EugeneKay
| git branch -a | 19:07 |
|
nobitanobi
| just master. | 19:07 |
|
| Tried to do this though: git branch --track master_integration integration/master | 19:07 |
| ← mklappstuhl left | 19:07 |
|
nobitanobi
| and got: fatal: Not a valid object name: 'integration/master'. | 19:07 |
| ← Tegi left | 19:07 |
|
imMute
| origin/integration/master ? | 19:08 |
|
nobitanobi
| why origin? | 19:08 |
|
imMute
| or whatever your remote name is | 19:08 |
|
| oh, is your remote name "integration" ? | 19:08 |
|
nobitanobi
| [remote "integration"] | 19:08 |
|
| url = [email@hidden.address] | 19:08 |
|
| fetch = +refs/heads/*:refs/remotes/integration/* | 19:08 |
|
| yes | 19:08 |
|
imMute
| 1) don't paste. 2) 'git fetch integration' | 19:08 |
| → berserkr joined | 19:08 |
|
nobitanobi
| imMute, may I ask why do I need to do a fetch? | 19:09 |
|
| I have already done a pull | 19:09 |
| ← OOPMan left | 19:09 |
|
imMute
| to fetch the remote refs. | 19:09 |
| → diegoviola joined | 19:09 |
| ← avjpl left | 19:09 |
|
imMute
| did you do a pull from a different remote? | 19:09 |
| → OOPMan joined | 19:09 |
|
nobitanobi
| well, I did from "production", but when trying to create the local tracking branch of production, got the same fatal | 19:09 |
| ← _Vi left | 19:10 |
|
nobitanobi
| dang it, now I did the fetch and got exactly what I didn't want | 19:10 |
|
| * [new branch] master -> integration/master | 19:10 |
|
imMute
| which was? | 19:10 |
|
nobitanobi
| now my master is tracking that remote right? | 19:10 |
|
SethRobertson
| yes | 19:11 |
|
imMute
| that's easily changed. | 19:11 |
| ← Ryback_ left | 19:11 |
|
SethRobertson
| fetch didn't do that or anything | 19:11 |
|
nobitanobi
| SethRobertson: I would say before doing the fetch, my master was a local branch | 19:12 |
| ← ISF left | 19:12 |
|
imMute
| nobitanobi: integration/master (full name: refs/remotes/integration/master) IS the remote tracking branch. you get those by doing a fetch of that remote | 19:12 |
|
| nobitanobi: you have to have that tracking branch in order to do diffs with it. | 19:12 |
| → Kre10s_ joined | 19:12 |
|
ojacobson
| nobitanobi: 'fetch' did not touch your master branch (refs/heads/master). It copied the remote's master branch (remote's refs/heads/master) to a "remote tracking" branch in your local repo named integration/master (refs/remotes/integration/master). | 19:13 |
|
| Your local master branch is unchanged. | 19:13 |
|
nobitanobi
| ojacobson: ok. | 19:13 |
| → tchan joined | 19:13 |
| ← tchan left | 19:13 |
| → tchan joined | 19:13 |
|
imMute
| ojacobson: correct me if i'm wrong, but the "master" in the thing nobitanobi pasted is actually referring to the master on the remote, correct? | 19:13 |
|
Kre10s_
| hey. I'm trying to clone a git repo over gitolite/ssh on windows. I have installed msysgit. I am told msysgit will generate an ssh public key for me... where do i find it so that i can send it to the admins? | 19:14 |
| ← houman left | 19:14 |
|
imMute
| Kre10s_: AFAIK, it doesn't do it automatically. use ssh-keygen or PuTTYgen to make one. | 19:15 |
|
nobitanobi
| thanks guys, I am going to try to figure out | 19:15 |
|
jast
| in msysgit's shell, try: cat ~/.ssh/id_rsa.pub | 19:15 |
|
nobitanobi
| what's going on :) | 19:15 |
|
ojacobson
| imMute: yes, it is | 19:15 |
|
jast
| if that errors out, you probably don't have an automatically generated key :) | 19:15 |
|
ojacobson
| (remote branch name) -> (local remote-tracking name) | 19:15 |
|
imMute
| ojacobson: okay, that might be part of why nobitanobi is confused | 19:15 |
|
| nobitanobi: git was telling you that it was creating a remote tracking branch (called integration/master) that is tracking the branch "master" on that remote | 19:16 |
|
nobitanobi
| ok! | 19:16 |
|
| now that makes sense | 19:16 |
|
imMute
| nobitanobi: your confusion comes from that there is a "master" on both your repo and the remote | 19:16 |
|
nobitanobi
| right | 19:16 |
|
| I believe so | 19:16 |
|
| I was just trying to have a local master branch | 19:16 |
|
| and two tracking branch from the two remotes | 19:16 |
|
imMute
| right, which is what you now have | 19:16 |
|
nobitanobi
| yup | 19:17 |
|
imMute
| if you do a git branch -a you should see master, integration/master, and production/master | 19:17 |
|
nobitanobi
| well, I screwed a little bit because of this: | 19:17 |
|
imMute
| (the first being a local branch, the other two are remote-tracking branches) | 19:17 |
|
nobitanobi
| https://gist.github.com/4132594 | 19:17 |
| → svetlyak40wt joined | 19:17 |
|
nobitanobi
| check the fetch, it says heroku instead of production | 19:17 |
|
imMute
| ah | 19:17 |
|
nobitanobi
| going to change that :) | 19:18 |
|
imMute
| in that case the remote is called "production", but it makes remote-tracking branches with the "heroku/" prefix | 19:18 |
|
nobitanobi
| so if when I do a fetch of a remote I want the name of the branch to be master_remote | 19:18 |
|
imMute
| no | 19:18 |
|
| you dont | 19:19 |
|
nobitanobi
| why? | 19:19 |
|
imMute
| because then it looks like a local branch | 19:19 |
| ← osse left | 19:19 |
|
imMute
| unless... do you want to actually *check out and work on* that remote branch? | 19:19 |
|
nobitanobi
| I was thinking on doing that yes | 19:20 |
|
| otherwise, why is it usefull to have the tracking branches? | 19:20 |
|
| what would be a good workflow? | 19:20 |
|
| work on the local one and merge on the remote? | 19:20 |
|
| and then push? | 19:20 |
| → pheaver joined | 19:20 |
|
nobitanobi
| merge on the remote tracking one | 19:20 |
|
| I mean | 19:20 |
|
ojacobson
| nobitanobi: 'git fetch' and 'git push' should be the only things touching remote-tracking branches | 19:21 |
|
imMute
| then you want to do somehting like git branch [-t] master_remote remote/master | 19:21 |
|
ojacobson
| to start from production/master and make some changes, use 'git checkout -b some-local-name production/master' or that git-branch stanza imMute suggests | 19:21 |
|
nobitanobi
| ojacobson: what about git pull? | 19:21 |
|
imMute
| nobitanobi: you can't checkout remote-tracking branches. they are merely so you know what state the remote repo is at. | 19:21 |
|
ojacobson
| nobitanobi: git pull uses 'git fetch' and 'git merge' under the hood. | 19:21 |
| → _huoxito joined | 19:21 |
|
imMute
| which is why pull = fetch + merge. the fetch updates your tracking-branch (so you get the latest changes from the remote) and then merges those changes into your local branch | 19:23 |
|
nobitanobi
| (I'm reading all this awesome information...) | 19:23 |
|
| I am pretty much lost now | 19:24 |
|
| dang it | 19:25 |
|
imMute
| about what? | 19:25 |
|
nobitanobi
| best way to work with two remotes. | 19:25 |
|
imMute
| okay, using your production and integration remote (where integration is a QA-like setup??) | 19:25 |
| → dr_diamond joined | 19:25 |
|
nobitanobi
| that's what I am trying to | 19:26 |
|
| yes | 19:26 |
|
imMute
| okay, so you probably want to let devs push to integration whenever - so they can test their changes in a production-like environment | 19:26 |
| ← dr_diamond left | 19:26 |
| ← blami_ left | 19:27 |
| → Vile joined | 19:27 |
|
nobitanobi
| and right now I have the following .git/config: https://gist.github.com/4132620 | 19:27 |
|
| imMute: right. I want to push to integration | 19:27 |
|
imMute
| so devs would branch from integration/master to work on features, and push back to that when they're done with a feature (merging or rebasing along the way to get other's changes) | 19:27 |
|
nobitanobi
| but I am confusd about the set up in the local | 19:27 |
|
| ok | 19:27 |
| ← laurav left | 19:27 |
|
nobitanobi
| so the first thing is doing a fetch from both integration and production | 19:27 |
|
| and then branching out from those | 19:27 |
|
imMute
| no, noone should be branching from production | 19:28 |
|
nobitanobi
| branching from integration | 19:28 |
|
| from local integration/master | 19:28 |
| ← cyphase left | 19:28 |
|
imMute
| then, when integration/master gets into a state where you want to move/upgrade it to production, then someone branches from integration/master, merges it into production/master and then pushes it to production/master | 19:28 |
|
nobitanobi
| perfect | 19:29 |
|
| but the first step | 19:29 |
|
imMute
| if you never pull from or modify production/master, the merge should always be a fast-forward | 19:29 |
|
nobitanobi
| ok | 19:29 |
|
| awesome. | 19:29 |
|
| Let me ask you one last thing | 19:29 |
|
| right now I am in an empty git repository with this https://gist.github.com/4132620 | 19:29 |
|
imMute
| only one person (the guy who "promotes" integration to production) should even need production as a remote | 19:29 |
|
nobitanobi
| that's myself.. | 19:29 |
|
| because I am actually the only one dev now :P | 19:30 |
|
imMute
| ah, then the "other devs" are merely theoretical. | 19:30 |
| → dr_diamond joined | 19:30 |
|
nobitanobi
| well, imMute there is a friend of mine joining soon | 19:30 |
|
| I hope that theoretical comes practical | 19:30 |
| → harrylynes joined | 19:30 |
|
imMute
| so, he probably only needs to work with integration | 19:30 |
|
nobitanobi
| now that I am in an empty local .git repository with this config: https://gist.github.com/4132620 — what would be the first step to do | 19:31 |
|
| ? | 19:31 |
|
| git fetch integration? | 19:31 |
| ← dr_diamond left | 19:31 |
| → dr_diamond joined | 19:31 |
|
nobitanobi
| right now if I do git branch, I don't get anything. Is completely empty. | 19:31 |
| → Targen joined | 19:31 |
|
imMute
| to start a new dev repo? just clone integration | 19:31 |
| ← harrylynes left | 19:31 |
|
nobitanobi
| I am already in a empty git repo, | 19:32 |
|
imMute
| which does all the config setup and creates a branch called master that tracks integration/master | 19:32 |
|
nobitanobi
| a local branch called master that tracks the local integration/master? | 19:32 |
|
imMute
| then what you probably want to do is git checkout -b master integration/master (or, equivalently, git branch -t master integration/master ; git checkout master ) | 19:32 |
| → chris64 joined | 19:32 |
| ← Targen left | 19:33 |
| ← svetlyak40wt left | 19:33 |
|
nobitanobi
| but first I need to do a fetch of integration right? | 19:33 |
|
imMute
| uh, yes | 19:33 |
|
| otherwise, integration/master doesn't exist | 19:33 |
| ← martinjlowm-lapt left | 19:33 |
| ← OOPMan left | 19:34 |
|
nobitanobi
| imMute: I really appreciate all this tutorial you are doing. | 19:34 |
| → OOP_Man joined | 19:34 |
|
nobitanobi
| I think I never understood this so easily | 19:34 |
|
| I just did git fetch integration | 19:34 |
|
imMute
| nobitanobi: it took me a while to get used to it, too. | 19:34 |
|
nobitanobi
| and at the end I got this: * [new branch] master -> integration/master | 19:34 |
|
| however when I do git branch, I get nothing | 19:35 |
|
wereHamster
| nobitanobi: git branch -a | 19:35 |
| → Nikoli joined | 19:35 |
|
nobitanobi
| right, I get the two remotes | 19:35 |
|
imMute
| right, that's telling you, "hey, I just made a remote-tracking branch called integration/master that tracks the branch called master on the remote you just fetched" | 19:35 |
|
wereHamster
| git fetch fetches into remote tracking branches.git branch without any flags show slocal branches | 19:35 |
|
nobitanobi
| oh okok... | 19:35 |
| → fanno joined | 19:35 |
|
nobitanobi
| I guess it would be more clear if it was integration/master -> master | 19:35 |
|
imMute
| nobitanobi: that "master" refers to "master" *on the remote* | 19:35 |
|
nobitanobi
| local -> TO -> remote | 19:35 |
|
| guys, this was such a lesson. | 19:36 |
|
imMute
| technically, I think it should be a <-> since the two are equivalent (at the time of the fetch) | 19:36 |
|
nobitanobi
| I'm going to finish configuring this. | 19:36 |
|
| thank you very much | 19:36 |
| ← segv_ left | 19:36 |
|
nobitanobi
| I hope I can help you back someday | 19:36 |
|
imMute
| (well, equivalent except only one of them is actually usable) | 19:36 |
|
| IMO, people should rewrite tutorials so that master is only used on one repository - to avoid this kind of confusion. | 19:37 |
| → icio joined | 19:37 |
| → LekeFly joined | 19:40 |
| ← daniel_-_ left | 19:41 |
| → gusnan joined | 19:41 |
|
fdel
| Is it possible to repair a pack with a SHA 1 checksum mismatch? | 19:41 |
|
fanno
| hi all i am still having problems making a server script to force a update of a repo to the same version as the remote reop .. how do i do that. only way o can make it happen is to delete the repo and do a new clone ... =( | 19:42 |
| ← jcao219 left | 19:42 |
|
wereHamster
| fdel: copy the pack from a backup | 19:42 |
|
imMute
| fanno: the script is calling something like 'git pull' ? | 19:42 |
| ← techhelp2 left | 19:42 |
|
fanno
| imMute: no i have been using fetch --all and then should reset --hard origin/*branchname* not work ? | 19:43 |
|
imMute
| fanno: probably | 19:44 |
|
fanno
| the issue is i get this error message fatal: unable to read tree 0ae5bf67531c7..... | 19:44 |
| ← Nikoli left | 19:45 |
| ← qmanjr5 left | 19:45 |
| → cyphase joined | 19:46 |
| → mklappstuhl joined | 19:47 |
| ← h0bbit left | 19:49 |
| → Nikoli joined | 19:49 |
| → mikepack joined | 19:51 |
| ← samir left | 19:52 |
| → noyb joined | 19:53 |
| → samir joined | 19:54 |
| ← Nikoli left | 19:55 |
| ← AdrienBrault left | 19:56 |
| ← diegoviola left | 19:56 |
| ← TeamColtra left | 19:57 |
| → beagleDude joined | 19:58 |
| → AdrienBrault joined | 19:59 |
| ← icio left | 20:00 |
| → sluther joined | 20:00 |
| → sq-one joined | 20:01 |
| ← AdrienBrault left | 20:01 |
| → victorbjelkholm joined | 20:02 |
| ← noyb left | 20:02 |
| → russt_ joined | 20:02 |
| → AdrienBrault joined | 20:03 |
| ← flijten left | 20:03 |
| ← victorbjelkholm left | 20:03 |
| ← russt left | 20:03 |
| russt_ → russt | 20:03 |
| ← nitrix left | 20:04 |
| → Nikoli joined | 20:04 |
| → etcetera joined | 20:06 |
| → m0viefreak joined | 20:06 |
| → lolfrenz joined | 20:07 |
| → TheJH joined | 20:09 |
|
_ikke_
| fanno: git fsck | 20:10 |
| → noyb joined | 20:10 |
| ← nizeguy_ left | 20:10 |
| ← _huoxito left | 20:11 |
| → riker2000_ joined | 20:12 |
| → michagogo joined | 20:12 |
| gitinfo set mode: +v | 20:12 |
| → sewo joined | 20:12 |
|
michagogo
| Question: is there a way, in a windows batch file, to check whether or not `git pull` changed anything? | 20:13 |
| → nitrix joined | 20:13 |
|
michagogo
| In other words, I want to issue a git pull command, and then do one thing if it says "already up to date" and another thing if it does something else | 20:14 |
|
| I already tried checking errorlevel, but apparently already up to date doesn't count as an error | 20:15 |
| ← riker2000 left | 20:15 |
|
wereHamster
| michagogo: you should not run pull from an unattended script | 20:15 |
|
michagogo
| wereHamster: Not unattended | 20:15 |
|
Kre10s_
| imMute, thanks for the tip. spoton. seems ssh-keygen comes with msysgit when you install it. | 20:15 |
|
wereHamster
| michagogo: well, then compare HEAD before and after, and check whether the working tree has conflicts | 20:16 |
| → hpa joined | 20:16 |
|
michagogo
| wereHamster: Hmm? | 20:16 |
|
Nevik
| lol | 20:16 |
|
| michagogo doesn't know a lot about git | 20:16 |
|
wereHamster
| michagogo: pull=fetch+merge. merge changes HEAD, if HEAD has changed, then pull changed something | 20:16 |
|
sewo
| Question: two branches: master and mine, mine has master plus cherry picks plus some own changes. is there a way to list all the cherry picks in mine ? or some master/mine log diff command ? something that could help me find out which cherry picks I made in the past | 20:16 |
|
Nevik
| michagogo: then you probably should read up a bit before plunging into the endeavour of using batch files of all things to script it with :P | 20:17 |
|
wereHamster
| michagogo: before=<value of HEAD>; git pull; after=<value of HEAD>; if before != after then ... | 20:17 |
|
michagogo
| Basically, what I have now pulls a repo, and then copies a couple files out and runs javac on them, and then runs java on the package | 20:17 |
|
| I'd like to be able to skip the copy and javac parts if nothing has changed to save time | 20:18 |
|
Nevik
| then just do what wereHamster said | 20:18 |
|
michagogo
| How do I do that? | 20:19 |
|
wereHamster
| michagogo: man git-rev-parse | 20:19 |
|
gitinfo
| michagogo: the git-rev-parse manpage is available at http://jk.gs/git-rev-parse.html | 20:19 |
| ← dr_diamond left | 20:19 |
|
wereHamster
| the rest you have to figure out yourself. | 20:19 |
| ← setmeaway left | 20:20 |
| → rob_w joined | 20:20 |
|
Nevik
| or pay someone to work with the ugliness that is batch files, lol | 20:20 |
| → gv joined | 20:21 |
|
sewo
| can I make a diff between two branches ? | 20:21 |
|
_ikke_
| yea | 20:21 |
|
michagogo
| Nevik: Is there any better way to do it? | 20:21 |
|
Nevik
| michagogo: alternatively, learn how to script in windows powershell, or learn bash script and use the git bash that comes with msysgit | 20:21 |
|
wereHamster
| sewo: git diff <branch1> <branch2> | 20:21 |
|
sewo
| thx | 20:21 |
| → z00mer joined | 20:22 |
| → dr_diamond joined | 20:22 |
| → setmeaway joined | 20:23 |
|
michagogo
| "git rev-parse --verify HEAD"? | 20:23 |
| → sam__ joined | 20:24 |
| → guardian joined | 20:25 |
|
guardian
| hi | 20:25 |
| → shruggar joined | 20:25 |
|
_ikke_
| guardian: !hi | 20:25 |
|
gitinfo
| guardian: [!welcome] Welcome to #git, a place full of helpful gits. If you have a question, feel free to just go ahead and ask—somebody should answer shortly. For more info on this channel, see http://jk.gs/git/ Take backups (type !backup to learn how) before taking advice. | 20:26 |
|
guardian
| I made a commit in a branch that has been merged into master. I would like to find that commit, with git log -p | 20:26 |
| ← nitrix left | 20:26 |
|
guardian
| but it doesn't seem to show what's been made in the branch before being merged | 20:26 |
|
| is there an option for that? | 20:26 |
|
wereHamster
| git log --full-history | 20:26 |
| → _huoxito joined | 20:27 |
|
guardian
| thakn you | 20:27 |
| ← sjhuang left | 20:28 |
| → psoo joined | 20:29 |
| → sjhuang joined | 20:31 |
| → Ose joined | 20:32 |
| ← hinst left | 20:34 |
|
Ose
| complete noob here, assume I know nothing: can I do a login thing on the git bash (i'm on windows btw) so that I don't need to do the username/password thing every time I push my changes? | 20:35 |
| ← noyb left | 20:35 |
| → jimmyeatworld joined | 20:35 |
| ← guardian left | 20:35 |
| → guardian joined | 20:35 |
| → marshall joined | 20:35 |
|
marshall
| hey git | 20:36 |
| ← OOP_Man left | 20:36 |
| gitinfo set mode: +v | 20:36 |
|
arex\\
| What git commands accept a git repo URL as a parameter? git clone, git ls-remote, more? | 20:36 |
|
marshall
| I've done a git checkout at a certain commit in my repo. how do I go to the next one? I'd like to walk back up the history to the last commit I made. | 20:36 |
| ← z00mer left | 20:37 |
|
Nevik
| arex\\: all that accept remote names, too | 20:37 |
|
| fetch, push, etc | 20:37 |
| ← sewo left | 20:37 |
|
arex\\
| I'm looking to compare the execution time of the same git command against two different remote repos | 20:37 |
|
| Wondering what command(s) to use | 20:37 |
|
ojacobson
| arex\\: use ls-remote, fetch, and push | 20:38 |
| → GeertB joined | 20:38 |
|
ojacobson
| most remote interactions eventually hit some transport and upload-pack or receive-pack eventually, those three exercise that the most directly out of the porcelain commands | 20:38 |
|
arex\\
| Ok, nice | 20:38 |
|
ojacobson
| (you can use clone rather than fetch, if you don't mind having some fixed overhead for creating a new repo locally in your measurements) | 20:39 |
|
wereHamster
| arex\\: what exactly do you want to compare? Latency to open a connection? The pack/unpack speed of the remote host? | 20:39 |
| ← dr_diamond left | 20:39 |
|
arex\\
| Specifically, I want to compare using two different addresses to a repo (reverse proxy url vs "regular" url) | 20:39 |
|
| Someone suggested one seemed faster than the other, day to day | 20:40 |
|
| I just want to measure | 20:40 |
|
Nevik
| cool idea | 20:40 |
| ← Innocentus left | 20:40 |
|
arex\\
| I think I got what I need, thanks guys (so far :) | 20:41 |
| → dzan joined | 20:41 |
| ← sluther left | 20:42 |
| → pantsman joined | 20:43 |
| ← pantsman left | 20:43 |
| → pantsman joined | 20:43 |
| ← GeertB left | 20:43 |
| ← jlopez left | 20:44 |
| → sluther joined | 20:44 |
| → kvda joined | 20:46 |
| → marhaban joined | 20:46 |
| ← russt left | 20:46 |
| ← marhaban left | 20:47 |
| → rednaks joined | 20:48 |
| → techhelp joined | 20:49 |
| → cin_ joined | 20:50 |
| → Thra11 joined | 20:50 |
| ← cin_ left | 20:50 |
| → cinatic joined | 20:50 |
| ← les_sylvains left | 20:51 |
|
cinatic
| hi | 20:51 |
|
gitinfo
| cinatic: 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. | 20:51 |
|
cinatic
| what is the best way to change the url from a submodule from git:// to ssh:// (i want to commit changes from the submodule directly)? | 20:51 |
|
_ikke_
| cinatic: update it in the .gitmodules file, and then git submodule sync | 20:52 |
| ← beagleDude left | 20:53 |
| ← Thra11_ left | 20:53 |
| → Glados__ joined | 20:53 |
| gitinfo set mode: +v | 20:54 |
|
Glados__
| Mornin. I want to "merge" my last two commits into one. Is that possible? I only have a local copy, I never push. | 20:54 |
| → svetlyak40wt joined | 20:55 |
|
cinatic
| _ikke_: awesome thank you | 20:55 |
| → russt joined | 20:55 |
| → davidbanham joined | 20:55 |
|
m0viefreak
| yes Glados__ | 20:56 |
|
| git rebase -i HEAD~2 | 20:56 |
| ← fanno left | 20:56 |
|
m0viefreak
| an editor pops up with | 20:56 |
|
| pick 12731 commitA | 20:56 |
|
| pick 27347 commitB | 20:56 |
|
| change second pick to squash | 20:56 |
|
| save and exit | 20:56 |
|
Nevik
| also, !tias | 20:57 |
|
gitinfo
| Try it and see™. You learn much more by experimentation than by asking without having even tried. If in doubt, make backups before you experiment (see !backup). http://sitaramc.github.com/1-basic-usage/tias.html may help with git-specific TIAS. | 20:57 |
|
Nevik
| and !backup | 20:57 |
|
gitinfo
| Taking a backup of a git repository is always a good idea, especially when taking advice over IRC. Usually, the best way to TACTICALLY back up a git repo is `git clone --mirror`. However, some unusual maintenance might require `tar cf repo-backup.tar repodir`. Testing in a clone is also an excellent idea. See also http://sethrobertson.github.com/GitBestPractices/#backups | 20:57 |
| ← R1KRDO left | 20:57 |
| → hachque joined | 20:57 |
| → R1KRDO joined | 20:57 |
|
Nevik
| Glados__: those are good advice when trying things like this out, so you can play a bit and see what does what | 20:57 |
|
Glados__
| Thank you m0viefrak and Nevik! | 20:57 |
|
| awesome | 20:57 |
|
Nevik
| np ;) | 20:58 |
| ← Sigma left | 20:58 |
|
m0viefreak
| heres a workflow question: assume i pull upstream changes into my local master, and now want to go though all the new changes one by one | 20:59 |
| → dr_diamond joined | 20:59 |
|
m0viefreak
| whats the best (commandline) way to do that? | 20:59 |
| → daniel_-_ joined | 20:59 |
|
m0viefreak
| ive been using something like git log -p --reverse HEAD@{1}.. | 21:00 |
| ← Thra11 left | 21:00 |
|
m0viefreak
| but im missing a way to "jump" from commit to commit | 21:00 |
| ← mikepack left | 21:00 |
| → marix88x joined | 21:01 |
|
EugeneKay
| Going backwards is easy. Forward not quite so much, but still doable | 21:01 |
| ← marix88x left | 21:02 |
|
m0viefreak
| problem is, the whole thing is in a | less pager, and if one commit is huge i have to keep pressing PageDown | 21:02 |
|
EugeneKay
| Oh, you want to see diffs | 21:03 |
|
m0viefreak
| yes | 21:03 |
|
Glados__
| m0viefrak: Turns out I cant do it atm, I have unstaged changes, that I would like to commit later and not now. Any fix ?:P | 21:03 |
|
EugeneKay
| Glados__ - !stash | 21:04 |
|
wereHamster
| m0viefreak: you can use /^commit to jump to the next commit | 21:04 |
|
EugeneKay
| Useless bot. man git-stash | 21:04 |
|
gitinfo
| the git-stash manpage is available at http://jk.gs/git-stash.html | 21:04 |
| ← pandeiro left | 21:04 |
| → hwrd|work joined | 21:04 |
|
EugeneKay
| wereHamster - he wants to view diffs, not checkout | 21:04 |
| → marix88x joined | 21:04 |
|
m0viefreak
| oh, yeah, havent thought of a simple less search | 21:04 |
|
ojacobson
| m0viefreak: might be easier if you do it the long way | 21:04 |
|
| git fetch origin; git log -p master..origin/master | 21:04 |
|
wereHamster
| EugeneKay: I know. | 21:04 |
|
EugeneKay
| Oh, I see what you're saying | 21:04 |
|
| EugeneKay hides under rock | 21:04 |
|
m0viefreak
| thats a good idea wereHamster | 21:04 |
|
| probably good enough to skip some irrelevant huge-ass commit | 21:05 |
| ← marix88x left | 21:05 |
|
ojacobson
| or even git log --stat master..origin/master and then git show the commits that are "interesting", if they're the less-frequent case | 21:05 |
| ← R1KRDO left | 21:06 |
| → watussi joined | 21:07 |
|
m0viefreak
| hm yea, invovles a lot of copy pasting tho | 21:08 |
| ← JohnBat26 left | 21:08 |
| ← Sky[x] left | 21:10 |
| → asaf joined | 21:11 |
|
Glados__
| m0viefreak : I did stash apply, now I should merge? | 21:11 |
| → barq joined | 21:11 |
|
m0viefreak
| after appliying the stash, you are in the previous state | 21:11 |
|
| do whatever you want | 21:11 |
|
| git stash; <rebase thing i explained earlier>; git stash apply | 21:12 |
| → Thra11 joined | 21:12 |
|
Glados__
| Please check this out, http://imgur.com/MkaoO | 21:12 |
| → AbdolHosein joined | 21:12 |
| ← hachque left | 21:13 |
| → hachque joined | 21:13 |
|
Glados__
| that looks right? | 21:14 |
|
m0viefreak
| uhm, dont know | 21:14 |
| → Advant joined | 21:15 |
|
AbdolHosein
| hi to all | 21:15 |
|
gitinfo
| AbdolHosein: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on. | 21:15 |
|
AbdolHosein
| are anyone here developer of git? | 21:15 |
|
Advant
| I had deleted a file locally, but somehow it was pushed to remove repository. I deleted file manually, then did git rm to remove reference to hit. I then committed and did a git push, but the file is still showing on my remote repository. How can I get rid of it? | 21:16 |
|
Nevik
| AbdolHosein: you can just ask your question anyway | 21:16 |
|
| someone might know where to point you | 21:16 |
| ← revagomes left | 21:17 |
|
AbdolHosein
| ok, tnx, it was for making friendship with git developers, coz i wana to know git core; surely will ask certain question later, In sha Allah. | 21:18 |
| ← eijk_ left | 21:18 |
| → eijk__ joined | 21:18 |
| → sebrock joined | 21:19 |
| ← etcetera left | 21:19 |
|
arex\\
| Oh, seems like I have to specify -min -max -avg | 21:20 |
|
m0viefreak
| Glados__: if the master branch is correct now, you can get rid of the stash using git stash clear | 21:20 |
|
arex\\
| I thought the default was to calculate everything | 21:20 |
| → giallu joined | 21:21 |
| → ankitS joined | 21:21 |
|
Nevik
| arex\\: we have no idea what youre talking about | 21:21 |
|
arex\\
| That's ok, I'm used to that :) | 21:21 |
|
| I got it working now anyway | 21:22 |
|
| I'll paste it, just for completeness | 21:22 |
|
| http://pastie.org/private/jqgbi9zupvptoeofdtmaw | 21:22 |
| ← Advant left | 21:22 |
|
arex\\
| I wish it calculated mediam too | 21:23 |
|
| median* | 21:23 |
| ← AbdolHosein left | 21:23 |
| ← fdel left | 21:24 |
| → Xizor joined | 21:25 |
| ← __class__ left | 21:25 |
| ← Mode-M left | 21:25 |
| → maqr joined | 21:26 |
| ← a-l-e left | 21:26 |
| → ampz joined | 21:27 |
| → kzh joined | 21:27 |
| ← wheezl left | 21:27 |
| → marhaban joined | 21:27 |
| ← cenuij left | 21:27 |
| → jiunec joined | 21:27 |
| → user12 joined | 21:28 |
| → flijten joined | 21:29 |
| ← user12 left | 21:29 |
| ← _iron left | 21:31 |
| → miphe joined | 21:35 |
| ← marshall left | 21:40 |
| ← j416 left | 21:41 |
| ← arietis left | 21:42 |
| ← myx left | 21:42 |
| → beagleDude joined | 21:43 |
|
JPeterson
| what does --bare in "git init --bare" do? | 21:43 |
|
FauxFaux
| JPeterson: man git init | 21:43 |
|
gitinfo
| JPeterson: the git-init manpage is available at http://jk.gs/git-init.html | 21:43 |
| → Synthead joined | 21:43 |
|
crocket
| JPeterson, "man git-init" will man you up. | 21:43 |
|
gitinfo
| JPeterson: the git-init manpage is available at http://jk.gs/git-init.html | 21:43 |
| ← sebrock left | 21:43 |
| ← svetlyak40wt left | 21:44 |
|
JPeterson
| no it doesnt | 21:44 |
|
| "Create a bare repository." doesnt mean anything more than --bare | 21:44 |
|
crocket
| JPeterson, --bare means a bare repository. | 21:44 |
|
FauxFaux
| And Google has no idea what a bare repository is? | 21:44 |
|
crocket
| JPeterson, In a bare repository, you can't checkout. | 21:44 |
|
JPeterson
| ok i guess i wont use it | 21:45 |
|
crocket
| There is no working directory in a bare repository. | 21:45 |
| ← agile left | 21:45 |
|
crocket
| JPeterson, If you host your git repositories on a server, you need bare repositories. | 21:45 |
| ← michagogo left | 21:45 |
| → Turicas joined | 21:45 |
|
imMute
| JPeterson: if you want to push to a repository, it needs to be a bare repository | 21:46 |
|
crocket
| A hosted repository shouldn't have a working directory. | 21:46 |
|
JPeterson
| ok i guess ill use bare | 21:46 |
|
| sjk grins | 21:48 |
| ← legnaleurc_ left | 21:48 |
| ← danillonunes left | 21:48 |
| → legnaleurc joined | 21:48 |
| → danillonunes joined | 21:49 |
| → Hounddog joined | 21:49 |
|
crocket
| JPeterson, Also, to make an offspring, you need a bare woman. | 21:49 |
|
| I like bare. | 21:49 |
|
JPeterson
| i see no reason why women shouldn't always be bare | 21:50 |
| → klj613 joined | 21:50 |
|
FauxFaux
| How would you mark them as your property otherwise?! | 21:50 |
|
crocket
| JPeterson, If they should always be bare, the apparel industry will go broke. | 21:50 |
|
JPeterson
| (besides being fat) | 21:51 |
| ← leeN left | 21:56 |
| ← psoo left | 21:56 |
| → icio joined | 21:57 |
| ← WinstonSmith left | 21:58 |
| → myx joined | 21:58 |
| ← sirdancealota left | 21:59 |
| → jcao219 joined | 21:59 |
|
JPeterson
| why does git clone complain "info/refs not found" from a http "git init --bare" but not on a local "git init --bare"? | 21:59 |
| → _Vi joined | 22:00 |
| ← AdrienBrault left | 22:00 |
|
FauxFaux
| Doesn't git clone have more output than that? | 22:00 |
| → WinstonSmith joined | 22:01 |
| ← sluther left | 22:01 |
|
JPeterson
| the info/refs is not there, but that's expected, git init --bare doesnt create it | 22:02 |
| → AeroNotix joined | 22:02 |
|
AeroNotix
| can I have a remote set up like: remote add name user@$(command) ? | 22:03 |
|
cbreak
| why bother? | 22:03 |
|
imMute
| AeroNotix: what on earth for? | 22:04 |
|
AeroNotix
| because I have a remote that changes IP | 22:04 |
|
imMute
| AeroNotix: so use dynamic DNS. | 22:04 |
|
cbreak
| use a domain name. | 22:04 |
| → noyb joined | 22:04 |
|
cbreak
| or an ssh alias | 22:04 |
|
AeroNotix
| I'll look into those | 22:05 |
|
| thanks | 22:05 |
|
cbreak
| domain names are easier | 22:05 |
|
| if you have a mac, they pick their own name via mDNS | 22:05 |
|
AeroNotix
| from the preliminary stuff I am reading it sounds it's for LAN only | 22:06 |
|
| ? | 22:06 |
|
Nevik
| if you have a mac, you have a fuckload of pointless zeroconf traffic | 22:06 |
| dermoth_ → dermoth|home | 22:06 |
|
cbreak
| yes, it's local network only by intention | 22:06 |
|
| unless you have a router that routes local broadcast | 22:06 |
|
| which is quite unusual | 22:06 |
|
AeroNotix
| then no, this needs to be over the internet | 22:06 |
|
cbreak
| then use a free dynamic dns service | 22:07 |
|
| I use dyndns | 22:07 |
|
AeroNotix
| looking into it | 22:07 |
|
JPeterson
| "git --git-dir=../bare init --bare; git clone ../bare .; cat ../bare/info/refs" return for example "cat: ../bare/info/refs: No such file or directory". but if "../bare" is replaced with a http path git clone return the message "fatal: http://.../info/refs not found: did you run git update-server-info on the server?" why and how do i fix this? | 22:07 |
| ← _Vi left | 22:07 |
| ← davidbanham left | 22:08 |
|
AeroNotix
| seems like I can replicate what this dyndns malarky is doing by just having one static IP and some bash scripts | 22:08 |
|
cbreak
| JPeterson: fix what? | 22:08 |
|
| AeroNotix: you said you had a dynamic IP | 22:09 |
|
imMute
| JPeterson: did you run update-server-info on the server? | 22:09 |
|
JPeterson
| cbreak: git clone int he command where "../bare" is replaced with a http path | 22:09 |
|
| imMute: no why should i? | 22:09 |
|
AeroNotix
| cbreak: I have one static I can use | 22:09 |
|
imMute
| JPeterson: oh I dunno, the error message asked if you did, so it's probably important | 22:09 |
|
cbreak
| JPeterson: you can clone via http if you have a server that supports smart http | 22:09 |
|
| or if you have a dumb http server with a git repo in which git update-server-info was ran | 22:09 |
|
JPeterson
| ok thx | 22:10 |
|
cbreak
| I recommend ssh though | 22:10 |
|
AeroNotix
| oh also, anyone know a good resource for editing the numbers at the top of a hunk edit? | 22:11 |
| → _Vi joined | 22:11 |
|
imMute
| AeroNotix: the what? | 22:12 |
|
cbreak
| why do you want to edit those? | 22:12 |
|
| they are just marker for diff | 22:12 |
|
AeroNotix
| but when you do a git add -p then edit the hunk, I mean | 22:12 |
|
cbreak
| no need to edit them | 22:12 |
|
| just leave the numbers alone :) | 22:12 |
|
AeroNotix
| huh? Pretty sure you do↵ | 22:12 |
|
cbreak
| nah | 22:13 |
|
| edit the text | 22:13 |
|
imMute
| AeroNotix: pretty sure you don | 22:13 |
|
AeroNotix
| wut | 22:13 |
|
cbreak
| you can add + lines, or remove lines | 22:13 |
|
_ikke_
| If you edit them, the patch won't apply anymore | 22:13 |
|
cbreak
| or remove the - | 22:13 |
|
| just don't touch the numbers | 22:13 |
|
AeroNotix
| right | 22:13 |
|
_ikke_
| Those numbers are starting points, not endpoints | 22:14 |
| → fuzzybunny69y joined | 22:14 |
| ← Dweezahr left | 22:14 |
| → Dweezahr joined | 22:14 |
|
imMute
| what is this horseshit?? 'git add -p' Can't locate Error.pm in @INC | 22:15 |
| ← yshh left | 22:16 |
| ← dreiss left | 22:16 |
|
frogonwheels
| imMute: add-p must be a perl module. is perl not installed properly? | 22:16 |
| → jfs joined | 22:16 |
| ← jfs left | 22:16 |
| → jfs joined | 22:16 |
|
imMute
| frogonwheels: it sure as hell should be. | 22:16 |
|
cbreak
| sounds like it can't locate Error.pm in @INC... | 22:17 |
|
| what ever that means. | 22:17 |
|
imMute
| cbreak: Error.pm isn't installed, that's what it means. | 22:18 |
|
frogonwheels
| imMute: what system? | 22:18 |
|
imMute
| frogonwheels: Arch | 22:18 |
| → drizzd_ joined | 22:18 |
|
_ikke_
| imMute: Have installed git-git, or the precompiled version? | 22:19 |
|
imMute
| wait, no, thats the Ubuntu 12.04 system | 22:19 |
|
| either way, I installed Error.pm and it works fine | 22:19 |
| → user12 joined | 22:21 |
| → cybersphinx joined | 22:21 |
| → gary_golden joined | 22:21 |
| ← user12 left | 22:21 |
| ← techhelp left | 22:21 |
| ← drizzd left | 22:22 |
| → techhelp joined | 22:22 |
| → gittish joined | 22:24 |
| → qmanjr5 joined | 22:25 |
| ← the_cybersphinx left | 22:25 |
| ← Ose left | 22:25 |
|
qmanjr5
| I just got "__git_ps1: command not found" error from Bash, after using that command for the past week or so. It's in my .bashrc. Anyone have any insight? | 22:25 |
|
imMute
| qmanjr5: did you update any bash or git related things? | 22:25 |
| ← gary_golden left | 22:27 |
|
frogonwheels
| qmanjr5: I think there was a slight change in where that was sourced from iirc.. or you may need to source the file yourself .uumm. | 22:27 |
| → m0ltar joined | 22:27 |
|
frogonwheels
| qmanjr5: it's up to your distro how that file gets sourced | 22:28 |
|
qmanjr5
| imMute: No. no updates at all today. | 22:28 |
| ← sq-one left | 22:28 |
|
qmanjr5
| frogonwheels: The weird thing is that it was working about 20 minutes ago. | 22:28 |
|
imMute
| qmanjr5: open a new shell? | 22:28 |
|
qmanjr5
| Having looked through my commit history (I keep dotfiles on github) nothing that would affect git_info has been changed | 22:28 |
|
frogonwheels
| qmanjr5: hmm.. strange | 22:28 |
|
qmanjr5
| imMute: Tried. Relogged as well. | 22:28 |
| ← dinkytoy left | 22:29 |
| ← watussi left | 22:29 |
| ← flijten left | 22:30 |
| → mishok13 joined | 22:30 |
| ← rob_w left | 22:31 |
| ← Dweezahr left | 22:31 |
| → Dweezahr joined | 22:31 |
|
qmanjr5
| Even weirder, the only time I get the "__git_ps1: command..." error is when I source .bashrc while in a git repo | 22:32 |
|
| Otherwise, nothing. | 22:32 |
| → yshh joined | 22:33 |
| ← sirdancealot left | 22:33 |
| → sirdancealot7 joined | 22:34 |
|
qmanjr5
| I've sourced /etc/bash_completion_d/git in .bashrc, still nothing | 22:35 |
| → etcetera joined | 22:35 |
| → smanuk joined | 22:38 |
|
RichiH
| qmanjr5: i know this is not what you are asking, but zsh has _extensive_ prompt info for git | 22:38 |
|
| just saying | 22:38 |
|
qmanjr5
| Heh. I used zsh for a while | 22:38 |
|
| Wasn't for me. | 22:38 |
|
| I've used Bash since first coming to Linux. Too used to it to change to a whole new shell | 22:38 |
| ← smanuk left | 22:39 |
| → smanuk joined | 22:39 |
| ← smanuk left | 22:39 |
| → smanuk joined | 22:40 |
| ← smanuk left | 22:40 |
| → smanuk joined | 22:41 |
| ← cinatic left | 22:41 |
| → JSharpe joined | 22:41 |
| ← smanuk left | 22:42 |
| → ISF joined | 22:43 |
| ← danillonunes left | 22:44 |
| ← ojacobson left | 22:44 |
| ← etcetera left | 22:44 |
| ← Glados__ left | 22:45 |
|
JPeterson
| how do i use sshpass with git? | 22:45 |
| → tenmilestereo joined | 22:46 |
| ← Bass10 left | 22:46 |
|
RichiH
| ssh-add ~/.ssh/id_*[^pub] | 22:46 |
| → etcetera joined | 22:46 |
| ← ankitS left | 22:47 |
| ← tenmilestereo left | 22:48 |
| → w00tner joined | 22:48 |
| ← AaronMT left | 22:48 |
| ← marhaban left | 22:49 |
| → marhaban joined | 22:49 |
| ← spaceonline left | 22:50 |
| → tenmilestereo joined | 22:50 |
| ← sam__ left | 22:52 |
| ← mishok13 left | 22:53 |
| ← berserkr left | 22:53 |
| ← longbeach left | 22:53 |
| ← Dweezahr left | 22:54 |
| → davidbanham joined | 22:54 |
| → Dweezahr joined | 22:54 |
| → berserkr joined | 22:54 |
| ← gittish left | 22:55 |
| ← nobitanobi left | 22:55 |
| → philips_ joined | 22:56 |
| ← jcao219 left | 22:57 |
| ← Dweezahr left | 22:58 |
| → Dweezahr joined | 22:59 |
| ← chris64 left | 22:59 |
| ← robustus left | 23:02 |
| ← ampz left | 23:05 |
| → davidban_ joined | 23:06 |
| ← davidban_ left | 23:07 |
| ← _Vi left | 23:07 |
| → jcao219 joined | 23:08 |
| ← davidbanham left | 23:08 |
| ← etcetera left | 23:09 |
| kilk → orwhal | 23:09 |
| → kennethreitz joined | 23:09 |
| ← marhaban left | 23:12 |
| ← pantsman left | 23:15 |
| ← techhelp left | 23:16 |
| → Khisanth joined | 23:18 |
| → sluther joined | 23:19 |
|
JPeterson
| can i use http with --git-dir as in "git --git-dir=http://.../.git log"? | 23:20 |
| ← v0n left | 23:23 |
|
FauxFaux
| No. | 23:23 |
| ← Hounddog left | 23:23 |
| → _Vi joined | 23:24 |
|
cbreak
| JPeterson: git directories are in the local file system | 23:25 |
| ← kennethreitz left | 23:26 |
|
eph3meral
| bash is a pain to get working right with git branch reporting | 23:26 |
| ← beagleDude left | 23:26 |
|
eph3meral
| zsh is very easy in that regard | 23:26 |
| ← sluther left | 23:26 |
|
eph3meral
| also, I like that zsh will still complete things even if I make typos | 23:26 |
|
comps
| it has its flaws | 23:33 |
| → robbyoconnor joined | 23:34 |
|
eph3meral
| so far I haven't really encountered any | 23:34 |
| ← tenmilestereo left | 23:34 |
|
eph3meral
| then again I don't push my shell super hard | 23:34 |
|
w00tner
| when i install GIT on windows... do i set it on opcion: 1. bash only 2.- from the window command prompt or 3.- run git and included unix tools fromt win command prompt | 23:36 |
| → lethee joined | 23:37 |
|
FauxFaux
| w00tner: Doesn't it have a recommendation? | 23:37 |
|
eph3meral
| w00tner: it depends on what you want | 23:37 |
|
| w00tner: if you don't know what you want, I would actually recommend git bash personally | 23:37 |
|
w00tner
| i just code for some guys they use git | 23:38 |
| → Internet13 joined | 23:38 |
|
w00tner
| just to update scripts | 23:38 |
|
| bash only will do it? | 23:38 |
|
| FauxFaux uses the latter; means that when you accidentally run a unix command from a cmd shell it kind of works. | 23:38 |
|
eph3meral
| they all will, but I recommend option #1 | 23:38 |
|
w00tner
| is it going to work in cmd.exe ? | 23:39 |
|
eph3meral
| no | 23:39 |
|
FauxFaux
| What do you think? | 23:39 |
|
w00tner
| i think no | 23:39 |
|
eph3meral
| git bash is nicer, no colors in cmd.exe for example | 23:39 |
|
| trivial, possibly, but it matters tome | 23:39 |
|
w00tner
| so you first install GIT. and then you install GITHUB or am i all wrong ? | 23:40 |
|
| i mean github is just the service to host the files | 23:40 |
|
eph3meral
| you're all wrong | 23:40 |
|
frogonwheels
| w00tner: I use option 2 (if you want to be able to use git from cmd.exe) | 23:40 |
|
w00tner
| thanks frogon | 23:40 |
| ← jimmyeatworld left | 23:40 |
|
w00tner
| i just installed github for windows and login... but if i got to console and type "git clone repourl" | 23:41 |
|
| git is not installed... so i first install GIT with option 2 ? | 23:41 |
|
offby1
| the suspense is killing me | 23:41 |
| ← kermit left | 23:41 |
| → glennpratt joined | 23:42 |
|
offby1
| w00tner: I wouldn't be surprised if github for windows has a special "run a git shell" command somewhere, and that nothing will work unless you use that command to start your console. | 23:42 |
| ← adamben left | 23:42 |
| ← glennpratt left | 23:42 |
| → dreiss joined | 23:42 |
|
w00tner
| ok, i will read more about it thanks | 23:43 |
| → SBoudrias joined | 23:43 |
|
eph3meral
| good luck getting your ssh keys to work | 23:44 |
| → kermit joined | 23:45 |
|
w00tner
| thanks for the help | 23:46 |
| ← hotovson left | 23:46 |
| ← Turicas left | 23:46 |
|
Akufen
| w00tner: try rightclicking in explorer (or on a folder perhaps) | 23:47 |
|
| should say something like "git bash here" | 23:47 |
|
| you can't just use it in the console you start with running "cmd" | 23:47 |
| ← Jippi left | 23:48 |
| ← Internet13 left | 23:49 |
| → adamben joined | 23:49 |
| → glennpratt joined | 23:50 |
| → hotovson joined | 23:51 |
| ← miphe left | 23:51 |
| → Goplat joined | 23:53 |
| ← JaredMiller left | 23:54 |
| ← jcao219 left | 23:55 |
|
frogonwheels
| w00tner: if you use option 2, it installs a 'git.bat' and 'gitk.bat' in the path which wrappers the real git. | 23:55 |
| → Internet13 joined | 23:55 |
|
eph3meral
| that all depends on how he installed it | 23:55 |
|
| which I don't think even he knows what he did | 23:55 |
| → ijuma joined | 23:56 |
| ← hotovson left | 23:56 |
|
frogonwheels
| w00tner: if you want a layer of GUI insulation try Smartgit and/or Git Extensions | 23:56 |
| ← klj613 left | 23:56 |
| ← glennpratt left | 23:56 |
|
offby1
| guis are for the weak! | 23:56 |
|
frogonwheels
| offby1: :) they have their place. | 23:57 |
|
RichiH
| guis are for people with too much time, or for people who consume picture/video-based media | 23:57 |
| ← Synthead left | 23:58 |
|
frogonwheels
| RichiH: guis _can_ save time. Knowing when to use them, and when not to, is the trick. | 23:58 |
| → spaceonline joined | 23:58 |
|
frogonwheels
| RichiH: for eg. git gui vs git commit -p ... I'll take the former where it is available. | 23:58 |
| ← berserkr left | 23:59 |
|
comps
| -p ? | 23:59 |
|
frogonwheels
| comps: man git-commit | 23:59 |
|
gitinfo
| comps: the git-commit manpage is available at http://jk.gs/git-commit.html | 23:59 |
|
comps
| oh | 23:59 |
|
| that's new | 23:59 |
|
frogonwheels
| not particularly | 23:59 |