| 2016-06-08 |
| → MattMaker joined | 00:00 |
| ← kilo_bravo left | 00:00 |
| ← d10n-work left | 00:01 |
| ← rnsanchez_ left | 00:01 |
| ← eletuchy left | 00:02 |
| → eletuchy joined | 00:03 |
| → rnsanchez_ joined | 00:03 |
| → rominronin joined | 00:05 |
| ← eletuchy_ left | 00:05 |
| ← knutstrut left | 00:05 |
| → knutstrut joined | 00:05 |
| → IWishIKnew joined | 00:05 |
| → eletuchy_ joined | 00:06 |
| → eletuch__ joined | 00:08 |
| ← eletuchy left | 00:08 |
| ← dopesong left | 00:10 |
| → fission6 joined | 00:10 |
| ← kpease left | 00:10 |
| ← rominronin left | 00:10 |
| ← EvilPenguin left | 00:10 |
| ← eletuchy_ left | 00:10 |
| ← mmlb left | 00:11 |
| → eletuchy joined | 00:11 |
| → Vinnie_win joined | 00:11 |
| ← Vinnie_win_l left | 00:11 |
| → eletuchy_ joined | 00:13 |
| ← frem_ left | 00:13 |
| ← Lyqyd left | 00:13 |
| ← eletuch__ left | 00:13 |
| ← garethdaine left | 00:13 |
| ← diegoviola left | 00:13 |
| → EvilPenguin joined | 00:14 |
| → tax joined | 00:14 |
| ← rgrinberg left | 00:14 |
| → livingstn joined | 00:15 |
| → texinwien joined | 00:15 |
| ← eletuchy left | 00:15 |
| → raijin joined | 00:15 |
| ← CEnnis91 left | 00:16 |
| → eletuchy joined | 00:19 |
| ← shgysk8zer0 left | 00:19 |
| → CEnnis91 joined | 00:19 |
| → eletuch__ joined | 00:21 |
| ← texinwien left | 00:21 |
| ← eletuchy_ left | 00:21 |
| → JanC_ joined | 00:23 |
| ← eletuchy left | 00:23 |
| JanC → Guest74845 | 00:24 |
| JanC_ → JanC | 00:24 |
| → eletuchy joined | 00:24 |
| ← Guest74845 left | 00:24 |
| ← qpdb left | 00:25 |
| → qpdb joined | 00:25 |
| → mmlb joined | 00:25 |
| → rkazak joined | 00:26 |
| ← drodger left | 00:26 |
| ← eletuch__ left | 00:26 |
| → eletuchy_ joined | 00:27 |
| → gp5st joined | 00:27 |
| → Guest55 joined | 00:28 |
| → fuchstronaut joined | 00:28 |
| ← eletuchy left | 00:29 |
| → eletuchy joined | 00:30 |
| ← Khisanth left | 00:31 |
| → Khisanth joined | 00:32 |
| → shgysk8zer0 joined | 00:32 |
| → drodger joined | 00:32 |
| → eletuch__ joined | 00:32 |
| ← eletuchy_ left | 00:32 |
| ← cdg left | 00:33 |
| → cdg joined | 00:33 |
| ← endiruna left | 00:33 |
| ← nhawdge left | 00:34 |
| ← fuchstronaut left | 00:34 |
| ← eletuchy left | 00:35 |
| ← MattMaker left | 00:35 |
| → eletuchy joined | 00:35 |
| ← githogori left | 00:36 |
| ← livingstn left | 00:36 |
| → interne7y joined | 00:36 |
| → githogori joined | 00:37 |
| ← eletuch__ left | 00:37 |
| ← cdg left | 00:38 |
| → Kaisyu joined | 00:40 |
| → livingstn joined | 00:40 |
| ← interne7y left | 00:41 |
| ← Khisanth left | 00:41 |
| → allcentu1 joined | 00:41 |
| → Khisanth joined | 00:42 |
| ← Ahmed90 left | 00:42 |
| → adambrenecki_ joined | 00:42 |
| ← adambrenecki_ left | 00:43 |
| → adambrenecki joined | 00:43 |
| ← orbyt_ left | 00:43 |
| ← shgysk8zer0 left | 00:44 |
| ← keltvek left | 00:44 |
| → boudicca joined | 00:44 |
| ← Guest55 left | 00:45 |
| ← gp5st left | 00:46 |
| adambrenecki → adambrenecki_ | 00:46 |
| → wxg joined | 00:46 |
| ← boudiccas left | 00:47 |
| adambrenecki_ → adambrenecki__ | 00:47 |
|
barteks2x
| What exactly does "^M" at the end of newly added line in got diff mean? | 00:47 |
| ← fission6 left | 00:47 |
|
barteks2x
| *git diff | 00:47 |
| adambrenecki__ → adambrenecki | 00:48 |
| ← dreiss left | 00:49 |
|
barteks2x
| I know it means that I have issues with line endings, but what exactly? I need to know to know which program blame for it | 00:50 |
| ← raijin left | 00:51 |
| → Schwarzbaer_ joined | 00:52 |
|
preaction
| it's a \r, which windows uses as part of its line-ending | 00:53 |
| ← eletuchy left | 00:54 |
| → _vyscond joined | 00:55 |
| → nilsi joined | 00:55 |
|
barteks2x
| and if it's red in the console, does it mean it's removed? | 00:55 |
| → jaguarmagenta joined | 00:55 |
| → fission6 joined | 00:56 |
| ← Schwarzbaer left | 00:57 |
| → Tanger joined | 00:57 |
| → eletuchy joined | 00:57 |
|
preaction
| what's red? red in what? | 00:58 |
| ← BombStrike left | 00:58 |
| ← keepguessing left | 01:00 |
| ← nilsi left | 01:00 |
| ← jaguarmagenta left | 01:00 |
| ← IWishIKnew left | 01:00 |
| → rgrinberg joined | 01:01 |
| → harmfulbytes joined | 01:02 |
|
barteks2x
| preaction, like this: http://i.imgur.com/ciPeFUG.png | 01:02 |
| ← thiago left | 01:03 |
|
preaction
| no, it doesn't mean it's removed. whatever is displaying that diff is highlighting it as something you likely want to remove | 01:03 |
| ← ams__ left | 01:03 |
| → BombStrike joined | 01:04 |
|
barteks2x
| ah, so currently there are windows line endings in this file, and they are not being changed? | 01:04 |
|
preaction
| something has added windows line endings, yes | 01:04 |
| → rominronin joined | 01:06 |
|
barteks2x
| so these line endings are only in this one place, or in the whole file? | 01:06 |
| → checkItOut joined | 01:07 |
|
barteks2x
| If they are only here, then my IDE messed it up | 01:07 |
| ← Noldorin left | 01:07 |
|
preaction
| the diff seems to look like they're only in these new lines | 01:08 |
| → moei joined | 01:09 |
| → Noldorin joined | 01:09 |
| ← Sasazuka left | 01:10 |
| ← msonntag left | 01:11 |
| ← drodger left | 01:11 |
| ← rominronin left | 01:11 |
| ← Corosus left | 01:13 |
| ← boudicca left | 01:13 |
| → edude03 joined | 01:14 |
| → Nikesh joined | 01:15 |
| ← romerocesar left | 01:15 |
| ← _vyscond left | 01:15 |
|
Nikesh
| Given a commit history like (descending) abc123, def456, ghi789 - how can I make a small change to commit ghi789 and replay the changes from the later/newer commits? | 01:16 |
| ← fscala left | 01:16 |
|
Eugene
| Nikesh - !sausage is a good read; tl;dr run `git rebase -i` and "edit" ghi789 | 01:17 |
|
gitinfo
| Nikesh: [!sausage_making] Some developers like to "hide the sausage making", transforming their commits before presenting them to the outside world. See http://sethrobertson.github.com/GitBestPractices/#sausage and !perfect | 01:17 |
| → boudicca joined | 01:17 |
| → drodger joined | 01:17 |
| → fscala joined | 01:18 |
| → linuxmint joined | 01:19 |
| ← livingstn left | 01:19 |
| ← allcentu1 left | 01:20 |
| ← snfgf left | 01:20 |
| → ahr3n joined | 01:21 |
| → boudiccas joined | 01:22 |
|
Nikesh
| Eugene: I keep getting caught in merge conflicts and then end up applying a new commit after abc123 | 01:22 |
| ← Noldorin left | 01:22 |
| ← fstd left | 01:22 |
| ← pks left | 01:22 |
| → livingstn joined | 01:22 |
| → fstd joined | 01:22 |
|
Eugene
| What are you rebasing-against? !lol is helpful | 01:22 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 01:22 |
| → scorphus joined | 01:23 |
| ← EduardoMartins left | 01:24 |
| ← boudicca left | 01:24 |
| ← rkazak left | 01:24 |
|
Nikesh
| Eugene: I'm rebasing against the parent commit | 01:24 |
| → MattMaker joined | 01:25 |
| → pks joined | 01:25 |
|
Nikesh
| i.e. `git rebase -i ghi789^` | 01:25 |
|
Eugene
| Sounds like you might just need to resolve the conflict manually then | 01:25 |
| → eletuchy_ joined | 01:26 |
| ← drodger left | 01:26 |
| → watabou joined | 01:26 |
| ← scorphus left | 01:27 |
| → drodger joined | 01:27 |
|
Nikesh
| Hm yeah, I guess I'm confused because I resolve it manually, | 01:27 |
|
| but then it just applies the commit after abc123 | 01:27 |
| → interne7y joined | 01:27 |
| ← eletuchy left | 01:28 |
| → scorphus joined | 01:28 |
|
Eugene
| Is there a merge involved? | 01:28 |
| → Sareuon joined | 01:28 |
| → rkazak joined | 01:29 |
| ← harish left | 01:30 |
| → eletuchy joined | 01:30 |
| ← livingstn left | 01:31 |
| → msonntag joined | 01:31 |
| ← eletuchy_ left | 01:31 |
| → sbeller_ joined | 01:32 |
| ← mellernoia left | 01:32 |
| → eletuchy_ joined | 01:33 |
| ← EvilPenguin left | 01:33 |
| ← AndroidLoverInSF left | 01:33 |
| ← durham left | 01:33 |
| ← scorphus left | 01:34 |
| ← eletuchy left | 01:35 |
| ← dermoth left | 01:35 |
| → dermoth joined | 01:35 |
| → eletuchy joined | 01:36 |
| ← ncd|leeN left | 01:36 |
| → sioseal joined | 01:37 |
| → eletuch__ joined | 01:38 |
| ← eletuchy_ left | 01:38 |
| → the_cybersphinx joined | 01:39 |
| → livingstn joined | 01:40 |
| → ensyde__ joined | 01:40 |
| ← yqt left | 01:41 |
| ← eletuchy left | 01:41 |
| ← sioseal left | 01:41 |
| → eletuchy joined | 01:41 |
| → ensyde joined | 01:42 |
| → scorphus joined | 01:42 |
| → orbyt_ joined | 01:42 |
| → boudicca joined | 01:42 |
| → eletuchy_ joined | 01:43 |
| ← eletuch__ left | 01:43 |
| ← wxg left | 01:43 |
| → raijin joined | 01:44 |
| ← xorox90 left | 01:44 |
| ← ensyde__ left | 01:45 |
| ← boudiccas left | 01:46 |
| ← ilbot3 left | 01:46 |
| ← d4rklit3 left | 01:46 |
| ← eletuchy left | 01:46 |
| → Corosus joined | 01:46 |
| → boudiccas joined | 01:47 |
| → eletuchy joined | 01:47 |
| → tomboy64 joined | 01:48 |
| ← msonntag left | 01:48 |
| ← boudicca left | 01:48 |
| ← eletuchy_ left | 01:48 |
| → eletuch__ joined | 01:48 |
| → ilbot3 joined | 01:49 |
| → eletuchy_ joined | 01:50 |
| ← eletuchy left | 01:51 |
| → dsantiago joined | 01:52 |
| ← fahadash left | 01:52 |
| ← eletuch__ left | 01:53 |
| ← griffindy left | 01:53 |
| ← domgetter left | 01:54 |
| → eletuchy joined | 01:54 |
| ← edude03 left | 01:54 |
| → thiago_ joined | 01:55 |
| ← eletuchy_ left | 01:55 |
| ← MattMaker left | 01:56 |
| ← dsantiago left | 01:57 |
| → edude03 joined | 01:57 |
| ← Rodya_ left | 01:57 |
| → eletuchy_ joined | 01:57 |
| ← jimi_ left | 01:58 |
| → dsantiago joined | 01:59 |
| ← eletuchy left | 01:59 |
| → eletuchy joined | 02:00 |
| ← eletuchy_ left | 02:02 |
| ← orbyt_ left | 02:02 |
| → grawity joined | 02:03 |
| → _rnsanchez_ joined | 02:03 |
| → Rodya_ joined | 02:03 |
| → eletuchy_ joined | 02:03 |
| → msonntag joined | 02:03 |
| ← dsantiago left | 02:05 |
| → MattMaker joined | 02:05 |
| ← barteks2x left | 02:05 |
| ← eletuchy left | 02:05 |
| ← rnsanchez_ left | 02:06 |
| ← Nikesh left | 02:06 |
| → dreiss joined | 02:06 |
| ← the_cybersphinx left | 02:06 |
| → eletuchy joined | 02:06 |
| ← linuxmint left | 02:06 |
| → rominronin joined | 02:07 |
| → checkItOut_ joined | 02:08 |
| ← eletuchy_ left | 02:09 |
| ← checkItOut left | 02:09 |
| ← checkItOut_ left | 02:09 |
| → checkItOut_ joined | 02:09 |
| → eletuchy_ joined | 02:09 |
| ← checkItOut_ left | 02:10 |
| → checkItOut_ joined | 02:11 |
| → fahadash joined | 02:11 |
| ← checkItOut_ left | 02:11 |
| ← eletuchy left | 02:11 |
| → eletuchy joined | 02:12 |
| ← rominronin left | 02:12 |
| → checkItOut joined | 02:12 |
| ← ericvw left | 02:13 |
| → eletuch__ joined | 02:13 |
| ← eletuchy_ left | 02:14 |
| → checkItO1t joined | 02:15 |
| → ajf- joined | 02:15 |
| ← eletuchy left | 02:16 |
| → eletuchy joined | 02:17 |
| → eletuchy_ joined | 02:18 |
| ← eletuch__ left | 02:19 |
| → eletuch__ joined | 02:20 |
| → the_cybersphinx joined | 02:21 |
| → franl joined | 02:21 |
| ← eletuchy left | 02:21 |
| → wald joined | 02:23 |
| ← eletuchy_ left | 02:23 |
| ← DolpheenDream left | 02:24 |
| → eletuchy joined | 02:24 |
| → _habnabit joined | 02:26 |
| ← CEnnis91 left | 02:26 |
| → eletuchy_ joined | 02:26 |
| ← eletuch__ left | 02:27 |
| ← LaT0rtue left | 02:27 |
| ← dreiss left | 02:27 |
| ← wald left | 02:27 |
|
_habnabit
| grumble grumble. git-annex doesn't preserve if a file is executable in its metadata, so doing a sync from a url means that whatever it was you had will no longer be executable. any alternatives to git-annex (all i need is large files stored out-of-line) or potential workarounds? | 02:28 |
| → skylite joined | 02:28 |
| → dreiss joined | 02:28 |
| ← eletuchy left | 02:29 |
| → eletuchy joined | 02:30 |
| ← eletuchy_ left | 02:32 |
| ← livingstn left | 02:32 |
| ← MattMaker left | 02:33 |
| → cdg joined | 02:33 |
| → eletuchy_ joined | 02:33 |
| → ISmithers joined | 02:33 |
|
ISmithers
| Hi all, when cloning a repository is it possible for me to set the remote to a specific URI? | 02:33 |
| → MattMaker joined | 02:33 |
| → dmto joined | 02:34 |
| ← ToBeCloud left | 02:34 |
|
ISmithers
| For example I may clone from https including user credentials, but want my origin remote to not include those in the URI | 02:34 |
| → eletuch__ joined | 02:35 |
| ← eletuchy left | 02:35 |
| → justanot1eruser joined | 02:36 |
| → eletuchy joined | 02:37 |
| → david007 joined | 02:37 |
| ← eletuchy_ left | 02:38 |
| ← pwnawannab[NE] left | 02:39 |
| ← eletuch__ left | 02:39 |
| → eletuchy_ joined | 02:40 |
| ← interne7y left | 02:40 |
| → santa-fire joined | 02:41 |
| ← xlegoman left | 02:41 |
| ← pelegreno_ left | 02:41 |
| ← dmto left | 02:42 |
| ← eletuchy left | 02:42 |
| → eletuchy joined | 02:43 |
| → pelegreno joined | 02:44 |
| ← eletuchy_ left | 02:45 |
| ← santa-fire left | 02:46 |
| ← cdg left | 02:46 |
| → dmto joined | 02:46 |
| → eletuchy_ joined | 02:46 |
|
preaction
| clone without the credentials. it should ask for them. otherwise, do git remote set-url after you clone | 02:47 |
| ← franl left | 02:47 |
| → A124 joined | 02:47 |
| → Goplat joined | 02:48 |
| → assgrass joined | 02:48 |
| ← edude03 left | 02:48 |
| ← eletuchy left | 02:48 |
|
ISmithers
| I am writing a script to clone around 30 repositories for a new machine setup. I don't want to enter my password 30 times preaction | 02:49 |
|
preaction
| i did say "otherwise" | 02:49 |
| ← assgrass left | 02:49 |
| → assgrass joined | 02:49 |
|
ISmithers
| Yeah I was contemplating that, I was hoping for something potentially built-in. | 02:50 |
|
| I was looking at credential cache too. | 02:50 |
|
preaction
| or a .netrc file? | 02:50 |
| ← assgrass left | 02:50 |
| → edude03 joined | 02:50 |
| → eletuchy joined | 02:51 |
| → grassazz joined | 02:51 |
| ← grassass left | 02:51 |
|
preaction
| git's just using curl, it sees a url, so it can't really do anything with it | 02:51 |
|
ISmithers
| I think set-url is going to be the way. | 02:52 |
|
| Requires minimal setup from end-users. | 02:52 |
|
| I can just write it into the script | 02:52 |
| → eletuch__ joined | 02:52 |
| ← eletuchy_ left | 02:53 |
| → syg_ joined | 02:53 |
| → eletuchy_ joined | 02:54 |
| ← eletuchy left | 02:55 |
| ← hexagoxel left | 02:55 |
| → jaguarmagenta joined | 02:56 |
|
A124
| ISmithers https://help.github.com/articles/caching-your-github-password-in-git/ | 02:56 |
| ← eletuch__ left | 02:57 |
| ← chachasmooth left | 02:58 |
| → woodruffw joined | 02:58 |
|
ISmithers
| Thanks A124. I have installed the windows git credential manager, but I think I'm running into issues as I'm configuring a grunt project to handle this, include prompts and multiple shell commands. | 02:58 |
| → eletuchy joined | 02:58 |
| → chachasmooth joined | 02:58 |
|
A124
| Well, that is different path. But if you are using git underneath, this would do. | 02:59 |
|
ISmithers
| Yeah I am using git underneath, just got to get it all working together. :) | 02:59 |
| ← eletuchy_ left | 03:00 |
| → interne7y joined | 03:00 |
| → hexagoxel joined | 03:00 |
| → eletuchy_ joined | 03:01 |
| ← jaguarmagenta left | 03:01 |
| → Mateo_W joined | 03:01 |
| ← sgen left | 03:02 |
| → eletuch__ joined | 03:03 |
| ← eletuchy left | 03:03 |
| ← adambrenecki left | 03:03 |
| → aavrug joined | 03:04 |
| ← aavrug left | 03:05 |
| → eletuchy joined | 03:05 |
| → aavrug joined | 03:05 |
| ← eletuchy_ left | 03:05 |
| ← mmlb left | 03:06 |
| ← eletuch__ left | 03:08 |
| → rominronin joined | 03:08 |
| → ShekharReddy joined | 03:09 |
| → eletuchy_ joined | 03:10 |
| ← axiom_1 left | 03:11 |
| → MattMake_ joined | 03:11 |
| ← MattMake_ left | 03:12 |
| ← eletuchy left | 03:12 |
| → eletuchy joined | 03:13 |
|
ISmithers
| So weird, it provides an input for my password, but when I enter it I see the characters. After pressing enter it carriage returns and nothing happens, I then need to enter the password again which does hide the characters as normal and it accepts it. | 03:13 |
| ← rominronin left | 03:13 |
| ← edude03 left | 03:14 |
| ← MattMaker left | 03:14 |
| ← dreiss left | 03:14 |
| ← eletuchy_ left | 03:15 |
| → eletuch__ joined | 03:15 |
| → romerocesar joined | 03:15 |
|
dalias
| i'm looking for a way to use signed commits/tags without running git and doing my development on a box that has private keys | 03:16 |
|
| i want to use gpg.program git-config item to run a script that ssh's to the signing server | 03:16 |
|
preaction
| ISmithers: likely because whatever you're using to run git is taking control of the terminal and/or not letting the credential-gathering-thing get at it | 03:17 |
|
dalias
| however because git is using stdin/out for the data, ssh doesn't have a pty to enter the gpg passphrase on | 03:17 |
| ← eletuchy left | 03:17 |
|
ISmithers
| preaction: Yeah this is my thinking. Is there a way to get Git to prompt for credentials before cloning a repo? Like, asking it to test the connection or configure credentials first? | 03:18 |
| → eletuchy joined | 03:18 |
|
preaction
| not that i'm aware of. git asks libcurl to do its thing and it does | 03:18 |
| → toogley joined | 03:19 |
| ← eletuch__ left | 03:20 |
| ← romerocesar left | 03:20 |
| → k3rn31 joined | 03:20 |
| → eletuchy_ joined | 03:21 |
| → wloncom joined | 03:21 |
| ← eletuchy left | 03:23 |
| → eletuchy joined | 03:24 |
| → eletuch__ joined | 03:26 |
| ← eletuchy_ left | 03:26 |
| ← interne7y left | 03:27 |
| ← drodger left | 03:27 |
| → SwiftMatt joined | 03:27 |
| ← grassazz left | 03:27 |
| → grassaSS joined | 03:28 |
| → eletuchy_ joined | 03:28 |
| ← eletuchy left | 03:28 |
| ← Mateo_W left | 03:29 |
|
ISmithers
| I give in, I will change the remote-url after each clone. Bleh | 03:29 |
| ← eletuch__ left | 03:31 |
| → eletuchy joined | 03:31 |
| ← CheckDavid left | 03:32 |
| → drodger joined | 03:33 |
| ← eletuchy_ left | 03:33 |
| → eletuchy_ joined | 03:35 |
| → pmort joined | 03:35 |
| ← eletuchy left | 03:37 |
| → mizu_no_oto joined | 03:37 |
| → eletuchy joined | 03:38 |
| → mehola joined | 03:38 |
| → Nikesh joined | 03:40 |
| → eletuch__ joined | 03:40 |
| ← eletuchy_ left | 03:40 |
| ← drodger left | 03:42 |
| → eletuchy_ joined | 03:42 |
| ← eletuchy left | 03:42 |
| → eletuchy joined | 03:44 |
| ← siprbaum left | 03:44 |
| ← eletuch__ left | 03:44 |
| ← dmto left | 03:46 |
| → dmto joined | 03:46 |
| → d4rklit3 joined | 03:46 |
| ← eletuchy_ left | 03:47 |
| → eletuchy_ joined | 03:47 |
| → drodger joined | 03:48 |
| → wxg joined | 03:48 |
| → eletuch__ joined | 03:49 |
| ← eletuchy left | 03:49 |
| ← hahuang61 left | 03:51 |
| ← eletuchy_ left | 03:52 |
| → eletuchy joined | 03:52 |
| ← eletuch__ left | 03:54 |
| → eletuchy_ joined | 03:56 |
| → ccolorado joined | 03:56 |
| ← eletuchy left | 03:58 |
| ← rkazak left | 03:58 |
| → T4nkAbb0t joined | 03:59 |
| → ahr3n_ joined | 03:59 |
| → Gsham joined | 04:00 |
| ← radsy left | 04:00 |
| → robotroll joined | 04:00 |
| → eletuchy joined | 04:00 |
| → dsantiago joined | 04:00 |
| → dreiss joined | 04:00 |
| ← bilb_ono left | 04:01 |
| ← Gsham left | 04:02 |
| → rkazak joined | 04:02 |
| → eletuch__ joined | 04:02 |
| ← eletuchy_ left | 04:02 |
| ← ahr3n left | 04:02 |
| ← eletuchy left | 04:05 |
| → eletuchy_ joined | 04:05 |
| ← dsantiago left | 04:05 |
| ← tgunr left | 04:06 |
| ← eletuch__ left | 04:07 |
| → eletuchy joined | 04:08 |
| ← unbalancedparen left | 04:08 |
| → rominronin joined | 04:09 |
| ← fission6 left | 04:10 |
| ← eletuchy_ left | 04:10 |
| ← mizu_no_oto left | 04:10 |
| → eletuch__ joined | 04:10 |
| ← mehola left | 04:11 |
| ← _habnabit left | 04:11 |
| justanot1eruser → justanotheruser | 04:11 |
| ← eletuchy left | 04:12 |
| → hahuang61 joined | 04:13 |
| → eletuchy joined | 04:14 |
| ← rominronin left | 04:14 |
| → josuebrunel joined | 04:15 |
| ← josuebrunel left | 04:15 |
| ← eletuch__ left | 04:16 |
| → eletuchy_ joined | 04:17 |
| ← checkItOut left | 04:17 |
| → faux___ joined | 04:17 |
| → mehola joined | 04:18 |
| ← hahuang61 left | 04:19 |
| ← dmto left | 04:19 |
| → eletuch__ joined | 04:19 |
| ← faux___ left | 04:19 |
| → hahuang61 joined | 04:19 |
| ← eletuchy left | 04:19 |
| ← wxg left | 04:20 |
| ← Cabanossi left | 04:20 |
| → eletuchy joined | 04:21 |
| → Cabanossi joined | 04:21 |
| ← eletuchy_ left | 04:22 |
| → dmto joined | 04:22 |
| ← eletuch__ left | 04:23 |
| ← ccolorado left | 04:24 |
| → armyriad joined | 04:24 |
| → eletuchy_ joined | 04:25 |
| ← eletuchy left | 04:27 |
| → eletuchy joined | 04:28 |
| ← sdothum left | 04:30 |
| → Ragnor joined | 04:30 |
| ← robotroll left | 04:30 |
| → eletuch__ joined | 04:30 |
| → fuchstronaut joined | 04:30 |
| ← eletuchy_ left | 04:30 |
| → romerocesar joined | 04:31 |
| ← dmto left | 04:31 |
| ← mehola left | 04:31 |
| → dmto joined | 04:32 |
| ← arooni left | 04:32 |
| ← eletuchy left | 04:32 |
| → variable joined | 04:32 |
| ← grassaSS left | 04:33 |
| → bilb_ono joined | 04:33 |
| → eletuchy joined | 04:33 |
| ← fracting left | 04:33 |
| variable → trout | 04:34 |
| → eletuchy_ joined | 04:35 |
| ← fuchstronaut left | 04:35 |
| ← eletuch__ left | 04:35 |
| ← rahtgaz left | 04:35 |
| → eletuch__ joined | 04:37 |
| ← eletuchy left | 04:38 |
| ← Lynxium left | 04:39 |
| ← eletuchy_ left | 04:39 |
| → wxg joined | 04:39 |
| → eletuchy joined | 04:40 |
| ← lindenle left | 04:41 |
| ← drodger left | 04:41 |
| ← eletuch__ left | 04:42 |
| → faux___ joined | 04:43 |
| → eletuchy_ joined | 04:43 |
| ← wxg left | 04:45 |
| ← eletuchy left | 04:45 |
| ← italoacasas left | 04:45 |
| → fracting joined | 04:46 |
| → eletuchy joined | 04:46 |
| ChanServ set mode: +o | 04:47 |
| → drodger joined | 04:47 |
| Eugene kicked zifnab (YOU MUST SUBMIT ADDITIONAL JOKES) | 04:47 |
| Eugene set mode: -o | 04:47 |
| → zifnab joined | 04:48 |
| → eletuch__ joined | 04:48 |
| ← toogley left | 04:49 |
| ← eletuchy_ left | 04:49 |
| ← ahr3n_ left | 04:50 |
| → dsantiago joined | 04:51 |
| ← eletuchy left | 04:51 |
| → eletuchy joined | 04:51 |
| ← eletuch__ left | 04:54 |
| ← drodger left | 04:54 |
| → santa-fire joined | 04:54 |
| → eletuchy_ joined | 04:55 |
| → Raging_Hog joined | 04:55 |
| ← dsantiago left | 04:55 |
| ← santa-fire left | 04:56 |
| → nivag joined | 04:56 |
| → santa-fire joined | 04:56 |
| → subhojit777 joined | 04:57 |
| → eletuch__ joined | 04:57 |
| ← eletuchy left | 04:57 |
| → jaguarmagenta joined | 04:57 |
| ← Mobutils left | 04:57 |
| → Mobutils joined | 04:59 |
| → eletuchy joined | 04:59 |
| ← eletuchy_ left | 05:00 |
| → drodger joined | 05:00 |
| ← eletuch__ left | 05:01 |
| ← jaguarmagenta left | 05:02 |
| → eletuchy_ joined | 05:02 |
| ← rkazak left | 05:04 |
| → eletuch__ joined | 05:04 |
| ← eletuchy left | 05:04 |
| → eletuchy joined | 05:06 |
| ← dmto left | 05:06 |
| → cqi joined | 05:06 |
|
cqi
| does git distinguish different errors by different return codes? | 05:07 |
| ← eletuchy_ left | 05:07 |
| ← Raging_Hog left | 05:08 |
| ← eletuch__ left | 05:09 |
| → eletuchy_ joined | 05:09 |
| → mehola joined | 05:10 |
| → rominronin joined | 05:10 |
| ← santa-fire left | 05:11 |
| → eletuch__ joined | 05:11 |
| ← eletuchy left | 05:11 |
| ← Rodya_ left | 05:12 |
| → settermjd joined | 05:12 |
| → pwnz0r joined | 05:12 |
| → shafox joined | 05:13 |
| ← arescorpio left | 05:13 |
| ← eletuchy_ left | 05:13 |
| → eletuchy joined | 05:14 |
| ← rominronin left | 05:15 |
| → eletuchy_ joined | 05:16 |
| ← eletuch__ left | 05:16 |
| ← sangy left | 05:17 |
| ← WayToDoor left | 05:17 |
| → eletuch__ joined | 05:18 |
| ← eletuchy left | 05:18 |
| → diogenese joined | 05:19 |
| ← eletuchy_ left | 05:21 |
| ← faux___ left | 05:21 |
| → eletuchy joined | 05:21 |
| ← drodger left | 05:22 |
| → sauvin joined | 05:22 |
| ← eletuch__ left | 05:23 |
| → eletuchy_ joined | 05:24 |
| ← eletuchy left | 05:26 |
| → eletuch__ joined | 05:26 |
| → interne7y joined | 05:27 |
| → drodger joined | 05:27 |
| → eletuchy joined | 05:28 |
| → tinajohnson___ joined | 05:28 |
| ← eletuchy_ left | 05:28 |
| → dfr33zy joined | 05:28 |
| ← fscala left | 05:29 |
| ← eletuch__ left | 05:30 |
| → fscala joined | 05:30 |
| ← rgrinberg left | 05:31 |
| → dlab joined | 05:31 |
| ← interne7y left | 05:32 |
| → apotry joined | 05:32 |
| → rominronin joined | 05:32 |
| ← dlab left | 05:33 |
| ← romerocesar left | 05:40 |
| → romerocesar joined | 05:40 |
| → ochorocho__ joined | 05:45 |
| ← drodger left | 05:46 |
| → ThomasLocke joined | 05:47 |
| → a_thakur joined | 05:48 |
| → ahr3n joined | 05:49 |
| ← ochorocho__ left | 05:49 |
| → MattMaker joined | 05:49 |
| → drodger joined | 05:51 |
| → exxit joined | 05:52 |
| ← hahuang61 left | 05:52 |
| ← dfr33zy left | 05:52 |
|
exxit
| i have delete a file , now even after a push shows delete filename.. | 05:52 |
|
| how can i remove it from git status ? | 05:52 |
|
kadoban
| exxit: Did you commit the deletion? Do you want to? | 05:52 |
|
| push doesn't really have anything to do with status, by the way. | 05:53 |
|
exxit
| kadoban: yeah | 05:53 |
|
| i did commited the deletion | 05:53 |
|
| it tells me that.. | 05:54 |
|
kadoban
| exxit: And git status shows what? Did you add it to .gitignore, or some other exclusion/ignore mechanism? | 05:54 |
|
exxit
| 'git checkout -- <file>... " to discard changes in working directory | 05:54 |
|
| kadoban: no didn't add it to exclusion/ignore mechanism. | 05:54 |
|
kadoban
| exxit: I don't really understand what it's saying changed, that's just the "helpful" part of status's output, not what it's saying changed. | 05:55 |
|
exxit
| Changes not staged for commit: (use "git add/rm <file>..." to update what will be committed) (use "git checkout -- <file>..." to discard changes in working directory) | 05:55 |
|
| that's what git status shows | 05:55 |
|
kadoban
| That's not all that it shows. | 05:55 |
| ← fracting left | 05:56 |
| ← ensyde left | 05:56 |
| → stuh84 joined | 05:56 |
|
exxit
| https://bpaste.net/show/8640c9c22561 | 05:56 |
|
kadoban
| exxit: Doesn't look like you commited the deletion. It's still showing it as a file that's been deleted but not been staged or commited. | 05:57 |
|
| exxit: 'git rm ../demo' and then commit. Then if you want, add it to an ignore mechanism, depends what you're trying to do. | 05:58 |
| ← tyreld left | 05:58 |
| → qt-x joined | 05:59 |
|
exxit
| kadoban: that helped.. | 06:00 |
|
| thanks mate | 06:00 |
|
kadoban
| 'welcome | 06:00 |
| ← bilb_ono left | 06:01 |
|
exxit
| kadoban: one thing i didn't understand is that why did it showed as ../demo instead of just demo ? | 06:01 |
|
| because this file was in current directory | 06:01 |
|
kadoban
| exxit: It's relative to wherever you were when you were running 'git status' maybe you had two of them? | 06:02 |
| ← yuhlw left | 06:05 |
| → yuhlw joined | 06:05 |
| ← realz left | 06:06 |
| → realz joined | 06:07 |
| → shgysk8zer0 joined | 06:07 |
| ← shgysk8zer0 left | 06:07 |
| → rscata joined | 06:08 |
| ← eka left | 06:09 |
|
exxit
| kadoban: maybe i have no idea about it now.. | 06:10 |
| → Wulf joined | 06:10 |
|
Wulf
| Hi | 06:10 |
|
| What's the command to get the commit hash from the latest commit to the current directory? | 06:10 |
| → cyan__ joined | 06:11 |
|
Wulf
| i.e. some nicer version of: git log . | grep ^commit | head -n 1 | 06:12 |
| ← a_thakur left | 06:13 |
| → a_thakur joined | 06:13 |
| → t0by joined | 06:13 |
| → LaT0rtue joined | 06:13 |
| ← lolmac left | 06:13 |
| → fracting joined | 06:15 |
| → zeroed joined | 06:16 |
| ← zeroed left | 06:16 |
| → zeroed joined | 06:16 |
| → lamppid joined | 06:16 |
| → lolmac joined | 06:17 |
| → muthu joined | 06:17 |
| → Repox joined | 06:17 |
| ← Mobutils left | 06:19 |
| → nilsi_ joined | 06:20 |
| ← Lunatrius left | 06:20 |
| ← Gamecubic left | 06:20 |
| → Mobutils joined | 06:22 |
| ← stuh84 left | 06:22 |
| → dopesong joined | 06:22 |
| ← Kaisyu left | 06:24 |
| ← nilsi_ left | 06:24 |
|
osse
| Wulf: git log --format=%H -1 -- . | 06:25 |
|
Wulf
| osse: thank you! | 06:26 |
| ← dopesong left | 06:26 |
| → dopesong joined | 06:26 |
| → endiruna joined | 06:26 |
| ← endiruna left | 06:26 |
| ← blur3d left | 06:26 |
| ← MrWoohoo left | 06:27 |
| → interne7y joined | 06:28 |
| ← TomyLobo left | 06:28 |
| → freimatz joined | 06:29 |
| → gsingh joined | 06:29 |
| ← gsingh left | 06:30 |
| → jagob joined | 06:30 |
| ← dreiss left | 06:31 |
| → Fijit joined | 06:31 |
| ← SwiftMatt left | 06:31 |
| ← interne7y left | 06:32 |
| → pungi-man joined | 06:32 |
| ← pwnz0r left | 06:32 |
| ← boudiccas left | 06:33 |
| ← syg_ left | 06:33 |
| → syg_ joined | 06:34 |
| → boudiccas joined | 06:34 |
| ← madewokherd left | 06:35 |
| ← moei left | 06:36 |
| → Alienpruts joined | 06:36 |
| ← eletuchy left | 06:39 |
| → helpD joined | 06:39 |
|
helpD
| Hello guys | 06:40 |
| ← a3Dman left | 06:40 |
|
Wulf
| hi D | 06:40 |
| ← k3rn31 left | 06:41 |
|
helpD
| please, i am working on a git branch and I need to save all changes to it so I could checkout to a different branch, can I use git commit without pushing this upstream? | 06:41 |
|
Wulf
| "git push" pushes, "git commit" does not push. | 06:41 |
|
helpD
| the goal is , I will still have to come back to that branch and I don't want other developers to pull it as the work is still ongoing | 06:41 |
|
Wulf
| are they pulling from *your* computer? | 06:42 |
|
helpD
| Wulf: no, they are pulling from a central repository | 06:42 |
|
Zarthus
| helpD: temporarily push it to a different branch? | 06:42 |
|
helpD
| my branch is locally on my machine | 06:42 |
|
Wulf
| helpD: as long as you don't push to it, they can't see it | 06:42 |
| ← t0by left | 06:42 |
|
helpD
| Zarthus: it is already on a branch. the branch is different from the main develop branch. | 06:42 |
|
Zarthus
| you can branch off further; that's not a worry. If you still want your chances on the remote without interfering with existing development it's a good choice. If you don't want things on the remote at all Wulf's advice has you covered. | 06:43 |
|
| changes* | 06:43 |
|
helpD
| Wulf: so, I git commit and then checkout to another branch. say 2 hours later, I checkout to the previous branch I committed, will my changes committed still be visible in the branch? | 06:43 |
| → eletuchy joined | 06:44 |
|
helpD
| Wulf: I do know git stash does this but I don't want to stash it. I want to somehow save it and can refer to any changes made in that branch when I checkout to it again. Just like one does in 'stashing' | 06:44 |
|
Wulf
| helpD: yes, of course | 06:44 |
|
ISmithers
| It would be scary to live in a world where they would just disappear for some reason lol | 06:44 |
|
Wulf
| helpD: commits don't magically disappear from a branch... | 06:45 |
| → elastix joined | 06:45 |
|
Wulf
| ISmithers: yes, it is. Happened to me. | 06:45 |
|
helpD
| ISmithers: lol. i just need to be sure as I have made alot of changes to the branch . the thought of everything going or someone else seeing it as I am still working on it is scarry | 06:45 |
| → ochorocho__ joined | 06:45 |
|
Zarthus
| then i'd follow my advice and just put it on the remote elsewhere | 06:46 |
|
Wulf
| helpD: if in doubt, you can always create a full copy of your repository | 06:46 |
|
Zarthus
| in the event of your computer catching fire your changes would still be on the server. | 06:46 |
|
helpD
| Wulf: that might help but what really is the different between git stash and git commit? | 06:46 |
|
| Wulf: what i want to do with git commit is exactly what git stash does. with git stash, I can always come back to my changes. | 06:47 |
|
| Zarthus: lol. that is stretching it far off | 06:47 |
|
Zarthus
| gotta cover your bases 8) | 06:47 |
| → boingy joined | 06:48 |
| → TomyWork joined | 06:48 |
| → Rish joined | 06:50 |
| ← ochorocho__ left | 06:50 |
| ← helpD left | 06:50 |
| ← ahr3n left | 06:50 |
| → boudicca joined | 06:51 |
| → Sceorem joined | 06:51 |
| ← fahadash left | 06:52 |
| ← boudiccas left | 06:53 |
| → zincrokx joined | 06:53 |
| → jknetl joined | 06:54 |
| ← zincrokx left | 06:54 |
| → Lynxium joined | 06:54 |
| → gsingh joined | 06:54 |
| → encod3 joined | 06:56 |
| ← syg_ left | 06:57 |
| → Dazzyp joined | 06:57 |
| → k3rn31 joined | 06:57 |
| → jaguarmagenta joined | 06:58 |
| ← eletuchy left | 06:59 |
| ← gsingh left | 06:59 |
| → gsingh joined | 06:59 |
| → xbob joined | 07:00 |
| ← romerocesar left | 07:00 |
| → dsantiago joined | 07:01 |
| ← apotry left | 07:01 |
| → boudiccas joined | 07:01 |
| ← jaguarmagenta left | 07:02 |
| → LJHSLDJHSDLJH joined | 07:03 |
| ← boudicca left | 07:03 |
|
LJHSLDJHSDLJH
| Hi, I'm wondering if git does any real changes on the working directory files or it just track their actions! can anyone tell? | 07:04 |
|
Wulf
| WERTZUJFNZTEFUNJ: Of course it changes the working dir. | 07:04 |
|
kadoban
| LJHSLDJHSDLJH: It will change files if you tell it to of course. I'm not sure what you mean. | 07:04 |
|
| If all you ever do is commit, it doesn't change any files except in .git/ I guess? | 07:05 |
|
LJHSLDJHSDLJH
| one more thing is the exact difference between git reset --soft/hard HEAD^ | 07:05 |
|
Wulf
| hard changes working dir, soft does not | 07:05 |
|
LJHSLDJHSDLJH
| they both undo the last commit but one put back into staging!! I don't understand that | 07:05 |
| → SoRoot joined | 07:05 |
| → xorox90 joined | 07:06 |
| → dreiss joined | 07:06 |
|
LJHSLDJHSDLJH
| ok say I have a repo of 5 commits and I want to completely go back to second commit in history and blowout all last three changes... how to do that? | 07:06 |
| → circ-user-WUSoW joined | 07:08 |
| → bilb_ono joined | 07:09 |
| → josuebrunel joined | 07:10 |
| ← LJHSLDJHSDLJH left | 07:11 |
| → LJHSLDJHSDLJH joined | 07:11 |
| → t0by joined | 07:11 |
|
pungi-man
| LJHSLDJHSDLJH, git reset --hard HEAD~2 | 07:11 |
|
| That would *completely* blow out the changes | 07:12 |
|
LJHSLDJHSDLJH
| is HEAD~2 equivalent to HEAD^^ ? | 07:12 |
| → moei joined | 07:12 |
|
kadoban
| Yes | 07:13 |
|
LJHSLDJHSDLJH
| thank you | 07:13 |
| → PCatinean joined | 07:13 |
|
LJHSLDJHSDLJH
| I will test it on my experimental repo | 07:14 |
| → harish joined | 07:14 |
| → JeroenT joined | 07:15 |
| ← gsingh left | 07:16 |
| → emPi joined | 07:16 |
| ← bittin left | 07:18 |
| → bittin joined | 07:18 |
| ← checkItO1t left | 07:20 |
|
LJHSLDJHSDLJH
| works like magic .. now I'm trying this remove command but it's not working git rm -rf * | 07:21 |
| ← k3rn31 left | 07:22 |
| ← stonerfish left | 07:22 |
| ← LaT0rtue left | 07:23 |
| → stonerfish joined | 07:23 |
| ← bilb_ono left | 07:23 |
| → Psychiatrist joined | 07:24 |
| → jceb joined | 07:24 |
| ← watabou left | 07:24 |
| ← exxit left | 07:25 |
| ← thiago_ left | 07:25 |
| → fees joined | 07:25 |
| → esc joined | 07:26 |
| ← esc left | 07:26 |
| → esc joined | 07:26 |
| ← Nikesh left | 07:27 |
| ← josuebrunel left | 07:27 |
| → checkItOut joined | 07:28 |
| → Macaveli joined | 07:28 |
| → eijk_ joined | 07:28 |
| → interne7y joined | 07:28 |
| → pratima joined | 07:31 |
| → eletuchy joined | 07:32 |
| ← interne7y left | 07:33 |
| ← a_thakur left | 07:34 |
| → ahmedelgabri joined | 07:34 |
| ← drodger left | 07:34 |
| → a_thakur joined | 07:34 |
| → interne7y joined | 07:34 |
|
boz_v1
| Hi, is it ok to use repository clone done with lower version of git with the greater version one? | 07:35 |
|
jast
| yes | 07:35 |
| → drodger joined | 07:36 |
| ← xorox90 left | 07:36 |
|
boz_v1
| ok, thanks jast | 07:36 |
|
jast
| sometimes major releases mean you can't use new repositories with an older git, but old repo with new git is always possible | 07:36 |
| ← Schwarzbaer_ left | 07:37 |
|
Stummi
| how do I remove the deletion of a file from the index? | 07:37 |
| ← boudiccas left | 07:37 |
|
jast
| (I don't think that has actually even happened so far) | 07:37 |
| → snfgf joined | 07:37 |
| ← eletuchy left | 07:37 |
|
jast
| Stummi: 'git status' gives you hints about stuff like that. to get back the version in the last commit, 'git reset -- <file>' | 07:37 |
| → cdown_ joined | 07:37 |
| → boudiccas joined | 07:38 |
| ← cdown left | 07:40 |
| cdown_ → cdown | 07:40 |
| gitinfo set mode: +v | 07:40 |
|
pratima
| Hi There | 07:40 |
|
gitinfo
| pratima: 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. | 07:40 |
|
jast
| hi :) | 07:40 |
|
pratima
| :-) | 07:41 |
|
| Need small clarification on git pre-commit hooks implementation | 07:41 |
|
jast
| first time on IRC can be a little tricky, but now you've got it | 07:41 |
|
| okay, what do you want to know? | 07:41 |
|
pratima
| I have a project where I have successfully implemented pre-commit hook and tested it in git bash | 07:41 |
| ← JeroenT left | 07:42 |
|
pratima
| but now my developers started using Jdeveloper and they are using team plugin in jdev to do git operations right from git clone | 07:42 |
| ← ISmithers left | 07:42 |
| ← dreiss left | 07:42 |
|
pratima
| pre-commit hook is not being triggered when using jdev -> team-> git ->commit | 07:42 |
|
| I have ensured that my pre-commit file is in .git/hooks folder | 07:43 |
|
jast
| yeah, and it needs to be marked executable, too | 07:43 |
|
pratima
| does IDEs have special configuration to make for pre-commit hooks | 07:43 |
|
| you mean file permissions ? | 07:44 |
|
jast
| I don't know JDeveloper specifically, but some git plugins don't actually use the official git client and have their own implementation which may not support hooks at all | 07:44 |
|
| yes | 07:44 |
| ← tax left | 07:44 |
| ← Psychiatrist left | 07:44 |
| ← a_thakur left | 07:44 |
| → a_thakur joined | 07:45 |
|
pratima
| $ ls -ltr total 16 -rwxr-xr-x 1 pmangena 1049089 16252 Jun 8 11:55 pre-commit* | 07:45 |
|
jast
| that looks good | 07:46 |
|
pratima
| permissions seems to be fine | 07:46 |
| ← a_thakur left | 07:46 |
| → GavinMagnus joined | 07:46 |
|
pratima
| :-( this scares me | 07:46 |
|
| I have to restrict them committing code with out copyright information | 07:47 |
| → nnyk_ joined | 07:47 |
| → keltvek joined | 07:48 |
|
jast
| well, as I said, I don't really know JDeveloper. you could ask the developers of the team plugin what they know about support for hooks like pre-commit | 07:48 |
| ← fracting left | 07:49 |
| ← checkItOut left | 07:49 |
|
jast
| worst case: it's not supported at all, then if you can't teach your developers to commit properly you might have to set up a way to only allow reviewed commits in the repository | 07:49 |
| → watabou joined | 07:50 |
| → JeroenT joined | 07:50 |
| → eijk joined | 07:53 |
| ← ajf- left | 07:54 |
| ← JeroenT left | 07:54 |
| → eletuchy joined | 07:55 |
| → JeroenT joined | 07:55 |
| ← eijk_ left | 07:55 |
| ← snfgf left | 07:56 |
| ← MattMaker left | 07:56 |
| → eijk_ joined | 07:57 |
| ← moei left | 07:58 |
| ← JeroenT left | 07:59 |
| ← eletuchy left | 07:59 |
| ← eijk left | 07:59 |
| → apotry joined | 08:00 |
| → JeroenT joined | 08:01 |
| → fracting joined | 08:01 |
| ← eijk_ left | 08:02 |
| → eijk_ joined | 08:02 |
| → _rgn joined | 08:02 |
| ← _rgn left | 08:02 |
| → _rgn joined | 08:02 |
| ← _rgn left | 08:03 |
| → blur3d joined | 08:03 |
| → bongjovi joined | 08:03 |
| → boudicca joined | 08:04 |
| → _rgn joined | 08:04 |
| → eletuchy joined | 08:04 |
| → garethdaine joined | 08:05 |
| → emx joined | 08:05 |
|
emx
| what is the easiest way to undo a pushed merge? | 08:05 |
| → comps joined | 08:05 |
|
emx
| is it only possible with "git revert -m 1/2 hash"? | 08:05 |
| ← boudiccas left | 08:07 |
| ← knutstrut left | 08:07 |
| ← eletuchy left | 08:08 |
| ← Goplat left | 08:08 |
| → mikecmpbll joined | 08:08 |
| → knutstrut joined | 08:09 |
| ← eijk_ left | 08:10 |
| ← b1tchcakes left | 08:10 |
| → _pix joined | 08:11 |
| ← d4rklit3 left | 08:11 |
| → b1tchcakes joined | 08:12 |
| → marcogmonteiro joined | 08:12 |
| ← boudicca left | 08:12 |
| → bilb_ono joined | 08:16 |
| → MrWoohoo joined | 08:17 |
| → eijk_ joined | 08:18 |
| → kurkale6ka joined | 08:19 |
| ← kadoban left | 08:19 |
| → guardianJ joined | 08:19 |
| → MattMaker joined | 08:20 |
| ← monoxane left | 08:23 |
| → monoxane joined | 08:23 |
| ← MattMaker left | 08:25 |
| → dskfldm joined | 08:25 |
| gitinfo set mode: +v | 08:26 |
|
dskfldm
| Hello | 08:26 |
|
gitinfo
| dskfldm: 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. | 08:26 |
|
dskfldm
| !backup | 08:27 |
|
gitinfo
| Worried about your data while trying stuff out in your repo? The repository in its entirety lives inside the .git directory in the root of your work tree so to backup everything `cp -a path/to/workdir path/to/backup` or equivalent will suffice as long as the repo is not modified during backup. See also http://sethrobertson.github.com/GitBestPractices/#backups | 08:27 |
| ← bilb_ono left | 08:31 |
| ← eijk_ left | 08:31 |
| → a_thakur joined | 08:31 |
| → moei joined | 08:31 |
| → fuchstronaut joined | 08:32 |
|
LJHSLDJHSDLJH
| how can I undo git add --all | 08:32 |
|
lb
| LJHSLDJHSDLJH git reset | 08:32 |
| ← emx left | 08:32 |
| ← qt-x left | 08:33 |
| → qt-x joined | 08:33 |
| ← JeroenT left | 08:34 |
|
LJHSLDJHSDLJH
| that works ... thanks | 08:34 |
|
lb
| you're welcome | 08:34 |
| → kedare joined | 08:35 |
| ← linuxmodder left | 08:35 |
| → courrier joined | 08:35 |
| → encod3_ joined | 08:35 |
| → Silenced_v2 joined | 08:35 |
|
Wulf
| How can I get the path of the current directory relative to the git repo's root, and the name of the repository? | 08:36 |
| ← guardianJ left | 08:36 |
| ← fuchstronaut left | 08:36 |
| ← dsop left | 08:36 |
| → dsop joined | 08:36 |
| ← encod3 left | 08:37 |
| → JeroenT joined | 08:37 |
|
ecraven
| is there a name for the thing you put after git checkout <here>? it can be a branch, or a tag, as far as I understand. any common word for branch-or-tag? | 08:37 |
|
| or even branch-or-tag-or-commit | 08:37 |
| → cxz joined | 08:37 |
| ← cxz left | 08:37 |
| → cxz joined | 08:37 |
|
lb
| ecraven "commitish" anything that git can break down to a commit object | 08:38 |
| ← interne7y left | 08:38 |
|
lb
| ecraven https://www.kernel.org/pub/software/scm/git/docs/#_identifier_terminology | 08:39 |
| ← reactormonk left | 08:39 |
|
ecraven
| lb: thanks! | 08:40 |
| → fahadash joined | 08:40 |
| → hexafluoride joined | 08:41 |
|
hexafluoride
| okay, so I added and deleted some files before ever doing a git add or git commit | 08:42 |
|
ecraven
| one more question, I want to reorder some stuff around, how can I check out the content of branch <a>'s HEAD into my current branch? | 08:42 |
|
hexafluoride
| but when I do a git status or git diff, they show up as a "deleted" change | 08:42 |
|
| even though they were never staged or committed in the first place | 08:42 |
|
| how do I fix that? | 08:42 |
| → checkItOut joined | 08:42 |
| → lindenle joined | 08:43 |
| → linuxmodder joined | 08:43 |
| ← dopesong left | 08:43 |
| → dopesong joined | 08:44 |
|
lb
| ecraven reorder in terms of "moving commits around in the history" or do you really just want to checkout the content of branch a into your current workdir ? | 08:44 |
|
dskfldm
| I was working on a branch, then i had to fix something, so i did a git stash, then checked out into master branch, did the fix while on the master branch, commit, and now i want to get back. I also need the changes from master, so do i checkout the branch where i did the git stash and pop it then merge, or do i merge from master before then pop the stash | 08:44 |
|
lb
| hexafluoride not possible. if they are shown as changed, they are tracked. otherwise the status would be untracked | 08:44 |
|
| hexafluoride you can examin the commits with git log -- filename | 08:45 |
|
dskfldm
| or is it the same thing | 08:45 |
|
hexafluoride
| oh, apparently monodevelop did it for me | 08:45 |
|
| thanks | 08:45 |
|
| I did a git rm | 08:45 |
|
lb
| dskfldm basically the same thing | 08:45 |
|
dskfldm
| it figures | 08:46 |
| → josuebrunel joined | 08:46 |
|
lb
| dskfldm only the part where you might get conflicts change | 08:46 |
| → Schwarzbaer joined | 08:47 |
|
dskfldm
| i might have conflicts.. i don't know, i did not do it | 08:47 |
|
lb
| if the things from the stash and the new stuff from master does have conflicts | 08:47 |
|
ecraven
| lb: just check it out into the working directory, but without leaving my current branch | 08:47 |
|
| lb: something easier than git archive <a> | tar ... | 08:47 |
| ← lindenle left | 08:48 |
|
lb
| ecraven git checkout <branch-a> -- . | 08:48 |
|
| ecraven git checkout <branch-a> -- file or path | 08:48 |
| ← dopesong left | 08:48 |
|
lb
| dskfldm maybe do just git stash apply instad of pop | 08:48 |
|
ecraven
| lb: wow, thank you! | 08:48 |
|
dskfldm
| how is that, are you saying that the order of doing thing matter when there are conflicts? like merge from master then pop vs pop then merge ? | 08:48 |
|
ecraven
| lb: never thought it would be this easy :D | 08:48 |
| → fuchstronaut joined | 08:49 |
| ← fuchstronaut left | 08:49 |
| → fuchstronaut joined | 08:49 |
|
lb
| dskfldm that way you can go back if any conflict and you always have your stash for a second try ;) | 08:49 |
| → tvw joined | 08:49 |
|
dskfldm
| well i guess now i need to read about git stash apply.. | 08:49 |
|
lb
| dskfldm it just changing the view. the conflicts ( if there are any ) thay the same of course. | 08:49 |
|
| dskfldm stash pop = stash apply + stash drop | 08:50 |
|
| apply from stash to current workdir + drop the stash info | 08:50 |
| ← droidicus left | 08:50 |
|
lb
| just do the apply part and drop the stash later if you dont need it any longer | 08:50 |
|
dskfldm
| oh, so i lose the stash after pop | 08:50 |
|
| got it | 08:50 |
|
| thanks | 08:50 |
|
lb
| thats what pop does ;) | 08:50 |
| ← Orbitrix left | 08:51 |
| → texinwien joined | 08:51 |
|
lb
| dskfldm ( you dont really loose it because of the reflog but it's easier that way :) ) | 08:51 |
| → Orbitrix joined | 08:51 |
| ← jab416171 left | 08:52 |
| ← JeroenT left | 08:52 |
| → barteks2x joined | 08:53 |
| → bruce_lee joined | 08:53 |
| ← bruce_lee left | 08:53 |
| → bruce_lee joined | 08:53 |
| ← lolmac left | 08:54 |
| → sparetire joined | 08:55 |
| → jab416171 joined | 08:55 |
| → JeroenT joined | 08:56 |
| → nuck joined | 08:56 |
| ← cdown left | 08:56 |
| nuck → Guest23972 | 08:56 |
| → MattMaker joined | 08:57 |
| ← jceb left | 08:58 |
| → lolmac joined | 08:58 |
| → djb-irc joined | 08:58 |
| → jaguarmagenta joined | 08:58 |
| → paul424 joined | 09:00 |
| → romerocesar joined | 09:01 |
| ← MattMaker left | 09:02 |
| ← jaguarmagenta left | 09:03 |
| → cdown joined | 09:04 |
| ← jknetl left | 09:04 |
| ← lolmac left | 09:05 |
| ← romerocesar left | 09:06 |
| → troulouliou_div2 joined | 09:06 |
| ← Rish left | 09:06 |
| → Guest53386 joined | 09:07 |
| ← SoRoot left | 09:08 |
| → SoRoot joined | 09:08 |
| → jceb joined | 09:09 |
| ← SoRoot left | 09:10 |
| → SoRoot joined | 09:10 |
| ← Silenced_v2 left | 09:10 |
| → Silenced_v2 joined | 09:10 |
| ← Guest53386 left | 09:11 |
| → lolmac joined | 09:11 |
| → ocbtec joined | 09:12 |
| ← diogenese left | 09:12 |
| → cdown_ joined | 09:13 |
| ← SoRoot left | 09:13 |
| → SoRoot joined | 09:14 |
| ← SoRoot left | 09:14 |
| → King_Hual joined | 09:14 |
| → SoRoot joined | 09:14 |
| ← SoRoot left | 09:15 |
| → SoRoot joined | 09:16 |
| ← cdown left | 09:16 |
| cdown_ → cdown | 09:16 |
| ← LJHSLDJHSDLJH left | 09:17 |
| → jknetl joined | 09:17 |
| → Jellyg00se joined | 09:18 |
| → isxek joined | 09:18 |
| → notebox joined | 09:19 |
| → CheckDavid joined | 09:22 |
| ← Macaveli left | 09:22 |
| ← AlexRussia left | 09:23 |
| → morrolan1 joined | 09:24 |
| → diogenese joined | 09:24 |
| → neps joined | 09:24 |
| → Rish joined | 09:26 |
| → Macaveli joined | 09:27 |
| → mdw joined | 09:27 |
| → dsdeiz joined | 09:27 |
| → dopesong joined | 09:30 |
| → romerocesar joined | 09:32 |
| ← joki left | 09:32 |
| → PHPanos joined | 09:33 |
| → a3Dman joined | 09:33 |
|
PHPanos
| hello | 09:33 |
| → acetakwas joined | 09:34 |
|
PHPanos
| I have a feature branch which contains some commits I don't want into the master branch. So I was thinking I could cherry pick the commits I wanted into the master branch, but not all commits are getting through. Any idea? | 09:34 |
| ← acetakwas left | 09:35 |
| ← romerocesar left | 09:36 |
| → rolha joined | 09:37 |
| ← watabou left | 09:37 |
| → acetakwas joined | 09:37 |
| → joki joined | 09:37 |
| → discopatrick joined | 09:38 |
| ← jknetl left | 09:38 |
| → zincrokx joined | 09:38 |
| ← Jellyg00se left | 09:38 |
| ← acetakwas left | 09:38 |
| ← zincrokx left | 09:39 |
| ← Fr4n left | 09:39 |
| → eletuchy joined | 09:39 |
| → zincrokx joined | 09:39 |
| ← settermjd left | 09:39 |
| ← zincrokx left | 09:39 |
| → settermjd joined | 09:39 |
| → acetakwas joined | 09:40 |
| ← fscala left | 09:40 |
| ← texinwien left | 09:41 |
| ← acetakwas left | 09:41 |
| ← neps left | 09:42 |
| → acetakwas joined | 09:42 |
| ← pmort left | 09:43 |
| ← acetakwas left | 09:43 |
| → texinwien joined | 09:43 |
| ← isxek left | 09:43 |
| → fscala joined | 09:43 |
| → acetakwas joined | 09:43 |
| ← eletuchy left | 09:44 |
| ← acetakwas left | 09:45 |
| → acetakwas joined | 09:45 |
| ← qt-x left | 09:46 |
| ← jceb left | 09:46 |
| ← acetakwas left | 09:47 |
| → boudiccas joined | 09:47 |
| → pol123456 joined | 09:47 |
| → jceb joined | 09:47 |
| → acetakwas joined | 09:47 |
| ← garethdaine left | 09:47 |
| → mischat joined | 09:47 |
| → neps joined | 09:48 |
| → Psychiatrist joined | 09:48 |
| ← acetakwas left | 09:48 |
| → mdw_ joined | 09:49 |
| → mohabaks joined | 09:49 |
| → mdw__ joined | 09:50 |
| → allcentu1 joined | 09:51 |
| → Fr4n joined | 09:51 |
| ← fuchstronaut left | 09:51 |
| → Guest23290 joined | 09:52 |
| → Jellyg00se joined | 09:52 |
| Guest23290 → nb-ben | 09:52 |
| ← mdw left | 09:52 |
| ← cdown left | 09:52 |
| ← jceb left | 09:52 |
| → leeN joined | 09:53 |
| → jceb joined | 09:53 |
| ← mdw_ left | 09:54 |
|
PHPanos
| Anyone? | 09:54 |
| → isxek joined | 09:57 |
| ← MrWoohoo left | 09:57 |
| ← Sareuon left | 09:58 |
| → fuchstronaut joined | 09:58 |
| ← settermjd left | 10:02 |
| ← cqi left | 10:02 |
| ← fracting left | 10:02 |
| → settermjd joined | 10:03 |
| → mdw joined | 10:03 |
| → qt-x joined | 10:04 |
| ← Silenced_v2 left | 10:05 |
| ← mdw__ left | 10:06 |
| → Darcidride joined | 10:07 |
| ← JeroenT left | 10:07 |
| ← jceb left | 10:09 |
| → jceb joined | 10:09 |
| → cdown joined | 10:10 |
| → piling_ joined | 10:10 |
| ← piling left | 10:12 |
| ← mohabaks left | 10:14 |
| → garethdaine joined | 10:14 |
| ← mdw left | 10:14 |
| → mdw joined | 10:17 |
| → WayToDoor joined | 10:18 |
| ← cdown left | 10:18 |
| ← qt-x left | 10:18 |
| → fracting joined | 10:19 |
| → qt-x joined | 10:19 |
| → gechr joined | 10:19 |
| ← neps left | 10:20 |
| ← PHPanos left | 10:21 |
| ← SoRoot left | 10:22 |
| → SoRoot joined | 10:22 |
| → AlexRussia joined | 10:23 |
| ← zeroed left | 10:23 |
| ← mehola left | 10:25 |
| ← iota_pi left | 10:26 |
| ← moop left | 10:28 |
| → FunkyAss joined | 10:28 |
| → acetakwas joined | 10:29 |
| ← acetakwas left | 10:30 |
| ← subhojit777 left | 10:31 |
| → acetakwas joined | 10:32 |
| ← acetakwas left | 10:32 |
| → watabou joined | 10:33 |
| ← jceb left | 10:35 |
| → eletuchy joined | 10:35 |
| → wrouesnel joined | 10:36 |
| ← checkItOut left | 10:37 |
| ← encod3_ left | 10:37 |
| → encod3 joined | 10:37 |
| ← watabou left | 10:38 |
| → neps joined | 10:38 |
| → interne7y joined | 10:39 |
| → acetakwas joined | 10:39 |
| ← texinwien left | 10:39 |
| ← AlexRussia left | 10:39 |
| → jtkovf joined | 10:39 |
| → bollullera joined | 10:39 |
| ← eletuchy left | 10:40 |
| → iota_pi joined | 10:40 |
| → JeroenT joined | 10:41 |
| → moop joined | 10:42 |
| ← sostenuto left | 10:42 |
| → tlaxkit joined | 10:43 |
| ← interne7y left | 10:44 |
| → rnsanchez_ joined | 10:44 |
| ← boudiccas left | 10:45 |
| → EduardoMartins joined | 10:45 |
| → iLembus joined | 10:45 |
| → boudiccas joined | 10:46 |
| ← fracting left | 10:46 |
| ← _rnsanchez_ left | 10:47 |
| → LJHSLDJHSDLJH joined | 10:47 |
| → Kaisyu joined | 10:47 |
| → sostenuto joined | 10:47 |
|
LJHSLDJHSDLJH
| what is the difference between git diff HEAD~3 ..HEAD~2 and git diff HEAD~3..HEAD~2 , I'm not able to comperhend the difference of the output | 10:48 |
| → subhojit777 joined | 10:48 |
| ← circ-user-WUSoW left | 10:50 |
| ← acetakwas left | 10:50 |
| ← CussBot left | 10:50 |
| → acetakwas joined | 10:50 |
| → CussBot joined | 10:52 |
| → boudicca joined | 10:52 |
| → Kurvivor joined | 10:53 |
|
Kurvivor
| good evening | 10:53 |
|
| i have a problem with remote repository (actually - local, mounted in my /mnt subdirectory) | 10:53 |
| ← boudiccas left | 10:53 |
|
Kurvivor
| it goes like this: i can run git remote show, git pull with it | 10:54 |
| → son joined | 10:54 |
|
Kurvivor
| however when i try to push, i get "fatal ... does not appear to be a git repository" | 10:54 |
| → fission6 joined | 10:54 |
| ← mdw left | 10:55 |
| ← PCatinean left | 10:56 |
| → Lunatrius joined | 10:56 |
| ← EduardoMartins left | 10:56 |
| → PCatinean joined | 10:57 |
| ← WayToDoor left | 10:57 |
|
Kurvivor
| oh, it seems root did not have access rights there somehow | 10:57 |
|
| sorry for bothering | 10:57 |
| ← johnmilton left | 10:59 |
| ← subhojit777 left | 11:00 |
| → fracting joined | 11:01 |
| ← trout left | 11:01 |
| → le-idiot joined | 11:01 |
| → variable joined | 11:01 |
| → mdw joined | 11:01 |
| ← lamppid left | 11:07 |
| → _rnsanchez_ joined | 11:08 |
| → PHPanos joined | 11:09 |
| ← neps left | 11:10 |
| ← rnsanchez_ left | 11:12 |
| ← raijin left | 11:12 |
| → raijin joined | 11:12 |
| → subhojit777 joined | 11:13 |
| → neps joined | 11:13 |
| ← garethdaine left | 11:14 |
| → boudiccas joined | 11:15 |
| ← GandalfTheWizard left | 11:15 |
| ← tomboy64 left | 11:15 |
| → mohabaks joined | 11:17 |
| → k3rn31 joined | 11:17 |
| ← boudicca left | 11:18 |
| → garethdaine joined | 11:18 |
| ← raijin left | 11:18 |
| → boudicca joined | 11:19 |
| ← dsdeiz left | 11:19 |
| → dsdeiz joined | 11:20 |
| ← dsdeiz left | 11:20 |
| → dsdeiz joined | 11:20 |
| ← boudiccas left | 11:21 |
| ← pungi-man left | 11:21 |
| → LaT0rtue joined | 11:24 |
| _rnsanchez_ → rnsanchez | 11:26 |
| ← k3rn31 left | 11:27 |
| ← flaguy48 left | 11:28 |
| → texinwien joined | 11:28 |
| → espindola joined | 11:28 |
| → eletuchy joined | 11:30 |
| → netcarver joined | 11:30 |
| → Sendoushi joined | 11:30 |
| ← dskfldm left | 11:32 |
| → k3rn31 joined | 11:32 |
| ← fuchstronaut left | 11:33 |
| ← eletuchy left | 11:34 |
| → watabou joined | 11:34 |
| ← Sceorem left | 11:35 |
| → sioseal joined | 11:39 |
| ← sioseal left | 11:39 |
| ← watabou left | 11:39 |
| ← le-idiot left | 11:40 |
| ← _pix left | 11:40 |
| → circ-user-MwZ8X joined | 11:41 |
| ← fahadash left | 11:42 |
| → mdw_ joined | 11:42 |
| → edude03 joined | 11:43 |
| → _pix joined | 11:43 |
| ← subhojit777 left | 11:45 |
| → raijin joined | 11:45 |
| → pungi-man joined | 11:45 |
| ← Rish left | 11:46 |
| ← mdw left | 11:46 |
| → Rooxo joined | 11:48 |
| → johnmilton joined | 11:50 |
| → sdothum joined | 11:50 |
| ← a_thakur left | 11:50 |
| ← notebox left | 11:52 |
| ← jeffreylevesque left | 11:53 |
| ← Macaveli left | 11:54 |
| ← leeN left | 11:55 |
| → Macaveli joined | 11:55 |
| ← nanga left | 11:56 |
| → nanga joined | 11:56 |
| ← nanga left | 11:56 |
| → nanga joined | 11:56 |
| → SimonNa joined | 11:57 |
| ← LaT0rtue left | 11:57 |
| ← philipp64|work left | 11:57 |
| ← encod3 left | 11:58 |
| ← djb-irc left | 11:59 |
| → mmlb joined | 11:59 |
| ← Macaveli left | 12:00 |
| ← espindola left | 12:00 |
| → Musok joined | 12:01 |
| ← Sendoushi left | 12:01 |
| → boudiccas joined | 12:01 |
| → jknetl joined | 12:03 |
| ← Musok left | 12:03 |
| → Sendoushi joined | 12:03 |
| → stasmakarov joined | 12:03 |
| ← fission6 left | 12:04 |
| ← Sendoushi left | 12:04 |
| → Sendoushi joined | 12:04 |
| → kedare_ joined | 12:04 |
| → Sceorem joined | 12:06 |
| → Douhan joined | 12:06 |
| ← boudicca left | 12:06 |
| ← liuzhen left | 12:06 |
| → encod3 joined | 12:06 |
| → a_thakur joined | 12:07 |
| → encod3_ joined | 12:07 |
| → boudicca joined | 12:07 |
| ← boudicca left | 12:07 |
| → leeN joined | 12:07 |
| ← boudiccas left | 12:07 |
| → boudicca joined | 12:08 |
| ← kedare left | 12:08 |
| → pwnawannab[NE] joined | 12:08 |
| ← edude03 left | 12:10 |
| → lamont joined | 12:11 |
| ← encod3 left | 12:11 |
| ← Sendoushi left | 12:11 |
| → Sendoushi joined | 12:11 |
| ← pratima left | 12:12 |
| ← leeN left | 12:12 |
| → ncd|leeN joined | 12:12 |
| ← fracting left | 12:12 |
| → philipp64|work joined | 12:13 |
| → synthroid joined | 12:13 |
| ← Sendoushi left | 12:14 |
| → Sendoushi joined | 12:15 |
| → rwb joined | 12:15 |
| → MattMaker joined | 12:15 |
| → Kicer86 joined | 12:17 |
| ← k3rn31 left | 12:17 |
| → espindola joined | 12:18 |
| → jeffreylevesque joined | 12:19 |
| ← MattMaker left | 12:20 |
| → Cyw joined | 12:23 |
| → eletuchy joined | 12:24 |
| ← acetakwas left | 12:24 |
| → acetakwas joined | 12:24 |
| → AlexRussia joined | 12:25 |
| → fracting joined | 12:25 |
|
circ-user-MwZ8X
| I have noticed that I add a lot of formatting in unrelated code, which seems stable. I do not like formatting updates be mixed with my feature commits. I want to merge all small formatting shit that I find into a separate commit. How do I spit small formatting commits when working on the current feature? | 12:27 |
| → DARSCODE joined | 12:27 |
|
i7c
| You could use git add -p to add changes. | 12:27 |
|
| And possibly first add all the functional ones and then all the formatting rest (or the other way round, whichever seems more convenient?). | 12:28 |
| → jon-mac joined | 12:28 |
|
circ-user-MwZ8X
| The problem is that you notice the formatting while you inspect the code for the functional needs. | 12:28 |
| ← elastix left | 12:28 |
| ← eletuchy left | 12:29 |
|
i7c
| Where is the problem exactly? | 12:30 |
|
| I mean yeah, that's often the case. | 12:30 |
| → jceb joined | 12:31 |
| ← bluezone left | 12:31 |
| → k3dare joined | 12:31 |
|
nb-ben
| make it habitual to first format the code and then change its functionality | 12:31 |
|
circ-user-MwZ8X
| You see that here you could code much more optimal and your hands are itching to reformat. Such It is sorta eyesoring. You cannot efficiently to accomplish the functional change. | 12:31 |
| ← aavrug left | 12:31 |
| ← netcarver left | 12:31 |
|
nb-ben
| so you have two commits | 12:31 |
| → djb-irc joined | 12:32 |
| → elastix joined | 12:32 |
|
nb-ben
| then if you failed with your functional changes you can reset back to your pretty formatted code commit | 12:32 |
|
circ-user-MwZ8X
| But, once you have done with your new functionality, you have forgotten were all the nusances that pissed you off during the course. | 12:32 |
| → jaaronamo joined | 12:33 |
| → fuchstronaut joined | 12:34 |
| ← JeroenT left | 12:34 |
| ← kedare_ left | 12:34 |
| → happy-dude joined | 12:35 |
| ← jonesinator left | 12:36 |
| → watabou joined | 12:36 |
| → iLembus_ joined | 12:37 |
| → JeroenT joined | 12:37 |
| ← fuchstronaut left | 12:39 |
| ← iLembus left | 12:39 |
| ← PHPanos left | 12:39 |
| → pmort joined | 12:39 |
| → dermoth_ joined | 12:40 |
| → interne7y joined | 12:40 |
| ← dermoth left | 12:40 |
| dermoth_ → dermoth | 12:40 |
| → rossome joined | 12:40 |
| ← watabou left | 12:41 |
| ← CheckDavid left | 12:42 |
| ← ncd|leeN left | 12:42 |
| → mizu_no_oto joined | 12:43 |
| ← jon-mac left | 12:44 |
| → livingstn joined | 12:45 |
| ← interne7y left | 12:45 |
| ← raijin left | 12:46 |
| → lindenle joined | 12:46 |
| ← david007 left | 12:46 |
| ← akiva left | 12:46 |
| → achadwick joined | 12:47 |
| → ochorocho__ joined | 12:49 |
| → david007 joined | 12:50 |
| ← lindenle left | 12:50 |
| ← jknetl left | 12:50 |
| ← djb-irc left | 12:52 |
| ← ochorocho__ left | 12:53 |
| ← dopesong left | 12:53 |
| → fission6 joined | 12:53 |
| → jon-mac joined | 12:53 |
| ← paul424 left | 12:53 |
| → dopesong joined | 12:53 |
| → jessu joined | 12:56 |
|
jessu
| hi what is git ? | 12:57 |
| ← mdw_ left | 12:57 |
|
selckin
| http://lmgtfy.com/?q=git | 12:57 |
| ← JeroenT left | 12:58 |
| ← Sendoushi left | 12:58 |
| → JeroenT joined | 12:58 |
| → fahadash joined | 13:00 |
|
LJHSLDJHSDLJH
| I created an alias.xname but it's not working when I use .. git xname | 13:00 |
|
| alias.mylog=git log -p --abbrev-commit --stat --date short | 13:00 |
| → nilsi joined | 13:00 |
| → rgrinberg joined | 13:00 |
| → CEnnis91 joined | 13:01 |
|
selckin
| looks like its named mylog | 13:01 |
|
LJHSLDJHSDLJH
| although it shows in the config and command syntax works separately | 13:01 |
|
ybden
| LJHSLDJHSDLJH: just do `log -p --abbrev-commit --stat --date short` or ¬git log -p --abbrev-commit --stat --date short` | 13:01 |
| ← david007 left | 13:01 |
|
ybden
| LJHSLDJHSDLJH: it automatically prefixes it with git, unless you do ! | 13:01 |
|
| er, s/¬/`/ | 13:01 |
|
| oops | 13:01 |
|
| latter should be !git log -p --abbrev-commit --stat --date short | 13:01 |
| ← mohabaks left | 13:02 |
| ← neps left | 13:02 |
|
ybden
| that is, `alias.mylog=log -p --abbrev-commit --stat --date short` or `alias.mylog=!git log -p --abbrev-commit --stat --date short` | 13:02 |
| ← JeroenT left | 13:04 |
| → JeroenT joined | 13:04 |
| → jimi_ joined | 13:06 |
| → lamppid joined | 13:06 |
| ← jon-mac left | 13:08 |
| → italoacasas joined | 13:09 |
| → fuchstronaut joined | 13:09 |
| → cdown joined | 13:09 |
| ← Sonderblade left | 13:10 |
| → tgunr joined | 13:11 |
| → soc42 joined | 13:12 |
| → Gsham joined | 13:12 |
| ← mizu_no_oto left | 13:13 |
| → unbalancedparen joined | 13:15 |
| ← boingy left | 13:16 |
| → k3rn31 joined | 13:17 |
| → notebox joined | 13:18 |
| → Raging_Hog joined | 13:18 |
| → rnsanchez_ joined | 13:20 |
| ← rnsanchez left | 13:21 |
| → mflow joined | 13:21 |
| → odingodner joined | 13:21 |
|
mflow
| How can I make git show only return the author date of a commit without the file or diff? | 13:22 |
|
| git show $hash --pretty='%an' returns the diff | 13:22 |
|
| along the date | 13:22 |
|
| I want only the date | 13:22 |
| ← italoacasas left | 13:23 |
| → boombatower joined | 13:23 |
| ← variable left | 13:23 |
|
i7c
| git log $hash --pretty='%ad' | 13:23 |
|
| err and -1 probably | 13:24 |
| → mdw joined | 13:24 |
|
lb
| mflow man git show search for: PRETTY FORMATS | 13:24 |
|
gitinfo
| the git-show manpage is available at http://jk.gs/git-show.html | 13:24 |
| ← mdw left | 13:24 |
|
osse
| mflow: git show -s or git log -1 | 13:25 |
| → mdw joined | 13:25 |
| → mohabaks joined | 13:25 |
| ← Khisanth left | 13:26 |
|
lb
| so the full version would be: git show -s <sha> --pretty='%aD' | 13:26 |
| rnsanchez_ → rnsanchez | 13:26 |
| → boingy joined | 13:26 |
| → cdg joined | 13:27 |
| → thiago_ joined | 13:27 |
| ← mdw left | 13:27 |
| → diegoviola joined | 13:27 |
| → xorox90 joined | 13:27 |
| ← boudicca left | 13:28 |
|
ybden
| lb: they don't want the diff | 13:28 |
|
| git log is just fine | 13:28 |
|
lb
| compare the output ;) | 13:29 |
| → vishnurao joined | 13:30 |
| → btyne79 joined | 13:30 |
|
i7c
| log with -1 seems a bit crippled in comparison to show -s. :) | 13:30 |
|
ybden
| i7c: howso? | 13:30 |
|
i7c
| Just by intuition, show is supposed to show one object and log is really more to inspect the history. | 13:31 |
|
| Ofc the outcome is the same so doesn't really matter. | 13:31 |
| ← xorox90 left | 13:31 |
|
ybden
| I suppose that show is more semantically correct | 13:31 |
|
i7c
| That's what I was trying to express. | 13:31 |
| ← philipp64|work left | 13:31 |
| ← boingy left | 13:31 |
| → mdw joined | 13:32 |
| ← notebox left | 13:33 |
| ← isxek left | 13:34 |
| ← bongjovi left | 13:34 |
| → xorox90 joined | 13:35 |
| → __name__ joined | 13:36 |
|
osse
| i7c: but you can do git log -2 | 13:36 |
|
| and -3 | 13:36 |
|
| and -69, -666 and -1337 | 13:37 |
| → watabou joined | 13:37 |
|
i7c
| I'm aware. | 13:38 |
|
| How about -42? | 13:38 |
| → boudiccas joined | 13:39 |
|
osse
| i assume so | 13:39 |
|
| I would be disappointed if not | 13:39 |
|
i7c
| Likewise. | 13:39 |
| → Khisanth joined | 13:39 |
| → FeersumEndjinn joined | 13:40 |
| ← Orion3k left | 13:41 |
|
FeersumEndjinn
| Hi - we recently developed a new feature on a new branch which introduced some new CSS. Tested fine on all supported browsers, so did a pull request and merged into master. Users of old unsupported versions of IE complain, boss says rollback to before merge. My question is, what is the best way to do that, and then push this back to the front of master? | 13:42 |
| → reactormonk joined | 13:42 |
|
i7c
| !revert | 13:42 |
|
gitinfo
| That's a rather ambiguous question... options: a) make a commit that "undoes" the effects of an earlier commit [man git-revert]; b) discard uncommitted changes in the working tree [git reset --hard]; c) undo committing [git reset --soft HEAD^]; d) restore staged versions of files [git checkout -p]; e) move the current branch to a different point(possibly losing commits)[git reset --hard $COMMIT]? | 13:42 |
|
reactormonk
| How can I find out which gitignore file ignores a specific file? Or at least which gitignore files git is picking up? Can't figure out why a specific file isn't picked up. | 13:42 |
| ← watabou left | 13:43 |
| → italoacasas joined | 13:43 |
|
FeersumEndjinn
| reactormonk: git should pick up .gitignore from repository root as far as I'm aware? | 13:43 |
|
lb
| FeersumEndjinn you can have multiple .gitignore in sub dirs | 13:44 |
|
reactormonk
| FeersumEndjinn, I just deleted all the contents, still ignored. | 13:44 |
|
i7c
| FeersumEndjinn, this could be worth a read, too. https://git-scm.com/blog/2010/03/02/undoing-merges.html | 13:44 |
|
reactormonk
| lb, there's just one according to ls **/.gitignore | 13:44 |
|
lb
| reactormonk do you know git check-ignore? ( although it just checks for ignorance, not for the ignore source) | 13:45 |
|
FeersumEndjinn
| i7c: thanks, will take a look at that. I'm just worried that whilst I can rollback the code to a specific point, that I'll encounter fast forward conflicts when I try and commit to push this back to the front of master | 13:45 |
| ← wrouesnel left | 13:45 |
|
lb
| reactormonk there could also be system/user wide gitignores be present on your machine | 13:45 |
|
reactormonk
| lb, checked user wide | 13:46 |
|
lb
| reactormonk does `git config -l | grep core.excludesfile` show something? | 13:47 |
| → ash_workz joined | 13:47 |
| ← nnyk_ left | 13:47 |
|
lb
| reactormonk ahh got it | 13:47 |
|
| reactormonk git check-ignore -v <filename> | 13:48 |
|
reactormonk
| just gives me a return value of 1, nothing else. | 13:48 |
| → baraba joined | 13:48 |
|
lb
| Oo | 13:49 |
| ← boudiccas left | 13:49 |
|
i7c
| FeersumEndjinn, yes, that's a valid concern. It will cause additional work (or "trouble") for your coworkers if you use the first approach (reset and remerge, which basically rewrites history). | 13:49 |
| → Orion3k joined | 13:49 |
| ← Orion3k left | 13:49 |
| → nnyk_ joined | 13:49 |
|
i7c
| FeersumEndjinn, the git-revert approach should be safe tho, history-wise. | 13:49 |
|
FeersumEndjinn
| i7c: Luckily for me, I'm the only dev on this project at the moment so if I can implement this, next time someone else works on this hopefully this is all undone :) | 13:49 |
| → Noldorin joined | 13:50 |
|
i7c
| Well if you work alone rewriting history shouldn't be too bad. :) | 13:50 |
|
lb
| reactormonk https://git-scm.com/docs/git-check-ignore -> exit status 1 = None of the provided paths are ignored. | 13:50 |
|
FeersumEndjinn
| I'm 45 commits ahead of where I need to be at the moment, so based on that info, how would be best? | 13:50 |
|
reactormonk
| lb, yargh | 13:50 |
|
FeersumEndjinn
| Ideally totally rewriting history is fine for me if it leaves a cleaner master branch | 13:51 |
|
i7c
| interactive rebase and throw out what you don't want, maybe? | 13:51 |
|
| Or do you just want to go back in history really? | 13:51 |
|
FeersumEndjinn
| I actually don't want any of it so don't need any interactivity, just simply go back in history | 13:51 |
|
i7c
| git reset --hard <commit-where-you-wanna-be> | 13:52 |
|
FeersumEndjinn
| I still have the new feature in a separate branch so I won't lose anything | 13:52 |
|
| i7c: and doing that won't give me any issues when I then commit that and push to github? | 13:52 |
|
i7c
| git push --force-with-lease <remote> <branch> | 13:52 |
| ← xorox90 left | 13:52 |
|
FeersumEndjinn
| --force-with-lease is a new one on me | 13:53 |
| → AaronMT joined | 13:53 |
|
i7c
| FeersumEndjinn, if all you said is true and rewriting history is fine, you won't run into trouble. | 13:53 |
| → neps joined | 13:53 |
| → lmat joined | 13:53 |
|
FeersumEndjinn
| i7c: Many thanks :) | 13:53 |
|
i7c
| --force-with-lease is the same as --force, just that it checks your remote/branch first if it matches with the actual revision at the remote. | 13:53 |
|
lmat
| I have an alias, lola, defined as lola = log --graph --oneline --decorate --all. I also have [pager] log = less -S (don't chop lines) | 13:54 |
|
i7c
| If there is a mismatch git will complain. | 13:54 |
|
lmat
| It's chopping lines. | 13:54 |
| → boudiccas joined | 13:54 |
| → MattMaker joined | 13:54 |
|
lmat
| I should say, git log isn't chopping lines, but lola is. | 13:54 |
|
i7c
| This keeps you from rewriting things if someone else already did so. | 13:54 |
|
lmat
| oh, nevermind...it's not chopping now. | 13:54 |
|
| Ohhhhhhhhh it's chopping when I git lola | head | 13:55 |
| → madewokherd joined | 13:55 |
|
lmat
| I guess I should head over to ##bash | 13:55 |
| → MattMake_ joined | 13:55 |
| → boudicca joined | 13:55 |
| ← fscala left | 13:56 |
| → fscala joined | 13:57 |
| → ramsub07 joined | 13:57 |
| ← Noldorin left | 13:58 |
| ← boudiccas left | 13:58 |
|
ramsub07
| hello, i branched out of master a few days ago. I need to know at what commit i branched out. As in, what was the commit on master when i branched out? | 13:58 |
| ← MattMaker left | 13:59 |
|
osse
| ramsub07: git merge-base master yourbranch | 13:59 |
| → xorox90 joined | 13:59 |
| ← boudicca left | 14:01 |
| ← neps left | 14:01 |
| → Macaveli joined | 14:01 |
| → jerematic joined | 14:02 |
| ← baraba left | 14:03 |
| → aavrug__ joined | 14:04 |
| → neps joined | 14:04 |
| → kadoban joined | 14:04 |
| ← Fr4n left | 14:05 |
| → JJM joined | 14:05 |
| JJM → Guest96270 | 14:06 |
| → djb-irc joined | 14:06 |
|
FeersumEndjinn
| i7c: You sir, are a gentleman. Fixed my problem perfectly, thank you again. | 14:08 |
| ← t0by left | 14:09 |
| → boudiccas joined | 14:09 |
| → toogley joined | 14:09 |
| → MattMaker joined | 14:09 |
| ← aavrug__ left | 14:09 |
| ← texasmynsted left | 14:10 |
|
lb
| ramsub07 have a look at !lol | 14:11 |
|
gitinfo
| A nifty view of branches, tags, and other refs: git log --oneline --graph --decorate --all | 14:11 |
| → edude03 joined | 14:12 |
| → boudicca joined | 14:12 |
| → eletuchy joined | 14:12 |
| → Fr4n joined | 14:12 |
| ← Repox left | 14:13 |
| ← MattMake_ left | 14:13 |
| ← boudiccas left | 14:13 |
| ← nnyk_ left | 14:14 |
| → infra-red joined | 14:14 |
| → mostlybadfly joined | 14:15 |
| ← eletuchy left | 14:16 |
| ← MattMaker left | 14:16 |
| → sangy joined | 14:17 |
| → boudiccas joined | 14:17 |
| ← qt-x left | 14:17 |
| ← soc42 left | 14:17 |
| → MattMaker joined | 14:17 |
| → linuxmint joined | 14:18 |
| ← boudicca left | 14:18 |
| → bluezone joined | 14:19 |
|
i7c
| FeersumEndjinn, you're welcome. :) | 14:19 |
| → Ahmed90 joined | 14:20 |
| → boudicca joined | 14:22 |
| ← Fr4n left | 14:22 |
| → jost__ joined | 14:22 |
| ← boudiccas left | 14:22 |
| ← Douhan left | 14:22 |
| → Fr4n joined | 14:23 |
| → frem_ joined | 14:24 |
| ← MattMaker left | 14:24 |
| ← Jellyg00se left | 14:24 |
| ← xorox90 left | 14:25 |
| ← jost_ left | 14:25 |
| ← pmort left | 14:26 |
| → CJKinni joined | 14:27 |
| → Jellyg00se joined | 14:27 |
| ← yuhlw left | 14:29 |
| → espindol_ joined | 14:30 |
| ← espindola left | 14:30 |
| → eijk_ joined | 14:31 |
| → yuhlw joined | 14:31 |
| ← boudicca left | 14:31 |
| ← LJHSLDJHSDLJH left | 14:32 |
| ← infra-red left | 14:32 |
| ← tinajohnson___ left | 14:34 |
| → boudicca joined | 14:34 |
| ← ramsub07 left | 14:35 |
| → texasmynsted joined | 14:36 |
| → eijk joined | 14:36 |
| → RedShift joined | 14:38 |
| ← eijk_ left | 14:38 |
| → fmcgeough joined | 14:38 |
| ← yuhlw left | 14:38 |
| → watabou joined | 14:38 |
| → dimi1947 joined | 14:40 |
| → WayToDoor joined | 14:40 |
| → interne7y joined | 14:41 |
| → ramsub07 joined | 14:41 |
| ← settermjd left | 14:41 |
| → MattMaker joined | 14:41 |
| ← diegoviola left | 14:42 |
| → Orion3k joined | 14:43 |
| ← Orion3k left | 14:43 |
| ← xbob left | 14:43 |
| ← watabou left | 14:43 |
| ← rgrinberg left | 14:44 |
| → rgrinberg joined | 14:44 |
| ← MattMaker left | 14:45 |
| → MattMake_ joined | 14:45 |
| → rchavik joined | 14:45 |
| ← interne7y left | 14:45 |
| ← espindol_ left | 14:46 |
| → baraba joined | 14:48 |
| ← texasmynsted left | 14:49 |
| ← k3rn31 left | 14:50 |
| → quenode_ joined | 14:53 |
| → LJHSLDJHSDLJH joined | 14:53 |
| ← Fr4n left | 14:53 |
| ← LJHSLDJHSDLJH left | 14:53 |
| → LJHSLDJHSDLJH joined | 14:53 |
| → espindola joined | 14:54 |
| → flaguy48 joined | 14:54 |
| ← Gsham left | 14:55 |
| → kilo_bravo joined | 14:57 |
| ← drodger left | 14:57 |
| ← livingstn left | 14:58 |
| → rafalcpp joined | 14:58 |
| → livingstn joined | 14:58 |
| ← livingstn left | 14:58 |
| → drodger joined | 14:59 |
| → livingstn joined | 14:59 |
| ← FeersumEndjinn left | 15:00 |
| ← cyan__ left | 15:00 |
| → yuhlw joined | 15:00 |
| ← Guest96270 left | 15:00 |
| ← JeroenT left | 15:00 |
| → JJM joined | 15:00 |
| JJM → Guest53397 | 15:01 |
| ← rgrinberg left | 15:02 |
| ← jagob left | 15:02 |
| ← dopesong left | 15:02 |
| ← blur3d left | 15:02 |
| → rgrinberg joined | 15:02 |
| ← drodger left | 15:02 |
| ← madewokherd left | 15:03 |
| ← rscata left | 15:03 |
| ← UTAN_dev left | 15:03 |
| → Gsham joined | 15:04 |
| → bango2 joined | 15:04 |
| ← rgrinberg left | 15:04 |
| → rgrinberg joined | 15:04 |
| → tyreld joined | 15:05 |
| ← muthu left | 15:05 |
| → dopesong joined | 15:05 |
| → xorox90 joined | 15:05 |
| ← Cyw left | 15:06 |
| ← TomyWork left | 15:08 |
| → kpease joined | 15:08 |
| ← garethdaine left | 15:08 |
| → crst joined | 15:08 |
| → drodger joined | 15:08 |
| → Tecan joined | 15:09 |
|
Tecan
| was wondering how i would check this repo out https://www.gitorious.org/guile-gcc/guile-gcc/commit/ca3a6664e57f757aa37996d88708a321b84d67f8?p=guile-gcc:guile-gcc.git;a=tree;h=refs/heads/master;hb=refs/heads/master | 15:09 |
| → UTAN_dev joined | 15:10 |
| ← encod3_ left | 15:10 |
| ← neps left | 15:11 |
| → exarch joined | 15:11 |
| ← synthroid left | 15:11 |
|
grawity
| start with `git clone https://www.gitorious.org/guile-gcc/guile-gcc.git`, which the new Gitorious somehow forgot to mention in their repo 'summary' tab | 15:12 |
| ← SoRoot left | 15:12 |
|
grawity
| if you specifically need commit ca3a6664e57, `git checkout` it | 15:12 |
| ← Sceorem left | 15:12 |
|
grawity
| though it's the latest commit anyways | 15:12 |
|
Tecan
| thanks that worked | 15:13 |
| → dmto joined | 15:13 |
|
Tecan
| surprised gitorious doesnt provide that | 15:13 |
|
grawity
| they probably forgot to configure it in gitweb | 15:13 |
| ← Rooxo left | 15:13 |
|
grawity
| it's just a mirror provided by some randos, anyway | 15:14 |
| ← crst left | 15:14 |
| ← Alienpruts left | 15:15 |
| ← jaaronamo left | 15:17 |
| → encod3 joined | 15:17 |
| → Fr4n joined | 15:17 |
| → jonesinator joined | 15:17 |
| ← encod3 left | 15:17 |
| ← rgrinberg left | 15:17 |
| → encod3 joined | 15:17 |
| → MattMaker joined | 15:18 |
| → griffindy joined | 15:18 |
| → garethdaine joined | 15:18 |
| ← Kurvivor left | 15:19 |
| ← MattMake_ left | 15:20 |
| ← grawity left | 15:20 |
| → grawity joined | 15:21 |
| → Gamecubic joined | 15:21 |
| → dreiss joined | 15:22 |
| → robotroll joined | 15:23 |
| ← MattMaker left | 15:23 |
| → llo joined | 15:24 |
| ← WayToDoor left | 15:24 |
| → zivester joined | 15:24 |
| → MattMaker joined | 15:24 |
| ← jonesinator left | 15:25 |
| → bilb_ono joined | 15:26 |
| → eroussel joined | 15:27 |
| ← jceb left | 15:27 |
| ← Raging_Hog left | 15:27 |
| → SoRoot joined | 15:27 |
| ← Schwarzbaer left | 15:28 |
| → Schwarzbaer joined | 15:28 |
| ← SnoopyDgg left | 15:29 |
| → rgrinberg joined | 15:32 |
| ← ThomasLocke left | 15:33 |
| → romerocesar joined | 15:33 |
| → MattMake_ joined | 15:34 |
| ← romerocesar left | 15:34 |
| → ams__ joined | 15:34 |
| → romerocesar joined | 15:34 |
| ← mohabaks left | 15:34 |
| ← MattMaker left | 15:37 |
| → JohnBat26 joined | 15:37 |
| ← MattMake_ left | 15:37 |
| → davisonio joined | 15:37 |
| → TomyLobo joined | 15:39 |
| ← PCatinean left | 15:39 |
| → dietr1ch joined | 15:39 |
| → watabou joined | 15:39 |
| → MattMaker joined | 15:39 |
| ← a_thakur left | 15:40 |
| ← bilb_ono left | 15:41 |
| ← davisonio left | 15:41 |
| → raijin joined | 15:41 |
| → a_thakur joined | 15:41 |
| → neps joined | 15:42 |
| ← Darcidride left | 15:42 |
| → hobodave joined | 15:43 |
| ← sangy left | 15:44 |
| → MattMake_ joined | 15:44 |
| → boudiccas joined | 15:45 |
| ← MattMaker left | 15:45 |
| ← boudicca left | 15:46 |
| ← garethdaine left | 15:46 |
| → jjasinski joined | 15:46 |
| → netcarver joined | 15:46 |
| → madewokherd joined | 15:47 |
| → LucaTM joined | 15:47 |
| → t0by joined | 15:47 |
| ← watabou left | 15:49 |
| → lindenle joined | 15:49 |
| ← yuhlw left | 15:49 |
| → synthroid joined | 15:49 |
| → diegoaguilar joined | 15:49 |
| ← diegoaguilar left | 15:49 |
| ← tlaxkit left | 15:49 |
| ← bollullera left | 15:49 |
| → diegoaguilar joined | 15:50 |
| ← neps left | 15:50 |
| → MattMaker joined | 15:51 |
| ← diegoaguilar left | 15:51 |
| → LionsMane joined | 15:51 |
| → boudicca joined | 15:51 |
| → durham joined | 15:51 |
| ← durham left | 15:51 |
| → durham joined | 15:51 |
| ← lindenle left | 15:53 |
| boudicca → noudiccas | 15:53 |
| ← b1tchcakes left | 15:53 |
| ← MattMake_ left | 15:53 |
| ← boudiccas left | 15:53 |
| noudiccas → boudiccas | 15:54 |
| thiago_ → thiago | 15:54 |
| → b1tchcakes joined | 15:54 |
| → diegoaguilar joined | 15:54 |
| ← diegoaguilar left | 15:54 |
| → PCatinean joined | 15:54 |
| ← dimi1947 left | 15:54 |
| → diegoaguilar joined | 15:55 |
| → davisonio joined | 15:55 |
| ← t0by left | 15:55 |
| → MacWinner joined | 15:56 |
| ← davisonio left | 15:57 |
| → rahtgaz joined | 15:57 |
| → phaleth joined | 15:58 |
| → t0by joined | 15:58 |
| → davisonio joined | 15:58 |
| ← davisonio left | 15:58 |
| ← ShekharReddy left | 15:58 |
| ← jeffreylevesque left | 15:59 |
| ← eroussel left | 15:59 |
| ← rominronin left | 15:59 |
| → nnyk_ joined | 15:59 |
| ← xorox90 left | 15:59 |
| → lindenle joined | 16:00 |
| → eletuchy joined | 16:00 |
| ← synthmeat left | 16:01 |
| → AaronMT_ joined | 16:01 |
| ← ahmedelgabri left | 16:01 |
| → xorox90 joined | 16:02 |
| → eijk_ joined | 16:02 |
| → philipp64|work joined | 16:03 |
| ← eijk left | 16:03 |
| ← AaronMT left | 16:04 |
| ← k3dare left | 16:04 |
| → aard_ joined | 16:04 |
| ← eletuchy left | 16:05 |
| ← netj left | 16:05 |
| → nnyk joined | 16:06 |
| ← netcarver left | 16:07 |
| ← nnyk_ left | 16:07 |
| → davisonio joined | 16:07 |
| ← stonerfish left | 16:07 |
| → netj joined | 16:07 |
| → neps joined | 16:07 |
| → boudicca joined | 16:07 |
| → stonerfish joined | 16:07 |
| → gfortune joined | 16:08 |
| → synthmeat joined | 16:08 |
| ← boudiccas left | 16:09 |
| ← Jellyg00se left | 16:12 |
| ← llo left | 16:13 |
|
gfortune
| I have some code in a git clone on my local box (cloned from our gitlab server) that I would like to run from one of our database servers. Is there a good way to get a clone onto the db server that does not require my credentials in gitlab to be used through the db server? | 16:13 |
| → pullphinger joined | 16:13 |
|
KevinMGranger
| packaging / archiving / pushing to the db server | 16:14 |
|
kadoban
| gfortune: rsync, or whatever file transfer thing you like | 16:15 |
|
gfortune
| The pushing in that case would be a simple file copy, correct? | 16:15 |
| → texasmynsted joined | 16:15 |
| → MattMake_ joined | 16:15 |
|
gfortune
| kadoban: so don't use git at all for moving the files around? | 16:16 |
| → izjaq joined | 16:16 |
| → tomog999_ joined | 16:17 |
| → snfgf joined | 16:17 |
|
kadoban
| gfortune: I don't see any reason to. I don't use git for deployment, it's not designed for it, and it's not very good at it. | 16:18 |
| ← Mobutils left | 16:18 |
| ← MattMaker left | 16:18 |
| ← tomog999 left | 16:18 |
|
ilmari
| !deploy | 16:19 |
|
gitinfo
| Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html | 16:19 |
| ← josuebrunel left | 16:19 |
| ← izjaq left | 16:20 |
| ← pol123456 left | 16:21 |
| ← GavinMagnus left | 16:21 |
| → bilb_ono joined | 16:22 |
| → Wue joined | 16:23 |
| ← drodger left | 16:24 |
| ← ramsub07 left | 16:24 |
| ← acetakwas left | 16:24 |
| ← dreiss left | 16:25 |
|
guardian
| hello, is there a way to disable colors when git log is used with a pretty format that contains color switches? | 16:25 |
| → acetakwas joined | 16:25 |
| → drodger joined | 16:26 |
| ← nilsi left | 16:26 |
| bango2 → techni_bango | 16:27 |
| ← Wue left | 16:27 |
| techni_bango → techno_bango | 16:27 |
|
kadoban
| git --color=never or something maybe? It's probably not never, I forget what the actual value is though. | 16:27 |
|
guardian
| nope | 16:28 |
|
| pretty format starts with %C(auto) though | 16:28 |
|
| as far as I understand man, it should disable colors when using --no-color | 16:28 |
| → notebox joined | 16:29 |
| ← dopesong left | 16:30 |
| → Bduo joined | 16:30 |
| ← JohnBat26 left | 16:30 |
| ← nnyk left | 16:30 |
|
ilmari
| always, auto or never, but that doesn't disable explicit %C in the format | 16:31 |
| → dopesong joined | 16:31 |
| ← mischat left | 16:31 |
| ← baraba left | 16:31 |
| ← thiago left | 16:31 |
| ← freimatz left | 16:31 |
|
guardian
| hmm seems like you have to write it this way | 16:31 |
|
| --pretty=format:'%C(auto,red)%h%Creset -%C(auto,yellow)%d%Creset %s %C(auto,green)(%cr)%C(auto,bold blue)<%an>%Creset' | 16:31 |
| ← dietr1ch left | 16:32 |
| → dietr1ch joined | 16:32 |
|
ilmari
| ah, that works | 16:33 |
|
| ilmari fixes his alias | 16:33 |
| → dreiss joined | 16:34 |
| ← dietr1ch left | 16:34 |
| ← MattMake_ left | 16:34 |
| ← davisonio left | 16:35 |
| ← nidr0x left | 16:35 |
| ← dopesong left | 16:35 |
| → juslintek joined | 16:35 |
|
juslintek
| Hi I'm trying to write git pre-commit script | 16:36 |
|
| I want to make universal per directory | 16:36 |
|
| lets say I want it to be executed in each project i create in server | 16:36 |
| ← rolha left | 16:36 |
| ← netj left | 16:36 |
|
juslintek
| The script must get connection data from wp-config.php | 16:36 |
|
| dump database | 16:36 |
| ← acetakwas left | 16:36 |
|
juslintek
| and add it to git | 16:36 |
|
milki
| this already sounds like a bad idea | 16:37 |
| ← mikecmpbll left | 16:37 |
| ← fuchstronaut left | 16:37 |
|
juslintek
| its bitbucket private repo. | 16:37 |
| → kaldoran joined | 16:37 |
|
juslintek
| all of them will be like that. | 16:37 |
| → sacha joined | 16:38 |
|
juslintek
| And as well why does it sound like a bad idea? | 16:38 |
|
milki
| database dumps in a git repo doesnt seem like a good use of git | 16:38 |
| → netj joined | 16:38 |
| → baraba joined | 16:38 |
|
KevinMGranger
| Are you sure you want it pre-commit? You can put it in your skeleton dir | 16:38 |
|
juslintek
| milki, so how should I backup db? | 16:38 |
|
| And save it with project, so on pull it would automatically add it to db | 16:39 |
| ← kurkale6ka left | 16:39 |
|
milki
| using normal database backup tools | 16:39 |
| ← Ravana left | 16:39 |
| ← dreiss left | 16:39 |
|
juslintek
| milki, but it is a hassle, I want one commant or click to do it all in one place. Less hassle in long term. | 16:40 |
| ← boudicca left | 16:40 |
|
KevinMGranger
| db *schema* or db *data* ? | 16:40 |
|
juslintek
| As well it would be easier for other devs to setup project and already have demo data. | 16:40 |
|
milki
| you think its less hassle. i dbout it though | 16:40 |
|
juslintek
| KevinMGranger, both. I need both. | 16:41 |
|
preaction
| you want devs to download every database dump that's ever been made just to work on the site? | 16:41 |
| → nejni-marji joined | 16:41 |
|
nejni-marji
| Does git understand hardlinks? | 16:41 |
|
bremner
| not really | 16:41 |
| ← gechr left | 16:41 |
|
preaction
| nejni-marji: no. because hardlinks are invisible | 16:41 |
| ← encod3 left | 16:41 |
|
juslintek
| Db dumbs will be overritten per each push from server. | 16:41 |
|
nejni-marji
| That's a good pooint | 16:41 |
|
preaction
| juslintek: that's not how git works | 16:41 |
| → interne7y joined | 16:42 |
|
juslintek
| but why you can version database | 16:42 |
|
| db is text file as well | 16:42 |
|
| You can see changes that have been made | 16:42 |
|
preaction
| juslintek: the git repo has every version of every file that's ever been committed to the repo. when you download the repo, you get everything locally | 16:42 |
|
| juslintek: git doesn't store deltas, it stores the whole file, entirely | 16:42 |
|
KevinMGranger
| Until it's packed, that is | 16:43 |
|
juslintek
| So maybe i should pack it. | 16:43 |
|
| Arghh | 16:43 |
| → garethdaine joined | 16:43 |
|
KevinMGranger
| To answer your original question, see the TEMPLATE DIRECTORY section of the git init man page | 16:43 |
|
| !man git init | 16:43 |
|
gitinfo
| The git man pages are available online at http://jk.gs/git.html. Or were you looking for the "man git-foo" syntax(without the !) ? | 16:43 |
|
| the git-init manpage is available at http://jk.gs/git-init.html | 16:43 |
| → Ravana joined | 16:44 |
| ← Bduo left | 16:44 |
|
KevinMGranger
| I'm not entirely against your approach, just keep in mind that data is usually tracked separately from code. And I really don't think you want pre-commit | 16:44 |
| techno_bango → bango2 | 16:45 |
|
juslintek
| So which hook should I use? | 16:45 |
| ← Tecan left | 16:45 |
|
KevinMGranger
| Well, I guess I don't understand the workflow entirely. Maybe you do want pre-commit | 16:46 |
| ← SoRoot left | 16:46 |
|
juslintek
| Well pre-commit script adds db dump | 16:46 |
| → boudiccas joined | 16:46 |
|
juslintek
| I just want to make it dynamic | 16:46 |
| ← interne7y left | 16:46 |
|
juslintek
| So i can copy paste it per each git repo on the project and it would work | 16:47 |
|
preaction
| oh it's going to be every commit even? how are people going to use the git history to see what happened if they have to scroll past a massive database dump? | 16:47 |
| → MattMaker joined | 16:47 |
| ← LJHSLDJHSDLJH left | 16:47 |
|
juslintek
| peaction, oh yeah, haven't thought about it. | 16:47 |
|
preaction
| but i should just shut up because nobody's going to dissuade you from this absolutely terrible idea... | 16:47 |
|
juslintek
| preaction. | 16:47 |
| ← jimi_ left | 16:47 |
|
juslintek
| So what kind of approach would be best? | 16:48 |
| → diegoviola joined | 16:48 |
|
juslintek
| Are archives versioned? | 16:48 |
|
| like zip or rar or tar.gz? | 16:48 |
|
preaction
| i don't know what you mean by that | 16:48 |
|
juslintek
| Or just overwritten | 16:48 |
| ← wviana left | 16:48 |
|
preaction
| the git repo stores every version of every file that's ever been committed | 16:48 |
| → MattMake_ joined | 16:48 |
|
juslintek
| I does git show diff between zips and rars? | 16:48 |
|
preaction
| that includes zip files, tarballs, images, sql files | 16:49 |
| → eroussel joined | 16:49 |
|
preaction
| no, binary files it will usually not display diffs, but displaying diffs says nothing about how the git repo stores data | 16:49 |
|
juslintek
| or like zip 2016-05-07 and 2016-05-08 | 16:49 |
|
preaction
| you can make git display binary diffs using the gitattributes file, but that's off the topic here | 16:49 |
|
juslintek
| I pushed one zip yesterday and today I pushed another | 16:49 |
|
preaction
| the git repo has both in there | 16:49 |
|
nejni-marji
| But git understands symlinks, right? | 16:49 |
|
| Those are visible | 16:49 |
|
preaction
| nejni-marji: yes. if your filesystem does, they might even work | 16:50 |
| → MattMak__ joined | 16:50 |
|
nejni-marji
| Good. | 16:50 |
|
| Because for some stupid reason | 16:50 |
| → nnyk joined | 16:50 |
|
nejni-marji
| wiki redirects Xdefaults to Xresources, says Xdefaults is depreciated, but if I delete it my terminal stops working right | 16:50 |
|
| Isn't technology wonderful? | 16:50 |
|
juslintek
| preaction, what is best practice in my case then. To version code and as well to store latest database in the same package? | 16:51 |
| gitinfo set mode: +v | 16:51 |
|
sacha
| Hello I have a .git directory. How can I extract master branch from it?? | 16:51 |
|
Eugene
| sacha - man git-archive | 16:51 |
|
gitinfo
| sacha: the git-archive manpage is available at http://jk.gs/git-archive.html | 16:51 |
|
preaction
| juslintek: no. keep the data on the server. pull backups and put them on another server as needed. keep the schema in the repo | 16:51 |
| → Mobutils joined | 16:51 |
| ← a_thakur left | 16:51 |
| ← MattMaker left | 16:52 |
|
sacha
| Thanks | 16:52 |
|
Eugene
| juslintek - !database_schema is a good read | 16:52 |
|
gitinfo
| juslintek: Changing database schemas is a very complicated topic. Some reading: http://thedailywtf.com/Articles/Database-Changes-Done-Right.aspx | 16:52 |
|
preaction
| juslintek: git-annex and git-lfs are also things, but i really don't think that's what you want here | 16:52 |
| ← courrier left | 16:52 |
| ← MattMake_ left | 16:54 |
| → eletuchy joined | 16:54 |
| ← durham left | 16:55 |
| ← sacha left | 16:55 |
| ← jjasinski left | 16:56 |
|
juslintek
| dang need to ask wordpress community, what is best practice to version database, maybe I can extract all data to php import files and then they can be used to put data back via php. | 16:56 |
| ← neps left | 16:56 |
| ← bilb_ono left | 16:56 |
| ← z8z left | 16:57 |
| → ShekharReddy joined | 16:57 |
| ← italoacasas left | 16:58 |
| → ToBeCloud joined | 16:58 |
| gitinfo set mode: +v | 16:58 |
| → JZA joined | 16:58 |
| ← eroussel left | 16:58 |
| ← eletuchy left | 16:59 |
| → IWishIKnew joined | 16:59 |
|
JZA
| hi I have an issue with a push I am trying to do. There is a change that my pull didnt get. | 16:59 |
| → rominronin joined | 17:00 |
| → Raging_Hog joined | 17:00 |
| → durham joined | 17:00 |
| → govg joined | 17:01 |
| → shinnya joined | 17:01 |
| → jaguarmagenta joined | 17:01 |
|
JZA
| I think I need to stash the changes | 17:01 |
| ← nnyk left | 17:02 |
| → nitin joined | 17:03 |
| → reim joined | 17:03 |
| ← garethdaine left | 17:03 |
| ← rgrinberg left | 17:04 |
| → Ediz joined | 17:04 |
| → ramsub07 joined | 17:05 |
| ← rominronin left | 17:05 |
| → deadnull_ joined | 17:05 |
| ← linuxmint left | 17:05 |
| ← jstimm left | 17:05 |
| ← jaguarmagenta left | 17:06 |
| ← mdw left | 17:07 |
| → bilb_ono joined | 17:07 |
|
gfortune
| kadoban, ilmari: Thanks for the info. That's very helpful. | 17:08 |
| → italoacasas joined | 17:08 |
| → davisonio joined | 17:09 |
| ← eijk_ left | 17:10 |
| → eijk joined | 17:10 |
| ← son left | 17:10 |
| ← fracting left | 17:10 |
| ← SimonNa left | 17:10 |
| piling_ → piling | 17:11 |
| → son joined | 17:11 |
| ← ramsub07 left | 17:11 |
| → Szym joined | 17:11 |
| ← romerocesar left | 17:11 |
| ← netj left | 17:12 |
| ← edude03 left | 17:12 |
| ← Szym left | 17:12 |
| → romerocesar joined | 17:12 |
| → SimonK joined | 17:12 |
| ← djb-irc left | 17:12 |
| ← kaldoran left | 17:13 |
| → netj joined | 17:13 |
| → kaldoran joined | 17:13 |
| ← kaldoran left | 17:14 |
| → ramsub07 joined | 17:14 |
| → kaldoran joined | 17:14 |
| ← kaldoran left | 17:14 |
| → kaldoran joined | 17:15 |
| ← elastix left | 17:15 |
| → mikecmpbll joined | 17:15 |
| ← notebox left | 17:15 |
| → jimi_ joined | 17:16 |
| → Limes_ joined | 17:16 |
| → djb-irc joined | 17:17 |
| ← Schwarzbaer left | 17:17 |
| ← jimi_ left | 17:17 |
| → jimi_ joined | 17:17 |
| → SteffanW joined | 17:17 |
| ← romerocesar left | 17:18 |
|
_xor
| Probably a dumb question, but can a remote tracking branch be added to a complete different, unrelated repo? | 17:19 |
| → hahuang61 joined | 17:19 |
|
grawity
| remote tracking branches are added for whatever remotes you add via `git remote` | 17:20 |
|
| there are no specific requirements for common history or anything | 17:20 |
| ← davisonio left | 17:20 |
|
_xor
| So if I have repos A and B that are completely separate and unrelated, I can add a remote tracking branch in B that points to some branch in A. Do I have that right? | 17:21 |
| → wviana joined | 17:21 |
| → thiago joined | 17:21 |
|
grawity
| yes | 17:21 |
|
_xor
| Cool :) | 17:21 |
| ← roentgen left | 17:21 |
|
grawity
| except for the part where you 'add' remote tracking branches | 17:21 |
| ← toogley left | 17:21 |
| → XHFHX joined | 17:21 |
|
_xor
| Hmm. I'm trying to settle on how I want to structure my projects. I'm using GitLab as my "main" server. My current options seem to be... | 17:22 |
|
| A) Keep everything in one single repo. B) Keep a master repo with submodules for different components (Android app, iOS app, etc.). C) Keep a single repo with worktrees. D) Keep separate repos all together. | 17:22 |
|
grawity
| E) Just keep separate repos. | 17:23 |
|
_xor
| The main thing is that I want to track & be able to keep in sync a given project folder across 2-3 different workstations. | 17:23 |
| → Paras joined | 17:23 |
|
_xor
| Hmm, yeah I'm considering that. | 17:23 |
| → Somelauw joined | 17:23 |
| ← Paras left | 17:23 |
|
_xor
| Any particular reason why it would be better? | 17:23 |
| → roentgen joined | 17:23 |
| ← roentgen left | 17:23 |
| → roentgen joined | 17:23 |
| ← thiago left | 17:23 |
| → leeN joined | 17:24 |
|
XHFHX
| Hi there. I want to add something to a project at github but I can't push it because I can't make it public, just for myself. But I still want to be able to pull the updates from the public stream. The problem is that I have to add one line to this file ( https://github.com/rg3/youtube-dl/blob/master/youtube_dl/extractor/extractors.py ) in order to get it work. Can I say that follow every change on this file except my line? | 17:24 |
|
_xor
| Someone mentioned comparing histories would be harder if kept in separate repos, but that's not a huge concern right now for me. | 17:24 |
| → irco joined | 17:24 |
|
grawity
| XHFHX: no | 17:24 |
|
Somelauw
| I have broken my git somehow. When typing 'git branch' it tells me: fatal: Failed to resolve HEAD as a valid ref. | 17:24 |
| → Paras joined | 17:24 |
| ← netj left | 17:24 |
|
XHFHX
| grawity: what's the best option then? | 17:25 |
|
grawity
| Somelauw: what does `git symbolic-ref HEAD` show? | 17:25 |
| → netj joined | 17:25 |
|
Somelauw
| grawity: fatal: No such ref: HEAD | 17:25 |
|
grawity
| point it to refs/heads/master | 17:25 |
|
Somelauw
| I broke it by using vim-fugtive | 17:25 |
|
| grawity: you mean, edit .git/HEAD? | 17:26 |
|
| the contents of this file are: ref: refs/heads/master | 17:26 |
| ← vishnurao left | 17:26 |
| → fracting joined | 17:26 |
| → vishnurao joined | 17:27 |
| → neps joined | 17:27 |
|
Somelauw
| removing the 'ref: ' in front of it may have helped | 17:27 |
|
grawity
| or it may have not | 17:27 |
|
Somelauw
| at least now git symbolic-ref HEAD returns /refs/heads/master | 17:28 |
| ← diegoviola left | 17:29 |
| ← xorox90 left | 17:29 |
| ← netj left | 17:29 |
| ← Paras left | 17:30 |
| → ahmed_elgabri joined | 17:30 |
|
Somelauw
| grawity: it's not fixed. My index shows "fatal: not a git repository". | 17:31 |
| → netj joined | 17:32 |
|
Somelauw
| i'll undo my changes to get back to the broken state | 17:33 |
| → timblechmann joined | 17:34 |
| ← djb-irc left | 17:34 |
| ← cdown left | 17:35 |
| → xorox90 joined | 17:35 |
| ← neps left | 17:35 |
| → thiago joined | 17:36 |
| ← Ahmed90 left | 17:36 |
| → Darcidride joined | 17:37 |
| ← xorox90 left | 17:37 |
| ← fracting left | 17:37 |
| → xorox90 joined | 17:38 |
| → settermjd joined | 17:39 |
| ← xorox90 left | 17:39 |
| ← tvw left | 17:39 |
|
Somelauw
| okay, i fixed it manually. it does need 'ref: ' in front, my .git/refs/heads/master was corrupted | 17:40 |
| ← troulouliou_div2 left | 17:40 |
| → rgrinberg joined | 17:41 |
| ← knutstrut left | 17:41 |
| → xorox90 joined | 17:41 |
| ← reim left | 17:41 |
| ← rgrinberg left | 17:42 |
| → rgrinberg joined | 17:42 |
| ← thiago left | 17:42 |
| → knutstrut joined | 17:43 |
| ← xorox90 left | 17:43 |
| → thiago joined | 17:43 |
| → CJKinni` joined | 17:43 |
| → xorox90 joined | 17:43 |
| → WayToDoor joined | 17:44 |
| ← rgrinberg left | 17:46 |
| → watabou joined | 17:46 |
| → d5sx43 joined | 17:46 |
| → rgrinberg joined | 17:46 |
| ← d5sx43 left | 17:48 |
| → romerocesar joined | 17:48 |
| → edude03 joined | 17:48 |
| → eletuchy joined | 17:49 |
| ← rgrinberg left | 17:49 |
| → rgrinberg joined | 17:49 |
| → Dyonisos joined | 17:49 |
| → mangolisk_ joined | 17:50 |
| → fracting joined | 17:51 |
| ← watabou left | 17:51 |
| ← settermjd left | 17:51 |
| ← Macaveli left | 17:51 |
| → nilsi joined | 17:51 |
| → Sasazuka__ joined | 17:52 |
| ← A124 left | 17:52 |
| ← rgrinberg left | 17:53 |
| ← romerocesar left | 17:53 |
| deadnull_ → _deadnull | 17:53 |
| → rgrinberg joined | 17:53 |
| ← eletuchy left | 17:53 |
| → A124 joined | 17:54 |
| ← timblechmann left | 17:54 |
| → eletuchy joined | 17:54 |
| Sasazuka__ → Sasazuka | 17:54 |
| ← rgrinberg left | 17:55 |
| → rgrinberg joined | 17:56 |
| ← nilsi left | 17:56 |
| _deadnull → deadnull_ | 17:57 |
| ← eletuchy left | 17:59 |
| ← Psychiatrist left | 17:59 |
| ← marcogmonteiro left | 17:59 |
| → dreiss joined | 18:01 |
| → rominronin joined | 18:01 |
| → dopesong joined | 18:02 |
| → garethdaine joined | 18:02 |
| ← mikecmpbll left | 18:05 |
| → mikecmpbll joined | 18:06 |
| ← ramsub07 left | 18:06 |
| ← rominronin left | 18:06 |
| ← garethdaine left | 18:07 |
| → hahuang65 joined | 18:07 |
| → ramsub07 joined | 18:08 |
| ← hahuang61 left | 18:09 |
| → hahuang61 joined | 18:09 |
| ← iLembus_ left | 18:10 |
| → ochorocho__ joined | 18:10 |
| ← hahuang65 left | 18:11 |
| ← durham left | 18:12 |
| → eeo joined | 18:13 |
| ← todd_dsm left | 18:13 |
| ← nitin left | 18:13 |
| → fuchstronaut joined | 18:14 |
| → Repox joined | 18:14 |
| → CBX joined | 18:15 |
| ← xorox90 left | 18:15 |
| → durham joined | 18:16 |
| ← durham left | 18:16 |
| → durham joined | 18:18 |
| → morenoh149 joined | 18:18 |
| → tomboy64 joined | 18:18 |
|
morenoh149
| how do I revert a git commit but as a new commit? | 18:19 |
| → xorox90 joined | 18:19 |
|
morenoh149
| so undo a commit but leave a trail | 18:19 |
| → eroussel joined | 18:19 |
| → arooni joined | 18:19 |
| ← fuchstronaut left | 18:19 |
| ← shafox left | 18:20 |
|
kadoban
| morenoh149: With 'git revert' | 18:20 |
| ← thiago left | 18:20 |
|
morenoh149
| thanks | 18:20 |
| → thiago joined | 18:21 |
| ← allcentu1 left | 18:21 |
| ← dopesong left | 18:22 |
| ← t0by left | 18:23 |
| → Schwarzbaer joined | 18:24 |
| → Spacew00t joined | 18:24 |
| ← sauvin left | 18:25 |
| ← mostlybadfly left | 18:26 |
| ← raijin left | 18:28 |
| ← xorox90 left | 18:30 |
| → dopesong joined | 18:31 |
| ← FunkyAss left | 18:32 |
| → nowhere_man joined | 18:32 |
| ← jtkovf left | 18:33 |
| ← deadnull_ left | 18:33 |
| ← multi_io left | 18:33 |
| → nilg joined | 18:34 |
| ← espindola left | 18:34 |
| → espindola joined | 18:34 |
| ← macefr left | 18:34 |
| ← espindola left | 18:35 |
| → espindola joined | 18:35 |
| → deadnull_ joined | 18:36 |
| ← SteffanW left | 18:36 |
| → jstimm joined | 18:37 |
| → noobiewan joined | 18:37 |
| ← eeo left | 18:37 |
|
noobiewan
| hey guys, I had some big files in my repo that I download on my last commit. Now I want to push the current state only to the remote repo. How can I do this? It's an empty remote. If I simple push it, it will push all the history and it will exceed the available space I have for that repo. Thank you | 18:39 |
|
| *that I deleted (not downloaded) | 18:39 |
|
Somelauw
| First I git stashed my changes, then I performed a cherry-pick and then I merged that cherry pick with my own changed and comitted. After doing git stash pop, it tells me there is an unmerged path. What is that? | 18:40 |
|
kadoban
| noobiewan: Start an orphan branch with just the current state I guess | 18:40 |
| ← jessu left | 18:40 |
| → multi_io joined | 18:40 |
| → Ahmed90 joined | 18:41 |
| ← CBX left | 18:41 |
| ← deadnull_ left | 18:41 |
| → nwkj86 joined | 18:42 |
| → interne7y joined | 18:43 |
| ← rchavik left | 18:43 |
| → dfyc joined | 18:44 |
| → siprbaum joined | 18:44 |
| → macefr joined | 18:46 |
| ← diegoaguilar left | 18:47 |
| → watabou joined | 18:47 |
| ← interne7y left | 18:47 |
| ← przemoc left | 18:49 |
| ← achadwick left | 18:49 |
| ← dsdeiz left | 18:50 |
| → garethdaine joined | 18:50 |
| ← Gsham left | 18:52 |
| ← watabou left | 18:53 |
| → LaT0rtue joined | 18:53 |
| → SoRoot joined | 18:53 |
| ← Somelauw left | 18:53 |
| → CJKinni`` joined | 18:54 |
| → eletuchy joined | 18:55 |
| ← alex1a left | 18:55 |
| → fuchstronaut joined | 18:56 |
| → przemoc joined | 18:56 |
| ← doener left | 18:57 |
| ← diogenese left | 18:57 |
| ← CJKinni left | 18:58 |
| ← CJKinni` left | 18:58 |
| → diogenese joined | 18:58 |
| ← Raging_Hog left | 18:59 |
| ← eletuchy left | 18:59 |
| → davisonio joined | 19:00 |
| ← diogenese left | 19:00 |
| → rominronin joined | 19:00 |
| → neps joined | 19:01 |
| ← boudiccas left | 19:01 |
| ← neps left | 19:01 |
| → neps joined | 19:02 |
| ← fahadash left | 19:02 |
| → jaguarmagenta joined | 19:02 |
| ← SoRoot left | 19:04 |
| → grubles_ joined | 19:05 |
| ← unbalancedparen left | 19:05 |
| ← rominronin left | 19:05 |
| ← wviana left | 19:05 |
| → wviana joined | 19:06 |
| ← robotroll left | 19:06 |
| ← jaguarmagenta left | 19:07 |
| → eletuchy joined | 19:07 |
| → diogenese joined | 19:07 |
| → rueben_ joined | 19:08 |
| ← diogenese left | 19:08 |
| ← neps left | 19:09 |
| → diogenese joined | 19:09 |
| → Rish joined | 19:09 |
| → eletuchy_ joined | 19:10 |
| ← diogenese left | 19:10 |
| → WaReZ joined | 19:11 |
| → wald joined | 19:11 |
| → yqt joined | 19:12 |
| → eletuch__ joined | 19:12 |
| ← eletuchy left | 19:12 |
| → cyan__ joined | 19:13 |
| ← ToBeCloud left | 19:14 |
| ← eletuchy_ left | 19:14 |
| → boudiccas joined | 19:14 |
| → eletuchy joined | 19:16 |
| ← eletuch__ left | 19:17 |
| ← italoacasas left | 19:18 |
| → diogenese joined | 19:19 |
| ← nejni-marji left | 19:19 |
| → nitin joined | 19:19 |
| → eletuchy_ joined | 19:19 |
|
JZA
| hi how can I setup my login/pwd so it doesnt keep asking me everytime? | 19:21 |
| ← baraba left | 19:21 |
| ← eletuchy left | 19:22 |
| → eletuchy joined | 19:22 |
| → italoacasas joined | 19:22 |
| → t0by joined | 19:23 |
| ← eletuchy_ left | 19:24 |
| → nitin_ joined | 19:24 |
| ← Rish left | 19:25 |
| → denimsoft joined | 19:25 |
| ← nitin left | 19:25 |
| → boudicca joined | 19:26 |
| → Rish joined | 19:26 |
| → eletuchy_ joined | 19:26 |
|
Eugene
| JZA - !github_ssh | 19:27 |
|
gitinfo
| JZA: [!ssh_github] If you are having problems accessing github repos over HTTPS you should switch to SSH (the default used by git, for many very good technical reasons): https://help.github.com/articles/generating-ssh-keys | 19:27 |
| → alex1a joined | 19:27 |
| ← eletuchy left | 19:27 |
| ← boudiccas left | 19:28 |
| ← mmlb left | 19:28 |
| grubles_ → grubles | 19:28 |
| ← vishnurao left | 19:28 |
| ← johnmilton left | 19:28 |
| ← nitin_ left | 19:29 |
| → k3rn31 joined | 19:30 |
|
reactormonk
| Is there a GUI to browse old versions of files? | 19:30 |
|
circ-user-MwZ8X
| Curiously, I have removed an empty line after a line of text but git reports me that tile of text itself has changed, like -a line of text +a line of text | 19:31 |
|
| I mean like | 19:31 |
|
| -a line of text | 19:31 |
| ← Grimm_ left | 19:31 |
|
circ-user-MwZ8X
| here goes an empty line | 19:31 |
|
| +a line of text | 19:31 |
| → eletuchy joined | 19:31 |
| ← fuchstronaut left | 19:31 |
| ← rgrinberg left | 19:31 |
| → rgrinberg joined | 19:32 |
| → johnmilton joined | 19:32 |
| → starsinmypockets joined | 19:32 |
|
circ-user-MwZ8X
| I remember that in the past git diff reported -(empty line) if empty line removed | 19:32 |
| ← eletuchy_ left | 19:32 |
| → shafox joined | 19:32 |
|
starsinmypockets
| I want to delete a branch, but... is there a way to ensure that the branch to-delete does not contain any 'unique' commits (I know that's not how it works but I want to make sure there are no commits that are ONLY in the branch to be deleted) | 19:33 |
| ← phaleth left | 19:33 |
| ← rueben_ left | 19:33 |
| → rueben_ joined | 19:33 |
| → mmlb joined | 19:33 |
| ← denimsoft left | 19:33 |
| ← dfyc left | 19:33 |
| → MrWoohoo joined | 19:34 |
| → eletuchy_ joined | 19:34 |
| → hashpuppy joined | 19:36 |
| → SwiftMatt joined | 19:36 |
| ← eletuchy left | 19:36 |
| → dsdeiz joined | 19:37 |
|
circ-user-MwZ8X
| I think that you need to check the hash codes. | 19:37 |
| → mbrzuzy joined | 19:37 |
| ← IWishIKnew left | 19:37 |
| → boudiccas joined | 19:37 |
| grubles → dingus | 19:37 |
| → dhollinger joined | 19:37 |
| ← italoacasas left | 19:38 |
| → eletuchy joined | 19:38 |
| ← cdg left | 19:39 |
| → italoacasas joined | 19:39 |
| → kenansulayman joined | 19:39 |
| ← boudicca left | 19:39 |
| → sangy joined | 19:40 |
| kenansulayman → Guest3535 | 19:40 |
| ← eletuchy_ left | 19:40 |
| ← nilg left | 19:40 |
|
circ-user-MwZ8X
| It is a worthy question, worth to ask at SO. On the other hand, I have a lot of editions of the same commit. So, I think that the tool that would check that is useless. I want only latest edition of the commit to appear in the branch, despite all editions are "unique commits". | 19:41 |
| → eletuchy_ joined | 19:42 |
| ← johnmilton left | 19:42 |
| → allcentu1 joined | 19:42 |
| ← rueben_ left | 19:42 |
| ← italoacasas left | 19:42 |
| → rueben_ joined | 19:43 |
| ← rgrinberg left | 19:43 |
| ← eletuchy left | 19:44 |
| → italoacasas joined | 19:44 |
| → rgrinberg joined | 19:44 |
| ← Spacew00t left | 19:44 |
| → eletuchy joined | 19:44 |
| → denimsoft joined | 19:44 |
| → mizu_no_oto joined | 19:45 |
| ← eletuchy_ left | 19:46 |
| → eletuchy_ joined | 19:46 |
| ← rueben_ left | 19:47 |
| ← keltvek left | 19:47 |
| → watabou joined | 19:48 |
| → rueben_ joined | 19:48 |
| ← eletuchy left | 19:49 |
| → urx joined | 19:49 |
| → eletuchy joined | 19:49 |
| ← synthroid left | 19:50 |
| ← morrolan1 left | 19:52 |
| ← urx left | 19:52 |
| ← eletuchy_ left | 19:52 |
| → eletuchy_ joined | 19:52 |
| ← pwnawannab[NE] left | 19:53 |
| → josuebrunel joined | 19:53 |
| ← watabou left | 19:53 |
| → ProbabilityMoon joined | 19:54 |
| ← eletuchy left | 19:54 |
| ← boudiccas left | 19:55 |
| → qrcu joined | 19:55 |
| ← kaldoran left | 19:55 |
| → m0viefreak joined | 19:56 |
| ← diogenese left | 19:57 |
| → mablae joined | 19:57 |
| → fuchstronaut joined | 19:58 |
| ← livingstn left | 19:59 |
| → livingstn joined | 19:59 |
| → Psychiatrist joined | 19:59 |
| ← SwiftMatt left | 19:59 |
| ← rueben_ left | 20:00 |
| → rueben_ joined | 20:00 |
| → rominronin joined | 20:01 |
| → satifant joined | 20:02 |
| → fahadash joined | 20:02 |
| → SwiftMatt joined | 20:02 |
| ← Rish left | 20:03 |
| → Rish joined | 20:05 |
| → XHFHX2 joined | 20:05 |
| → neps joined | 20:06 |
| → ochorocho__1 joined | 20:06 |
| ← rominronin left | 20:07 |
| → cdg joined | 20:07 |
| → mdw joined | 20:07 |
| ← ochorocho__ left | 20:07 |
|
circ-user-MwZ8X
| It is weird. I have reset to one of the commits, checked if browser can load it and switched to even more earlier commit. But, the second reset has failed because of uncommitted changes (I did both of them hard). I have to idea where those source changes came from. I believed that hard reset must alwas succeed because it abandons any uncommitted changes. | 20:08 |
| ← XHFHX left | 20:08 |
| ← cdg left | 20:08 |
|
circ-user-MwZ8X
| I could not do any reset until switched to another branch. This also failed, but first branch is able to reset now. | 20:08 |
| → cdg joined | 20:09 |
| → albel727 joined | 20:09 |
| ← albel727 left | 20:09 |
| → albel727 joined | 20:12 |
| ← ProbabilityMoon left | 20:12 |
| ← Rish left | 20:14 |
| ← neps left | 20:15 |
| → Rish joined | 20:15 |
| ← dsdeiz left | 20:15 |
| ← madewokherd left | 20:16 |
| ← denimsoft left | 20:17 |
|
peepsalot
| i have a local repo and my own branch that i've been commiting to, if i view git log, and find the first commit that wasn't me, that should be the commit that my branch was based off of? | 20:17 |
|
| i'm thoroughly confused because the date i'm seeing on that commit is way before the branch was made, and there were other commits that should have been in there in that time, as far as i can tell | 20:19 |
|
osse
| peepsalot: you ayou | 20:21 |
|
| peepsalot: you are probably correct | 20:21 |
|
| do git log --decorate | 20:21 |
| ← pungi-man left | 20:22 |
|
osse
| that is useful, so use it always: git config --global log.decorate true | 20:22 |
| ← ahmed_elgabri left | 20:22 |
|
osse
| it will mark commits as branches if relevant | 20:22 |
| → dzho joined | 20:23 |
| ← Rish left | 20:24 |
| → unbalancedparen joined | 20:24 |
| → Rish joined | 20:25 |
| ← mizu_no_oto left | 20:26 |
| → johnmilton joined | 20:26 |
| ← rwb left | 20:28 |
| → duderonomy joined | 20:28 |
| → allcentury joined | 20:28 |
| ← allcentu1 left | 20:28 |
| ← cdg left | 20:29 |
| → elastix joined | 20:30 |
| ← Rish left | 20:30 |
| ← johnmilton left | 20:31 |
| ← fracting left | 20:32 |
| ← ojdo left | 20:32 |
| → denimsoft joined | 20:33 |
| → diegoviola joined | 20:34 |
| ← qrcu left | 20:35 |
| → diogenese joined | 20:37 |
| ← starsinmypockets left | 20:38 |
| ← ocbtec left | 20:39 |
| → ojdo joined | 20:39 |
| ← Saxon left | 20:40 |
| ← mbrzuzy left | 20:40 |
| → haq joined | 20:41 |
| ← lamont left | 20:43 |
| → johnmilton joined | 20:43 |
| → interne7y joined | 20:43 |
| → bjpenn joined | 20:44 |
|
bjpenn
| whats the best way to break a code change away from an existing commit, onto a new separate commit | 20:45 |
|
| and then merge that commit onto another branch | 20:45 |
| ← haq left | 20:45 |
| → madewokherd joined | 20:45 |
| ← m1dnight_ left | 20:45 |
| → BSaboia joined | 20:45 |
| ← BSaboia left | 20:45 |
| ← allcentury left | 20:45 |
| ← noobiewan left | 20:46 |
| → BSaboia joined | 20:46 |
| ← BSaboia left | 20:46 |
| → BSaboia joined | 20:46 |
| ← BSaboia left | 20:46 |
| → BSaboia joined | 20:46 |
| ← XHFHX2 left | 20:47 |
| → radsy joined | 20:48 |
| ← BrunoSaboia left | 20:48 |
| ← interne7y left | 20:48 |
| ← sangy left | 20:48 |
|
jhass
| I usually git reset before it and git commit -p two new commits, then rebase around | 20:48 |
| → fracting joined | 20:49 |
| ← rgrinberg left | 20:49 |
|
jhass
| if you just want some changes from the commit in some other branch but leave the original fully intact, just git show | git apply, git commit -p in the target branch | 20:49 |
| ← sdothum left | 20:49 |
|
bjpenn
| jhass: hmm ok | 20:50 |
|
| let me try that | 20:50 |
|
| this seems like an advance git exercise for me :p | 20:50 |
| → lamont joined | 20:50 |
| ← jimi_ left | 20:51 |
| → xbob joined | 20:51 |
| → ahr3n joined | 20:51 |
| ← t0by left | 20:51 |
| ← bittin left | 20:51 |
| → GT joined | 20:51 |
| → Zish joined | 20:51 |
| ← mmlb left | 20:51 |
|
bjpenn
| what does git show by itself do? | 20:52 |
|
| i just tried it and it seems it shows all commits? | 20:52 |
| ← diogenese left | 20:52 |
| ← k3rn31 left | 20:52 |
|
bjpenn
| hmm maybe not all | 20:52 |
| → diogenese joined | 20:52 |
| → sangy joined | 20:52 |
| ← LucaTM left | 20:52 |
| ← fission6 left | 20:53 |
|
bjpenn
| yah i guess just the last commit | 20:53 |
|
jhass
| bjpenn: a specific one, if you give it no argument, the HEAD commit | 20:53 |
| ← Fr4n left | 20:53 |
|
jhass
| bjpenn: so give it the commit sha of the commit you want | 20:53 |
| → sdothum joined | 20:54 |
| ← Zish left | 20:55 |
| ← diogenese left | 20:55 |
| ← diegoviola left | 20:55 |
| → Saxon joined | 20:56 |
| → mmlb joined | 20:57 |
| → m1dnight_ joined | 20:58 |
| ← texasmynsted left | 20:58 |
| → Xjaey joined | 21:00 |
| → axiom_1 joined | 21:02 |
| → rominronin joined | 21:02 |
| → fission6 joined | 21:02 |
| → jaguarmagenta joined | 21:03 |
| ← pullphinger left | 21:03 |
| → bittin joined | 21:03 |
| ← odingodner left | 21:04 |
| ← italoacasas left | 21:04 |
| → UTAN_dev_ joined | 21:05 |
| → ynanm joined | 21:05 |
| ← mdw left | 21:06 |
| → diegoaguilar joined | 21:06 |
| ← livingstn left | 21:06 |
| → dopesong_ joined | 21:06 |
| ← T4nkAbb0t left | 21:07 |
| ← UTAN_dev left | 21:07 |
| ← rominronin left | 21:07 |
| ← jaguarmagenta left | 21:08 |
| ← dopesong left | 21:08 |
| → fission6_ joined | 21:09 |
| ← fission6 left | 21:09 |
| fission6_ → fission6 | 21:09 |
| → neanderslob joined | 21:09 |
| ← UTAN_dev_ left | 21:10 |
| → UTAN_dev joined | 21:10 |
| → neilthereildeil joined | 21:10 |
| → BSAlb joined | 21:10 |
| ← BSAlb left | 21:10 |
| → neps joined | 21:10 |
|
neilthereildeil
| hey guys | 21:11 |
|
| git tells me some files are modified, but git diff on them doesnt show any changes | 21:11 |
|
| whats happening? | 21:11 |
| ← hobodave left | 21:12 |
|
jhass
| neilthereildeil: git diff HEAD | 21:12 |
|
| I guess you already staged them | 21:12 |
| ← CJKinni`` left | 21:12 |
|
neilthereildeil
| yea they are staged | 21:13 |
| → italoacasas joined | 21:13 |
|
neilthereildeil
| so it was comparing the current file to the file in the current commit, which were identicle? | 21:13 |
| ← BSaboia left | 21:13 |
| ← Repox left | 21:13 |
|
jhass
| not the current commit, against the staging area | 21:13 |
|
neilthereildeil
| wait, what was getting compared? | 21:14 |
| → BSAlb joined | 21:14 |
|
jhass
| git diff HEAD compares against the current commit | 21:14 |
| ← BSAlb left | 21:14 |
|
jhass
| nothing since you don't have any unstaged changes | 21:14 |
| → mellernoia joined | 21:15 |
| ← ash_workz left | 21:15 |
|
neilthereildeil
| why do these files show up in green staged although they dont have any changes? | 21:15 |
|
jhass
| ran git diff HEAD yet? | 21:15 |
|
neilthereildeil
| yea and i see all the changes | 21:15 |
|
preaction
| they do have changes. the changes are from HEAD (the last commit) and the staging area. when you do "git add" or "git rm", you add the changes to the staging area. | 21:16 |
|
jhass
| they "show up in green" (better worded in the staging area) because you staged them, likely by running git add on them | 21:16 |
| ← fmcgeough left | 21:16 |
|
neilthereildeil
| ahh ok. so if i dont make any modifications to a file i can still stage by running git add on it? | 21:16 |
|
jhass
| no | 21:16 |
|
| I mean you can but it has no effect | 21:17 |
|
| it's not actually the file that's transferred into the staging area, its its changes | 21:17 |
|
| if there are no changes, nothing happens | 21:17 |
| → CJKinni joined | 21:17 |
| ← davisonio left | 21:17 |
| → lopin joined | 21:18 |
|
bjpenn
| jhass: how about git apply? ive spent the last 20 mins or so reading about git apply | 21:19 |
|
| still not sure what it does | 21:19 |
|
| it has something to do with "patches" | 21:19 |
|
jhass
| bjpenn: which git show gives you | 21:19 |
|
| bjpenn: git show <sha> | git apply | 21:19 |
|
bjpenn
| i dont want to apply the entire commit though | 21:19 |
|
jhass
| bjpenn: hence git commit -p afterwards | 21:19 |
|
bjpenn
| just part of it | 21:19 |
| ← neps left | 21:19 |
|
bjpenn
| jhass: AHHH | 21:20 |
|
jhass
| once you committed just git checkout the rest | 21:20 |
| → Grimm_ joined | 21:20 |
|
bjpenn
| sweet... | 21:20 |
|
| i think im clear now | 21:20 |
|
jhass
| cool | 21:20 |
|
neilthereildeil
| whats the difference between "git checkout HEAD" and "git checkout MASTER"? | 21:20 |
| ← italoacasas left | 21:21 |
|
jhass
| without file arguments, git checkout HEAD is usually a noop | 21:21 |
| ← RedShift left | 21:21 |
| → italoacasas joined | 21:21 |
|
jhass
| git checkout MASTER would checkout the MASTER branch (note the default branch is called master, lowercase) | 21:22 |
|
bjpenn
| jhass: gave me an error, saying theres a trailing white space, and theres a file that doesnt exist | 21:22 |
| ← Psychiatrist left | 21:23 |
| ← ochorocho__1 left | 21:23 |
|
bjpenn
| i typed in `git show <sha> | git apply' | 21:23 |
| → eletuchy joined | 21:23 |
| ← satifant left | 21:23 |
| ← fission6 left | 21:24 |
|
jhass
| bjpenn: and no changes at all in the working tree? (git status) | 21:24 |
|
| try git apply -3 then | 21:24 |
| ← bruce_lee left | 21:24 |
| ← italoacasas left | 21:24 |
|
jhass
| and watch out for conflict markers | 21:25 |
| → bruce_lee joined | 21:25 |
| ← a3Dman left | 21:25 |
| ← bluepixel left | 21:25 |
|
bjpenn
| jhass: no changes at all | 21:25 |
|
| jhass: i think that whole process failed | 21:25 |
| ← eletuchy_ left | 21:25 |
|
jhass
| git apply --reject might be another option | 21:25 |
|
bjpenn
| jhass: ok let me try that | 21:25 |
|
| trying --reject | 21:26 |
| → mdw joined | 21:26 |
|
bjpenn
| k a bunch of stuff got applied cleanly | 21:26 |
|
| some didnt | 21:26 |
| → GavinMagnus joined | 21:26 |
|
bjpenn
| because "no file found" | 21:26 |
|
| now i see all the changes | 21:26 |
| → mizu_no_oto joined | 21:26 |
| → italoacasas joined | 21:27 |
| → fission6 joined | 21:27 |
| → mdw_ joined | 21:27 |
| ← jerematic left | 21:27 |
| → eletuchy_ joined | 21:28 |
| → Brando753-o_O_o joined | 21:28 |
| → jimi_ joined | 21:28 |
| ← eletuchy left | 21:28 |
| ← mizu_no_oto left | 21:29 |
| → bluepixel joined | 21:30 |
| ← gfixler left | 21:30 |
| → eletuchy joined | 21:31 |
|
neilthereildeil
| i did git reset --hard HEAD^ a few times and i cannot see anything in git log after a few commits ago | 21:31 |
| ← mdw left | 21:31 |
|
neilthereildeil
| how can i view newer commits? | 21:31 |
|
bjpenn
| jhass: this essentially creates a whole new commit right? so eventually when the branch that pulled the changes from gets merged into this one, there will be a merge conflict? | 21:31 |
| ← sangy left | 21:32 |
|
bjpenn
| jhass: this meaning "git show <sha> | git apply --reject" | 21:32 |
|
GavinMagnus
| because you decrement your commit pointer, hence you cannot see forward | 21:32 |
|
jhass
| bjpenn: yes | 21:32 |
|
| bjpenn: no way around that | 21:32 |
|
bjpenn
| jhass: k that works | 21:32 |
| ← SwiftMatt left | 21:32 |
|
bjpenn
| jhass: i was thinking maybe to break up the existing commit in the other branch to separate that change itno its own commit | 21:32 |
|
| how would i go about doing that? | 21:33 |
|
| and then maybe cherry pick it over, or something | 21:33 |
| ← emPi left | 21:33 |
| ← eletuchy_ left | 21:33 |
|
bjpenn
| ivenever used cherry-pick but i remember it did that sort of thing | 21:33 |
| ← ynanm left | 21:33 |
|
jhass
| bjpenn: now that we basically did a partial cherry-pick by hand here, you could rebase the other branch against this, will get a conflict on that commit and in resolving that conflict remove the changes from it | 21:34 |
| → rgrinberg joined | 21:34 |
| → eletuchy_ joined | 21:34 |
|
neilthereildeil
| so then how would i undo these changes and checkout the most recent commit in this branch? | 21:34 |
|
jhass
| bjpenn: if rebasing against it is not an option, git rebase -i against the base commit, pick edit | 21:34 |
| → SwiftMatt joined | 21:35 |
| ← mellernoia left | 21:36 |
|
jhass
| bjpenn: then one option would be to git reset one up and git commit -p twice | 21:36 |
| ← eletuchy left | 21:36 |
|
neilthereildeil
| jhass: any idea? | 21:36 |
|
bjpenn
| jhass: thanks :) | 21:37 |
|
| jhass: how did you learn so much from git, did you read a book or something | 21:37 |
|
jhass
| neilthereildeil: hard to tell, the most general answer is to find the sha you want to go backto in git reflog and git reset --hard to it | 21:37 |
| → eletuchy joined | 21:37 |
| ← fuchstronaut left | 21:38 |
|
jhass
| bjpenn: uh I read pro git years ago, someday the base concepts clicked in and then it falls into place and you can easily learn and compose stuff as you use it daily | 21:38 |
| → Juzzika joined | 21:38 |
|
jhass
| bjpenn: https://www.youtube.com/watch?v=1ffBJ4sVUb4 can help a bunch towards that basic understanding | 21:39 |
|
| though I watched it after it already clicked for me, so can't say 100% certain | 21:39 |
| ← mdw_ left | 21:39 |
| → eletuch__ joined | 21:39 |
| ← eletuchy_ left | 21:40 |
| → mdw joined | 21:40 |
| ← denimsoft left | 21:40 |
| ← edude03 left | 21:41 |
| ← eletuchy left | 21:42 |
| → hahuang65 joined | 21:42 |
| → denimsoft joined | 21:42 |
| → eletuchy joined | 21:42 |
| → TinkerTyper joined | 21:43 |
| ← eroussel left | 21:43 |
| → edude03 joined | 21:43 |
| ← hahuang65 left | 21:44 |
| → eletuchy_ joined | 21:44 |
| ← eletuch__ left | 21:45 |
|
bjpenn
| jhass: ill check that out | 21:45 |
| → ahmed_elgabri joined | 21:46 |
| → eletuch__ joined | 21:46 |
| ← eletuchy left | 21:47 |
| → Mateo_W joined | 21:47 |
| → hahuang65 joined | 21:48 |
| ← rossome left | 21:48 |
| → rossome joined | 21:49 |
| ← eletuchy_ left | 21:49 |
| → CheckDavid joined | 21:49 |
| → BSaboia joined | 21:50 |
| → eletuchy joined | 21:50 |
| ← italoacasas left | 21:50 |
| ← vishal left | 21:50 |
| → vishal joined | 21:51 |
| ← eletuch__ left | 21:52 |
| ← espindola left | 21:52 |
| → eletuchy_ joined | 21:53 |
| → boudiccas joined | 21:53 |
| ← rueben_ left | 21:53 |
| ← dhollinger left | 21:54 |
| → eletuch__ joined | 21:54 |
| → sgen joined | 21:54 |
| ← aard_ left | 21:55 |
| ← eletuchy left | 21:55 |
| ← diegoaguilar left | 21:56 |
| ← eletuchy_ left | 21:57 |
| ← hahuang65 left | 21:58 |
| → mellernoia joined | 21:58 |
| → eletuchy joined | 21:58 |
| → hahuang65 joined | 21:58 |
| ← bango2 left | 21:59 |
| ← eletuch__ left | 22:00 |
| → eletuchy_ joined | 22:00 |
| ← bluezone left | 22:01 |
| ← zivester left | 22:01 |
| → eletuch__ joined | 22:02 |
| ← eletuchy left | 22:02 |
| → fuchstronaut joined | 22:02 |
| → rominronin joined | 22:03 |
| ← Mateo_W left | 22:03 |
| → xbob_ joined | 22:04 |
| → LeBlaaanc joined | 22:05 |
| ← eletuchy_ left | 22:05 |
| ← xbob left | 22:05 |
|
LeBlaaanc
| how do i git ignore all folders like this `*.xcodeproj/project.xcworkspace/**/*` | 22:05 |
| → eletuchy joined | 22:05 |
|
LeBlaaanc
| the *.xcodeproj part isn't woriing | 22:06 |
|
| **/*.xcodeproj/xcuserdata/**/* maybe? | 22:06 |
|
| **/*.xcodeproj/project.xcworkspace/**/* rather* | 22:06 |
| → eletuchy_ joined | 22:07 |
| ← eletuch__ left | 22:08 |
| ← CJKinni left | 22:08 |
| ← rominronin left | 22:08 |
| → wrouesnel1 joined | 22:08 |
| ← dopesong_ left | 22:08 |
| → cdg joined | 22:09 |
| ← xbob_ left | 22:09 |
| ← irco left | 22:09 |
| ← Fijit left | 22:09 |
| → espindola joined | 22:10 |
| ← Kicer86 left | 22:10 |
| ← eletuchy left | 22:10 |
| ← Xjaey left | 22:10 |
| → eletuchy joined | 22:10 |
| → a_thakur joined | 22:11 |
| ← PCatinean left | 22:12 |
| ← hahuang65 left | 22:12 |
| → eletuch__ joined | 22:12 |
| ← lopin left | 22:12 |
| ← eletuchy_ left | 22:13 |
| → belak joined | 22:13 |
| → Hoy joined | 22:13 |
| ← GavinMagnus left | 22:13 |
| ← mmlb left | 22:14 |
| ← eletuchy left | 22:15 |
| → neps joined | 22:15 |
| → eletuchy joined | 22:16 |
|
sgen
| does anyone know how to reference an issue in another repo on github? | 22:16 |
| → eletuchy_ joined | 22:17 |
| ← eletuch__ left | 22:18 |
| → eletuch__ joined | 22:19 |
| ← lindenle left | 22:19 |
| ← eletuchy left | 22:20 |
|
jhass
| sgen: either just paste full URL, github will render it nicely | 22:21 |
|
| or user/repo#number should work too, though I never tried | 22:21 |
| ← wrouesnel1 left | 22:22 |
| ← hashpuppy left | 22:22 |
| ← eletuchy_ left | 22:22 |
| ← TomyLobo left | 22:23 |
| → eletuchy joined | 22:23 |
| ← neps left | 22:23 |
| → hahuang65 joined | 22:24 |
| → italoacasas joined | 22:25 |
| → Samual joined | 22:25 |
| ← eletuch__ left | 22:25 |
| ← drodger left | 22:26 |
| ← edude03 left | 22:26 |
| → eletuchy_ joined | 22:26 |
| → mischat joined | 22:27 |
|
sgen
| jhass: ty | 22:27 |
| ← fuchstronaut left | 22:27 |
| ← Darcidride left | 22:27 |
| ← jstimm left | 22:27 |
| ← apotry left | 22:28 |
| ← AaronMT_ left | 22:28 |
| → Vinnie_win_f joined | 22:28 |
| ← eletuchy left | 22:29 |
| → jstimm joined | 22:29 |
| ← denimsoft left | 22:29 |
| → a3Dman joined | 22:29 |
| → eletuchy joined | 22:29 |
| ← przemoc left | 22:29 |
| ← a_thakur left | 22:30 |
| ← eletuchy left | 22:30 |
| ← Vinnie_win left | 22:30 |
| → cdown joined | 22:31 |
| → mykespb joined | 22:31 |
| ← exarch left | 22:31 |
| ← eletuchy_ left | 22:31 |
| ← circ-user-MwZ8X left | 22:32 |
| → drodger joined | 22:32 |
| ← fahadash left | 22:32 |
| ← shinnya left | 22:36 |
| → EduardoMartins joined | 22:37 |
| ← Dyonisos left | 22:37 |
| → boudicca joined | 22:43 |
| → Arsonide joined | 22:44 |
| → interne7y joined | 22:44 |
| → rxc joined | 22:45 |
| ← rxc left | 22:45 |
| → rxc joined | 22:45 |
| ← boudiccas left | 22:46 |
| → pawel0982 joined | 22:47 |
|
philipp64|work
| any other git developers around? | 22:48 |
| → mmlb joined | 22:48 |
|
philipp64|work
| I've broken one of the unit tests and can't figure out how to unbreak it. | 22:48 |
| ← ShekharReddy left | 22:48 |
|
milki
| lol | 22:48 |
|
| philipp64|work: no developers here afaik | 22:49 |
| ← bilb_ono left | 22:49 |
|
milki
| philipp64|work: they all live on the mailing list | 22:49 |
| ← interne7y left | 22:49 |
| → Mateo_W joined | 22:49 |
|
Grievre
| philipp64|work: git bisect :) | 22:49 |
| ← shafox left | 22:50 |
| → eletuchy joined | 22:51 |
| ← nwkj86 left | 22:53 |
| ← Limes_ left | 22:53 |
| ← espindola left | 22:53 |
| ← mdw left | 22:55 |
| ← unbalancedparen left | 22:56 |
| ← King_Hual left | 22:56 |
| ← eletuchy left | 22:56 |
| ← ramsub07 left | 22:56 |
| ← rahtgaz left | 22:56 |
| ← pawel0982 left | 22:56 |
| ← jimi_ left | 22:57 |
| ← ahmed_elgabri left | 22:57 |
| → eletuchy joined | 22:57 |
| → espindola joined | 22:57 |
| → interne7y joined | 22:57 |
| ← mmlb left | 22:58 |
| → jimi_ joined | 22:58 |
| ← neilthereildeil left | 22:58 |
| → sweatsuit joined | 22:59 |
| ← wald left | 23:00 |
| → jaguarmagenta joined | 23:04 |
| → rominronin joined | 23:04 |
| ← morenoh149 left | 23:07 |
| ← a3Dman left | 23:07 |
| ← kpease left | 23:07 |
| ← nickthetait left | 23:07 |
| ← jaguarmagenta left | 23:08 |
| → nickthetait joined | 23:08 |
| ← Mateo_W left | 23:08 |
| → Mateo_W joined | 23:09 |
| → Didac joined | 23:09 |
| ← bjpenn left | 23:09 |
| ← rominronin left | 23:10 |
| ← Mateo_W left | 23:11 |
| ← Hoy left | 23:12 |
| → Mateo_W joined | 23:12 |
| ← ffabi left | 23:16 |
| → ahr3n_ joined | 23:17 |
| → anth0ny joined | 23:17 |
| ← ahr3n left | 23:18 |
| → mablae_ joined | 23:18 |
| ← dmto left | 23:19 |
| → a3Dman joined | 23:19 |
| → neps joined | 23:20 |
| → trobotham joined | 23:20 |
| ← bluepixel left | 23:20 |
| ← mykespb left | 23:20 |
| ← jimi_ left | 23:21 |
| → ffabi joined | 23:21 |
| ← garethdaine left | 23:21 |
| ← mablae left | 23:22 |
| → bluepixel joined | 23:22 |
| ← eletuchy left | 23:24 |
| ← cdown left | 23:25 |
| ← SwiftMatt left | 23:25 |
| ← espindola left | 23:25 |
| → espindola joined | 23:25 |
| → eaa joined | 23:27 |
| ← neps left | 23:28 |
| → Douhan joined | 23:28 |
| ← fees left | 23:29 |
| ← mattfoo left | 23:31 |
| ← thiago left | 23:34 |
| ← mischat left | 23:35 |
| → mattfoo joined | 23:35 |
| ← texinwien left | 23:35 |
| ← LionsMane left | 23:37 |
| → thiago joined | 23:37 |
| → jimi_ joined | 23:40 |
| ← josuebrunel left | 23:41 |
| ← fission6 left | 23:42 |
| → ToBeCloud joined | 23:42 |
| gitinfo set mode: +v | 23:42 |
| → rkazak joined | 23:43 |
| → fahadash joined | 23:43 |
| ← espindola left | 23:45 |
| ← cdg left | 23:45 |
| → espindola joined | 23:45 |
| → cdg joined | 23:46 |
| → diegoviola joined | 23:48 |
| → rbern joined | 23:49 |
| ← cdg left | 23:51 |
| ← cyan__ left | 23:51 |
| ← mikecmpbll left | 23:51 |
| → fstd_ joined | 23:53 |
| ← fstd_ left | 23:53 |
| → fstd_ joined | 23:53 |
| → eletuchy joined | 23:54 |
| ← fstd left | 23:55 |
| fstd_ → fstd | 23:55 |
| → mmlb joined | 23:55 |
| ← fracting left | 23:56 |
| → rueben joined | 23:56 |
| ← eaa left | 23:56 |
| ← kilo_bravo left | 23:56 |
| → bjpenn joined | 23:56 |
| ← griffindy left | 23:58 |
| ← eletuchy left | 23:58 |
| ← WaReZ left | 23:59 |
| → Yhie joined | 23:59 |