IRCloggy #git 2019-01-10

Logs Search ←Prev date Next date→ Channels Documentation

Provider of IRC logs since 2005.
WARNING: As Freenode became unjoinable and lost all warnings in topics, we cannot log channels on Freenode anymore.

2019-01-10

sanscoeur left00:00
Toadisattva left00:02
foul_owl joined00:04
finalbeta left00:04
mat001 left00:04
supernovah jast: ty00:05
mat001 joined00:06
CodeSlingerPaul left00:07
mat001 left00:08
mat001 joined00:08
n000g left00:10
dfee left00:11
aw1 joined00:13
jhulten left00:13
dfee joined00:14
dslegends left00:15
jhulten joined00:16
m0viefreak left00:16
dfee left00:17
TheRuckus joined00:20
Kaisyu joined00:21
andyhuzhill joined00:22
jhulten left00:23
n000g joined00:23
causasui joined00:24
causasui I do `git merge --no-commit master`. There's a merge conflict. I fix the conflict, add the file that had the conflict, and do `git commit`. Now I have to enter a commit message. Why? I don't want a merge commit.00:24
Do I have to fix the merge conflict in advance before merging?00:25
GreenJello causasui, you have to rebase if you want to avoid the merge conflict00:25
merge commit*00:25
causasui, you need a commit that resolves the conflict, unless you rewrite history so that your local changes are modified such that there isn't a conflict, which a rebase lets you do00:26
causasui GreenJello: I've already pushed -.- I think this means I have to add another commit to resolve the conflict in advance. I don't mind figuring that out, but it will look weird in the history I think00:27
sylario left00:27
GreenJello causasui, I don't think you can do that00:28
causasui I can cherry-pick the commits out of master lol00:28
GreenJello causasui, unless you remove your local change to the file entirely by having it match what you're merging in00:28
jhulten joined00:29
GreenJello and even then, you still need a merge commit I think00:29
Boobie left00:30
GreenJello causasui, either merge and accept that there will be a commit, or rebase your changes to avoid it00:30
causasui GreenJello: don't see how rebase is an option without force pushing00:30
maybe I misunderstand what you mean00:30
GreenJello causasui, not at this point, but in the future00:30
causasui Ironically, there's no way I could anticipate this, because I'm making changes to the CI configuration so I have to push to test them00:31
GreenJello you can rebase the commits that haven't been pushed00:31
causasui but that's neither here nor there00:31
GreenJello it's always safe to do that, and doesn't require a force push00:31
but now that you pushed, you'd be rewriting the remote history, which is best to avoid00:32
causasui, the simple workflow is: try to push, it gets rejected, rebase on the remote, a push will work unless someone ninja commits while you're doing this00:33
in which case... your back at step 100:33
you're*00:33
causasui yeah I get that but thanks00:34
tbh this is all an artifact of the dumb CI system that stores its project configuration in git itself00:34
but w/e, I'll just bite this bullet, thanks00:34
jhulten left00:37
j416 rullie: I don't quite understand. Do you want to stay on A and stage the changes of B?00:38
rullie: git checkout A && git read-tree B # ?00:38
thiago joined00:39
Phylock left00:39
CheckDavid left00:40
lxk left00:43
CheckDavid joined00:45
jhulten joined00:46
jhulten left00:52
donofrio left00:52
SGrover left00:53
jhulten joined00:58
dege left00:58
TheRuckus left01:00
flying_penguin left01:00
TheRuckus joined01:03
jhulten left01:03
justan0theruser joined01:07
jhulten joined01:07
dfee joined01:07
justanotheruser left01:07
mat001 left01:09
mat001 joined01:10
mat001 left01:14
ferdna joined01:15
mat001 joined01:16
dpyro left01:16
mat001 left01:20
wildlander left01:24
\void left01:27
Bobdude joined01:32
alyptik left01:39
apragmatist_ joined01:40
orbyt_ left01:43
Zexaron left01:44
xcmGuest2103901:47
Guest21039 left01:47
xcm joined01:47
greatgatsby joined01:48
rullie j416: eh, precisely! Thanks! :D01:52
rullie googles what the hell's read tree01:52
causasui left01:53
rkazak joined01:54
veegee left01:54
redrambles joined01:56
durham left01:56
libertyprime joined01:56
Goplat joined02:00
rullie j416: git read-tree -mu is exactly what i needed02:00
is read-tree well known and i'm just under a rock?02:01
bremner it's plumbing02:01
so it depends on your definition of well known02:02
rullie guess i don't plumb enough02:03
jhulten left02:04
jnewt left02:05
andyhuzhill left02:06
libertyprime left02:07
andyhuzhill joined02:07
jakogut left02:07
orbyt_ joined02:08
andyhuzhill left02:11
andyhuzhill joined02:11
greatgatsby left02:12
rkazak left02:12
a-chymera left02:15
afidegnum joined02:16
mat001 joined02:16
afidegnum hello, i clone a repo, how do i reset all available tags and commits to 1.0.0 ?02:16
KeyJoo joined02:19
finalbeta joined02:19
dreiss joined02:20
rkazak joined02:22
KeyJoo left02:24
KeyJoo joined02:25
afidegnum exit02:25
afidegnum left02:26
royal_screwup21 left02:27
KeyJoo left02:28
alyptik joined02:34
strugee left02:35
Sasazuka left02:36
strugee joined02:42
mowcat left02:44
al-damiri left02:45
duderonomy left02:46
seni left02:46
manuels left02:46
manuelschneid3r left02:46
KeyJoo joined02:49
khisanth_ left02:50
strugee left02:50
sweatsuit left02:54
ketas left02:55
strugee joined02:56
sweatsuit joined02:57
Hathadar joined02:59
ketas joined02:59
CheckDavid left03:00
dreiss left03:01
duderonomy joined03:02
dpyro joined03:03
waveclaw left03:03
dreiss joined03:03
Essadon left03:04
R2robot left03:07
shaarad joined03:07
waveclaw joined03:08
khisanth_ joined03:08
YuGiOhJCJ left03:10
dfee left03:10
moei joined03:12
mooasaurus left03:14
mooasaurus joined03:14
unreal left03:15
boombatower left03:15
stitched_unicorn joined03:18
nowhere_man joined03:19
Mattiaslndstrm left03:20
kerframil joined03:21
shaarad left03:22
Dirak left03:25
dfee joined03:26
stitched_unicorn left03:27
freeman42x left03:28
shaarad joined03:32
thebope joined03:35
veegee joined03:35
diogenese left03:45
diogenese joined03:46
rkazak left03:48
jubal_ joined03:49
jhulten joined03:52
jubal left03:52
justan0theruserjustanotheruser03:54
rkazak joined03:54
Dirak joined03:55
sanscoeur joined03:56
shaarad left03:58
lagothrixGuest8794103:58
Guest87941 left03:58
lagothrix joined03:58
Wetmelon joined03:59
topdownjimmy left04:06
topdownjimmy joined04:06
xlued left04:08
sanscoeur left04:08
Mattiaslndstrm joined04:09
xlued joined04:09
sanscoeur joined04:10
rkazak left04:18
nowhere_man left04:20
Crell left04:22
Sasazuka joined04:23
alyptik left04:24
Pistos joined04:25
neunon left04:26
Sasazuka left04:27
Pistos Can anyone tell me how, given two repositories, to cherry-pick/rebase/whatever B's history into a subdirectory of A? Details at https://stackoverflow.com/questions/5412175204:27
neunon joined04:28
ziyourenxiang joined04:29
carb0n joined04:32
Cabanossi joined04:32
Cabanoss- left04:32
crimastergogo joined04:35
Anthaas left04:39
Anthaas joined04:40
jessica_b joined04:42
MACscr_ left04:48
midnightmagic joined04:49
ngui left04:50
ngui joined04:51
jhulten left04:51
rkazak joined04:51
dfee left04:51
cdown left04:52
dpyro left04:52
Mattiaslndstrm left04:53
dfee joined04:54
alyptik joined04:54
finalbeta left04:55
aw1 left04:55
andyhuzhill left04:56
andyhuzhill joined04:57
keepLearning512 joined04:57
duderonomy left04:58
jhulten joined04:59
pks_ joined05:02
sanscoeur left05:02
bdonnahue left05:03
pks left05:04
pks_pks05:04
ngui left05:05
ngui joined05:05
andyhuzhill left05:06
andyhuzhill joined05:06
jhulten left05:07
snowgoggles left05:07
duderonomy joined05:08
sharkboy left05:08
sharkboy joined05:08
aw1 joined05:08
aw1 left05:09
duderonomy left05:12
jubal_ left05:17
Tiyanki left05:19
ferdna left05:20
jubal joined05:20
Tiyanki joined05:21
thebope left05:21
Tiyanki left05:22
thebope joined05:22
Tiyanki joined05:22
cdown joined05:22
Tiyanki left05:23
comptroller left05:23
Tiyanki joined05:23
Sasazuka joined05:24
thebope left05:26
Sasazuka left05:28
rkazak left05:30
ngui left05:30
ngui joined05:31
pwnz0r joined05:31
mikecmpbll left05:31
andyhuzhill left05:31
andyhuzhill joined05:32
rnmhdn joined05:33
rnmhdn how can I turn a directory into a github repo?05:33
orbyt_ git init05:34
git push05:34
done05:34
RustyShackleford left05:35
ngui left05:35
ngui joined05:35
andyhuzhill left05:36
rnmhdn can you elaborate on the options?05:36
andyhuzhill joined05:36
rullie rnmhdn: when you make a new repo on github there's a short paragraph05:36
nowhere_man joined05:38
atrus Pistos: would it matter if the commits *were* the same shas, and in repo A, you'd see the actual commit adding file.txt? because if that's okay, you could add a commit to B that moves everything in B into a sub-directory B (mkdir B; git mv * B/; git commit -A -m 'move B contents into B subdir'), then add the B repo to A as a remote (git remote add B ../b/; git fetch B), and just merge that new commit in (git merge B/master), and you'd be done.05:39
dfee left05:40
ToBeFree joined05:41
ToBeFree left05:41
xcm left05:42
redrambles left05:42
rnmhdn rullie: I can't find that short paragraph05:44
xcm joined05:45
carb0n left05:45
carb0n joined05:46
rullie rnmhdn: After you click on Create repository, the entire next page is dedicated to helping you set it up05:47
can't miss it05:47
crimastergogo left05:50
craftyguy I frequently find that I am working on a branch, make many edits/commits, some of which are related to the overall spirit of the branch but should be submitted as a separate patch series (err, aka 'PR'). are there any good articles, suggestions, etc on workflows to account for this, avoid this, or generally deal with this?05:51
psprint left05:52
cdown_ joined05:52
keepLearning512 left05:52
rnmhdn I did it using https://stackoverflow.com/questions/3311774/how-to-convert-existing-non-empty-directory-into-a-git-working-directory-and-pus#3311824 and https://stackoverflow.com/questions/37937984/git-refusing-to-merge-unrelated-histories-on-rebase#3793803605:53
craftyguy Creating a new branch for each, cherry-picking relevant commits, and maintaining many of these special branches is tough. especially if the original branch which inspired them ultimately depends on those patches05:53
orbyt_ left05:54
cdown left05:54
cdown_cdown05:54
carb0n left05:59
carb0n joined06:02
Dirak left06:03
cdown left06:06
andyhuzhill left06:06
andyhuzhill joined06:07
rullie craftyguy: branch the branches?06:07
Fusl left06:07
craftyguy rullie: ok. but managing a patch series on branches of branches when a branch depends on it (and managing the branch + other branches of branches, etc) is tedious.06:09
Fusl joined06:09
craftyguy Maybe that's the way of git. I'm just curious of others have found a better way than what I currently do06:09
crimastergogo joined06:09
Dirak joined06:09
redrambles joined06:10
andyhuzhill left06:11
andyhuzhill joined06:11
cdown joined06:12
pionen joined06:12
pionen left06:13
esrse joined06:14
redrambles left06:15
Dirak left06:15
cdown left06:16
Dirak joined06:18
midnightmagic left06:19
fairuz joined06:23
fairuz left06:24
carb0n left06:26
carb0n_ joined06:26
ahmed89 left06:27
fairuz joined06:29
lamont joined06:30
ngui left06:30
netj left06:30
ngui joined06:31
netj joined06:31
midnightmagic joined06:33
ahmed89 joined06:34
fairuz left06:34
ngui left06:35
ngui joined06:35
aleph- left06:37
sanscoeur joined06:37
nowhere_man left06:38
thebope joined06:38
kjartan left06:39
sanscoeur left06:40
kjartan joined06:41
n3wborn joined06:44
Dirak left06:46
Dirak joined06:47
dfee joined06:52
stitched_unicorn joined06:52
FermiDirak joined06:53
andrzejv joined06:56
FermiDirak left06:58
Inline left06:59
keepLearning512 joined07:00
oxymoron93 joined07:02
Leopere joined07:05
redrambles joined07:06
pwnz0r left07:09
FermiDirak joined07:10
redrambles left07:11
thiago left07:12
FermiDirak left07:15
AWindowsKrill joined07:18
duderonomy joined07:20
Envil joined07:23
Envil left07:24
Xiti` joined07:25
Xiti` left07:26
Xiti left07:26
Bobdude left07:29
R2robot joined07:32
AlHafoudh joined07:33
Xiti joined07:33
jas4711 joined07:36
j416 rullie: if you actually want to merge and not just read data into the index, perhaps git-merge with --no-commit is easier to remember.07:36
(you'll have to abort the merge if you don't need the commit, of course)07:36
dreiss left07:37
eigenvalue joined07:38
z|bandito left07:41
sQVe joined07:42
cbrt64 left07:43
crimastergogo left07:44
crimastergogo joined07:44
rnmhdn how can I ignore some files?07:47
put a .ginignore next to .git07:47
or use .git/info/exclude07:47
cbrt64 joined07:47
lxk joined07:47
Goplat left07:48
mat001 left07:49
kerframil left07:50
ahmed89 left07:50
oxymoron93 .gitignore is usually tracked by repo so everyone can have the same ignore rules rnmhdn while .git/info/exclude has rules which you don't share07:51
rnmhdn I have my django db_password in a file07:52
which one should I use?07:52
there repo is public07:52
oxymoron93 exclude07:52
rnmhdn so dir is next to .git and pass.txt is in dir07:53
dreiss joined07:53
stitched_unicorn left07:53
rnmhdn I add a single line 'dir/pass.txt' to the end of exclude?07:53
oxymoron93 tho you have another option, if you wan't to make all repos on your machine to ignore that file07:53
WolfOrwell left07:54
rnmhdn that file is not in any other repo07:54
it's only in this repo07:54
oxymoron93 ok then use ./git/info/exclude and play with it, I guess dir/pass.txt should do07:55
chele joined07:55
ziyourenxiang left07:58
oxymoron93 by the way, in case you misunderstood, when you ignore some file, git will ignore it, it won't ask you to start tracking such file, etc, thus you will never share the file, git would only have information about what it is ignoring, and not about the content of ignored files, so you could have used any kind of gitignore file, but for the sake if .gi08:02
tignore changes in future, it is better to use `exclude` file08:02
jubal_ joined08:06
AWindowsKrill left08:08
AWindowsKrill joined08:08
jubal left08:09
mloskot joined08:09
sauvin left08:12
satifant left08:12
wadadli exclude?08:14
TIL08:14
sauvin joined08:17
dege joined08:19
shentino left08:20
T_UNIX joined08:20
jmd joined08:28
hahuang65 left08:29
jmd I seem to recall there is an option to rebase which updates all the timestamps of unpushed commits. Can someone remind me what that option is?08:29
satifant joined08:30
mona_x joined08:30
ngui left08:30
ngui joined08:31
oxymoron93 --ignore-date jmd08:31
check man git rebase for future reference08:31
gitinfo the git-rebase manpage is available at https://gitirc.eu/git-rebase.html08:31
jmd oxymoron93: I am aware of the man page.08:32
Thanks for the pointer anyway.08:32
jason69 joined08:35
Wetmelon left08:35
hahuang65 joined08:35
hofmann3900 joined08:38
Makaveli7 joined08:38
Dirak left08:40
andyhuzhill left08:41
andyhuzhill joined08:42
crimastergogo left08:44
thm joined08:45
ngui left08:45
crimastergogo joined08:45
ngui joined08:45
andyhuzhill left08:46
regiontog left08:46
andyhuzhill joined08:46
regiontog joined08:48
Mo joined08:51
segnior joined08:51
Makaveli7 left08:52
wyre left08:53
Mo Hi, I have a clone of a P4 repo, and continuously do git p4 sync. Now the email adresses of the remote p4 users have changed, but my local clone still has the old adresses. Where does git keep those adresses?08:53
I can't re-sync the repo from scratch, because the rev ids are not guaranteed to be stable, and I need those for an existing bug tracker..08:54
grawity each commit stores its author information in full (and it's part of the data that comprises the commit id)08:54
floppydh joined08:55
grawity it's not an external lookup like in p4 as you're describing08:55
Mo grawity: Does that mean, new commits coming from the git p4 sync those are still passing the old adresses from P4?08:55
Then I would need to check that on P4 site. But there, p4 users have all the new adresses.08:56
grawity if `git p4 sync` gets old information for *new* commits from somewhere, then it's probably cached somewhere in .git/p4* would be my guess08:56
plasticle left08:56
grawity or possibly in .git/config under [git-p4]08:57
Mo Initially was created by git p4 clone --bare //TEST@all08:57
grawity: No p4* there, config has only 3 lines in [core]08:58
wyre joined08:58
dcpc007 joined08:59
Mo I have no idea why git log still shows the old adresses.08:59
grawity do you mean it shows old addresses for *new* commits that are synced after the change, or for old ones?09:00
nowhere_man joined09:00
Mo grawity: No, new commits after new syncining.09:04
And as I don't know if users meta data are only transferred at initial clone or on every sync, I don't know if this is cached.09:05
grawity do native p4 tools on the same machine show the updated information, at least?09:05
mikecmpbll joined09:05
fairuz joined09:06
Mo Yes, they do. p4 users shows the new mail adresses09:06
eigenvalue left09:08
Mo p4 changes (like git log) doesn't show mail adresses, only internal user names.09:08
A new clone has the old adresses as well, so actually I expect the error on P4 site, need to check that first..09:10
stitched_unicorn joined09:11
Noti joined09:13
wxg joined09:14
dreiss left09:15
andyhuzhill left09:16
Mo grawity: Is there any $HOME directory cache for these things? A new clone should actually know nothing about the P4 users and fetch new ones.09:17
andyhuzhill joined09:17
andyhuzhill left09:21
andyhuzhill joined09:21
plasticle joined09:24
andyhuzhill left09:31
oojacoboo joined09:31
andyhuzhill joined09:32
fairuz left09:33
andyhuzhill left09:35
Envil joined09:36
redrambles joined09:39
crimastergogo left09:40
crimastergogo joined09:40
hussam left09:40
jmd left09:41
netj left09:43
Sasazuka joined09:44
redrambles left09:45
blackntan joined09:47
Sasazuka left09:49
ziyourenxiang joined09:51
crimastergogo left09:55
ngui left09:55
stitched_unicorn left09:55
GreenJello left09:55
ngui joined09:56
crimastergogo joined09:56
mobile_c_ joined09:56
mobile_c left09:58
wxg left10:00
planetcall|work joined10:00
Mo left10:02
Mo_ joined10:02
Mo joined10:02
a-chymera joined10:02
Zexaron joined10:05
enn_ joined10:06
jstein_ joined10:11
jstein_jstein10:11
Kaisyu left10:11
elichai2 joined10:13
oojacoboo left10:13
acidjnk joined10:14
acidjnk hello10:14
I have a modified file that got "stuck" somehow. It is not staged, and "add" does not stage it. What can I do?10:14
ngui left10:15
stitched_unicorn joined10:15
ngui joined10:15
crimastergogo left10:16
afuentes joined10:16
crimastergogo joined10:16
catsup left10:17
catsup joined10:17
Mo grawity: sry, was disconnected. Is there any caching in git when creating a new clone?10:18
catsup left10:18
oojacoboo joined10:19
catsup joined10:19
_ikke_ acidjnk: what does git status -s return?10:19
Sasazuka joined10:20
acidjnk It shows it as "M"10:21
crimastergogo left10:21
acidjnk Another strange thing: I pushed this change already yesterday, to the same branch I'm at now.10:22
crimastergogo joined10:22
_ikke_ and git ls-files --eol <filename>?10:22
stub joined10:22
acidjnk i/lf w/crlf attr/10:23
I think I fixed it just by fiddling around.10:24
stitched_unicorn left10:24
acidjnk first, I reverted the change, so nothing to stage. Then again git checkout (same branch I'm already at). Then it showed as changed again, but as reverse of what it was before. Then reverted again. Now nothing to commit, which is good.10:25
Still no idea what happened :-)10:25
Sasazuka left10:25
acidjnk thanks10:25
stub Is there standard URL format for referencing a particular branch in a repository? I've seen proto://host/path/to/repo:branch , but I don't know if there is consensus or even if it is valid (suspect : is a valid character in the repo path)10:26
_ikke_ no, there is ot10:26
not*10:26
stub ta. I'll make one up if I can't get this field split in two.10:27
keepLearning512 left10:30
clime joined10:33
clime hello, is it possible to lock git repo against writes?10:33
canton7 clime, so no other git repos can make changes to the file(s) that you lock?10:33
or so nobody can make changes in that specific git repo?10:34
clime i.e. prevent creating new commits, creating/deleting tags, ...10:34
_ikke_ clime: filesystem permissions10:34
clime canton7: i want to prevent anyone to change the state while my script is running10:34
armyriad left10:35
clime i need kind of a database transaction but git probably doesn't have it10:35
wxg joined10:36
_ikke_ clime: git does have atomic ref updates10:36
clime _ikke_: i am invoking git client several times from a script and i would the state to stay the same between the calls10:36
stub I think the best you can do is force your scripts' updates to overwrite any other changes.10:37
_ikke_ clime: right, that's not possible10:37
clime _ikke_: ok10:37
keepLearning512 joined10:37
_ikke_ clime: You could clone the repo, then you get that10:37
clime ye i have it cloned10:37
even if cloned it is still accessible for writes by other processes if they have permissions10:38
i would kind of like to have "consistent reads"10:39
qswz joined10:39
clime but it is not like i would expect somebody writing to the repo while my script is running10:40
(not like web server running multiple processes upon database)10:40
ngui left10:40
qswz What can I do? I want to strangle my coworkers because they always merge master into their fucking feature branches, instead of rebase or pull -r10:40
ngui joined10:41
clime i know there is .git/HEAD.lock but i haven't found so far something similar for tags10:41
crimastergogo left10:42
qswz I asked why, once, explaining that rebase is less work, cleaner, less duplication10:42
crimastergogo joined10:42
qswz they replied that in their previous experiences, they always agreed on merging instead of rebasing10:43
like when you learn to do something wrong, it makes sense to continue, right?10:43
mra90 joined10:43
ngui left10:45
ngui joined10:45
qswz I leanred to walk backwards, so now I keep doing it10:46
what's the problem, it works10:46
keepLearning512 left10:47
crimastergogo left10:48
yyy joined10:48
kjartan left10:49
n3wborn left10:49
wxg left10:49
armyriad joined10:49
ngui left10:50
ngui joined10:50
kjartan joined10:52
cdown joined10:53
manuelschneid3r joined10:53
finalbeta joined10:54
ngui left10:55
ngui joined10:55
rafasc joined10:56
armyriad left10:58
cdown left11:00
rafasc left11:01
DrillTherapy left11:02
igemnace joined11:05
yn joined11:07
tgunr joined11:09
jungsubk joined11:11
gxt left11:28
jungsubk left11:31
ngui left11:35
ngui joined11:36
dermoth left11:39
acidjnk left11:39
dermoth joined11:40
ngui left11:40
ngui joined11:40
redrambles joined11:41
cbrt64 left11:44
dockyyy joined11:45
redrambles left11:46
cbrt64 joined11:47
aiena joined11:49
netj joined11:50
aiena with git shallow clones can I pull to older commits and have git repo update the code to that state?11:50
or do shallow clones only allow you to work with the current and future commits11:50
jungsubk joined11:51
haasn Is there a good, *simple* tool for managing a directory of git repoositories? Basic operations should be "check for updates", "update all", "freeze / thaw specific repo"11:56
dockyyy left11:56
haasn it should require no state or configuration other than simply being inside the correct working dir11:56
(for freezing repos, you could do that inside a .dotfile of the parent dir)11:56
it should correctly handle conflicts due to unclean working directory, needing merge commits, etc.11:57
and either prompt you to merge interactively or refuse11:57
if the git repository is in a detached HEAD state, it would tell you that updates to `master` are available but warn you about the repository being detached11:58
enn__ joined11:58
haasn I could write a tool like this but I'd rather avoid reimplementing work, and I know it already exists in some domain-specific contexts (e.g. portage essentially does this for git-based overlays)11:58
seems like http://myrepos.branchable.com/ comes up11:59
enn_ left11:59
enn__enn_11:59
haasn but this already violates my requirements slightly in that it requires configuration (I need to `mr register`)12:00
bremner how is your magic dotfile not configuration?12:00
haasn bremner: it's state, not configuration; and only needed to store the state of which repository is frozen12:00
it wouldn't need to exist otherwise12:01
i.e. no "setup" required12:01
but I'm happy to drop this requirement if `mr` fulfils all of my other requirements, I suppose; since initial setup only happens once anyway12:01
and you can just for d in *; mr register $d12:01
craigo left12:02
yyy left12:02
Noti left12:03
yyy joined12:03
ngui left12:05
ngui joined12:06
haasn seems to do what I want, good enough12:06
enn_ left12:06
gxt joined12:08
mowcat joined12:09
ngui left12:10
ngui joined12:10
vlt Hello. If someone installs Git on a Windows machine, do they have automatically SSH access (and can generate an ssh pubkey, for example) or are there additional steps necessary?12:12
tchan left12:14
CodeSlingerPaul joined12:14
redrambles joined12:15
dermoth left12:17
acidjnk joined12:18
acidjnk hello12:18
No, my problem from earlier is resurfacing occasionally. It's a "crazy" file. Sometimes shows as modified, rarely as staged, often showing as diff a single line which was committed yesterday already. When I revert it, that seems to solve the problem, but then the "removal of that line" suddenly is the diff, and any commit would destroy the line, which I don't want.12:20
Last time it came back was when I did checkout -b myNewBranch12:20
redrambles left12:21
D630 joined12:22
jungsubk left12:23
KeyJoo left12:24
ngui left12:25
ngui joined12:25
R2robot left12:26
clime _ikke_: what do you think about using inotify to detect changes?12:37
_ikke_: i cannot lock ok but i can at least watch for modify changes and bail out if there is any12:38
lucasb joined12:39
redrambles joined12:40
ngui left12:40
keepLearning512 joined12:40
ngui joined12:40
SerialSmile joined12:40
Makaveli7 joined12:40
yyy left12:41
malmalmal joined12:42
GreenJello joined12:42
redrambles left12:45
esrse left12:45
ngui left12:45
ngui joined12:46
comptroller joined12:46
redrambles joined12:46
GreenJello left12:47
wxg joined12:47
clime that actually seems to be an ok approach here12:48
D630 left12:49
clime e.g. invoking inotifywait -e modify -r git will give me a modify watch for all files in "git" repo. I should be able to use this to assure that there was no change during my script processing.12:49
i don't have anything better than this anyway12:49
this is also quite fast12:49
ngui left12:50
ngui joined12:50
donofrio joined12:53
stub left12:53
ngui left12:55
ngui joined12:56
irrgit joined12:58
rafasc joined12:58
rafasc left12:58
malmalmal left12:58
ngui left13:00
ngui joined13:00
wxg left13:02
aiena left13:03
duderonomy left13:04
rafasc joined13:04
ngui left13:05
ngui joined13:06
nowhere_man left13:08
ngui left13:10
ngui joined13:10
malmalmal joined13:17
im0ndedonlaton13:21
donlatonim0nde13:23
wxg joined13:24
redrambles left13:24
ngui left13:25
kapil____ joined13:25
ngui joined13:26
howdoi joined13:29
ngui left13:30
ngui joined13:30
yyy joined13:30
al-damiri joined13:32
manuelschneid3r is git able to version file system trees without data?13:32
rafasc left13:33
xerxas joined13:33
troulouliou_div2 joined13:33
manuelschneid3r I want to track the dir structure of my personal data to monitor changes13:33
_ikke_ manuelschneid3r: afaik, no13:34
it requires blob hashes13:34
Makaveli7 left13:34
rafasc joined13:35
ngui left13:35
ngui joined13:36
gnanesh joined13:36
grawity track the output of `find ~ -ls` if that's what you want13:38
ngui left13:40
ngui joined13:40
R2robot joined13:40
Makaveli7 joined13:40
Diggsey joined13:41
gnanesh left13:42
PlasmaHH joined13:42
PEG joined13:43
tchan joined13:47
troulouliou_div2 left13:47
pks left13:48
redrambles joined13:51
flashmozzg joined13:54
flashmozzg Hello. Is there some way in Git, or perhaps in services such as GitLab, to make history rewrite smooth? I.e. to somehow notify all concerned parties and reduce the friction?13:55
ngui left13:55
redrambles left13:56
ngui joined13:56
dawik git is extendable to probably do what you want.. but innately I don't think so13:56
ableto joined13:57
flashmozzg To be specific, my situation is: I have a repo with a very limited number of developers, that needs to have it's history rewritten. It's not the problem for us, however, there are more people using it as a read-only. I wonder if there some built-in way to communicate to them the steps they need to do to reduce problems.13:57
dawik just tell them to pull with rebase13:58
PlasmaHH Hi, I am trying to get an overview of a repo with gitk and came across the case that for a commit gitk shows multiple branches (lower left pane, git diff-tree I presume) and I am a bit puzzled as to what that really means to have so many branches there, can someone enlighten me on what exactly those entries should tell me?13:58
_ikke_ flashmozzg: no, there is nothing built-in in git to communicate these kinds of things13:58
flashmozzg yeah, that's the problem: I don't know/can't efficiently communicate with the all potential users.13:58
Makaveli7 left13:59
PlasmaHH flashmozzg: I don't quite understand what you really want. have a way to email everyone who has (anonymously?) cloned that repo?14:00
flashmozzg I was hoping there was some way to reduce the friction, since simple pull could break already working things for them. it'd be perfect if there was a way to temporarily transfer them to the "old" branch or to tell the git not to try and merge diverging commits, but suggest pulling with the --rebase instead.14:00
Essadon joined14:01
flashmozzg I.e. to make git aware that there was an intentional history rewrite.14:02
redrambles joined14:03
_ikke_ flashmozzg: agree that would be nice, but there is currently nothing for that14:03
benharri aiui you'd want to email/notify the other developers, and maybe put a notice in the README.md if you've got it hosted somewhere14:04
troulouliou_div2 joined14:04
ngui left14:05
dermoth joined14:05
ngui joined14:05
flashmozzg benharri: yeah, the devs are not the problem. They are aware. The problem is undetermined amount of users that only pull the latest version of the repo and do nothing else. Some of them might have some automation scripts, so I'd really want to avoid any unexpected breakages.14:07
dslegends joined14:07
benharri i'm not aware of any way to do that apart from a note on the README or something in your release notes14:08
ngui left14:10
ngui joined14:11
kerframil joined14:11
troulouliou_div2 left14:11
[twisti] joined14:12
flashmozzg ok, thanks anyway14:13
[twisti] how can i tell git to not try to merge but instead overwrite with my stash ? scenario: i stashed some work to file A, then pulled and got a (totally changed due to autoformat) version of file A. i confirmed with the dev who checked it in that it was an accident and that there is nothing new in there. so i would like to OVERWRITE the recently pulled file A with the version i put in my stash. but git attempts14:14
to merge, which is a clusterfuck due to the auto formatting. i know i could reset to the HEAD version, but how do i reset to the stash version isntead ?14:14
veegee left14:15
flashmozzg you can use stash{N} or something like that, IRC14:15
ngui left14:15
flashmozzg instead of HEAD14:15
[twisti] oh, i can treat stash like just another remote ?14:15
ngui joined14:15
[twisti] so then something like git checkout stash -- filename ?14:16
parsnip maybe revert the autoformat first?14:17
or revert, pop, squash?14:17
flashmozzg stash@{N}14:18
dawik flashmozzg: what about stop rewriting history and stick to merges?14:18
e :|14:18
flashmozzg dawik: it had to be done. The alternatives were worse.14:19
goodafternoon joined14:19
[twisti] thanks14:21
Matze202 joined14:22
shicks2525 left14:23
rafasc left14:24
ski7777 left14:24
rafasc joined14:24
lacrymology joined14:28
ngui left14:35
ngui joined14:36
Pistos atrus: That's an interesting proposal. However, I worry that there may be overwrites or conflicts. e.g. both A and B have a package.json that is mostly unrelated.14:36
andrzejv left14:37
rafasc left14:39
smrtz joined14:39
flashmozzg left14:40
ngui left14:40
ngui joined14:40
GinoMan joined14:41
qswz left14:41
publio joined14:45
ohcibi joined14:45
malmalmal left14:48
czart joined14:49
atrus Pistos: well, if you've moved everything out of the way before merging them, there shouldn't be any conflicts.14:50
czart left14:50
goodafternoon left14:51
tomfarr left14:53
Pistos atrus: Okay, seems to be a good solution, though I was forced to use --allow-unrelated-histories . Thank you for your suggestion.14:53
atrus Pistos: glad it worked. i forgot about that flag :)14:54
Siecje joined14:55
Pistos atrus: I'll mention that I read about git-subtree in other SOF answers, and that was VERY close to what I wanted, but `git log -p ...` did not track across the "border" between the histories/repos. In contrast, your solution does, which is nice.14:55
Siecje I have a branch that is in a detached HEAD. I created a branch and made a commit. Then I created another branch and made a commit. Why is it in a detached HEAD state? This means the garbage collector will remove this branch right?14:56
jast hard to tell why it happened with no extra information14:57
!repro14:57
gitinfo [!transcript] Please paste (using https://gist.github.com/ or similar) a transcript ( https://git.io/viMGr ) of your terminal session so we can see exactly what you see14:57
boombatower joined14:57
JordanThedev joined14:58
Siecje jast: I created these branches a few days ago.14:58
Each head has a branch though.14:58
maryo joined14:59
Siecje These are only local branches.15:00
kjartan left15:00
xypnox joined15:00
oxymoron93 !detached15:00
gitinfo A detached HEAD (aka "no branch") occurs when your HEAD does not point at a branch. New commits will NOT be added to any branch, and can easily be !lost. This can happen if you a) check out a tag, remote tracking branch, or SHA; or b) if you are in a submodule; or you are in the middle of a c) am or d) rebase that is stuck/conflicted. See !reattach15:00
tombusby joined15:00
kjartan joined15:02
mra90 left15:03
ngui left15:05
ngui joined15:06
mzf left15:06
bdonnahue joined15:09
xypnox left15:10
crimastergogo joined15:10
sQVe left15:10
Hello71 left15:12
Pistos atrus: I posted your solution, and gave you credit. Thanks again. https://stackoverflow.com/a/54131590/2855815:12
crimastergogo left15:13
crimastergogo joined15:13
Hello71 joined15:15
ngui left15:15
ngui joined15:15
oxymoron93 left15:16
cdown joined15:17
d^sh_ left15:18
greggerz joined15:18
lucasb left15:19
ngui left15:20
ngui joined15:21
carb0n_ left15:21
czart joined15:22
crimastergogo left15:23
pks joined15:23
crimastergogo joined15:24
ngui left15:25
ngui joined15:25
jason69 left15:29
clime left15:30
shicks2525 joined15:32
d^sh joined15:33
cdown left15:33
TJ- joined15:36
Siecje Well I got to the commit by git checkout branch_name. Maybe I'm not in detached HEAD state? If I do git status I see HEAD detached at ...15:37
st-gourichon-f joined15:38
Tibian joined15:38
floppydh left15:40
ngui left15:40
ngui joined15:41
yyy left15:43
Makaveli7 joined15:43
ngui left15:45
Tibianad0ze15:45
ngui joined15:45
AbleBacon joined15:47
d^sh_ joined15:47
yyy joined15:48
ngui left15:50
nshp joined15:50
ngui joined15:51
spongie joined15:51
durham joined15:51
d^sh left15:51
durham left15:51
spongie I'm trying to sync a fork, added the repos as upstream, fetched upstream, but im not getting the branches.15:52
branch -r shows a lot of remote branches im not getting locally. i dont understand exactly how this is supposed to work, any hints?15:53
canton7 !local-branch-from-remote15:53
Wetmelon joined15:53
canton7 !local_branch_from_remote15:54
gitinfo The following commands are all equivalent, assuming <branch> doesn't yet exist: 'git checkout -b <branch> <remote>/<branch>', 'git checkout -t <remote>/<branch>', 'git checkout <branch>'. The latter invokes some magic.15:54
canton7 https://git-scm.com/book/en/v2/Git-Branching-Remote-Branches15:54
spongie, ^15:54
thiago joined15:57
Dougie187 joined15:58
crimastergogo left15:59
crimastergogo joined15:59
cdown joined16:00
ngui left16:00
ngui joined16:00
spongie canton7: thanks!16:01
spongie left16:01
st-gourichon-fid joined16:01
fission6 joined16:02
st-gourichon-f left16:02
ad0ze left16:03
nicoulaj left16:03
nicoulaj joined16:08
GinoMan2440 joined16:11
psprint joined16:12
psprint Huh, just reading apply/am/format-patch docs for the first time, great tools16:12
ozcanesen joined16:14
GinoMan left16:14
fission6 whats the best way to approach this, two months ago there was a commit which deleted about 8 files. I want to restore the files in a specific new folder, I have the commit, how can i pop these files into the new folder, they are all in one folder so i need to basically grap the folder and restore into a new folder16:17
canton7 fission6, 'git show <commit>^:path/to/file1 > path/to/new/file1', will do it file-by-file16:18
I'm not aware of a way to do all the files in one go which restores into a different folder16:18
'git checkout <commit>^ -- path/to/folder' will restore the whole folder into the same place16:18
rnmhdn left16:19
acidjnk left16:19
fission6 let me just do that last one and i can maually clean up once "out of git"16:19
why do i need commit ^16:20
why the ^16:20
canton7 it refers to the first parent of the specified commit. Since the commit removed the files, the commit just before will have the files in16:21
GreenJello joined16:21
Inline joined16:22
logithack left16:22
nixdork left16:22
fission6 i see16:22
im0nde Hi, can anybody tell me how to do a post-receive git-hook in gitea that notifies wathcers about a new push?16:22
fission6 let me try thanks canton716:22
canton7 im0nde, one of the built-in examples sends an email iirc?16:22
ColdKeyboard joined16:22
im0nde canton7: Build in examples?16:23
AtumT joined16:23
canton7 im0nde, look in .git/hooks, there are hooks ending in '.sample'16:23
timothywcrane joined16:23
dreiss joined16:24
canton7 im0nde, ah, not quite. From man githooks: "The default post-receive hook is empty, but there is a sample script post-receive-email provided in the contrib/hooks directory in Git distribution, which implements sending commit emails.16:24
gitinfo im0nde: the githooks manpage is available at https://gitirc.eu/githooks.html16:24
canton7 im0nde, here: https://github.com/git/git/blob/master/contrib/hooks/post-receive-email16:24
ah, looks like this replaces it: https://github.com/git/git/tree/master/contrib/hooks/multimail16:25
mat001 joined16:25
d^sh_ left16:25
GreenJello left16:25
cswl joined16:28
Nexilva joined16:28
chele left16:29
Nexilva Hello, it is possible when you do 'git status' that it doesn't tell you about untracked files? I have setup git in my ~ home directory, and I've added a few config .dotfiles, and I when I do git status, it showed me all the other files in my home directory which are not tracked.16:29
Thank you!16:29
_ikke_ Nexilva: add * to .gitignore16:29
mat001 left16:29
crimastergogo left16:30
Nexilva https://stackoverflow.com/questions/11542687/git-how-to-ignore-all-present-untracked-files is this an applicable workaround?16:31
To use git status -uno intead?16:31
_ikke_ \sure16:31
Nexilva Ok, now I know two. Thank you. I did the ignore bit.16:32
thebope left16:33
ngui left16:35
ngui joined16:36
nuc left16:37
nuc joined16:39
ziyourenxiang left16:39
ngui left16:40
ngui joined16:40
CheckDavid joined16:40
mat001 joined16:41
ngui left16:45
ngui joined16:46
orbyt_ joined16:46
GinoMan joined16:46
howdoi left16:49
\void joined16:49
sanscoeur joined16:49
GinoMan2440 left16:50
ngui left16:50
ngui joined16:50
nixdork joined16:54
GreenJello joined16:55
ngui left16:55
PlasmaHH left16:55
SerialSmile left16:55
ngui joined16:56
logithack joined16:56
crimastergogo joined16:58
GreenJello left16:59
ngui left17:00
ngui joined17:00
flashmozzg joined17:00
flashmozzg is there a flag/option to add a remote if it's not already added?17:01
So it doesn't complain on successive applications?17:01
dreiss left17:01
Hathadar left17:01
CheckDavidCryptoDavid17:01
shentino joined17:03
mat001 left17:05
osse flashmozzg: Sounds harmless. You can probably just silence it.17:05
Alternatively git config --get remotes.foo || git remote add foo... Etc17:06
--get remote.foo.url17:07
flashmozzg osse: ok, I just don't want some real error to slip through17:08
khisanth__ joined17:09
d^sh joined17:09
shentino left17:10
kaeptmblaubaer joined17:10
nowhere_man joined17:10
ngui left17:10
shentino joined17:10
ngui joined17:11
jhulten joined17:12
thebope joined17:13
khisanth_ left17:13
dreiss joined17:16
mat001 joined17:17
orbisvicis left17:17
keepLearning512 left17:18
ngui left17:20
ngui joined17:20
sanscoeu_ joined17:23
mona_x left17:24
dreiss left17:24
leeN joined17:25
sanscoeu_ left17:25
kapil____ left17:25
keepLearning512 joined17:25
ngui left17:25
ngui joined17:26
jakogut joined17:26
sanscoeur left17:27
Revan- joined17:27
GreenJello joined17:27
bdonnahue1 joined17:31
bdonnahue left17:31
flashmozzg left17:33
GreenJello left17:33
dviola joined17:34
durham joined17:35
durham left17:36
sanscoeur joined17:38
crimastergogo left17:38
crimastergogo joined17:38
ngui left17:40
ngui joined17:40
pwnz0r joined17:41
pwnz0r left17:43
crimastergogo left17:43
crimastergogo joined17:43
orbyt_ left17:45
sanscoeur left17:45
mikecmpbll left17:46
kerframil left17:48
kerframil joined17:49
rullie what would cause git merge-base --fork-point A B to return nothing when git log clearly shows A and B fokred at C?17:50
gruetzkopf joined17:51
zulutango left17:51
smrtz left17:52
zulutango joined17:52
ngui left17:55
ngui joined17:56
mat001 left17:57
mat001 joined17:57
mikecmpbll joined17:58
crimastergogo left18:01
mat001_ joined18:01
mat001 left18:02
khisanth__Khisanth18:02
kaeptmblaubaer left18:02
bdonnahue1 left18:05
ngui left18:05
ngui joined18:05
keepLearning512 left18:06
wootehfoot joined18:06
fission6 left18:06
bdonnahue joined18:06
lacrymology left18:07
jhulten left18:11
mitchellsalad__ joined18:12
jhulten joined18:12
orbyt_ joined18:15
kroon joined18:16
jstimm joined18:19
bdonnahue1 joined18:22
bdonnahue left18:22
gkatsev left18:23
paraxial left18:23
kroon Does Paul Mackerras hang around in here ? Is there a special ml for sending gitk patches ?18:23
manuelschneid3r left18:24
ngui left18:25
ngui joined18:26
blackntan left18:27
cdown left18:30
ngui left18:30
ngui joined18:30
cdown joined18:30
kezimo joined18:31
yyy left18:34
Tibian_ joined18:36
orbyt_ left18:37
causasui joined18:38
d^sh_ joined18:38
causasui I can set an alias to '!$@' to execute a command at the root of the repo. but it looks like that's in a subshell that doesn't inherit aliases and env vars and so on. is there any way around that?18:38
kezimo left18:38
causasui do I have to do something like '!bash --login -c "$@"'18:39
(I did try that, it didn't behave differently)18:39
T_UNIX left18:40
Tibian_Tibian18:41
d^sh left18:41
Tibianad0ze18:41
Mattiaslndstrm joined18:42
nedbat causasui: can you show the alias?18:42
mooasaurus left18:42
mooasaurus joined18:42
causasui nedbat: currently it's `git config --global alias.exec '!$@'` but I've tried a couple versions18:42
nedbat causasui: I don't understand what !$@ means? Whose syntax is that?18:43
causasui nedbat: mine, I'm just messing around. I saw that '!' executes what follows at the root dir of the repo you're in. I use that in a few other aliases (which work fine), but I had the idea to turn it into something more generic18:45
RichiH 5918:50
sorry18:50
wildlander joined18:50
nedbat causasui: it's not your syntax, you are expecting git to do things based on ! and $@. The git docs say that ! means the rest is a shell command, rather than a git command, and they will execute at the root of the repo. What did you expect $@ would do?18:53
orbyt_ joined18:53
virmaha joined18:54
qqx left18:55
qqx joined18:55
mat001 joined18:55
planetcall|work left18:55
sanscoeur joined18:55
virmaha Hello. I've a git repo and say i always work on branch proj_64. i then created another branch from it, called proj_32. Whenever, I make a new commit to proj_64, I want same to be present on proj_32 branch18:56
how can i do that? right now, i am manually cherry-picking the commit18:56
causasui nedbat: Exactly what you just said...18:58
nedbat causasui: I didn't say what $@ would do?18:58
virmaha: how do you want the branches to differ?18:58
mat001_ left18:59
causasui nedbat: I expect that $@ would interpolate whatever arguments came after the alias. Which is what happens. But it looks like it's executed in a subshell (so my shell aliases don't work etc18:59
jrnieder joined18:59
d^sh_ left18:59
nedbat causasui: right, it's definitely executed in a new shell19:00
Dougie187 left19:00
nedbat causasui: sorry, i don't know how to make it more seamless19:00
causasui np, thanks anyhow19:00
virmaha nedbat: only in their name19:02
nedbat virmaha: hmm, why? What's the point of have two branches that are always identical?19:02
orbyt_ left19:03
virmaha nedbat: internal infrastructure restrictions19:04
timothywcrane left19:04
Dirak joined19:04
Nexilva left19:05
Narrat joined19:05
GreenJello joined19:06
manuelschneid3r joined19:07
nedbat virmaha: no need to cherry-pick, you can just make them refer to the same commit.19:10
virmaha nedbat: how?19:10
nedbat virmaha: git checkout proj_32; git reset --hard proj_6419:10
orbyt_ joined19:10
virmaha nedbat: btw proj_32 has 3 submodules which further have 5 submodules each. Still, it should be fine, right19:11
yyy joined19:11
virmaha proj_64*19:11
nedbat virmaha: i have never used submodules19:11
virmaha okay19:11
blackntan joined19:12
wadadli is there a quick cmd to find the banch/commit id that is the parent of my current branch?19:13
jstimm left19:13
nedbat wadadli: what do you mean by parent?19:17
snowgoggles joined19:20
throwceecee joined19:20
WolfOrwell joined19:21
Mattiaslndstrm left19:23
Mattiaslndstrm joined19:25
pwnz0r joined19:26
profmac left19:27
orbyt_ left19:27
pwnz0r left19:28
elichai2 left19:30
czart left19:31
MACscr joined19:31
hofmann3900 left19:31
aleph- joined19:31
czart joined19:33
carb0n_ joined19:37
maryo_ joined19:38
profmac joined19:40
lacrymology joined19:40
PocketKiller joined19:40
maryo left19:42
Sasazuka joined19:43
tomaw left19:43
tomaw joined19:44
ngui left19:45
throwceecee left19:46
d^sh joined19:48
ngui joined19:50
leeN left19:50
j416 webstrand: git log -1 --format=fuller19:51
will show all parent hashes of a commit, iirc19:51
mm nope, I am lying, sorry19:52
webstrand: git log -1 --format=raw19:53
carb0n_ left19:55
fission6 joined19:55
mat001 left19:57
greggerz left19:57
jas4711 left19:58
mat001 joined20:01
Phylock joined20:03
GinoMan2440 joined20:04
gxt left20:06
mat001 left20:06
n3wborn joined20:06
Envil left20:07
GinoMan left20:07
jnewt joined20:07
czart left20:09
duderonomy joined20:11
carb0n_ joined20:12
al-damiri left20:12
im0nde left20:13
ableto left20:13
carb0n_ left20:19
snowgoggles left20:19
mrCyborg|zzzmrCyborg20:19
LionsMane left20:20
webstrand j416: I think you meant wadadli20:26
j416 ah, indeed. apologies, webstrand.20:27
im0nde joined20:27
snowgoggles joined20:29
lacrymology can someone help me re-apply a stash that was already dropped?20:33
ah,found it20:34
ngui left20:35
ngui joined20:35
gxt joined20:36
scarcry_ joined20:38
mat001 joined20:38
ngui left20:40
ngui joined20:40
j416 how'd you find it?20:43
scarcry_scarcy20:43
scarcy left20:43
blackntan-airboo joined20:44
Matze202 left20:44
bn_work joined20:44
tango_ probably rolled under the sofa20:45
j416 nod20:45
ngui left20:45
scarcry_ joined20:45
Fernando-Basso joined20:46
troulouliou_div2 joined20:49
ngui joined20:50
spacesuitdiver joined20:51
fission6 left20:51
scarcryGuest1458720:52
scarcry_scarcry20:52
troulouliou_div2 left20:55
cbrt64 left20:55
cbrt64 joined20:56
bdonnahue1 left20:57
bdonnahue1 joined20:57
goiko joined20:58
fission6 joined20:58
fission6 left20:58
CryptoDavid left21:00
goiko hi, i am using git with some submodules, commit some changes within the submodule and want to push it to the remote.21:01
Mattiaslndstrm left21:05
ad0ze left21:14
fission6 joined21:14
PocketKiller left21:15
unbearable joined21:21
WolfOrwell left21:23
freeman42x joined21:23
al-damiri joined21:24
causasui goiko: yes?21:25
m0viefreak joined21:30
ngui left21:30
Diggsey left21:31
snowgoggles left21:32
iam730 left21:35
ngui joined21:35
gini joined21:36
goiko causasui, sry, HEAD was detached, now I get it21:37
cbrt64 left21:39
cbrt64 joined21:39
igemnace left21:40
gini left21:40
bongozig joined21:41
greatgatsby joined21:41
shakalaka joined21:46
blacknta_ joined21:49
snowgoggles joined21:50
blackntan-airboo left21:50
blacknta_ left21:50
goiko causasui, i forget that i had to checkout the master in the submodule and also pull before commit and push21:54
orbyt_ joined21:56
TJ- left22:02
Siecje left22:03
sourcream joined22:03
iam730 joined22:05
shabius left22:06
shabius joined22:07
cswl left22:08
jsatk_ left22:08
LVK267 joined22:09
stux|RC joined22:09
rick8024 joined22:09
worstadmin joined22:10
cswl joined22:10
fowlduck joined22:10
bl0m1 joined22:10
ngui left22:10
jsatk__ joined22:10
fury joined22:10
ngui joined22:11
rsaanon joined22:11
KnoP left22:11
SleePy joined22:11
blackntan-airboo joined22:11
rsaanon left22:12
rsaanon joined22:13
ngui left22:15
rick8024 left22:15
ngui joined22:15
gruetzkopf left22:17
j416 goiko: typically you would work in the original repo of the submodule and then fetch changes into the repo that has the submodule when needed22:17
mat001 left22:19
KnoP joined22:20
goiko j416, sure that is right but i need it in my (main) project, so I can change it directly in the submodules22:22
fission6 left22:22
goiko just to skip that step22:23
fission6 joined22:23
j416 sometimes that is an indicator that it shouldn't be a submodule (though I don't know your project, of course)22:25
mat001 joined22:25
AtumT left22:25
Mattiaslndstrm joined22:30
goiko good point22:30
Toadisattva joined22:37
ozcanesen left22:37
orbyt_ left22:42
TJ- joined22:43
roygbiv joined22:44
jhulten left22:46
jhulten joined22:47
Nexilva joined22:52
cswl left22:57
Olipro left22:57
escherial joined22:57
Olipro_ joined22:57
Olipro_Olipro22:57
sourcream left22:58
blackntan-airboo left22:58
jakogut left23:02
brandonkal left23:03
acercle joined23:03
fission6 left23:06
wootehfoot left23:08
n3wborn left23:08
AbleBacon left23:11
publio left23:12
orbyt_ joined23:12
unbearable left23:13
escherial left23:14
Makaveli7 left23:14
courrier joined23:14
bubo joined23:14
escherial joined23:15
jelmer left23:15
jstein left23:16
jelmer joined23:16
goiko left23:17
bdonnahue1 left23:17
sanscoeur left23:18
Kaisyu joined23:20
oojacoboo left23:20
Fernando-Basso left23:21
acercle left23:23
acercle joined23:24
snowgoggles left23:25
roygbiv left23:27
kerframil left23:27
yyy left23:27
mat001 left23:30
TimWolla left23:33
goiko joined23:33
jhulten left23:33
spacesuitdiver left23:33
RoriconKnight joined23:34
mat001 joined23:35
jhulten joined23:35
jhulten left23:38
maryo_ left23:39
TimWolla joined23:39
jhulten joined23:43
jakogut joined23:43
escherial left23:45
courrier left23:45
courrier joined23:45
escherial joined23:45
jelmer left23:45
jelmer joined23:46
ahf left23:47
orbyt_ left23:50
CodeSlingerPaul left23:51
greatgatsby left23:51
cd joined23:52
rsaanon left23:52
orbyt_ joined23:55
spacesuitdiver joined23:58
rsaanon joined23:58
snowgoggles joined23:59
spacesuitdiver left23:59
ahf joined23:59

Logs Search ←Prev date Next date→ Channels Documentation