| 2018-10-04 |
| ← billa left | 00:00 |
|
yasar
| should I just delete a recreate github repo? | 00:00 |
| → billa joined | 00:01 |
|
benharri
| git push --force | 00:01 |
| → lanlink joined | 00:02 |
| → nivag joined | 00:03 |
| ← mupylinx_patriot left | 00:05 |
| → eemeson joined | 00:06 |
| ← liefer left | 00:08 |
| ← jhulten left | 00:08 |
| → blizzow joined | 00:08 |
| ← carlos_ left | 00:09 |
| → liefer joined | 00:09 |
| ← thebope left | 00:12 |
| → thebope joined | 00:12 |
| → Odyseus joined | 00:12 |
| ← thebope left | 00:12 |
| → mupylinx_patriot joined | 00:13 |
| ← yasar left | 00:13 |
| ← goweol left | 00:13 |
| → jhulten joined | 00:14 |
| → piggah joined | 00:14 |
| ← mupylinx_patriot left | 00:15 |
| ← gordonfish left | 00:16 |
| → thebope joined | 00:16 |
| ← thebope left | 00:16 |
| → thebope joined | 00:19 |
| ← thebope left | 00:19 |
| → novumsen1 joined | 00:20 |
| ← blizzow left | 00:20 |
| ← Sasazuka left | 00:20 |
| → thebope joined | 00:21 |
| ← thebope left | 00:21 |
| → thebope joined | 00:22 |
| ← codyw left | 00:22 |
| ← thebope left | 00:22 |
| ← piggah left | 00:22 |
| ← AtumT left | 00:24 |
| ← notnull left | 00:25 |
| → goweol joined | 00:26 |
| ← Bucciarati left | 00:29 |
| → kneeki|a joined | 00:29 |
| → tomek joined | 00:31 |
| ← tomek left | 00:31 |
| → tomek joined | 00:31 |
| ← manuelschneid3r left | 00:32 |
| ← kneeki left | 00:32 |
| → Bucciarati joined | 00:32 |
| ← TomyLobo left | 00:34 |
| ← _ADN_ left | 00:38 |
| → AcousticDan joined | 00:39 |
| ← Chaos_Zero left | 00:39 |
| ← enriq left | 00:42 |
| ← jhulten left | 00:42 |
| → Terry_ joined | 00:43 |
| ← Terry_ left | 00:43 |
| → orbyt_ joined | 00:45 |
| → veegee joined | 00:45 |
| → kneeki|aa joined | 00:45 |
| → breakingsad joined | 00:46 |
| ← kneeki|a left | 00:48 |
|
cjohnson
| git push --force-with-lease | 00:54 |
|
| you mean | 00:54 |
|
benharri
| cjohnson: yes | 00:54 |
| → Mattiasl_ joined | 01:00 |
| ← Mattiaslndstrm left | 01:00 |
| ← fstd left | 01:00 |
| → fstd joined | 01:01 |
| → codyw joined | 01:01 |
| → Mattiaslndstrm joined | 01:03 |
| ← mollusk left | 01:03 |
| ← Mattiasl_ left | 01:04 |
| ← mniip left | 01:05 |
| → pity_ joined | 01:07 |
| ← pity left | 01:08 |
| ← orbyt_ left | 01:09 |
| → durham_ joined | 01:10 |
| → Mattiasl_ joined | 01:11 |
| ← Mattiaslndstrm left | 01:11 |
| Foxhoundz → BenderRodriguez | 01:12 |
| ← durham left | 01:13 |
| ← durham_ left | 01:14 |
| → finalbeta joined | 01:15 |
| ← duderonomy left | 01:16 |
| → erebel55 joined | 01:16 |
| → notnull joined | 01:17 |
|
erebel55
| I have a branch that I would like to reset to be identical to master. Another developer merged one of my commits to this branch into their own branch. How can I reset my branch to be identical to master without disturbing their merge? | 01:17 |
| → enriq joined | 01:19 |
| → mollusk joined | 01:23 |
| → thebope joined | 01:23 |
| → cagomez joined | 01:24 |
| → Goplat joined | 01:24 |
| ← novumsen1 left | 01:27 |
| ← expert975 left | 01:27 |
| → ixian joined | 01:29 |
| ← drodger left | 01:29 |
| ← thebope left | 01:29 |
| ← AcousticDan left | 01:29 |
| → drodger joined | 01:35 |
| → dsdeiz joined | 01:38 |
| ← dsdeiz left | 01:38 |
| → dsdeiz joined | 01:38 |
| → muelleme joined | 01:39 |
| ← billa left | 01:39 |
| → bigHouse joined | 01:40 |
| → Chaos_Zero joined | 01:41 |
| ← dsdeiz left | 01:42 |
| ← enriq left | 01:45 |
| ← F0rTex left | 01:45 |
| → F0rTex joined | 01:46 |
| ← al-damiri left | 01:46 |
| ← njbair left | 01:47 |
| → enriq joined | 01:51 |
| ← bigHouse left | 01:51 |
| → orbyt_ joined | 01:51 |
| ← libertyprime left | 01:51 |
| → sitaram joined | 01:54 |
| ← ilmostro left | 01:54 |
| ← sitaram left | 01:54 |
| → sitaram joined | 01:54 |
| ← cdown left | 01:55 |
| → cdown joined | 01:55 |
| → bigHouse joined | 01:55 |
| ← codyw left | 01:56 |
| → ilmostro joined | 01:56 |
| ← LionsMane left | 01:56 |
| → drudge`tZ joined | 01:57 |
| ← drudge`tZ left | 01:57 |
| → codyw joined | 01:57 |
| → saqss joined | 01:59 |
| ← acercle left | 01:59 |
| ← saqss left | 01:59 |
| ← cliluw left | 01:59 |
| → cliluw joined | 02:00 |
| ← muelleme left | 02:01 |
| ← cdown left | 02:02 |
| → esrse joined | 02:02 |
| ← bigHouse left | 02:03 |
| → bigHouse joined | 02:04 |
| ← bigHouse left | 02:05 |
| ← foul_owl left | 02:07 |
| → bigHouse joined | 02:09 |
| ← MACscr|lappy left | 02:10 |
| ← Zexaron left | 02:11 |
| ← enriq left | 02:11 |
| ← mollusk left | 02:12 |
| ← Olipro left | 02:14 |
| → enriq joined | 02:14 |
| ← Odyseus left | 02:16 |
| ← enriq left | 02:16 |
| ← t0dd1v left | 02:17 |
| ← lagothrix left | 02:17 |
| → lagothrix joined | 02:17 |
| ← catern left | 02:17 |
| ← bigHouse left | 02:19 |
| → catern joined | 02:19 |
| → t0dd1v joined | 02:20 |
| ← TinkerT left | 02:20 |
| → TinkerT joined | 02:22 |
| → Odyseus joined | 02:23 |
| → foul_owl joined | 02:23 |
| → mizu_no_oto joined | 02:25 |
| ← goweol left | 02:28 |
| → dsdeiz joined | 02:29 |
| ← dsdeiz left | 02:29 |
| → dsdeiz joined | 02:29 |
| → bigHouse joined | 02:30 |
| → carlos_ joined | 02:30 |
| ← bigHouse left | 02:31 |
| → jstimm joined | 02:31 |
| → bigHouseMGBH joined | 02:31 |
| → goweol joined | 02:32 |
| ← bigHouseMGBH left | 02:33 |
| → goweol1 joined | 02:33 |
| → enriq joined | 02:34 |
| → yyy joined | 02:35 |
| ← erebel55 left | 02:36 |
| ← Mattiasl_ left | 02:37 |
| ← goweol left | 02:37 |
| ← drodger left | 02:39 |
| ← yyy left | 02:39 |
| ← cagomez left | 02:41 |
| ← ilmostro left | 02:42 |
| → drodger joined | 02:44 |
| → piggah joined | 02:44 |
| ← codyw left | 02:44 |
| → ilmostro joined | 02:44 |
| ← piggah left | 02:46 |
| → Pytor joined | 02:47 |
| → Bass10 joined | 02:48 |
| ← mizu_no_oto left | 02:48 |
| ← TheRuckus left | 02:49 |
| → TheRuckus joined | 02:49 |
| ← Bass10 left | 02:52 |
| → granttrec joined | 02:53 |
| → Bass10 joined | 02:53 |
|
granttrec
| how can I add to my previous commit? | 02:53 |
| ← Bass10 left | 02:54 |
|
granttrec
| git commit --amend | 02:54 |
| → cdown joined | 02:55 |
|
mozzarella
| granttrec: yeah | 02:57 |
| ← carlos_ left | 02:59 |
| ← XenophonF left | 03:01 |
| ← MIR100_ left | 03:01 |
| → XenophonF joined | 03:01 |
| → MIR100_ joined | 03:01 |
| → carlos_ joined | 03:02 |
| ← enriq left | 03:02 |
| ← zumba_addict left | 03:03 |
| → blizzow joined | 03:05 |
| ← carlos_ left | 03:07 |
| → carlos_ joined | 03:07 |
| → mollusk joined | 03:08 |
| → Foxhoundz joined | 03:10 |
| → timj1 joined | 03:10 |
| → codyw joined | 03:10 |
| ← BenderRodriguez left | 03:11 |
| truexfan81_ → truexfan81 | 03:12 |
| ← BrAsS_mOnKeY left | 03:12 |
| ← timj left | 03:13 |
| ← kneeki|aa left | 03:16 |
| → carlos joined | 03:16 |
| ← sctskw left | 03:17 |
| → BrAsS_mOnKeY joined | 03:18 |
| ← carlos_ left | 03:19 |
| ← carlos left | 03:21 |
| ← Chaos_Zero left | 03:23 |
| ← blizzow left | 03:25 |
| → thebope joined | 03:25 |
| → awkwardpenguin joined | 03:28 |
| → applecrumble joined | 03:29 |
| ← thebope left | 03:30 |
| ← kurahaupo left | 03:31 |
| → kurahaupo joined | 03:31 |
| ← lanlink left | 03:37 |
| ← ilmostro left | 03:38 |
| → sctskw joined | 03:40 |
| → howdoi joined | 03:41 |
| ← granttrec left | 03:42 |
| → ilmostro joined | 03:42 |
| Foxhoundz → BenderRodriguez | 03:50 |
| ← polman left | 03:53 |
| ← kurahaupo left | 03:55 |
| ← orbyt_ left | 03:55 |
| → kurahaupo joined | 03:56 |
| ← jstimm left | 03:56 |
| → polman joined | 03:57 |
| ← inovas left | 04:02 |
| ← watabou left | 04:04 |
| → inovas joined | 04:04 |
| ← mrCyborg|zzz left | 04:05 |
| → Pytor1 joined | 04:05 |
| ← MACscr left | 04:05 |
| → mrCyborg|zzz joined | 04:05 |
| → blizzow joined | 04:06 |
| → Olipro joined | 04:06 |
| ← Olipro left | 04:06 |
| → Olipro joined | 04:06 |
| → redj joined | 04:06 |
| ← Pytor left | 04:08 |
| → rkta_ joined | 04:10 |
| ← freeman42y left | 04:11 |
| ← rkta left | 04:12 |
| rkta_ → rkta | 04:12 |
| ← BrAsS_mOnKeY left | 04:13 |
| ← kurahaupo left | 04:13 |
| ← dskull left | 04:13 |
| → redj_ joined | 04:13 |
| ← Gabemo left | 04:13 |
| → staafl__ joined | 04:13 |
| → freeman42x joined | 04:14 |
| → kurahaupo joined | 04:14 |
| ← jmnk_ left | 04:14 |
| → Xiti` joined | 04:14 |
| ← Raimondi left | 04:14 |
| ← Xiti` left | 04:14 |
| → Xiti` joined | 04:14 |
| ← staafl_ left | 04:14 |
| ← chachasmooth left | 04:14 |
| ← aananev left | 04:14 |
| ← Calinou left | 04:14 |
| → Gabemo joined | 04:15 |
| ← Gabemo left | 04:15 |
| → Gabemo joined | 04:15 |
| → Raimondi joined | 04:15 |
| ← wreed left | 04:15 |
| ← permalac left | 04:15 |
| ← crmne left | 04:15 |
| → chachasmooth joined | 04:15 |
| → jmnk joined | 04:15 |
| ← redj left | 04:15 |
| ← inkbottle left | 04:15 |
| → permalac joined | 04:16 |
| → crmne joined | 04:16 |
| → dskull joined | 04:16 |
| ← themayor left | 04:17 |
| → Calinou joined | 04:17 |
| ← Xiti left | 04:18 |
| → aananev joined | 04:18 |
| ← Exagone313 left | 04:18 |
| → BrAsS_mOnKeY joined | 04:18 |
| → igemnace joined | 04:18 |
| ← redj_ left | 04:19 |
| → themayor joined | 04:20 |
| → Exagone313 joined | 04:20 |
| ← applecrumble left | 04:20 |
| → redj joined | 04:20 |
| → xall joined | 04:21 |
| ← blizzow left | 04:21 |
| → F4D3C0D3 joined | 04:26 |
| → thebope joined | 04:26 |
| → teodorg joined | 04:26 |
| ← codyw left | 04:27 |
| → duderonomy joined | 04:28 |
| → codyw joined | 04:29 |
| → watabou joined | 04:29 |
| ← thebope left | 04:31 |
| ← krabat left | 04:32 |
| ← g2anj left | 04:33 |
| ← xall left | 04:33 |
| ← duderonomy left | 04:36 |
| ← Hobbyboy left | 04:37 |
| ← Emperor_Earth left | 04:38 |
| → lanlink joined | 04:38 |
| → g2anj joined | 04:38 |
| ← Darcidride left | 04:40 |
| → themill joined | 04:45 |
| → ToBeCloud joined | 04:47 |
| gitinfo set mode: +v | 04:47 |
| ← TheRuckus left | 04:47 |
| → TheRuckus joined | 04:47 |
| → Hobbyboy joined | 04:48 |
| ← oojacoboo left | 04:50 |
| → amosbird joined | 04:50 |
| ← amosbird left | 04:53 |
| → amosbird joined | 04:53 |
| ← amosbird left | 04:54 |
| → amosbird joined | 04:54 |
| ← Sleepy63 left | 04:56 |
| → blizzow joined | 04:57 |
| → fieldmapper joined | 05:01 |
| → pks_ joined | 05:02 |
| ← pks left | 05:04 |
| pks_ → pks | 05:04 |
| ← t0dd1v left | 05:07 |
| ← ilmostro left | 05:08 |
| ← R2robot left | 05:10 |
| → ilmostro joined | 05:10 |
| → R2robot joined | 05:10 |
| → TheDcoder joined | 05:13 |
|
TheDcoder
| I am working with a submodule in my repository, I would like to work with the code in it directly instead of cloning the repository separately and push/pull changes again in the sub-module | 05:14 |
| → esotericnonsense joined | 05:15 |
|
esotericnonsense
| lo. i'm wondering if there's a simple way to do a sort of 'reverse git pull'. | 05:15 |
| → sauvin joined | 05:15 |
|
esotericnonsense
| oh i'm a bloody idiot never mind me | 05:16 |
|
| esotericnonsense hangs his head in shame | 05:16 |
|
LordRyan
| would you like to explain what you meant by that | 05:16 |
|
| because i'm genuinely curious | 05:16 |
|
esotericnonsense
| in typing it out I realised that it's exactly what git push _is_ | 05:16 |
|
| example: host A can ssh to host B but not vice versa. host A wants to push to B. (at this point I realise I've typed the word 'push') | 05:17 |
| ← awkwardpenguin left | 05:17 |
|
LordRyan
| hah :P | 05:17 |
| → awkwardpenguin joined | 05:18 |
| → granttrec joined | 05:18 |
|
granttrec
| how can I pull but put all my commits show as the latest | 05:19 |
| → mniip joined | 05:20 |
| ← TheDcoder left | 05:20 |
| → soee joined | 05:20 |
|
_ikke_
| granttrec: git pull --rebase | 05:20 |
|
granttrec
| _ikke_: thats it? | 05:21 |
| ← cdown left | 05:21 |
| ← blizzow left | 05:21 |
| ← serialoverflow left | 05:22 |
| → serialoverflow joined | 05:22 |
| → TheDcoder joined | 05:23 |
| ← Xiti` left | 05:23 |
|
TheDcoder
| I am reading the ProGit book and it mentions that I would have to checkout a branch so that i can track my changes | 05:23 |
| → Xiti joined | 05:23 |
|
TheDcoder
| I already have some changes in my sub-modules, will they be overwritten when checking out? | 05:24 |
|
| *submodule | 05:24 |
| → mohabaks joined | 05:25 |
| → thebope joined | 05:27 |
|
granttrec
| ok if I work in another branch test and I want those changes in master, then I just merge, is that fine? is there a way to avoid the cycle it creates in the graph? | 05:29 |
| ← lankanmon left | 05:31 |
| → awkwardp_ joined | 05:32 |
| ← thebope left | 05:32 |
| → danishprakash joined | 05:33 |
| ← awkwardpenguin left | 05:34 |
| → muelleme joined | 05:38 |
| → dhollinger joined | 05:38 |
| ← teodorg left | 05:40 |
| ← Acelogic left | 05:40 |
| ← awkwardp_ left | 05:42 |
| → awkwardpenguin joined | 05:42 |
|
igemnace
| granttrec: merge is fine. no cycle, commit edges always go from child to parent. it's instead two branches that fork out then get joined later on | 05:44 |
|
granttrec
| igemnace: oh ok cool, thanks for the info | 05:44 |
| ← igemnace left | 05:45 |
| → jnavila joined | 05:45 |
| → JeroenT joined | 05:45 |
| ← notnull left | 05:45 |
| → igemnace joined | 05:46 |
|
igemnace
| TheDcoder: you changed them in your project itself? | 05:47 |
| → sQVe joined | 05:48 |
|
igemnace
| checkout doesn't touch submodules by default afaik, but you really shouldn't be changing them like that. you'll want to make the changes in the submodule upstream itself, then just pull them in your project | 05:48 |
| → schleppel joined | 05:50 |
|
igemnace
| (unless i suppose your submodule upstream is out of your control and you intend to fork off altogether in the future) | 05:50 |
| → gordonfish joined | 05:51 |
| ← granttrec left | 05:53 |
| ← lanlink left | 05:57 |
| → bibek22 joined | 06:02 |
| → kitchent joined | 06:02 |
| → fcrsEe joined | 06:04 |
| ← fcrsEe left | 06:04 |
| → T_UNIX joined | 06:06 |
| ← kitchent left | 06:07 |
| ← jnavila left | 06:08 |
| → chele joined | 06:10 |
| → nowhere_man joined | 06:10 |
| ← muelleme left | 06:10 |
| ← chele left | 06:10 |
| ← xcm left | 06:11 |
| ← codyw left | 06:12 |
| ← cd left | 06:12 |
| → goweol joined | 06:12 |
| → xcm joined | 06:13 |
| ← goweol1 left | 06:15 |
| → jgoss joined | 06:15 |
| ← yeshurun left | 06:17 |
| → jiji606 joined | 06:20 |
| ← opal left | 06:23 |
| → Hi-Angel joined | 06:28 |
| → thebope joined | 06:28 |
| → opal joined | 06:28 |
| → zais joined | 06:28 |
| → pawle joined | 06:31 |
| ← thebope left | 06:33 |
| ← Bobdude left | 06:34 |
| → lowbro joined | 06:35 |
| ← lowbro left | 06:35 |
| → lowbro joined | 06:35 |
| → yyy joined | 06:37 |
|
jast
| TIL 'git apply' silently confines itself to the CWD if it's a subdir of the working tree | 06:39 |
| → seventh__ joined | 06:39 |
|
jast
| there doesn't seem to be an option to override that | 06:40 |
| → oxymoron93 joined | 06:42 |
| ← ilmostro left | 06:43 |
| → blizzow joined | 06:43 |
| ← jgoss left | 06:45 |
| → ilmostro joined | 06:45 |
| → dreiss joined | 06:46 |
| ← TheRuckus left | 06:48 |
| → yyy- joined | 06:50 |
| ← thiago left | 06:51 |
| ← cybrNaut left | 06:52 |
| → cybrNaut joined | 06:52 |
| → Silmarilion joined | 06:54 |
| → Noti joined | 06:55 |
| ← yyy- left | 06:56 |
| ← rkta left | 06:56 |
| → hendry joined | 06:56 |
|
hendry
| hi, when i do a `git fetch upstream; git merge upstream/master;` on my fork, I don't know why, but sometimes there appears to be an unwanted merge commit on HEAD. "Merge remote-tracking branch 'upstream/master'" | 06:59 |
|
| How do I avoid that? | 06:59 |
| ← gxt left | 07:00 |
|
jast
| it only does that if it's necessary... you can use 'git merge --ff-only' to abort if a fast-forward (i.e. without merge commit) is impossible | 07:00 |
|
| the other option is using rebase instead of merge, but you should only do that if your local commits haven't been shared with anyone else yet | 07:01 |
|
hendry
| jast: all my commits are in branches | 07:05 |
|
oxymoron93
| hendry: you question was about unwanted merge, the way to avoid it are options provided to you by jast , is there something unclear? | 07:07 |
| → Marmotte joined | 07:07 |
| ← nuc left | 07:08 |
|
hendry
| iiuc, you're saying, instead of a `git merge upstream/master` which i normally do, I do instead a `git merge --ff-only upstream/master`, is that right? | 07:08 |
|
oxymoron93
| yes, --ff-only option will guarantee merge abort if fast forward merge isn't possible | 07:10 |
| → codyw joined | 07:10 |
|
hendry
| do folks alias `git merge --ff-only upstream/master` ? i am assuming this workflow is common | 07:11 |
| → nuc joined | 07:12 |
|
oxymoron93
| I can't answer that, as I am only in team of two who works with maintaining git repository, ie still no workflows :( | 07:13 |
| ← dreiss left | 07:18 |
| ← veegee left | 07:24 |
| → _joes_ joined | 07:24 |
| → Forlorn_ joined | 07:25 |
| → chele joined | 07:25 |
| → TheRuckus joined | 07:25 |
| → duderonomy joined | 07:27 |
| ← awkwardpenguin left | 07:27 |
| ← Odyseus left | 07:28 |
| ← raulp left | 07:28 |
| → thebope joined | 07:29 |
| → Odyseus joined | 07:29 |
| → dege joined | 07:29 |
| ← TheRuckus left | 07:30 |
| ← m_ left | 07:32 |
| ← Odyseus left | 07:32 |
| ← pawle left | 07:32 |
| → gxt joined | 07:32 |
| → rokups joined | 07:33 |
| ← thebope left | 07:34 |
| → MACscr joined | 07:35 |
| ← bibek22 left | 07:35 |
| ← w0ng left | 07:36 |
| ← GreenJello left | 07:37 |
|
sveinse
| I am mirroring an upstream git repo and want to push it to another repo without modification. I'm running git remote update origin and then git push mirror --all, but then it fails on "Updates were rejected because a pushed branch tip is behind its remote". How can I fetch and then push this and capture all remote changes? | 07:37 |
| ← duderonomy left | 07:38 |
| → spitswR joined | 07:39 |
| ← spitswR left | 07:39 |
| ← goweol left | 07:40 |
| ← F4D3C0D3 left | 07:41 |
| ← g00s left | 07:41 |
| → F4D3C0D3 joined | 07:42 |
| → raulp joined | 07:43 |
| → goweol joined | 07:44 |
| → duderonomy joined | 07:44 |
| → goweol1 joined | 07:44 |
| ← yyy left | 07:45 |
| → rkta joined | 07:48 |
| → ijash joined | 07:48 |
| ← goweol left | 07:48 |
| ← duderonomy left | 07:49 |
| ← Pytor1 left | 07:51 |
| → parthi joined | 07:51 |
| ← F4D3C0D3 left | 07:52 |
| → Pytor joined | 07:53 |
| ← selckin left | 07:53 |
| → hexnewbie joined | 07:55 |
| ← Goplat left | 07:58 |
| ← PEG left | 07:58 |
| → PEG joined | 07:59 |
| → elichai2 joined | 08:01 |
| ← ToBeCloud left | 08:05 |
| → bibek22 joined | 08:06 |
| ← pwhat2 left | 08:06 |
| → TheRuckus joined | 08:06 |
| → kurkale6ka joined | 08:06 |
| → LiftLeft2 joined | 08:07 |
| ← LiftLeft left | 08:08 |
| → plexigras joined | 08:08 |
| ← pity_ left | 08:09 |
| → quxgyver joined | 08:10 |
| ← Eryn_1983_FL left | 08:10 |
| LiftLeft2 → LiftLeft | 08:10 |
| ← TheRuckus left | 08:11 |
| ← bibek22 left | 08:11 |
| ← kurkale6ka left | 08:12 |
| → Eryn_1983_FL joined | 08:13 |
| ← inovas left | 08:14 |
| → MIR100 joined | 08:14 |
| → polydo_s joined | 08:14 |
| ← Marmotte left | 08:14 |
| → Marmotte joined | 08:14 |
| ← MIR100_ left | 08:15 |
| ← MIR100 left | 08:15 |
| → MIR100 joined | 08:15 |
| → inovas joined | 08:16 |
| → kurkale6ka joined | 08:18 |
|
TheDcoder
| igemnace: It is possible to change your submodule and track changes. I own the upstream repository in this instance, so I should able to push it too :) | 08:19 |
|
| I tried the checkout and it didn't over-write my untracked change... which is good I suppose | 08:19 |
| → kurkale61 joined | 08:21 |
| → bibek22 joined | 08:23 |
| ← kurkale6ka left | 08:25 |
| → yyy joined | 08:25 |
| → YuGiOhJCJ joined | 08:26 |
| → TheRuckus joined | 08:26 |
| → venmx joined | 08:27 |
| ← Raed|Laptop left | 08:27 |
|
igemnace
| "good I suppose" why the reservation, is there another effect you wanted to have | 08:27 |
| ← Raed left | 08:28 |
| → floppydh joined | 08:29 |
| → Raed|Laptop joined | 08:29 |
| → thebope joined | 08:30 |
| → Raed joined | 08:30 |
| ← TheRuckus left | 08:31 |
| ← yyy left | 08:31 |
| ← thebope left | 08:35 |
| ← mohabaks left | 08:37 |
| → yyy joined | 08:38 |
| ← dude187 left | 08:38 |
| ← codyw left | 08:39 |
| → dude187 joined | 08:40 |
| ← blizzow left | 08:41 |
| → LiftLeft2 joined | 08:42 |
| ← LiftLeft2 left | 08:43 |
| → Nothing4You_pp joined | 08:44 |
| ← Nothing4You_pp left | 08:44 |
|
TheDcoder
| igemnace: No, not really :) | 08:45 |
|
igemnace
| alrighty | 08:46 |
| → w0ng joined | 08:46 |
| → kerframil joined | 08:48 |
| → codyw joined | 08:48 |
| ← kurkale61 left | 08:54 |
| → pawle joined | 08:55 |
| ← bibek22 left | 08:58 |
| ← Puffball left | 08:59 |
| ← matjam left | 09:00 |
| → bibek22 joined | 09:03 |
| ← mollusk left | 09:04 |
| → _ADN_ joined | 09:04 |
| → mohabaks joined | 09:05 |
| → wildermind joined | 09:07 |
| → TheRuckus joined | 09:07 |
| → kurkale6ka joined | 09:07 |
| → opalepatrick joined | 09:08 |
| ← goweol1 left | 09:08 |
| → cek joined | 09:10 |
| → Zexaron joined | 09:10 |
| → bavila joined | 09:10 |
| ← lowbro left | 09:11 |
| ← TheRuckus left | 09:12 |
| → pity joined | 09:13 |
| → quipa joined | 09:16 |
| ← Juzzika left | 09:21 |
| → TheRuckus joined | 09:28 |
| → thebope joined | 09:30 |
| → throstur joined | 09:31 |
| → ocelotsloth joined | 09:32 |
|
throstur
| I can't git mv to rename a directory... I can rename it in Windows Explorer, but that's not what I want... | 09:32 |
|
_ikke_
| What happens if you try to do that? | 09:32 |
| ← TheRuckus left | 09:32 |
| ← pawle left | 09:34 |
| ← thebope left | 09:35 |
| → Barabacha joined | 09:35 |
| → libregeekingkid joined | 09:37 |
| ← erratic left | 09:38 |
| → alirobe joined | 09:43 |
| ← alirobe left | 09:45 |
|
throstur
| _ikke_: you mean, if I try to rename with git mv? It just tells me Permission denied, or Operation not permitted, depending on the OS I use | 09:49 |
| ← JeroenT left | 09:49 |
| ← codyw left | 09:50 |
| → JeroenT joined | 09:50 |
| ← throstur left | 09:51 |
|
jast
| I was going to respond but throstur is gone :) | 09:52 |
| ← JeroenT left | 09:55 |
| ← Raed|Laptop left | 09:55 |
| → pawle joined | 09:56 |
| ← seventh__ left | 10:00 |
| ← ocelotsloth left | 10:00 |
| ← tango_ left | 10:01 |
| ← eemeson left | 10:02 |
| → throstur joined | 10:02 |
| → ocelotsloth joined | 10:02 |
| → tango_ joined | 10:02 |
| → b00g3rjb joined | 10:02 |
| ← b00g3rjb left | 10:02 |
| → CodeSlingerPaul joined | 10:03 |
| ← _ADN_ left | 10:03 |
| ← mofai left | 10:03 |
| ← libregeekingkid left | 10:05 |
| → libertyprime joined | 10:07 |
| ← kurkale6ka left | 10:08 |
| → kurkale6ka joined | 10:08 |
| → TheRuckus joined | 10:08 |
| → jtrzebiatowski joined | 10:11 |
| ← Pytor left | 10:12 |
| ← TheRuckus left | 10:13 |
| ← hussam left | 10:13 |
| → JeroenT joined | 10:13 |
| → _ADN_ joined | 10:18 |
| ← ocelotsloth left | 10:20 |
| ← breakingsad left | 10:21 |
| → Essadon joined | 10:23 |
| ← Kaisyu left | 10:23 |
| ← Bucciarati left | 10:24 |
| ← g2anj left | 10:24 |
| → trip__ joined | 10:24 |
| ← avar left | 10:25 |
| → avar joined | 10:25 |
| ← avar left | 10:25 |
| → avar joined | 10:25 |
| → Bucciarati joined | 10:25 |
| ← fatalhalt left | 10:26 |
| → g2anj joined | 10:27 |
| → TomyLobo joined | 10:27 |
| ← ilmostro left | 10:28 |
| → TheRuckus joined | 10:29 |
| → erratic joined | 10:30 |
| → ilmostro joined | 10:30 |
| → highkix joined | 10:31 |
| → thebope joined | 10:31 |
| ← TheRuckus left | 10:33 |
| ← pawle left | 10:34 |
| → pawle joined | 10:34 |
| → JJjack joined | 10:35 |
|
JJjack
| can you add . but ignore certain files? | 10:35 |
| ← thebope left | 10:36 |
|
igemnace
| yes, with .gitignore | 10:37 |
| → mofai joined | 10:38 |
| ← MACscr left | 10:39 |
| ← dpyro left | 10:45 |
| ← dsdeiz left | 10:46 |
| ← g2anj left | 10:47 |
| ← opalepatrick left | 10:47 |
| ← throstur left | 10:48 |
| → lankanmon joined | 10:48 |
| → g2anj joined | 10:49 |
| → TheRuckus joined | 10:49 |
| → MACscr joined | 10:50 |
| ← TheRuckus left | 10:54 |
| → xaa joined | 10:55 |
| ← kurkale6ka left | 10:56 |
| ← hexnewbie left | 10:56 |
| → makos joined | 10:56 |
| → kurkale6ka joined | 10:56 |
| → hexnewbie joined | 10:59 |
| → rkta_ joined | 11:00 |
| → kneeki|aa joined | 11:02 |
| ← rkta left | 11:03 |
| ← rkta_ left | 11:04 |
| ← mobile_c left | 11:08 |
| → TheRuckus joined | 11:10 |
| ← newnick left | 11:10 |
| → newnick joined | 11:11 |
| → seventh__ joined | 11:11 |
| → hussam joined | 11:12 |
| ← TheRuckus left | 11:14 |
| → rkta joined | 11:15 |
| → zimmie_ joined | 11:19 |
|
Barabacha
| I accidentally overwritten my README.md file, the right one is on the remote but not on my local copy, how can I get it back? | 11:19 |
| → freetol joined | 11:19 |
| ← JJjack left | 11:20 |
| ← seventh__ left | 11:21 |
| ← zimmie_ left | 11:21 |
| → enriq joined | 11:23 |
|
oxymoron93
| could you explain more? ie git checkout <remote>/<branch> -- README.md will work if you have already fetched remote branch | 11:23 |
|
| and it will update your working directory README.md from remote branch Barabacha | 11:23 |
| → seventh__ joined | 11:24 |
|
Barabacha
| yes I want to update my working directory README.md from remote branch | 11:24 |
| → throstur joined | 11:25 |
|
Barabacha
| ok that worked I think | 11:26 |
|
oxymoron93
| you could run provided command immediately now and check if that suits your needs? | 11:26 |
|
| oh cool | 11:26 |
|
Barabacha
| isn't "git checkout" for changing branches? | 11:26 |
|
| or making new ones | 11:26 |
|
| ?? | 11:26 |
|
oxymoron93
| it depends on context | 11:27 |
|
tobiasvl
| man git checkout | 11:27 |
|
gitinfo
| the git-checkout manpage is available at https://gitirc.eu/git-checkout.html | 11:27 |
| → irc_viewer_test joined | 11:27 |
|
tobiasvl
| "git-checkout - Switch branches or restore working tree files" | 11:27 |
| → ocelotsloth joined | 11:30 |
| ← irc_viewer_test left | 11:30 |
| → wreed joined | 11:30 |
| → TheRuckus joined | 11:31 |
| → makos_ joined | 11:31 |
| ← TheRuckus left | 11:32 |
| → TheRuckus joined | 11:32 |
| → thebope joined | 11:32 |
| → ahmed89 joined | 11:32 |
| ← libertyprime left | 11:34 |
| ← makos left | 11:35 |
| → teodorg joined | 11:35 |
| ← Zexaron left | 11:36 |
| ← thebope left | 11:37 |
| ← drodger left | 11:41 |
| ← greatgatsby left | 11:41 |
| → drodger joined | 11:42 |
| → Chaos_Zero joined | 11:42 |
| ← ocelotsloth left | 11:44 |
| → bsanford joined | 11:45 |
| ← bsanford left | 11:46 |
| ← seventh__ left | 11:48 |
| → seventh__ joined | 11:51 |
| → preisi joined | 11:53 |
| → greatgatsby joined | 11:55 |
| ← donofrio left | 11:56 |
| ← lacrymology left | 11:57 |
| → tombusby joined | 11:57 |
| ← rwb left | 12:00 |
| → feksclaus joined | 12:03 |
| ← enriq left | 12:04 |
| → codyw joined | 12:04 |
| ← esrse left | 12:07 |
| ← Chaos_Zero left | 12:12 |
| → billa joined | 12:12 |
| ← throstur left | 12:20 |
| ← cek left | 12:23 |
| → bolovanos joined | 12:27 |
| → donofrio joined | 12:28 |
| → lowbro joined | 12:29 |
| ← lowbro left | 12:30 |
| → lowbro joined | 12:30 |
| ← drodger left | 12:31 |
| → thebope joined | 12:33 |
| ← Noti left | 12:34 |
| → rafasc joined | 12:35 |
| → drodger joined | 12:36 |
| ← thebope left | 12:38 |
| → rsrx joined | 12:40 |
| ← venmx left | 12:42 |
| ← ahmed89 left | 12:42 |
| ← kurkale6ka left | 12:43 |
| → ahmed89 joined | 12:43 |
| → enriq joined | 12:45 |
| → venmx joined | 12:46 |
| ← ahmed89 left | 12:47 |
| → kurkale6ka joined | 12:47 |
| → ahmed89 joined | 12:47 |
| → throstur joined | 12:48 |
| → DisruptiveNL joined | 12:51 |
| ← enriq left | 12:51 |
| ← opal left | 12:52 |
| → opal joined | 12:53 |
| → ableto joined | 12:53 |
| ← codyw left | 12:54 |
| → lacrymology joined | 12:55 |
| ← TheRuckus left | 12:55 |
| → ocelotsloth joined | 13:00 |
| ← DisruptiveNL left | 13:03 |
| ← ableto left | 13:03 |
| → e_l1997 joined | 13:08 |
| → F4D3C0D3 joined | 13:09 |
| ← ocelotsloth left | 13:10 |
| → oem joined | 13:11 |
| → ocelotsloth joined | 13:12 |
| ← ocelotsloth left | 13:12 |
| → n8chan joined | 13:13 |
| ← sQVe left | 13:13 |
| → enriq joined | 13:14 |
| → blizzow joined | 13:14 |
| → ocelotsloth joined | 13:15 |
| → fission6 joined | 13:15 |
| → TheRuckus joined | 13:16 |
| ← shicks2525 left | 13:20 |
| ← TheRuckus left | 13:20 |
| ← e3ef13f4ff44 left | 13:23 |
| → shicks2525 joined | 13:24 |
| ← dege left | 13:25 |
| → crissae joined | 13:26 |
|
crissae
| Hey. I plan on going offline for a bit. If I want to grab a copy of my master and all branches, I see that cloning with '--mirror' is the suggested solution | 13:26 |
|
| Short of me unplugging my ethernet cable and switching branches and verifying the file changes on-disk, can I assume this will bring all branches and history down to my local machine when I clone? | 13:26 |
| → Mat001 joined | 13:29 |
| ← enriq left | 13:29 |
| ← n8chan left | 13:29 |
| → antfoo joined | 13:30 |
| → CreazioN joined | 13:30 |
| → enriq joined | 13:31 |
| ← comptroller left | 13:31 |
| → Eagleman joined | 13:31 |
| → eset_ joined | 13:31 |
|
rafasc
| crissae: usually that's not needed. A clone will usually fetch everything you need. | 13:31 |
|
Silmarilion
| crissae, or you could just clone it and then do `git fetch --all` | 13:32 |
|
rafasc
| the different with --mirror, is where those changes get stored with git. | 13:32 |
|
Eagleman
| Is it possible to git clone up to a specific commit, and not beyond that? | 13:32 |
|
rafasc
| Eagleman: when you say up to, which direction are you referring? past->X or X<-present ? | 13:33 |
| ← ocelotsloth left | 13:33 |
| → thebope joined | 13:34 |
|
rafasc
| Silmarilion: btw, the --all from fetch means all remotes, not all refs. | 13:34 |
|
Silmarilion
| rafasc, I see, thanks for the info | 13:34 |
|
crissae
| I got paranoid and also cloned all branches just to back up our work. haven't tested calling 'git' or switching branches offline | 13:34 |
|
| Thanks for considering my question btw, I'm sure this is asked often. | 13:35 |
| → TheRuckus joined | 13:36 |
| ← eset_ left | 13:36 |
|
rafasc
| crissae: let me try to give you a summarized explanation of the difference. | 13:37 |
|
| when you clone/fetch, git will use a fetchspec to decide what gets transfered. | 13:37 |
|
| git config --get remote.origin.fetch | 13:37 |
| ← howdoi left | 13:38 |
|
rafasc
| there's some extra rules on top of this, like if you fetch a commit that has a tag pointing to it, the tag also comes. | 13:38 |
| ← thebope left | 13:38 |
|
rafasc
| the command above should return something like this: +refs/heads/*:refs/remotes/origin/* | 13:39 |
|
crissae
| imagine all of this happens with no internet connection. | 13:39 |
|
| does this change the above? :) | 13:39 |
| → carlos_ joined | 13:39 |
|
rafasc
| it means, transfer everything inside refs/heads (which is the place where git stores branches), and store it on your local repo under refs/remotes/origin/ | 13:40 |
|
Eagleman
| rafasc, I think I just did it with the following: | 13:40 |
|
| git checkout <sha1 rev> of the rev you want | 13:40 |
|
| git reset --hard | 13:40 |
|
| git checkout -b master | 13:40 |
| → eset_ joined | 13:40 |
| ← TheRuckus left | 13:41 |
|
rafasc
| Eagleman: that doesn't answer your question. You still cloned everything. You just checked out a past commit. | 13:41 |
|
| which is technically different, but maybe that's what you wanted in the first place. | 13:42 |
|
Eagleman
| I dont have any changes past that commit | 13:43 |
|
rafasc
| crissae: --mirror will set up a refspec like this: +refs/*:refs/* | 13:44 |
| ← madewokherd left | 13:44 |
|
crissae
| ah this is starting to click actually | 13:45 |
| → ocelotsloth joined | 13:45 |
| ← eset_ left | 13:46 |
|
oxymoron93
| Eagleman: run git log --all to see all history | 13:46 |
| → rwb joined | 13:46 |
| → comptroller joined | 13:47 |
| ← stoopkid left | 13:48 |
| → hypercore joined | 13:48 |
|
hypercore
| how do i revert back to a previous commit for a branch? | 13:48 |
| ← ocelotsloth left | 13:48 |
| → yeshurun joined | 13:48 |
|
rafasc
| hypercore: with or without rewriting history? | 13:49 |
| → eset_ joined | 13:50 |
| → ocelotsloth joined | 13:50 |
| ← CreazioN left | 13:51 |
| ← makos_ left | 13:52 |
| → JimmyRcom joined | 13:52 |
| → AbleBacon joined | 13:52 |
|
tobiasvl
| !revert | 13:52 |
|
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:52 |
| → Milos joined | 13:53 |
|
oxymoron93
| I was about to write some of these options... nice | 13:53 |
| ← tchan left | 13:53 |
| → TheRuckus joined | 13:54 |
|
hypercore
| rafasc: er i'm not sure... | 13:54 |
|
| basically i want HEAD to point to this old commit (i think that's what i want, not totally sure) | 13:54 |
|
_ikke_
| And the changes that happened since then? | 13:55 |
|
| DO you want to keep them or should they be removed? | 13:55 |
|
oxymoron93
| maybe they just want to inspect files at certain point? hypercore | 13:56 |
|
hypercore
| _ikke_: keep them | 13:56 |
|
_ikke_
| git reset <commit> | 13:56 |
| ← throstur left | 13:56 |
| → n8chan joined | 13:57 |
| ← oem left | 13:58 |
|
hypercore
| _ikke_: just to be clear, this will only make changes to the branch right? | 13:58 |
|
_ikke_
| yes, as long as you don't supply --hard | 13:58 |
| ← TheRuckus left | 13:58 |
|
hypercore
| awesome, thanks | 13:58 |
| → turkeston joined | 13:59 |
| ← R2robot left | 13:59 |
| → R2robot joined | 14:00 |
| → Raed|Laptop joined | 14:01 |
|
hypercore
| _ikke_: hmm didn't work, still getting the newest changes | 14:02 |
|
| (did "git reset {old-hash}") | 14:02 |
| → AaronMT joined | 14:02 |
|
_ikke_
| you said you wanted to keep the changes | 14:03 |
| ← n8chan left | 14:03 |
|
hypercore
| _ikke_: sorry, maybe i didn't want to keep them. I've created a clone branch, so i can use that in case something goes wrong | 14:04 |
|
| how can i do it without keeping the changes? | 14:04 |
|
_ikke_
| So you have nothing in your working tree that you need to keep? | 14:04 |
|
| git stash is the safest way to get rid of them | 14:05 |
| ← highkix left | 14:05 |
| → AcousticDan joined | 14:05 |
|
hypercore
| _ikke_: so just run "git stash" in this branch? | 14:05 |
|
_ikke_
| git stash operates on your working tree | 14:06 |
|
hypercore
| (there's alos a "previous-state" header in my logs) | 14:06 |
| ← eset_ left | 14:06 |
| ← Revan- left | 14:07 |
| ← turkeston left | 14:07 |
|
hypercore
| _ikke_: just "git stash"? | 14:07 |
|
_ikke_
| yes | 14:07 |
|
hypercore
| thanks | 14:08 |
|
| _ikke_: hmm "no local changes to save" | 14:08 |
| ← polman left | 14:08 |
|
_ikke_
| did you run the git reset command? | 14:08 |
|
hypercore
| when i run git diff against the cloned branch, it shows no differences. and yeah, i ran the git reset command | 14:08 |
| ← ocelotsloth left | 14:09 |
| → eset_ joined | 14:09 |
|
hypercore
| ah ok my bad | 14:09 |
| → Revan- joined | 14:09 |
|
hypercore
| i changed back to my latest commit | 14:10 |
| ← nowhere_man left | 14:10 |
| → notnull joined | 14:11 |
| → ocelotsloth joined | 14:11 |
| ← ocelotsloth left | 14:12 |
| → polman joined | 14:12 |
|
hypercore
| _ikke_: hmm still not working, doing git diff back to that hash shows a lot of differences | 14:13 |
| ← eset_ left | 14:14 |
| ← JimmyRcom left | 14:15 |
| ← JeroenT left | 14:16 |
| → czart joined | 14:17 |
|
rafasc
| hypercore: there are many things you can do, that are pretty similar between themselves, I not positive which one you want. Maybe try to clarify why you want to this. | 14:17 |
| → eset_ joined | 14:18 |
|
hypercore
| rafasc: ok, so i've made several changes on branch "test/new_feature". I want to revert these changes to an old commit on this branch, and have that be the new "state", if that makes sense | 14:18 |
| → madewokherd joined | 14:18 |
|
hypercore
| rafasc: ive cloned the branch, so i can lose changes to it now | 14:18 |
| ← carlos_ left | 14:19 |
|
rafasc
| is that branch public? Or just a local branch? | 14:19 |
| → carlos_ joined | 14:20 |
| → DeepStateNine joined | 14:20 |
|
hypercore
| rafasc: it's public, and i want to revert the state of the public version | 14:20 |
|
| not just locally | 14:20 |
|
rafasc
| or in other words: do you want that branch to say (did A)-(did B)-(did C)-(did D)-(ooops back to B); | 14:21 |
| → achadwick joined | 14:21 |
|
rafasc
| or just make it (did A)-(did B); | 14:21 |
|
hypercore
| rafasc: exactly, and i want to push that new reverted state to our hosted repo | 14:21 |
| ← slde_track left | 14:21 |
| ← AcousticDan left | 14:22 |
| ← lagothrix left | 14:22 |
|
rafasc
| $ git revert --no-commit B..D; git commit; | 14:23 |
| ← enriq left | 14:23 |
|
rafasc
| or $git checkout <hash> -- .; | 14:23 |
| → astronavt joined | 14:23 |
| ← eset_ left | 14:23 |
|
rafasc
| careful as this will discard any uncommited work you have on your working directory. | 14:23 |
| → threenuc joined | 14:23 |
|
hypercore
| rafasc: is this isolated to only once branch? | 14:24 |
|
| *one | 14:24 |
| → tchan joined | 14:24 |
| ← tchan left | 14:24 |
| → tchan joined | 14:24 |
|
rafasc
| yes. | 14:24 |
| → lagothrix joined | 14:24 |
| → olux joined | 14:24 |
| → libregeekingkid joined | 14:25 |
|
rafasc
| both will not rewrite history, they'll be added as a new commit on top of your existing history setting things back how they were in <hash>. | 14:25 |
| → soee_ joined | 14:25 |
| ← seventh__ left | 14:26 |
| ← carlos_ left | 14:26 |
|
rafasc
| the checkout version is probably easier to deal with, especially if you have merges in the B..D range. | 14:26 |
| → rkta_ joined | 14:26 |
| → bavila_ joined | 14:26 |
| → newnickk joined | 14:26 |
|
hypercore
| great, thanks for the help! | 14:27 |
| → eset_ joined | 14:27 |
| ← tomfarr left | 14:27 |
| ← xcm left | 14:27 |
| → xcm joined | 14:27 |
| → fstd_ joined | 14:28 |
|
threenuc
| Hey. I'm trying to force push a local branch with the HEAD hash "90b..." to a remote branch with the HEAD hash "9bx" (so they're different). When I do "git push origin remotebranch -f", git says "Everything up to date". What could be the problem? | 14:28 |
| → hexnewbie_ joined | 14:28 |
|
threenuc
| If I do git checkout origin/remotebranch and git log, the HEAD is still different | 14:28 |
| ← AaronMT left | 14:29 |
| ← soee left | 14:29 |
| ← ijash left | 14:29 |
| ← hexnewbie left | 14:29 |
| ← jakogut left | 14:29 |
| ← czart left | 14:29 |
| ← fission6 left | 14:29 |
| ← bavila left | 14:29 |
| ← fstd left | 14:30 |
| fstd_ → fstd | 14:30 |
| → spacesuitdiver joined | 14:30 |
| → czart joined | 14:30 |
| ← F0rTex left | 14:30 |
| ← __xor left | 14:30 |
| → _xor joined | 14:30 |
| ← newnick left | 14:30 |
| ← inovas left | 14:31 |
| → F0rTex joined | 14:31 |
| → SputHB joined | 14:31 |
| ← oxymoron93 left | 14:31 |
| ← SputHB left | 14:31 |
| ← Silmarilion left | 14:31 |
| ← rkta left | 14:31 |
| rkta_ → rkta | 14:31 |
| → enriq joined | 14:31 |
|
F4D3C0D3
| can I remove log by author? I'm in emergency.. | 14:32 |
| ← eset_ left | 14:32 |
| → cek joined | 14:32 |
|
rafasc
| what's remove log? | 14:32 |
| → inovas joined | 14:32 |
| → va7lnxkE joined | 14:32 |
| ← va7lnxkE left | 14:32 |
|
F4D3C0D3
| wait.. I'll take a photo | 14:32 |
|
| https://snag.gy/0VlZJX.jpg | 14:34 |
|
| This is my situtation. very awful and scary | 14:34 |
| ← justanotheruser left | 14:34 |
| → thebope joined | 14:34 |
|
_ikke_
| the 0xDEADBEEF part? | 14:34 |
|
F4D3C0D3
| I want to remove donghojung | 14:35 |
|
| my old nick | 14:35 |
|
rafasc
| threenuc: you can use sha's with the push command; git push origin sha:remotebranch | 14:35 |
|
F4D3C0D3
| I tried "https://help.github.com/articles/changing-author-info/" and this happens | 14:36 |
|
| how can I remove logs that author equals donghojung | 14:36 |
| → eset_ joined | 14:36 |
| ← rokups left | 14:36 |
|
rafasc
| threenuc: git log --oneline --boundary --graph HEAD...remotebranch | 14:36 |
| → liori joined | 14:37 |
|
F4D3C0D3
| plz I can't go home now.. here is deep dark night ;0 | 14:37 |
| ← Raed|Laptop left | 14:37 |
| → dferris joined | 14:38 |
| → maestrojed joined | 14:38 |
|
rafasc
| threenuc: if push says up to date, it already has that commit in its history. | 14:38 |
|
F4D3C0D3
| I want to fix thix and go home.. but google don't give me any answer :( | 14:38 |
| ← thebope left | 14:39 |
|
rafasc
| F4D3C0D3: this isn't a thing you can easily fix without rewriting the entire history. | 14:39 |
|
threenuc
| rafasc: I've already resolved the problem, but I'd like to understand why. Say I have the "wannapush" branch and remote branch. I changed the name of wannapush to the name of the remote branch and it pushed normally. Why? | 14:39 |
| ← dferris left | 14:39 |
| ← blizzow left | 14:39 |
|
F4D3C0D3
| rafasc: that's a sad news | 14:40 |
| ← spacesuitdiver left | 14:40 |
|
rafasc
| F4D3C0D3: the best thing you can do that doesn't involve changing the entire history is add a .mailmap file | 14:41 |
| ← eset_ left | 14:41 |
|
threenuc
| rafasc: and the commit wasn't in the history. Only the HEADs differed, and the local HEAD definitely wasn't in the remote | 14:42 |
|
F4D3C0D3
| rafasc: and that's a little bit hard to me. but I'll try it | 14:42 |
|
| thanks | 14:42 |
| ← e_l1997 left | 14:43 |
| → spacesuitdiver joined | 14:44 |
| ← danishprakash left | 14:46 |
| → eset_ joined | 14:46 |
| → thiago joined | 14:47 |
| ← enriq left | 14:48 |
| → enriq joined | 14:49 |
| ← bavila_ left | 14:49 |
| → bavila joined | 14:50 |
| ← TheDcoder left | 14:50 |
| ← eset_ left | 14:51 |
| ← bavila left | 14:51 |
| ← yyy left | 14:52 |
| → stoopkid joined | 14:52 |
| → bavila joined | 14:53 |
| → c3llulardaxius joined | 14:53 |
| c3llulardaxius → c3llular | 14:53 |
| → eset_ joined | 14:55 |
| ← YuGiOhJCJ left | 14:56 |
| → Noti joined | 14:56 |
| ← Duikb00t left | 14:57 |
| → kitchent joined | 14:58 |
| ← enriq left | 14:58 |
|
F4D3C0D3
| HOLY BANANA(This is positive meaning)!!! I make it@! I did it https://snag.gy/AqMy4X.jpg | 14:58 |
|
| I don't know about mailmap but I little bit know about rebase | 14:59 |
|
| so I checked out tmp branch at HEAD and rebase -i to remove author that donghojung and reset hard and so on | 14:59 |
| → Dougie187 joined | 14:59 |
| ← eset_ left | 14:59 |
|
F4D3C0D3
| It might be very bad practice, but I have no other options, and now I can go home. thanks guys | 15:00 |
| → AaronMT joined | 15:01 |
| ← F4D3C0D3 left | 15:01 |
| ← zais left | 15:03 |
| → oojacoboo joined | 15:03 |
| → eset_ joined | 15:04 |
| ← threenuc left | 15:05 |
| → e_l1997 joined | 15:05 |
| ← Forlorn_ left | 15:05 |
| ← igemnace left | 15:06 |
| → al-damiri joined | 15:06 |
| → BloodyMary joined | 15:09 |
| ← eset_ left | 15:09 |
| → highkix joined | 15:10 |
| ← drodger left | 15:11 |
| → drodger joined | 15:12 |
| → eset_ joined | 15:13 |
| ← highkix left | 15:13 |
| → mollusk joined | 15:13 |
| ← chele left | 15:13 |
| → dsdeiz joined | 15:15 |
| ← dsdeiz left | 15:15 |
| → dsdeiz joined | 15:15 |
| ← rasb left | 15:15 |
| ← spacesuitdiver left | 15:16 |
| → r3myjC joined | 15:17 |
| ← r3myjC left | 15:17 |
| ← eset_ left | 15:18 |
| → jhulten joined | 15:18 |
| ← BrianBlaze left | 15:19 |
| → BrianBlaze joined | 15:20 |
| ← maestrojed left | 15:21 |
| → eset_ joined | 15:22 |
| ← a3Dman left | 15:23 |
| → ocelotsloth joined | 15:24 |
| ← BloodyMary left | 15:24 |
| ← ocelotsloth left | 15:25 |
| → blizzow joined | 15:26 |
| → dege joined | 15:26 |
| ← rkta left | 15:26 |
| → bbronx joined | 15:26 |
| ← eset_ left | 15:27 |
| → polo51 joined | 15:28 |
| ← thiago left | 15:28 |
| ← AaronMT left | 15:29 |
| ← mollusk left | 15:30 |
| ← bbronx left | 15:30 |
| → mastro joined | 15:31 |
|
mastro
| hi, is there a git command (without bash scripting) that gives me a text information of the state of the repository? ideally something like: 1) empty string if all is committed, 2) "dirty" or something like that if there's something not committed (index or not).. I want to append it to the output of `git rev-parse --short HEAD` to have the commit hash + state of the tip | 15:31 |
| → eset_ joined | 15:31 |
|
_ikke_
| mastro: not really possible to with just plain git | 15:31 |
|
esotericnonsense
| porcelain? | 15:31 |
|
mastro
| I want to use it in the build script to include automated information that allow me to trace back to the specific commit / fail the build if "release build" + dirty | 15:32 |
|
_ikke_
| mastro: what about git describe? | 15:32 |
|
esotericnonsense
| I have git rev-parse HEAD; git log -1 --oneline HEAD; git status --porcelain | 15:32 |
|
| (technically I put it in a script but I mean you can oneliner it) | 15:32 |
| ← thomasross left | 15:32 |
| ← nuc left | 15:32 |
| → thomasross joined | 15:33 |
| → F4D3C0D3 joined | 15:33 |
|
esotericnonsense
| on a related topic I'm wondering if there are any tools for monitoring a bunch of git repositories, maybe a sort of "git status all the folders" | 15:33 |
|
mastro
| _ikke_: i found that command not very reliable. For example if there are no tag "fatal: No names found, cannot describe anything." and in other occasions it had unpredictable results | 15:34 |
|
esotericnonsense
| at the moment I just do something daft like blah() {for d in $(ls); do cd dir; git status; cd ..; done} | 15:34 |
| → nuc joined | 15:34 |
| ← Hi-Angel left | 15:34 |
|
mastro
| _ikke_: also I don't want the branch name, just know if dirty or not | 15:34 |
|
esotericnonsense
| and then blah | grep "something" | 15:34 |
|
| which is terrible.. :P | 15:34 |
| ← lowbro left | 15:34 |
| ← xcm left | 15:35 |
| → xcm joined | 15:35 |
| → thebope joined | 15:35 |
| ← eset_ left | 15:36 |
|
mastro
| I was hoping in something like `git rev-parse --short HEAD` which is really perfect for extracting the current commit | 15:37 |
| ← F4D3C0D3 left | 15:37 |
| ← notnull left | 15:37 |
|
mastro
| I don't know like: `git status --short` | 15:37 |
| → notnull joined | 15:38 |
| ← notnull left | 15:38 |
| → notnull joined | 15:38 |
|
esotericnonsense
| did you try --porcelain | 15:38 |
|
mastro
| (git status --short is too long for me, hironically) | 15:38 |
|
| esotericnonsense: to git status? | 15:38 |
|
esotericnonsense
| yes, git status --porcelain | 15:38 |
|
mastro
| esotericnonsense: same as --short, just without the colors | 15:39 |
|
esotericnonsense
| heh indeed. I see | 15:39 |
| → polo51_ joined | 15:39 |
| ← thebope left | 15:40 |
| → eset_ joined | 15:40 |
| → fatfreegal joined | 15:42 |
| → ocelotsloth joined | 15:42 |
| ← polo51 left | 15:43 |
| ← fatfreegal left | 15:43 |
| ← lacrymology left | 15:44 |
| → mikecmpbll joined | 15:45 |
| ← eset_ left | 15:46 |
| → cdown joined | 15:48 |
| ← floppydh left | 15:49 |
| → eset_ joined | 15:49 |
| → cdown_ joined | 15:50 |
| ← cdown left | 15:53 |
| cdown_ → cdown | 15:53 |
| ← pawle left | 15:55 |
| ← eset_ left | 15:55 |
| ← ocelotsloth left | 15:56 |
| ← kurkale6ka left | 15:57 |
| → eset_ joined | 15:58 |
| → DarthRadar joined | 15:59 |
| → ocelotsloth joined | 16:00 |
| → MrRooks joined | 16:00 |
| ← dsdeiz left | 16:01 |
| → nowhere_man joined | 16:02 |
| ← Tobbi_ left | 16:02 |
| ← MrRooks left | 16:02 |
| → duderonomy joined | 16:03 |
| ← eset_ left | 16:04 |
| → kurkale6ka joined | 16:04 |
| → danishprakash joined | 16:07 |
| → eset_ joined | 16:08 |
| → orbyt_ joined | 16:08 |
|
rafasc
| git describe --dirty --always | 16:08 |
| ← sctskw left | 16:08 |
|
rafasc
| --always makes sure it fallsback to hash if there's no other way to describe it. | 16:09 |
| ← orbyt_ left | 16:09 |
| → Pytor joined | 16:10 |
|
rafasc
| esotericnonsense: don't parse ls. filanems can contains spaces and newlines... for d in $(ln) will bite you some day. | 16:10 |
| → sctskw joined | 16:11 |
|
esotericnonsense
| rafasc: i guess i'm just lazy.. I don't use spaces or newlines or odd characters in my directory names, though I suppose it would be easy to forget a script I've written for internal use will bork if I use it in some other case | 16:11 |
| ← duderonomy left | 16:12 |
| ← eset_ left | 16:12 |
|
kerframil
| for d in */; do ... | 16:13 |
| → F4D3C0D3 joined | 16:14 |
| → spacesuitdiver joined | 16:14 |
| → enriq joined | 16:15 |
| → applecrumble joined | 16:16 |
| → eset_ joined | 16:17 |
| → Envil joined | 16:17 |
| → yyy joined | 16:18 |
| ← F4D3C0D3 left | 16:18 |
| → duderonomy joined | 16:19 |
| → thiago joined | 16:20 |
| ← duderonomy left | 16:21 |
| ← eset_ left | 16:22 |
| ← Eagleman left | 16:22 |
| ← edwardly left | 16:22 |
| → Tobbi_ joined | 16:23 |
| → jrnieder joined | 16:24 |
| → eset_ joined | 16:26 |
| → edwardly joined | 16:26 |
| → duderonomy joined | 16:26 |
| → ukyrgf joined | 16:27 |
| ← edwardly left | 16:27 |
| → edwardly joined | 16:27 |
| ← duderonomy left | 16:28 |
| → duderonomy joined | 16:29 |
| ← Mat001 left | 16:31 |
| ← eset_ left | 16:31 |
| ← chachasmooth left | 16:32 |
| ← enriq left | 16:33 |
| ← duderonomy left | 16:34 |
| ← _joes_ left | 16:34 |
| → arunkumar413 joined | 16:35 |
| ← BrAsS_mOnKeY left | 16:35 |
| → eset_ joined | 16:35 |
|
arunkumar413
| remote branches are not showing up in my local repo | 16:35 |
|
| only master branch is showing up | 16:35 |
| ← ocelotsloth left | 16:35 |
| → thebope joined | 16:36 |
| → cd joined | 16:36 |
|
benharri
| arunkumar413: git fetch --all | 16:36 |
| ← cdown left | 16:37 |
| → ocelotsloth joined | 16:37 |
|
rafasc
| arunkumar413: git branch --remotes; | 16:37 |
| → BrAsS_mOnKeY joined | 16:37 |
| ← ocelotsloth left | 16:37 |
| ← mikecmpbll left | 16:38 |
| ← mohabaks left | 16:39 |
|
mastro
| rafasc: that is perfect!!! | 16:40 |
| → ocelotsloth joined | 16:40 |
| ← gxt left | 16:40 |
| ← kurkale6ka left | 16:40 |
|
arunkumar413
| did git fetch and pull | 16:40 |
| ← eset_ left | 16:40 |
| → Regon joined | 16:41 |
| ← thebope left | 16:41 |
|
arunkumar413
| but git branch -a shows only remote branches | 16:41 |
| → psprint-osx joined | 16:42 |
|
rafasc
| arunkumar413: hmmm you don't have any local branches? | 16:42 |
|
mastro
| rafasc: thank you very much! | 16:42 |
| ← yyy left | 16:42 |
|
arunkumar413
| rafasc, I git cloned the repo using the link but it didn't create all the branches from remote | 16:43 |
|
rafasc
| mastro: you're welcome. | 16:43 |
| → yyy joined | 16:43 |
| → abf_ joined | 16:43 |
| → enriq joined | 16:43 |
|
psprint-osx
| Hello. I have some short format, one-line git log alias, like everybody probably have. I would however want: Include in the one line log message an additional line – The-First-Line from the long-commit-message (the one separated with empty line, in new paragraph). Is it doable? | 16:43 |
|
rafasc
| arunkumar413: git clone only creates one. The one pointed by the remote's HEAD | 16:43 |
| → raynold_ joined | 16:44 |
| → leeN joined | 16:44 |
|
rafasc
| arunkumar413: usually 'master' | 16:44 |
| → eset_ joined | 16:44 |
|
rafasc
| psprint-osx: you mean the subject? or the first line of the body? | 16:45 |
|
arunkumar413
| rafasc, so how do get the other branches | 16:45 |
|
psprint-osx
| rafasc: first line of the body, Subject\n\nThe-First-Line\nRest-of-body | 16:46 |
|
rafasc
| git fetch already transfers it, and they get stored under their own remote. | 16:46 |
|
| if you want to used them, just do $git checkout branchname; | 16:47 |
| → durham joined | 16:47 |
|
rafasc
| arunkumar413: !rtb | 16:48 |
|
gitinfo
| arunkumar413: [!remote_tracking_branch] Remote-tracking branches (branches which start with e.g. 'origin/', listed by 'git branch -r') are read-only mirrors of the branches in another repository. They're updated by 'git fetch'. You can't edit them directly (trying to check them out results in a !detached HEAD), but you can create a local branch based on a remote-tracking branch using e.g. 'git checkout -b <branch> <remote>/<b | 16:48 |
|
psprint-osx
| So guys, how to do it? Commit message: Subject\n\nThe-First-Line-of-Body\nThe\nRest... – how to show log message as follows: {date} {Subject} {The-First-Line-of-Body} (i.e. in single line)? | 16:49 |
| ← eset_ left | 16:49 |
| → irrgit joined | 16:50 |
| → jhaenchen joined | 16:50 |
| ← jhaenchen left | 16:50 |
| → jhaenchen joined | 16:50 |
| → chaosruler joined | 16:51 |
|
irrgit
| How can i push a local repository which doesnt exist on my git server? | 16:51 |
| → duderonomy joined | 16:51 |
| → fluxAeon joined | 16:52 |
| ← duderonomy left | 16:52 |
|
rafasc
| depends on the server. | 16:52 |
|
irrgit
| I think on this one im stuck on version 1.8 of git iirc | 16:53 |
|
rafasc
| some tools create the repo on-the-fly | 16:53 |
| → eset_ joined | 16:53 |
| → gxt joined | 16:54 |
|
irrgit
| If i add the remote url i want, which doesnt exist yet, can i create it by pushing? | 16:54 |
|
rafasc
| what are you using as remote? | 16:54 |
| → greggerz joined | 16:54 |
|
rafasc
| or are you just pushing over ssh? | 16:55 |
|
psprint-osx
| log --date=short --pretty=format:'%Cgreen%cd %h %Creset%s %b' shows the Subject, then the body, *in-single-line*, like expected. However, can I somehow limit %b (the body) to say, 4 words? | 16:55 |
|
irrgit
| over ssh | 16:55 |
| ← yyy left | 16:56 |
|
rafasc
| irrgit: then ssh into your box, do git init --bare repo | 16:57 |
|
irrgit
| Well i mean i could do that, im saying is there a way to create on push? | 16:57 |
|
rafasc
| then you can push. | 16:57 |
| ← ocelotsloth left | 16:58 |
| ← polo51_ left | 16:58 |
| → yyy joined | 16:58 |
| ← theoceaniscool_ left | 16:58 |
| ← eset_ left | 16:59 |
| → ocelotsloth joined | 16:59 |
| ← ocelotsloth left | 16:59 |
|
rafasc
| psprint-osx: %<(10,trunc)%b | 17:00 |
|
| still playing with it. | 17:00 |
| → ocelotsloth joined | 17:00 |
| ← ocelotsloth left | 17:00 |
| → CrystalMath joined | 17:00 |
|
CrystalMath
| hi all | 17:01 |
|
| is there any way to list all commits that are only a part of a branch? | 17:01 |
|
| i have an old branch that might have no commits ever done on it | 17:01 |
|
| and i'd like to delete it | 17:01 |
| ← hypercore left | 17:01 |
|
CrystalMath
| but i'm not really sure | 17:01 |
| → ocelotsloth joined | 17:01 |
| ← ocelotsloth left | 17:02 |
|
psprint-osx
| rafasc: thanks it works somewhat good, except doesn't limit for words, but that might be good | 17:02 |
| → eset_ joined | 17:03 |
| → polo51_ joined | 17:03 |
|
rafasc
| psprint-osx: yea, it's a lenght limit.. the closest you can do. | 17:03 |
| → wootehfoot joined | 17:03 |
|
rafasc
| psprint-osx: but there are some empty lines. | 17:03 |
| → sgen joined | 17:03 |
|
psprint-osx
| Guys, pretty-format %D or %d shows ref-names, so there's typically "(HEAD -> master, origin/master)" in the log. Can I: not show this standard limited-information substring "(HEAD ...)", but show *Tag-Names*-only? | 17:04 |
| ← yyy left | 17:05 |
| ← watabou left | 17:06 |
| ← xaa left | 17:06 |
| ← amosbird left | 17:06 |
| → amosbird joined | 17:07 |
| ← kerframil left | 17:07 |
| → kerframil joined | 17:07 |
| ← eset_ left | 17:07 |
| ← greggerz left | 17:09 |
| ← amosbird left | 17:09 |
| → dsdeiz joined | 17:09 |
| ← dsdeiz left | 17:09 |
| → dsdeiz joined | 17:09 |
| → Forlorn_ joined | 17:09 |
|
psprint-osx
| rafasc: any mistical-formula for skipping HEAD -> master etc. from %D pretty-format? | 17:09 |
| → greggerz joined | 17:09 |
| → amosbird joined | 17:09 |
|
rafasc
| try --decorate-refs=refs/tags | 17:09 |
| → theoceaniscool_ joined | 17:09 |
| ← amosbird left | 17:09 |
|
psprint-osx
| I just want tags, best without "tag: " insertion | 17:09 |
| ← mzf left | 17:10 |
| → amosbird joined | 17:10 |
| ← raynold_ left | 17:10 |
| → eset_ joined | 17:12 |
|
psprint-osx
| rafasc: works with 2.19, not with 2.15, I thus have a luck of owning an old Git (from Apple, on OS X), I see this a luck because if I would miss this, my users would be affected by it. Any workaround, other method, working on older git? | 17:12 |
| ← _ADN_ left | 17:12 |
|
rafasc
| psprint-osx: no. I know because I also tried. Which I ultimately ended up doing was contributing --decorate-refs to git. | 17:13 |
| → AtumT joined | 17:13 |
| → mzf joined | 17:14 |
|
psprint-osx
| rafasc: ahso, that's an ultimate statement. So I'll better implement some if [[ $(git --version) ]]; and stuff in my script. BTW, maybe you know cleanest way of doing this, i.e. checking for git version? | 17:14 |
|
rafasc
| unless you pipe to awk or something like that. | 17:15 |
|
psprint-osx
| nevermind, under Zsh I can do: if is-at-least 2.19 $(git --version); then | 17:16 |
| hexnewbie_ → hexnewbie | 17:16 |
|
rafasc
| psprint-osx: it go released into 2.16.0 | 17:16 |
|
psprint-osx
| ok, thanks | 17:16 |
| ← eset_ left | 17:17 |
| → Mattiaslndstrm joined | 17:17 |
|
psprint-osx
| rafasc: maybe some clue about the $<(20,trunc), is it highly-recent, likely to not be available? | 17:17 |
|
rafasc
| no, that's old | 17:17 |
|
psprint-osx
| cool | 17:17 |
| ← quxgyver left | 17:17 |
| → Mat001 joined | 17:19 |
| ← arunkumar413 left | 17:19 |
| ← staafl__ left | 17:20 |
|
rafasc
| psprint-osx: git::a7f01c6b4ddf9f2f6bdcb23fc7afb56695807cba^{commit} | 17:20 |
|
gitinfo
| psprint-osx: Git web link: https://github.com/git/git/commit/a7f01c6b4ddf9f2f6bdcb23fc7afb56695807cba | 17:20 |
| → eset_ joined | 17:21 |
| → czart_ joined | 17:21 |
| ← quipa left | 17:21 |
| ← danishprakash left | 17:22 |
|
psprint-osx
| 1.8.3-rc0, really old. BTW. thanks for contributing the --decorate-refs option, git has flexible formats but this statement may be easily revised when someone wants to use `git log ...' in a released-project and will need a *true* control over what's being shown | 17:22 |
| ← mastro left | 17:23 |
| ← j7k6 left | 17:23 |
| → quipa joined | 17:23 |
| → matsaman joined | 17:23 |
| → thebope joined | 17:24 |
|
psprint-osx
| one more thing, I'm currently separating %b from %s by " | ", i.e. a bar. Is it possible to show this bar only when %b is not empty? | 17:24 |
| ← czart left | 17:25 |
| ← eset_ left | 17:26 |
| → salek_ joined | 17:26 |
| ← enriq left | 17:27 |
| ← jas4711 left | 17:27 |
| ← TinkerT left | 17:28 |
| ← Forlorn_ left | 17:28 |
| ← Salek left | 17:28 |
| → TinkerT joined | 17:28 |
| ← abf_ left | 17:28 |
| → eset_ joined | 17:30 |
| → Forlorn_ joined | 17:30 |
| ← matsaman left | 17:32 |
| → Onionnion joined | 17:32 |
| → heroux_ joined | 17:35 |
| ← eset_ left | 17:35 |
| → cdown joined | 17:36 |
| ← achadwick left | 17:37 |
|
rafasc
| I don't think so. | 17:38 |
| ← gxt left | 17:39 |
|
rafasc
| you would need something like the for-each-ref language. But unfortunately git log doesn't know about it yet. | 17:39 |
| → eset_ joined | 17:39 |
| ← daurnimator left | 17:40 |
| ← chaosruler left | 17:40 |
| ← ilmostro left | 17:41 |
| → chaosruler joined | 17:42 |
| → ilmostro joined | 17:43 |
| → Trel joined | 17:44 |
| ← eset_ left | 17:44 |
|
Trel
| Is there a command or man file that lists all available git config options along with what they are? | 17:44 |
|
bremner
| man git config | 17:45 |
|
gitinfo
| the git-config manpage is available at https://gitirc.eu/git-config.html | 17:45 |
| ← venmx left | 17:46 |
|
Trel
| Thanks! | 17:46 |
|
rafasc
| psprint-osx: https://public-inbox.org/git/20181002144639.GC24480@sigill.intra.peff.net/ | 17:46 |
| → seventh__ joined | 17:46 |
| ← sgen left | 17:47 |
| ← arecaceae left | 17:47 |
| → arecaceae joined | 17:48 |
| ← BrianBlaze left | 17:48 |
| → BrianBlaze420 joined | 17:48 |
| → eset_ joined | 17:48 |
| ← kitchent left | 17:51 |
| ← cdown left | 17:51 |
| → cdown joined | 17:51 |
| → flavius joined | 17:52 |
| ← eset_ left | 17:53 |
| ← jtrzebiatowski left | 17:53 |
| ← sctskw left | 17:53 |
| → sctskw joined | 17:54 |
| ← T_UNIX left | 17:55 |
| ← czart_ left | 17:56 |
| ← applecrumble left | 17:56 |
| → eset_ joined | 17:57 |
| → enriq joined | 17:57 |
| ← sctskw left | 17:58 |
| → yyy joined | 18:01 |
| ← eset_ left | 18:02 |
| → sourcream joined | 18:03 |
| → eset_ joined | 18:06 |
| → unpythonic joined | 18:07 |
| ← eset_ left | 18:11 |
|
CrystalMath
| okay i need help, i messed something up bad | 18:13 |
| ← gesker left | 18:13 |
|
CrystalMath
| how do i cancel a merge? | 18:13 |
| → duderonomy joined | 18:14 |
| → j7k6 joined | 18:14 |
|
CrystalMath
| git so incredibly confusing | 18:14 |
|
| *is so | 18:14 |
| ← j7k6 left | 18:15 |
|
Hello71
| git merge --abort | 18:15 |
|
| something something pro life something | 18:15 |
| → eset_ joined | 18:16 |
| → xp0inter joined | 18:17 |
|
CrystalMath
| Hello71: lol, thanks :) | 18:17 |
| → gesker joined | 18:17 |
|
CrystalMath
| i did git commit --amend | 18:18 |
|
| and now i don't know how to push this | 18:18 |
| → ocelotsloth joined | 18:19 |
| ← comptroller left | 18:20 |
| → m_ joined | 18:20 |
| ← eset_ left | 18:21 |
| → chachasmooth joined | 18:21 |
| ← z]bandito left | 18:22 |
|
CrystalMath
| okay i did a force push | 18:22 |
| ← Mat001 left | 18:22 |
| → eset_ joined | 18:25 |
| ← cliluw left | 18:27 |
| → comptroller joined | 18:27 |
| → bemo joined | 18:28 |
| → cliluw joined | 18:28 |
| → mikecmpbll joined | 18:28 |
| ← eset_ left | 18:30 |
| → hypercore joined | 18:31 |
| ← Hello71 left | 18:32 |
| ← rsrx left | 18:34 |
| → eset_ joined | 18:34 |
| ← Forlorn_ left | 18:35 |
| → Hello71 joined | 18:36 |
| → millerti joined | 18:36 |
| → shabius_ joined | 18:38 |
| ← eset_ left | 18:39 |
| ← GeraldW_ left | 18:40 |
| → jnavila joined | 18:41 |
| ← shabius left | 18:42 |
| ← inovas left | 18:42 |
| → GeraldW joined | 18:42 |
| → eset_ joined | 18:43 |
| → z|bandito joined | 18:44 |
| → inovas joined | 18:44 |
| ← irrgit left | 18:47 |
| → e joined | 18:47 |
| → jas4711 joined | 18:48 |
| ← eset_ left | 18:48 |
| ← jorj left | 18:48 |
| → jorj joined | 18:49 |
| ← cliluw left | 18:49 |
| → cliluw joined | 18:50 |
| ← Mattiaslndstrm left | 18:51 |
| ← UTAN_dev left | 18:52 |
| → eset_ joined | 18:52 |
| → j7k6 joined | 18:53 |
| → Forlorn_ joined | 18:53 |
| → UTAN_dev joined | 18:54 |
| → dsx_ joined | 18:55 |
| → yyy- joined | 18:56 |
| ← eset_ left | 18:56 |
| ← sourcream left | 18:57 |
| ← wootehfoot left | 18:59 |
| → AtumT_ joined | 18:59 |
| ← UTAN_dev left | 18:59 |
| ← xcm left | 19:00 |
| → xcm joined | 19:00 |
| → eset_ joined | 19:01 |
| → kent\n joined | 19:02 |
| ← madewokherd left | 19:02 |
| ← yyy- left | 19:02 |
| ← AtumT left | 19:02 |
| ← eset_ left | 19:06 |
| ← jiji606 left | 19:09 |
| → austinphilp joined | 19:09 |
| → eset_ joined | 19:10 |
| → muelleme joined | 19:12 |
| → AtumT joined | 19:13 |
| ← AtumT_ left | 19:13 |
| → Acelogic joined | 19:17 |
| → xaa joined | 19:19 |
| ← xcm left | 19:19 |
| → xcm joined | 19:19 |
| ← j7k6 left | 19:19 |
| ← austinphilp left | 19:19 |
| → j7k6 joined | 19:21 |
| ← j7k6 left | 19:22 |
| → yyy- joined | 19:22 |
| → j7k6 joined | 19:23 |
| ← jnavila left | 19:25 |
| ← jrnieder left | 19:26 |
| → pwhat2 joined | 19:26 |
| ← yyy- left | 19:26 |
| ← olux left | 19:27 |
| → applecrumble joined | 19:27 |
| ← ocelotsloth left | 19:28 |
| → pure-tadams joined | 19:29 |
| → ocelotsloth joined | 19:31 |
| → yyy- joined | 19:31 |
|
pure-tadams
| Is there a nice way to amend a commit's 'diff' like how it's easy to amend the message? | 19:33 |
| ← Envil left | 19:33 |
| ← yyy left | 19:35 |
| → zbandito joined | 19:35 |
|
dawik
| if its only that file diffing you could use --amend -a | 19:35 |
|
| thats what I do | 19:35 |
| → rkta joined | 19:35 |
|
dawik
| but it will amend to add all of the changes. so beware :) | 19:35 |
|
rafasc
| pure-tadams: when you amend, you're not really amending the message. | 19:36 |
|
dawik
| you are amending the head right | 19:36 |
|
rafasc
| so you can stage files, and run commit --amend. Of course that will put the changes on the HEAD. | 19:37 |
|
| if you want to place it further back, you can use git rebase --interactive, and choose 'edit' | 19:37 |
|
dawik
| nice | 19:37 |
|
rafasc
| but that will rewrite every single commit after the one you changed. | 19:37 |
| ← z|bandito left | 19:37 |
|
pure-tadams
| Yeah but that's file centric, I'd like to edit a patch file instead | 19:37 |
| → UTAN_dev joined | 19:38 |
| → sararussell8875E joined | 19:38 |
| ← polo51_ left | 19:38 |
|
pure-tadams
| So, here's a short but nasty program which does what I want, https://upaste.de/haX | 19:39 |
| ← Onionnion left | 19:41 |
| ← sararussell8875E left | 19:45 |
| ← spacesuitdiver left | 19:46 |
| → fatalhalt joined | 19:49 |
|
rafasc
| pure-tadams: git checkout -p HEAD~1; | 19:49 |
| ← muelleme left | 19:49 |
| → F4D3C0D3 joined | 19:49 |
| → muelleme joined | 19:50 |
| ← Regon left | 19:50 |
|
rafasc
| or just git checkout -p; | 19:51 |
|
| depending | 19:51 |
| → madewokherd joined | 19:53 |
| ← F4D3C0D3 left | 19:54 |
| → libertyprime joined | 20:00 |
| → spacesuitdiver joined | 20:00 |
| → hermann_nordung joined | 20:03 |
| → ThisGeekChick joined | 20:04 |
| ← seventh__ left | 20:05 |
| → finalbeta1 joined | 20:07 |
| ← ilmostro left | 20:08 |
| ← ThisGeekChick left | 20:09 |
| ← soee_ left | 20:09 |
| → pawle joined | 20:09 |
| → Guest14363 joined | 20:10 |
| → dviola joined | 20:10 |
| → seventh__ joined | 20:10 |
| ← finalbeta left | 20:10 |
| ← enriq left | 20:11 |
| → Sasazuka joined | 20:11 |
| → ilmostro joined | 20:12 |
| → TheRuckus joined | 20:12 |
| → Skarlso joined | 20:12 |
| ← Sasazuka left | 20:12 |
| ← Guest14363 left | 20:12 |
| ← m_ left | 20:12 |
| ← Skarlso left | 20:13 |
| → Mat001 joined | 20:14 |
| ← pawle left | 20:14 |
| ← TheRuckus left | 20:17 |
|
pure-tadams
| rafasc: That's nice since it is the separate patches. Can I go a step further and put all the patches into a single file which I can then edit with vi or other shell tools? | 20:19 |
|
| "git checkout -p HEAD~1 e" on all the files at once would work | 20:21 |
|
rafasc
| e? | 20:21 |
|
pure-tadams
| the manually edit hunk command | 20:21 |
| ← rwb left | 20:21 |
| ← jas4711 left | 20:22 |
|
pure-tadams
| "(echo e && cat;) | git checkout -p HEAD~1" | 20:22 |
|
rafasc
| it will still split in chunks, you rarely will get the whole thing as one patch. | 20:22 |
| → jakogut joined | 20:22 |
|
pure-tadams
| Darn | 20:22 |
|
rafasc
| nonono... huge nono. -p is meant to be used non interactively. | 20:23 |
| → dege_ joined | 20:23 |
|
rafasc
| crap, s/non// | 20:23 |
| → fragamus joined | 20:23 |
| → Mattiaslndstrm joined | 20:23 |
|
pure-tadams
| hahahaha, I've definitely scripted -p | 20:23 |
|
rafasc
| that's a terrible idea. | 20:24 |
|
| what are you trying to do really? | 20:25 |
| → aphilp joined | 20:25 |
| ← dege left | 20:26 |
|
pure-tadams
| do text editing operations on a single patch file instead of having to manage multiple files | 20:26 |
| → dpyro joined | 20:27 |
| → mobile_c joined | 20:27 |
|
pure-tadams
| (scripting -p was done in the past for other one off situations) | 20:27 |
|
rafasc
| well, then edit the diff like you're doing. | 20:29 |
|
multi_io
| looks like git checkout --theirs has a bug: https://pastebin.com/TwViDuuG | 20:29 |
|
rafasc
| instead of applying it in reverse, I would probably do it in another branch. | 20:29 |
|
multi_io
| ^^^ the ony difference between the ours and theirs file there is the line: password = "openstack-\"password" (ours) vs. password = "openstack-password" (theirs) | 20:30 |
|
| I do git checkout --theirs <file>, it keeps the "openstack-\"password". | 20:31 |
|
| double checked that --ours and --theirs are what I think they are... | 20:32 |
|
pure-tadams
| rafsc: Alright, thank you for your help | 20:34 |
| ← Noti left | 20:34 |
| → jstein_ joined | 20:34 |
| jstein_ → jstein | 20:34 |
|
rafasc
| multi_io: is this on rebase or on a merge conflict? | 20:36 |
| → enriq joined | 20:37 |
| ← enriq left | 20:38 |
| ← libertyprime left | 20:39 |
| ← pure-tadams left | 20:39 |
| ← jhaenchen left | 20:39 |
| → jhaenchen joined | 20:40 |
| dege_ → dege | 20:41 |
| ← Forlorn_ left | 20:42 |
| ← oojacoboo left | 20:43 |
| ← fragamus left | 20:43 |
| ← jhaenchen left | 20:44 |
| ← cek left | 20:48 |
| → manuelschneid3r joined | 20:49 |
| ← eset_ left | 20:50 |
| ← xcm left | 20:52 |
| → eset_ joined | 20:52 |
| ← dpyro left | 20:53 |
| → xcm joined | 20:54 |
| → dpyro joined | 20:57 |
| → enriq joined | 20:58 |
| ← aphilp left | 20:59 |
| → TheRuckus joined | 20:59 |
| → hph^ joined | 20:59 |
| ← hph^ left | 20:59 |
| → hph^ joined | 21:00 |
| ← TheRuckus left | 21:00 |
| ← hph^ left | 21:00 |
| → jnavila joined | 21:00 |
| → hph^ joined | 21:00 |
| ← hph^ left | 21:00 |
| → TheRuckus joined | 21:00 |
| ← muelleme left | 21:00 |
| → hph^ joined | 21:00 |
| ← hph^ left | 21:00 |
| → hph^ joined | 21:01 |
| ← TheRuckus left | 21:01 |
| → TheRuckus joined | 21:01 |
| → aphilp joined | 21:02 |
| ← dsdeiz left | 21:02 |
| ← zbandito left | 21:03 |
| ← theoceaniscool_ left | 21:04 |
| → codyw joined | 21:06 |
| → z|bandito joined | 21:11 |
| ← timj1 left | 21:11 |
| ← Barabacha left | 21:12 |
| → GreenJello joined | 21:13 |
| ← eset_ left | 21:14 |
| → fragamus joined | 21:14 |
| → rwb joined | 21:17 |
| → m_ joined | 21:18 |
| ← Mat001 left | 21:21 |
| ← notnull left | 21:21 |
| ← kent\n left | 21:21 |
| → Danibalhs joined | 21:21 |
| ← Danibalhs left | 21:21 |
| → notnull joined | 21:21 |
| ← notnull left | 21:21 |
| → notnull joined | 21:21 |
| → kent\n joined | 21:22 |
| → timj joined | 21:22 |
| ← AbleBacon left | 21:22 |
| ← ilmostro left | 21:25 |
| ← seventh__ left | 21:26 |
| ← wildermind left | 21:26 |
| ← elichai2 left | 21:27 |
| → seventh__ joined | 21:27 |
| ← dviola left | 21:29 |
| ← schleppel left | 21:29 |
| → ilmostro joined | 21:29 |
| ← m_ left | 21:29 |
| ← TheRuckus left | 21:30 |
| ← leeN left | 21:31 |
| → TheRuckus joined | 21:32 |
| ← jstein left | 21:32 |
| → metrixx joined | 21:32 |
| → g00s joined | 21:33 |
| ← jnavila left | 21:34 |
| ← metrixx_ left | 21:34 |
| ← Olipro left | 21:35 |
| metrixx → Guest75592 | 21:35 |
| → metrixx_ joined | 21:35 |
| ← enriq left | 21:35 |
| → Olipro joined | 21:36 |
| ← Olipro left | 21:36 |
| → Olipro joined | 21:36 |
| ← plexigras left | 21:37 |
| → Zexaron joined | 21:38 |
| ← Guest75592 left | 21:38 |
| ← yyy- left | 21:39 |
| ← metrixx_ left | 21:40 |
| ← CodeSlingerPaul left | 21:40 |
| → acercle joined | 21:40 |
| → metrixx joined | 21:41 |
| → enriq joined | 21:43 |
| ← TheRuckus left | 21:44 |
| → TheRuckus joined | 21:44 |
| ← flavius left | 21:45 |
| → gxt joined | 21:48 |
| → Celmor joined | 21:51 |
|
Celmor
| I keep getting "Problem with the SSL CA cert (path? access rights?)" when trying to clone a repo | 21:51 |
| → _ADN_ joined | 21:52 |
| → Narrat joined | 21:52 |
|
Celmor
| I did `apt-get update && apt-get upgrade` | 21:52 |
| ← novumsensum left | 21:52 |
| ← seventh__ left | 21:52 |
| ← gesker left | 21:54 |
| → dpyro_ joined | 21:54 |
| ← Mattiaslndstrm left | 21:55 |
| ← ocelotsloth left | 21:55 |
| → Mat001 joined | 21:56 |
| ← hph^ left | 21:58 |
| ← TheRuckus left | 21:58 |
| ← dpyro left | 21:58 |
| ← thorie left | 21:59 |
| ← nephyrin left | 21:59 |
| → nephyrin joined | 21:59 |
| ← shicks2525 left | 22:00 |
| → TheRuckus joined | 22:00 |
| → e_l1997_ joined | 22:04 |
| ← fragamus left | 22:04 |
| ← metrixx left | 22:04 |
|
rafasc
| Celmor: that means there's an issue with your ca certificates. | 22:04 |
| ← e_l1997 left | 22:05 |
|
rafasc
| what's the output of $curl-config --ca | 22:06 |
|
Celmor
| `$curl-config --ca`?, gives me "bash: -config: command not found" | 22:07 |
|
| there's no `curl-config` either | 22:08 |
| ← fluxAeon left | 22:08 |
|
rafasc
| you're not suposed to paste the $ | 22:08 |
|
Celmor
| well, you didn't have a space between that and the command so I thought you meant a var | 22:09 |
|
| I alo tried executing `curl-config` | 22:09 |
| ← Essadon left | 22:09 |
| → WhyNotHugobK joined | 22:10 |
| ← WhyNotHugobK left | 22:10 |
| → durham_ joined | 22:11 |
|
rafasc
| can you try to clone again with GIT_TRACE_CURL=1 GIT_TRACE=1 git ... | 22:12 |
| ← durham left | 22:12 |
| ← feksclaus left | 22:12 |
| ← chaosruler left | 22:12 |
| → feksclaus joined | 22:13 |
|
Celmor
| https://ptpb.pw/HiNX | 22:14 |
| → jstimm joined | 22:14 |
| ← greggerz left | 22:15 |
|
Celmor
| ok, looks like I didn't have ca-certificates installed for whatever reason | 22:16 |
| → ocelotsloth joined | 22:17 |
| → pr0ton joined | 22:19 |
| ← TheRuckus left | 22:19 |
| → hph^ joined | 22:19 |
| ← hph^ left | 22:20 |
| → hph^ joined | 22:20 |
| ← hph^ left | 22:21 |
| → justanotheruser joined | 22:21 |
| → hph^ joined | 22:21 |
| ← hph^ left | 22:21 |
| → hph^ joined | 22:22 |
| ← hph^ left | 22:23 |
| → hph^ joined | 22:23 |
| ← DarthRadar left | 22:31 |
| → teej joined | 22:36 |
| ← Acelogic left | 22:45 |
| ← aphilp left | 22:48 |
| ← mikecmpbll left | 22:48 |
| → aphilp joined | 22:49 |
| ← timj left | 22:50 |
| → muelleme joined | 22:51 |
|
TomyLobo
| i found a bug i think | 22:51 |
| → timj joined | 22:51 |
|
TomyLobo
| git worktree add ../foo && git rebase foo foo | 22:52 |
|
| => foo is checked out in 2 worktrees | 22:52 |
|
rafasc
| TomyLobo: git version? | 22:54 |
| → oojacoboo joined | 22:54 |
| ← inovas left | 22:54 |
| ← Celmor left | 22:54 |
| ← pr0ton left | 22:55 |
|
TomyLobo
| 2.17.0 | 22:55 |
| ← muelleme left | 22:56 |
| → inovas joined | 22:56 |
| → pr0ton joined | 22:56 |
|
TomyLobo
| fun things happen if you do that | 22:56 |
|
rafasc
| I get fatal: 'foo' is already checked out at ... using 2.19.0 | 22:57 |
|
TomyLobo
| cool | 22:57 |
|
rafasc
| let me compile 2.17.0 real quick. | 22:57 |
| ← bolovanos left | 22:58 |
|
TomyLobo
| anyway, fun things: all changes on one worktree end up as staged in reverse on the others | 22:58 |
| ← dege left | 22:59 |
|
rafasc
| TomyLobo: could not reproduce with 2.17.0 | 23:01 |
|
TomyLobo
| odd | 23:02 |
| → justinmrkva joined | 23:03 |
| ← thiago left | 23:03 |
|
TomyLobo
| did you create the repo with 2.17.0? | 23:03 |
|
rafasc
| good call. | 23:03 |
| ← jnewt left | 23:03 |
|
TomyLobo
| or with 2.19.0? | 23:03 |
|
| i'm not 100% certain it was the rebase,tbh | 23:03 |
| → Acelogic joined | 23:03 |
|
rafasc
| I tried on a existing one. | 23:03 |
|
TomyLobo
| but i have no idea what else could have cause it | 23:03 |
| ← finalbeta1 left | 23:04 |
| ← unpythonic left | 23:04 |
| → kelowb joined | 23:06 |
| ← kelowb left | 23:06 |
| → ManiacTwisternz joined | 23:06 |
| ← ManiacTwisternz left | 23:06 |
| → thiago joined | 23:06 |
| ← acercle left | 23:07 |
|
rafasc
| using rebase does checkout the last argument you give to it.. So maybe it didn't check. | 23:07 |
|
| fatal: 'foo' is already checked out at ... | 23:07 |
|
| can you reproduce it from scratch? | 23:07 |
| ← ocelotsloth left | 23:08 |
| ← DefB left | 23:10 |
| ← _ADN_ left | 23:11 |
| → Mattiaslndstrm joined | 23:11 |
| ← trip__ left | 23:12 |
| ← durham_ left | 23:13 |
| ← Mattiaslndstrm left | 23:13 |
| → DefB joined | 23:13 |
| → durham joined | 23:13 |
| ← pr0ton left | 23:14 |
| → sctskw joined | 23:14 |
| → goweol joined | 23:15 |
| ← durham left | 23:15 |
| → pr0ton joined | 23:15 |
| → durham joined | 23:16 |
| → Kaisyu joined | 23:16 |
| → dviola joined | 23:16 |
| ← applecrumble left | 23:17 |
| → Chaos_Zero joined | 23:19 |
| ← oojacoboo left | 23:19 |
| ← blizzow left | 23:20 |
| ← deltam left | 23:22 |
| ← hph^ left | 23:22 |
| ← quipa left | 23:23 |
| → hph^ joined | 23:23 |
| ← enriq left | 23:24 |
| ← hph^ left | 23:24 |
| → hph^ joined | 23:24 |
| ← hph^ left | 23:25 |
| → hph^ joined | 23:25 |
| ← hph^ left | 23:25 |
| → hph^ joined | 23:26 |
| ← hph^ left | 23:26 |
| → Sasazuka joined | 23:27 |
| → hph^ joined | 23:27 |
| ← hph^ left | 23:27 |
| ← rwb left | 23:29 |
| → Noldorin joined | 23:29 |
| ← thebope left | 23:30 |
| ← BrianBlaze420 left | 23:30 |
| → BrianBlaze joined | 23:31 |
| ← Sasazuka left | 23:33 |
| → piggah joined | 23:34 |
| ← piggah left | 23:36 |
| → wildermind joined | 23:36 |
| ← aphilp left | 23:37 |
| ← codyw left | 23:37 |
| ← spacesuitdiver left | 23:42 |
| ← Pytor left | 23:47 |
| → JimmyRcom joined | 23:49 |
| ← drodger left | 23:49 |
| ← thiago left | 23:50 |
| → Bobdude joined | 23:51 |
| ← Narrat left | 23:52 |
| → drodger joined | 23:56 |
| ← BrianBlaze left | 23:57 |
| ← thomasross left | 23:57 |
| → BrianBlaze joined | 23:58 |