IRCloggy #git 2016-04-24

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.

2016-04-24

_rht left00:00
stevenbenner left00:03
lindenle_ left00:03
lindenle joined00:03
bronson joined00:04
fahadash joined00:05
_wwwBukoLaycom left00:05
rolha joined00:06
mwhooker left00:06
Saklovich joined00:08
bronson left00:08
iMiiTH left00:08
Saklovich My website pulls from the master branch on the local repo. I have pushed to master branch and the commit is showing in the log, but the changes are not reflected on the site. It is not a cache issue. Any ideas what the problem may be?00:09
Redfoxmoon joined00:09
Redfoxmoon left00:09
cdg left00:09
Rodya_ joined00:09
kadoban Saklovich: That would really depend how you're doing the deployment. By the way, git really isn't a deployment tool ...00:10
dm7freek Saklovich: how often does the website/server pull?00:10
gitinfo set mode: +v00:10
joejoe hello all00:10
cdg joined00:10
Not_Whatever2 left00:12
fscala left00:13
Hello71 !deploy00:13
gitinfo Git is not a deployment tool, but you can build one around it (in simple environments) or use it as an object store(for complex ones). Here are some options/ideas to get you started: http://gitolite.com/deploy.html00:13
kadoban joejoe: hello00:14
dm7freek Hello71: is the gitinfo OSS?00:14
gitinfo bot*00:14
kadoban I don't think so, but I believe there's a way to edit its triggers. Why?00:14
fscala joined00:15
Rodya_ left00:15
wxg left00:17
victortyau left00:17
iMiiTH joined00:17
dm7freek kadoban: just curious... i have a small python irc bot, nothing special, that i dont use much, and i have yet to come across one that is actually used that is python based00:18
kadoban Ahh. Yeah I'm not sure if it lists what it's based on00:18
Padawan_ left00:19
SwiftMatt joined00:19
hyperdrive left00:19
Padawan_ joined00:19
kadoban dm7freek: Oh it does, and it is OSS apparently, but it's in perl: https://jk.gs/git/bot/ (at the bottom)00:19
ahmedelgabri left00:20
fedexo joined00:21
dm7freek ah, interesting00:21
sergio1234 joined00:27
joako left00:28
joako joined00:28
griotspeak left00:29
staticshock left00:30
afuentes left00:32
mwhooker joined00:34
mischat joined00:36
sergio1234 left00:36
Rodya_ joined00:36
Rodya_ left00:38
Rodya__ joined00:38
joe9 joined00:39
joejoe how do i add the openweatherapi to my library>00:40
staticshock joined00:41
xaa joined00:41
joe9 need some advise, please? I have git installed with a prefix of /mnt/ on the remote machine. From here, I am trying to do "git clone ssh://<remote connection params>:/mnt/dir/ ./", but, git is not able to find the remote git executables.00:41
mischat left00:42
avarsh left00:42
joe9 I tried setting --upload-pack=/mnt/usr/bin/git-upload-pack, but, git complains about not find pack-objects next.00:42
Is there any way to tell git to use a different remote location to search for its executables?00:43
tristanp joined00:43
joe9 http://codepad.org/ejc93ITT is the actual error00:43
griotspeak joined00:43
droids___ left00:47
tristanp left00:47
rbern left00:48
Es0teric left00:49
Durin_ joined00:51
jeffreylevesque joined00:52
Not_Whatever2 joined00:54
cagmz left00:54
Durin_ left00:55
cdg left00:57
AndroidVaan joined00:58
jeffreylevesque_ joined00:58
jeffreylevesque left00:58
myme left01:00
nilg left01:04
rkazak joined01:05
Gloomy left01:07
Bruce_ left01:08
acton left01:13
denimsoft joined01:14
acton joined01:14
mwhooker left01:14
jeffreylevesque_ left01:16
jmpp left01:16
rkazak left01:17
mwhooker joined01:17
boombatower left01:17
dreiss left01:17
diegoaguilar joined01:19
Padawan joined01:20
Padawan_ left01:20
Goplat joined01:21
Bruce_ joined01:24
Noldorin left01:24
lindenle left01:25
lindenle joined01:25
rolha left01:27
rolha joined01:27
gitinfo set mode: +v01:29
Xaratas left01:34
lindenle_ joined01:34
lindenle left01:36
mischat joined01:37
mwhooker left01:38
mwhooker joined01:38
ome joined01:41
joki left01:41
lindenle_ left01:42
lindenle joined01:42
polyzen left01:44
ojdo left01:45
polyzen joined01:46
jaguarmagenta joined01:47
joki joined01:47
joako left01:50
cdg joined01:51
jaguarmagenta left01:52
lindenle_ joined01:52
lindenle left01:52
joako joined01:52
ojdo joined01:52
thiago left01:52
pks left01:53
pks joined01:54
fedexo left01:56
wgrant joined01:57
cyphase left01:58
griotspeak left01:58
Rodya__ left01:59
Rodya_ joined02:00
jstimm joined02:01
rolha left02:02
nadare left02:04
Rodya_ left02:04
bronson joined02:06
arescorpio joined02:08
lindenle_ left02:10
bronson left02:10
lindenle joined02:11
fahadash left02:12
ncd|leeN left02:12
AndroidVaan left02:12
jmpp joined02:12
cyphase joined02:12
spriz left02:15
lindenle left02:18
lindenle joined02:18
mwhooker left02:18
rkazak joined02:19
mwhooker joined02:20
spriz joined02:20
userx left02:22
userx joined02:23
ffio left02:23
rkazak_ joined02:24
rkazak left02:24
rkazak_rkazak02:24
tristanp joined02:25
ffio joined02:25
cyphase left02:27
wgrant left02:28
neonKow joined02:28
sanketdg joined02:28
The_Phoenix joined02:32
lindenle_ joined02:32
johnwhitton left02:32
lindenle left02:33
PadawanGuest7223402:33
Padawan_ joined02:33
_rht joined02:34
AndroidVaan joined02:34
AndroidVaan left02:34
AndroidVaan joined02:34
dreiss joined02:34
Guest72234 left02:35
staticshock left02:35
wgrant joined02:37
juvenal left02:41
cyphase joined02:41
bitkiller left02:47
staticshock joined02:49
denimsoft left02:49
ygeLN_ joined02:51
tristanp left02:54
BenderRodriguez left02:55
ygeLN joined02:55
hexagoxel left02:56
ygeLN_ left02:56
Sleepy63 joined02:56
hexagoxel joined02:57
durham_ joined02:59
jmpp left03:00
gluytium joined03:01
durham left03:01
chachasmooth left03:01
madewokherd left03:01
mellernoia left03:03
chachasmooth joined03:03
BenderRodriguez joined03:05
BenderRodriguez left03:05
user083 left03:06
BenderRodriguez joined03:06
itzme joined03:07
joejoe ndroid:id="@+id/editText"03:08
android:hint= @String/"Number1"03:08
android:layout_below="@+id/textView2"03:08
Whats wrong with the @string line03:08
Peng_ What? The "S" is capitalized and shouldn't the " be farther to the left?03:08
rewt not sure where that's from, but my guess is that the " is in the wrong place03:09
itzme left03:09
Goplat left03:09
joejoe hold on ill get you a glist03:09
joe9 left03:10
joejoe <script src="https://gist.github.com/anonymous/0df4f70ab3dd6422cb1de7a8c33e9db6.js"></script>03:10
https://gist.github.com/anonymous/0df4f70ab3dd6422cb1de7a8c33e9db603:11
tinajohnson___ joined03:11
rewt how is this related to git?03:12
cagmz joined03:12
joejoe what is this chat room really for?? i must be using ir wrong. where are all these people that are supposed be on here03:13
Eugene !offtopic03:13
gitinfo From the #git website: it's okay to talk about anything (within general limits of reason), as long as you don't get in the way of people talking about on-topic things (mainly questions about git and using git). Accordingly, please consider pausing off-topic discussions to help people having trouble with git (if any).03:13
joejoe you right wrong topix03:13
PryMar56 left03:13
Eugene Feel free to ask whatever you want, but we don't have to answer ;-)03:13
joejoe very well good day to you.03:13
rewt if the answers you got so far don't work for you, you might get better answers in a channel for whatever that is from03:14
Eugene Try #android-dev or friends03:14
joejoe is that on freenode eugene?03:15
Eugene I haven't been there in years, no idea03:15
joejoe i dont even know how to get there03:15
Peng_ Similar to how you got here.03:17
johnwhitton joined03:18
joejoe i found the channel but it will not let me connect to it. i feel like im going at this all wrong03:20
userx left03:21
SuperflyR6 joined03:21
jmpp joined03:23
rkazak left03:26
voice_of_me joined03:29
bgamari joined03:29
sdothum left03:30
bgamari left03:31
jmpp left03:32
stantonk joined03:32
bgamari joined03:33
italoacasas left03:34
rkazak joined03:36
stantonk left03:37
aidalgol left03:44
SwiftMatt left03:45
jaguarmagenta joined03:48
SwiftMatt joined03:49
tristanp joined03:50
tristanp left03:51
CheckDavid left03:52
jaguarmagenta left03:52
diego1 joined03:53
diego1 left03:54
diego1 joined03:54
kolobyte left03:54
diegoviolaGuest8154803:54
diego1diegoviola03:55
kolobyte joined03:55
kolobyte left03:55
kolobyte joined03:55
Guest81548 left03:57
jmpp joined04:02
rkazak left04:03
Cabanossi left04:04
Tylak left04:04
mischat left04:05
Cabanossi joined04:06
fahadash joined04:06
bronson joined04:08
bronson left04:12
boombatower joined04:15
Goplat joined04:15
MattMaker left04:16
mylord joined04:16
coredump|br left04:19
voice_of_me left04:21
m0j0 joined04:22
fscala left04:25
gsingh joined04:27
fscala joined04:27
Sleepy63 left04:27
Sleepy63 joined04:29
SebastianFlyte joined04:32
lindenle joined04:33
stantonk joined04:33
lindenle_ left04:33
The_Phoenix left04:33
joejoe left04:33
timmu left04:35
timmu joined04:36
durham_ left04:36
ome left04:38
The_Phoenix joined04:40
The_Phoenix left04:42
languitar joined04:47
arescorpio left04:48
vigilancer joined04:49
vigilancer left04:49
phaleth joined04:50
crameth joined04:55
crameth left04:55
crameth joined04:56
crameth left04:56
BenderRodriguez left04:56
tristanp joined04:58
Cabanossi left05:01
fedexo joined05:01
MattMaker joined05:01
Cabanossi joined05:04
MattMaker left05:05
BenderRodriguez joined05:07
tristanp left05:09
SwiftMatt left05:10
slappymcfry joined05:12
stevenbenner joined05:12
cdg left05:12
jmpp left05:12
cagmz if i have a directory "foo" with a .git inside, can I create a copy of "foo" called "bar", make commits to "bar", and later rename it "foo" if I want to? without losing commits05:13
diegoaguilar left05:16
skered I would recommend reading git-branch05:16
m0j0 left05:17
SwiftMatt joined05:21
diegoviola left05:21
OneSploit left05:26
justanotheruser left05:27
tristanp joined05:28
SebastianFlyte left05:32
staticshock left05:32
nevodka joined05:32
tristanp left05:32
Bruce_ left05:35
tristanp joined05:35
ffio left05:37
tristanp left05:37
ffio joined05:38
voice_of_me joined05:42
ffio left05:43
radsy joined05:45
ffio joined05:46
timvisher left05:46
timvisher joined05:47
sarbs left05:48
Bruce_ joined05:48
jaguarmagenta joined05:48
stantonk left05:50
jaguarmagenta left05:53
ffio left05:54
ash_workz left05:57
Bruce_ left05:58
mariuscc joined05:58
Es0teric joined06:00
mischat joined06:00
lindenle_ joined06:02
lindenle left06:03
The_Phoenix joined06:03
dreiss left06:03
mischat left06:05
MattMaker joined06:06
SwiftMatt left06:08
rkazak joined06:08
FireArrow133 joined06:09
bronson joined06:09
MattMaker left06:10
rkazak left06:13
The_Phoenix left06:14
discopatrick left06:14
bronson left06:14
radsy left06:15
lindenle joined06:15
lindenle_ left06:15
The_Phoenix joined06:16
The_Phoenix left06:17
rkazak joined06:17
lindenle_ joined06:17
The_Phoenix joined06:17
The_Phoenix left06:18
The_Phoenix joined06:18
The_Phoenix left06:18
The_Phoenix joined06:18
lindenle left06:19
tristanp joined06:20
stantonk joined06:20
nilg joined06:20
dreiss joined06:20
andrew_ joined06:21
timvisher left06:22
The_Phoenix left06:23
timvisher joined06:23
lindenle joined06:29
lindenle_ left06:31
wrouesnel1 left06:31
lucasem joined06:33
CEnnis91 left06:36
nilg left06:36
lindenle_ joined06:36
albioner joined06:37
lindenle left06:38
ffio joined06:38
circ-user-m8dfI joined06:39
lindenle_ left06:43
johnwhitton left06:43
groton joined06:44
GT4066 joined06:45
boombatower left06:47
BenderRodriguez left06:48
cagmz left06:48
atulhjp joined06:50
fris joined06:51
userx joined06:52
SebastianFlyte joined06:56
fris left06:57
dreiss left06:59
thiago joined06:59
atulhjp_ joined06:59
atulhjp left06:59
mischat joined07:01
fahadash left07:02
jmpp joined07:06
mischat left07:06
Fijit joined07:10
apprentice joined07:10
atulhjp joined07:11
atulhjp left07:11
zeRez joined07:12
atulhjp_ left07:13
groton left07:13
afuentes joined07:14
zeroed joined07:17
jaguarmagenta joined07:17
David1977 joined07:21
The_Phoenix joined07:22
jagob left07:22
vdv joined07:23
a_thakur joined07:23
nadare joined07:23
SuperflyR6 left07:24
teresko joined07:28
staticshock joined07:29
dopesong joined07:29
MattMaker joined07:30
klear joined07:32
simpbrain left07:32
staticshock left07:34
stantonk left07:34
elastix joined07:36
jaguarma_ joined07:37
jaguarmagenta left07:39
zeroed left07:42
neonKow left07:42
nnyk joined07:43
thiago left07:44
radsy joined07:45
rkazak left07:46
SteffanW joined07:47
pantsman- joined07:49
neonKow joined07:50
kaiza left07:51
dopesong left07:52
mablae joined07:53
Gloomy joined07:58
emPi joined07:58
nnyk left07:59
simpbrain joined07:59
mischat joined08:02
Jackneill joined08:05
mischat left08:07
neonKow left08:08
Kicer86 joined08:08
duderonomy left08:10
bronson joined08:11
zeRez left08:13
Anderson69s_Deb joined08:14
jaguarmagenta joined08:14
duderonomy joined08:15
bronson left08:16
jaguarma_ left08:16
SteffanW left08:17
Goplat left08:17
a_thakur left08:17
klear left08:17
nevodka left08:18
jaguarmagenta left08:18
mohabaks joined08:19
Gloomy left08:20
neunon left08:21
Jellyg00se joined08:21
mischat joined08:21
neunon joined08:22
Lomex joined08:23
fedexo left08:25
mischat left08:26
subhojit777 joined08:26
zeRez joined08:28
bannakaffalatta left08:31
raijin left08:31
nilg joined08:32
nilg left08:33
gsingh left08:34
nilg joined08:35
stantonk joined08:35
nilg left08:35
gitinfo set mode: +v08:36
nilg joined08:37
mohabaks left08:37
mehola left08:38
mkoskar left08:38
FireArrow133 Hey guys, I have a question. If I have a repo I forked from GitHub, and the master branch is about 1 change behind, I can "git pull" from the original repo into the master branch, yes. But what happens to the branch I have on the local copy? Does it get updated when I update the master branch or do I need to sync my changes with the master branch.08:38
nilg` joined08:39
stantonk left08:39
dopesong joined08:40
FireArrow133 (You guys do know you can speak in here by /msg gitinfo .voice right?)08:40
zarel joined08:42
ome joined08:42
nilg left08:42
lindenle joined08:42
Fissure FireArrow133: pull only updates the current (local) branch08:42
FireArrow133 So I'll have to git pull both branches Fissure ?08:42
Fissure yes08:42
David1977 left08:45
lindenle left08:46
afuentes left08:46
spat joined08:47
userx_ joined08:49
cglocke` left08:49
userx left08:50
spat I have a webite in a git repository. I use a theme that is another git repository so it is nested. This is fine for development. I can update my website and update the theme individualy. However when I want to deploy to production the submodule gets ignored. How can I fix this deployment issue?08:51
lucasem how are you deploying?08:52
spat git push08:52
ahmedelgabri joined08:52
subhojit777 left08:52
lucasem when you clone from your production machine, you can use --recursive to include submodules08:53
cntrl joined08:54
lucasem spat: and after you've cloned, later on, you may `git pull` followed by `git submodule update --recursive`08:54
spat lucasem: The cloning is not the problem. I will update the theme (submodule) on the development machine. Than I want to push it. I do not even need in in production08:55
strk left08:55
cntrl left08:55
slappymc1ry joined08:56
nilg` left08:56
mkoskar joined08:56
lucasem if I understand correctly, you should go into your submodule directory, make sure git is looking at that repo (and not the parent), and commit/push your changes from there08:57
you'll also need to re-add the submodule, so it has the correct ref within its tree. you can just `git add s_dir` and commit08:58
spat: ^08:58
nilg` joined08:59
slappymcfry left08:59
subhojit777 joined08:59
userx joined09:02
spat lucasem: I think this is all confusing and rather anoying. seems to me that It is better to simply remove the theme .git directory so my repository contains all files. Than simply remove and reclone the theme when I want to update it from upstream.09:02
droids___ joined09:02
lucasem spat: you don't have to re-clone, but I think you're seeing an important point:09:03
avoid submodules09:03
nnyk joined09:03
nnyk left09:03
nnyk joined09:03
userx_ left09:04
r3c0d3x left09:04
spat lucasem: yeah I do not even want to use it but git sees it as a submodule just because it has a .git directory09:04
If it would just ignore it I would be all set09:05
r3c0d3x joined09:05
lucasem spat: yeah I think the thing to do then is to remove the .git directory. Just make sure you aren't violating any usage licenses if the code isn't yours09:05
davisonio joined09:06
albioner left09:08
spat lucasem: Hmm never knew that repositories would be license boundaries. I still keep the entire theme incuding its license file in tact. What senario are you thinking about?09:09
isxek joined09:09
siaw joined09:10
toogley joined09:12
lucasem spat: if it's GPL, and you make a change — that change needs to be made available (as it says in the GPL license)09:12
Glooomy joined09:12
bronson joined09:12
tinajohnson___ left09:13
nnyk left09:14
subhojit777 left09:14
c0nfuseki left09:15
ahmedelgabri left09:16
crameth joined09:16
bronson left09:17
catsup left09:17
voice_of_me left09:17
catsup joined09:17
catsup left09:18
subhojit777 joined09:20
Lomex left09:20
nilg`` joined09:21
nilg` left09:21
spat lucasem: Ah I see. thanks09:21
mischat joined09:22
arkin joined09:23
mischat left09:27
staticshock joined09:29
Lomex joined09:32
mischat joined09:33
mischat left09:33
mylord left09:34
arahael That's a simplification, but is the basic summary.09:35
staticshock left09:35
stantonk joined09:37
mdw joined09:37
Not_Whatever2 left09:39
klear joined09:40
nnyk joined09:41
mohabaks joined09:41
stantonk left09:42
lindenle joined09:43
ahmedelgabri joined09:43
ncd|leeN joined09:44
boudiccaboudiccas09:45
lindenle left09:47
MrWoohoo joined09:49
m0viefreak joined09:52
jost joined09:53
FireArrow133_ joined09:53
Lomex left09:54
FireArrow133__ joined09:56
mar77i_ joined09:56
FireArrow133 left09:57
slayerjain joined09:57
FireArrow133_ left09:58
mar77i left09:58
micechal joined09:58
FireArrow133 joined09:59
Glooomy left09:59
ahmed_elgabri joined10:00
nnyk left10:01
FireArrow133__ left10:01
gsingh joined10:02
ronny joined10:02
ronny hi10:02
duderonomy left10:03
ahmedelgabri left10:03
ronny is there any way to do a complete rebase more simple? (my branch diverged a while back and there is multiple conflicts i cant solve easily at once)10:03
zeRez left10:03
ffio left10:04
elastix left10:10
King_Hual joined10:10
mar77i joined10:11
cbreak ronny: rebases are step by step10:13
you don't have to solve conflicts at once, you can solve them one by one10:13
maybe rerere helps too10:13
mar77i_ left10:14
jonesbusy joined10:14
ronny cbreak: they step by step move cahgnes from my branch to the top, what i need is bascially rebase n times, once for each conflict commit on the other side10:14
FireArrow133_ joined10:14
Uhebrybdh joined10:14
cbreak ronny: what's wrong with rebase?10:14
gitinfo set mode: +v10:15
radsy left10:15
Uhebrybdh http://uhebrybdh.taledar.com/10:16
fuchstronaut joined10:16
ronny cbreak: bascailly i have multiple differently conflciting refacorings on the branch i want to rebase on top of, and ihave multiple of those in my branch as well10:16
cbreak: so things are a bit confusing10:16
cbreak ronny: git rebase is commit by commit10:16
you can't get it finer10:16
FireArrow133 left10:17
ronny cbreak: i dont think you follow10:17
it puts commit by comit on top of the other branch10:17
ffio joined10:17
cbreak indeed.10:17
ronny what i needis more like a staircase walk of N rebases, each rebasing one comit further10:18
preaction you are in a maze of twisty rebases, all alike10:18
Seveas ronny: in that case forget about rebase, and just cherry-pick10:18
AndyTechGuy left10:18
preaction did you bring a lamp? you are likely to be eaten by a merge conflict!10:18
Bombe ronny, all previous rebases will disappear by the time you finished the next rebase.10:19
AndyTechGuy joined10:19
cbreak ronny: why?10:19
ronny: rebase applies one single commit10:19
then, one more commit10:20
then one more. and one more10:20
every step applies one commit further10:20
ronny cbreak: please reread, you completely ignored what i asked for10:20
cbreak ronny: no10:20
I told you that rebase IS what you are asking for10:20
FireArrow133_ left10:20
ronny cbreak: i also told you how i want to interact with rebase,10:21
cbreak you can do it with -i10:21
nilg`` left10:21
cbreak but I doubt you'll need that10:21
ronny you left out that bit before, and you presumed about my needs without telling me, insted just telling me something else ...10:23
cbreak nope10:23
Uhebrybdh left10:23
cbreak you really don't need what -i gives you10:23
it's for droping, reordering or otherwise rewriting history10:23
all you need is the normal command line rebase10:23
something like rebase --onto somecommit10:23
elastix joined10:24
davisonio left10:26
xelxebar_ joined10:26
Lomex joined10:31
elastix left10:33
davisonio joined10:33
spat left10:34
slappymc1ryslappymcfry10:35
elastix joined10:35
irqq joined10:36
davisonio left10:36
elastix left10:36
SuperflyR6 joined10:40
SuperflyR6 left10:40
ahmed_elgabri left10:42
ahmedelgabri joined10:42
davisonio joined10:45
fuchstronaut left10:45
_ikke_ ronny: We learned here by experience people not always ask what they need but think how to solve their problem10:47
Xaratas joined10:47
davisonio left10:47
arkin left10:48
theskillwithin left10:49
mdw left10:52
ams_ left10:53
SteffanW joined10:55
kam270 joined10:55
GT4066 left10:56
kam270 left10:56
raijin joined10:59
ronny _ikke_: thats why i tried to state my problem and not jsut the solution im looking for10:59
mdw joined10:59
davisonio joined11:00
_ikke_ ronny: Right, but your question described default behaviour in git, which cbreak tried to explain11:00
martinkl_ joined11:01
martinkl_ left11:01
_ikke_ So if that's not what you mean, you have to clarify what you want different from default behaviour11:01
git merge will do a three-way merge with the tips of the branches and the common ancester, which gives you al conflicts at once11:03
git rebase applies one commit after another, basically breaking the conflicts down to commit level instead of branch level11:03
-i does not change any of that11:03
ronny _ikke_: instead of "rebase target" i want to iterate on "rebase $first child of cmmon ancesor with target thats an ancestor of common target"11:03
- the second common11:04
mischat joined11:05
SonikBoom joined11:05
_ikke_ I'm afraid this will require some visualisation..11:05
cbreak ronny: just tell rebase to do that...11:06
ronny: you can rebase onto which ever commit you want11:06
as I told you some time ago :P11:06
_ikke_ yes, you can manually specify the rebase target if the common ancestor is not what you want11:07
timvisher left11:07
SteffanW left11:07
timvisher joined11:08
martinkl_ joined11:08
ronny imainge i based my branc on commit A, the origin added B , C, D, E, F, and G, now instead of rebasing all my commits on top of g, i want to iterate from B to G as targets (and try to go for merges of feature branches)11:09
ahmedelgabri left11:09
_ikke_ Right11:09
cbreak ronny: so do what I told you11:10
_ikke_ That's a manual process of first rebasing onto B, then rebasing onto C11:10
Then rebase onto D11:10
cbreak rebase normally... --onto B11:10
and as I also told you some time ago: consider reading up on rerere11:10
inflames left11:11
bollullera joined11:12
_ikke_ rerere will only help if you try to apply the same commit multiple times, isn't it?11:13
mofai left11:13
cbreak he wants to rebase the same commits several times11:13
first on B, then on C, and so on11:13
_ikke_ he wants to reduce conflicts by doing that process11:13
subhojit777 left11:16
mofai joined11:17
Xaratas left11:17
Lomex left11:18
mohabaks left11:20
subhojit777 joined11:21
rolha joined11:22
Jellyg00se left11:23
stonerfish joined11:26
j416 ronny: I haven't tried this tool, but it looks as if it might help solve your problem https://www.youtube.com/watch?v=FMZ2_-Ny_zc11:30
martinkl_ left11:30
vdv left11:31
staticshock joined11:32
phaleth left11:35
_ikke_ I heard of it, but forget about it again11:35
phaleth joined11:36
staticshock left11:37
ivan_on_trac joined11:38
aard_ joined11:41
crameth left11:41
Not_Whatever2 joined11:43
spat joined11:44
lindenle joined11:45
AndyTechGuy left11:47
AndyTechGuy joined11:48
_ikke_ Interesting tool11:49
Something worth checking out11:49
roentgen joined11:49
lindenle left11:49
ahmedelgabri joined11:50
tlaxkit joined11:53
j416 yes, I heard about it some time ago but I've yet to stumble upon a use-case in which rebase or merge is not enough. Maybe one day. :)11:53
_ikke_ hehe11:53
Even has an arch package :-)11:55
(AUR)11:55
andrew_ left11:55
fuchstronaut joined11:57
fstd left11:59
fstd joined11:59
King_Hual left12:00
rolha left12:01
crameth joined12:02
lucasem left12:02
j416 in os x brew as well; nice12:02
Cgee joined12:02
Cgee left12:03
subhojit777 left12:03
pflanze joined12:04
pflanze Hello. I'm an oldtime git user, but am very confused about this:12:05
nilsi joined12:05
pflanze I've got a project that uses a submodule. Not the first time either. Now when I clone that project and "git submodule init; git submodule update" then it puts the objects of the submodule into the main .git/ dir12:06
davisonio left12:06
cbreak sounds reasonable12:06
pflanze Which is transparent except for when renaming the subfolder containing the subrepo (breaks it in 3 places instead of just 1),12:06
also, when I "git remote add" that submodule so that I can fetch changes I made there to another place, it won't work.12:07
grawity then use `git mv` to rename it12:07
diegoaguilar joined12:07
pflanze Does not report an error, just silently doesn't fetch the current head from there.12:07
spat left12:07
Tee_Pee joined12:07
Oqu joined12:07
Oqu left12:08
cbreak pflanze: you should add the submodule location12:08
pflanze So why do you think that's reasonable (I think it isn't). And how do I turn the subrepo back into a normal repository?12:08
cbreak path/to/repo/submodule12:08
jon-mac left12:08
cbreak pflanze: not path/to/repo/.git/...12:08
pflanze creppe, this is what I did12:08
cbreak pflanze: git clone it12:08
pflanze k trying clone.12:09
cbreak but submodules are normal repositories12:09
pflanze why are you saying this?12:09
cbreak they just have an external .git (refered to via a file)12:09
pflanze: because they are12:09
pflanze yep, .git is a file12:09
mdw left12:09
pflanze because they aren't with regards to git remote12:09
cbreak .git can be a file or directory, both are normal12:09
pflanze or perhaps you're saying that this is a bug12:10
mwhooker left12:10
bgamari left12:11
bgamari joined12:11
pflanze ok, that was because the HEAD is detached in the repo12:11
cbreak I'm saying it should work totally normal12:11
pflanze: that is also normal12:11
pflanze yes12:11
cbreak for submodules12:11
pflanze so my surprise earlier misled my thinking here.12:11
MattMaker left12:12
pflanze my surprise earlier= with the folder rename12:12
ahmedelgabri left12:12
ahmed_elgabri joined12:12
mwhooker joined12:12
passerby joined12:13
lirl joined12:14
pflanze I still find this surprising, and wonder what the reasoning behind this approach is?12:14
lirl left12:14
cbreak which approach?12:17
external git?12:17
it wasn't that way in the old days, but that caused a lot of problems when submodules only existed in one branch12:17
_ikke_ not having to complain when switching branches that don't have the submodule12:17
mischat left12:17
mwhooker left12:18
NwS left12:22
mrkat left12:23
Glooomy joined12:24
Not_Whatever2 left12:26
jbitdrop joined12:26
digidog joined12:26
diegoaguilar left12:29
mwhooker joined12:29
slayerjain left12:30
boudiccas left12:30
miklcct joined12:30
boudiccas joined12:31
pflanze Aha, accomodate to switching branches makes sense.12:33
a3Dman left12:33
pflanze Although, does it remove the subdir then (even if it contains say compiled object files)?12:33
_ikke_ It complained that it had to remove the directory12:34
pflanze Usually it doesn't remove files it doesn't know about. Couldn't it do the same with the subrepo?12:34
_ikke_ Git want to remove the directory, but sees there is untracked content12:34
pflanze Yep12:34
_ikke_ It prevents you from checking out that branch12:34
pflanze That's what I think I'd have expected.12:34
Only if the new branch conflicts with it?12:35
_ikke_ Usually an older branch that does not contain the submodule12:35
pflanze yes, I understand.12:35
I thought if I switch branch or so, and there are files unknown in the current branch, git leaves them alone.12:36
crameth left12:36
crameth joined12:37
_ikke_ branch A has a submodule entry pointing to dir A, branch B does not have this entry. When you checkout, git sees the entry not there, and concludes that that directory should be removed (just default behaviour)12:37
pflanze if everything in the dir is tracked12:38
_ikke_ That's the next step12:38
rolha joined12:38
stantonk joined12:39
_ikke_ as a safety, git does check if there is anything in the dir, sees it's not empty, and aborts the checkout, giving the warning that the directory is not empty12:39
Note that git usually does not track directories12:39
only files inside directories12:39
AndChat728121 joined12:40
pflanze My point is that it doesn't abort the checkout (if the files are not a submodule but normal subdir):12:41
git init; mkdir a ; echo hello > a/world; git add .; git commit -m A; g-branch aaa; mkdir b; echo hello2 > b/world2; git add .; git commit -m B; echo hello3 > b/world3; g-checkout aaa12:41
diegoaguilar joined12:41
pflanze run this in an empty dir, and then issue git status12:41
_ikke_ Like I said, git normally does not track directories in a normal situation12:41
pflanze it left b/world3 alone.12:41
My point is, if the above leaves b/world3 alone, why would it not leave b/.git/* alone?12:42
jbitdrop left12:42
_ikke_ boundaries. For the parent project, it only sees b12:42
a3Dman joined12:43
_ikke_ The rest it basically ignores12:43
pflanze yes, exactly12:43
why would it not just ignore b/.git/ then?12:43
stantonk left12:43
pflanze Looks like it special-cased dirs containing submodules in the past and failed the checkout as a special case.12:43
knighthawk joined12:43
pflanze (And then people said that this is bad and then the move to .git as a file was done, if I reconstructed the history right.)12:44
Anyway, I don't care all too much, now that I understand the .git as a file behaviour.12:45
_ikke_ It's just, for the parent project, it sees a entry b in one commit, and that entry b is not there in the other commit (being oblivious that b also contains other things)12:45
so the default behaviour is to remove b12:45
So when removing the dir, git has an extra safety, seeing, hey, this dir is not empty12:46
fscala left12:46
davisonio joined12:46
pflanze Yes, my point is why couldn't it have used the same code that runs for normal dirs for submodule dirs?12:47
So for a submodule, b/ would have been marked as a submodule in the tree, treat it as unremovable (right away since there are no entries in it to remove, and it's not empty, thus leave alone)12:47
and hence lead to the outcome that the older branch is checked out, but b/ including b/.git/ etc. is still there, untracked.12:48
_ikke_ Yeah, it's more the *lack* of special casing, then special casing submodules12:48
mohabaks joined12:48
_ikke_ But the prefered solution was to move the repository, so that it actually *can* be removed12:49
fscala joined12:49
pflanze I think my special case would have been smaller than the one that was implemented.12:49
_ikke_ Yes, but not necessarily correct12:49
mwhooker left12:49
pflanze Perhaps, although I don't currently see why.12:49
_ikke_ The branch does not contain the submodule, so the correct result would be that that directory is gone12:50
dopesong left12:50
pflanze It may have been a case that could have been dealt with.12:50
as a user.12:50
Just like if I've got a normal subdir with *.o files, git will leave it around.12:51
So as a user I already have such cases.12:51
mmlb joined12:51
pflanze I can git clean -fd it away if I want.12:51
mwhooker joined12:51
_ikke_ sorry, I got 2 go12:52
pflanze Yeah, thanks for the discussion in any case.12:52
dopesong joined12:54
SteffanW joined12:55
nnyk joined12:55
mmlb left12:56
NwS joined12:57
subhojit777 joined13:00
doppo left13:02
SteffanW left13:03
doppo joined13:03
SteffanW joined13:03
jbitdrop joined13:05
weox joined13:06
miklcct left13:06
AndChat728121 left13:08
ome left13:08
miklcct joined13:09
mwhooker left13:09
mwhooker joined13:11
nvee joined13:12
mauzilla left13:13
dopesong left13:15
bronson joined13:16
zeroed joined13:16
rolha left13:17
rolha joined13:17
mauzilla joined13:18
nvee left13:19
grawity left13:19
rolha left13:19
rolha joined13:19
grawity joined13:19
knighthawk left13:20
bronson left13:20
flaguy48 joined13:21
miklcct left13:22
zarel left13:23
SteffanW left13:23
dopesong joined13:23
miklcct joined13:25
DubH joined13:30
madewokherd joined13:30
dopesong left13:31
knighthawk joined13:31
staticshock joined13:33
raijin left13:33
zarel joined13:35
mwhooker left13:35
DubH left13:36
dopesong joined13:37
mischat joined13:37
staticshock left13:37
passerby left13:37
micechal left13:38
dopesong left13:40
dopesong joined13:40
davisonio left13:42
zeroed left13:42
simpbrain left13:43
ferr joined13:45
ahmedelgabri joined13:46
daynaskully left13:46
gsingh left13:46
mizu_no_oto joined13:48
ivan_on_trac left13:48
ahmed_elgabri left13:48
diegoaguilar left13:49
gsingh joined13:49
bernardio joined13:50
SteffanW joined13:50
daynaskully joined13:51
userx left13:52
userx joined13:52
pwnawannab_ left13:55
pwnawannab[NE] left13:56
nebg left13:56
ochorocho__ joined13:56
cyan__ joined13:58
davisonio joined14:02
klear left14:04
ffio left14:04
tchan left14:06
xelxebar_ left14:07
knighthawk left14:07
slappymcfry left14:07
jost left14:08
subhojit777 left14:10
bruce_lee joined14:10
nessundorma joined14:12
nnyk left14:13
gluytium left14:13
shinnya joined14:14
Es0teric left14:15
doener joined14:16
cyan__ left14:16
zarel left14:16
rolha left14:17
sdothum joined14:17
bitkiller joined14:17
p1k joined14:19
gluytium joined14:19
unbalancedparen joined14:20
elastix joined14:24
siaw left14:24
griotspeak joined14:24
Dyonisos joined14:25
chrisshattuck joined14:25
pld joined14:25
pld left14:26
pld joined14:26
pld is there a way to separate body and subject when using git commit -m "message here" or do i need to use the verbose flag in that case?14:26
preaction pld: you could try \n\n or your shell's heredoc perhaps14:27
chrisshattuck left14:28
zeRez joined14:29
zeRez left14:29
grawity git commit -m foo -m bar14:29
or, git commit -m "foo14:29
14:29
bar"14:29
zarel joined14:29
knighthawk joined14:30
xanaduGuest6009414:31
siaw joined14:31
jon-mac joined14:31
fahadash joined14:31
dermoth joined14:32
topi` joined14:32
fuchstronaut left14:32
knighthawk left14:32
topi` I think I just screwed up my "cleanup" branch. I tried to git rebase the newest stuff from development on top of it, but some merge conflicts ensued, and I tried to fix them as well as I could. Now I cannot find my original cleanup commits any more. I wish I had backed up the directory tree before merge :(14:33
I had 4 nice commits there, "cleanup 1: foo...", "cleanup 2: bar..." etc and now only Cleanup 3 is to be found14:34
I guess there is no possibility of canceling a rebase, when it's *already* done?14:34
knighthawk joined14:35
topi` luckily, it is for *cleanup*, so no functionality just. I just have to redo my cleaning of the source code.14:35
robotroll left14:35
King_Hual joined14:35
robotroll joined14:36
jonno11 joined14:36
knighthawk left14:36
subhojit777 joined14:37
italoacasas joined14:38
nessundorma left14:39
BenderRodriguez joined14:40
italoacasas1 joined14:42
fracting1 left14:42
italoacasas left14:43
SteffanW left14:43
mellernoia joined14:45
PCatinean joined14:46
dreiss joined14:47
xlegoman joined14:48
lindenle joined14:48
fscala left14:48
satifant joined14:51
fscala joined14:51
lindenle left14:52
mizu_no_oto left14:53
dreiss left14:54
griotspeak left14:55
shum joined14:56
italoacasas1 left14:56
ahmedelgabri left14:56
ochorocho__ left14:57
sdothum left14:57
ochorocho__ joined14:57
ahmedelgabri joined14:57
CheckDavid joined14:57
mdw joined15:00
SwiftMatt joined15:01
ochorocho__ left15:02
ochorocho__ joined15:02
fscala left15:02
crameth left15:03
johnwhitton joined15:03
ams_ joined15:03
ahmedelgabri left15:03
davisonio left15:04
grayjoc joined15:04
fscala joined15:05
klear joined15:06
dreiss joined15:07
ochorocho__ left15:08
ochorocho__ joined15:08
jaguarmagenta joined15:09
knighthawk joined15:09
tchan joined15:09
ochorocho__ left15:11
mikiones_ left15:11
mikiones joined15:12
ochorocho__ joined15:12
tchan left15:12
weox left15:14
tchan joined15:15
bernardio left15:15
stantonk joined15:16
SwiftMatt left15:17
rim-k joined15:17
ahmedelgabri joined15:17
bronson joined15:18
SwiftMatt joined15:18
victortyau joined15:20
tchan left15:20
stantonk left15:20
afuentes joined15:20
tchan joined15:21
tchan left15:21
tchan joined15:21
nnyk joined15:21
Not_Whatever2 joined15:22
bronson left15:22
reim joined15:23
dermoth left15:23
CrypticGator joined15:24
subhojit777 left15:24
cagmz joined15:24
rkazak joined15:24
AndroidVaan left15:26
fuchstronaut joined15:26
ffio joined15:27
fscala left15:28
discopatrick joined15:28
ffio left15:29
mizu_no_oto joined15:31
staticshock joined15:33
mar77i_ joined15:35
mar77i left15:37
nitesh joined15:38
staticshock left15:38
nitesh` joined15:38
nilsi left15:39
nitesh`` left15:40
albioner joined15:42
droids___ left15:42
kini left15:42
nitesh left15:42
CrypticGator left15:42
tvon left15:43
mizu_no_oto left15:43
ochorocho__ left15:43
ochorocho__ joined15:44
ariel_17 joined15:45
Impaloo left15:45
Impaloo joined15:46
cdg joined15:46
cdg left15:46
cdg joined15:47
zarel left15:47
mohabaks left15:47
Impaloo left15:50
aspellip_ joined15:51
nebg joined15:51
bahar joined15:51
bahar left15:51
bahar joined15:51
Impaloo joined15:51
kini joined15:52
Not_Whatever2 left15:52
zarel joined15:53
victortyau left15:53
subhojit777 joined15:55
aswen joined15:56
reim left15:56
fscala joined15:57
Bruce__ joined15:59
roentgen left16:02
Bruce__ left16:04
ffio joined16:05
ffio left16:05
jaguarmagenta left16:05
gsingh left16:06
rim-k left16:06
rominronin joined16:07
davisonio joined16:07
mikiones_ joined16:08
knighthawk left16:10
ahmedelgabri left16:10
ffio joined16:10
mikiones left16:10
Jeroen left16:11
fscala left16:11
Bruce__ joined16:12
adamm_ left16:13
adrian_1908 joined16:13
Jeroen joined16:14
fscala joined16:14
ochorocho__ left16:14
ochorocho__ joined16:14
klear left16:14
adrian_1908 hello. If I create a remote repository (e.g. on GitHub), shouldn't the .git folder be on there too? It contains the working history, no?16:15
maxb It is.16:16
preaction adrian_1908: .git folder is the database. github stores the .git folder, but also allows you to navigate the working tree, the same thing you look at16:16
reim joined16:16
staticshock joined16:17
adrian_1908 preaction: Does git handle this folder in the background? I reckon tracking the git folder with git would probably be like dividing by 0, eh? :)16:18
bronson joined16:19
preaction yes, git handles the database in the background, which is why it's in a hidden folder .git16:19
unbalancedparen left16:19
adrian_1908 ok, thanks!16:19
CEnnis91 joined16:20
Shentino2 joined16:21
Shentino left16:22
bronson left16:23
adrian_1908 left16:23
lolmacGuest5094216:25
Guest50942 left16:25
tehtraveler2321 joined16:25
rkazak left16:26
ahmedelgabri joined16:27
klear joined16:28
skelterjohn joined16:29
unbalancedparen joined16:31
mikiones_ left16:31
subhojit777 left16:32
mikiones joined16:32
knighthawk joined16:33
grayjoc left16:34
safinaskar joined16:36
safinaskar left16:36
safinaskar joined16:36
safinaskar how to get list of files handled by git?16:36
i want to pass them to "grep"16:36
grep some_string $(get_files_handled_by_git)16:37
i. e. because i don't want to search in generated files16:37
jaguarmagenta joined16:37
Matthew_ left16:38
_ikke_ safinaskar: git ls-files16:39
this lists files in the index16:39
Shentino2 left16:40
Shentino joined16:40
grayjoc joined16:41
doppo left16:41
knighthawk left16:44
mar77i joined16:44
doppo joined16:44
subhojit777 joined16:44
mar77i_ left16:46
lindenle_ joined16:46
thinkwork joined16:47
catsup joined16:47
dsfreak93 joined16:48
victortyau joined16:50
fedexo joined16:51
thinkwork left16:52
ariel_17 left16:53
The_Phoenix left16:53
Vardon3 joined16:53
dsfreak93 left16:54
Vardon3 left16:54
cagmz_ joined16:55
thinsoldier joined16:55
thinsoldier Hello?16:55
gitinfo thinsoldier: hi! I'd like to automatically welcome you to #git, a place full of helpful gits. Got a question? Just ask it — chances are someone will answer fairly soon. The topic has links with more information about git and this channel. NB. it can't hurt to do a backup (type !backup for help) before trying things out, especially if they involve dangerous keywords such as --hard, clean, --force/-f, rm and so on.16:55
Vardon3 joined16:55
Vardon3 left16:56
Vardon3 joined16:56
thinsoldier Question Background: I have a volum mapped to a drive on a server half a world away. I can ssh into the server but not allowed to install anything so I can’t install git. However from my system I can navigate to that volume and do git stuff, it’s just really slow. I can also ftp into the sever and access the same volume.16:57
dreiss left16:57
PCatinean left16:58
thiago joined16:58
thinsoldier Question: Trying to get fetch/pull from the git repo on my local laptop over to the remote volume fails because it is so slow. Is there a way to manually upload an existing .git folder to the server and tell git “hey, look a the folder you are in, all the files exactly match your latest master commit! Cold you just recognize that fact and work!?”16:58
dopesong left16:58
jonno11 left16:58
ariel_17 joined16:58
thinsoldier Instead of it having to extract files from within the .git just use the files that are already in the folder on the server.16:59
Vardon3 left17:00
Vardon3 joined17:00
stevenbenner left17:01
Cabanossi left17:01
cbreak thinsoldier: you're not making any sense17:01
git needs a repository17:01
Vardon3 left17:02
cagmz_ left17:02
yarnfive8 joined17:02
doener left17:02
thinsoldier Ok, master repository is on my laptop. Child repo is on this other server. I want a git repo on that server to pull from my laptop. but it fails because initial fetch of ALL 100 megs of data over slow connection fails17:02
I can ftp into the server17:03
All the files already on the server already match the latest commit on my laptop17:03
Could I just upload my local .git folder to the server17:03
cbreak sure17:03
it doesn't matter how the repository is transfered17:03
thinsoldier and have it just work without git needing to pull all the data over the network?17:03
ojacobson in fact "copy all the files" is a good approximation of how the dumb transport works17:03
Cabanossi joined17:03
cbreak you can zip it, put it on an usb stick and send it via air mail17:04
if you want that, consider man git-bundle17:04
gitinfo the git-bundle manpage is available at http://jk.gs/git-bundle.html17:04
cbreak but simply sending the .git is also ok17:04
thinsoldier But I’d have to change the .git/config once its on that other server right ?17:04
cbreak if you want17:04
thinsoldier To point its remotes to my laptop17:04
cbreak sure. git remote set-url17:05
thinsoldier wheras the git on the lapop has its remots pointed to bitbucket17:05
cbreak you can have multiple remotes17:05
SteffanW joined17:06
thinsoldier Ok. that sounds like it’ll work for my latest attempt at this. I have a question about my very first attempth though.17:06
Originally there already was a .git on the server pointed at my laptop but it was about 40 commits behind.17:06
Trying to do a git pull always failed because of network issues.17:07
boudiccas left17:07
thinsoldier Should the same solution be the best for that situation, just replace the entire .git via ftp. Because what I had tried earlier was just copy the .git/objects/ folder17:07
boudiccas joined17:08
cbreak your choice17:08
thinsoldier: you should fix your network issues17:08
thinsoldier: try to use the internet instead17:08
I regularly transmit data around half the world, works fine17:08
OnBrokenWings joined17:08
mkoskar left17:09
jagob joined17:09
thinsoldier Network at the office where the server is located is garbage and the server itself is kind of garbage and under heavy load aside from what I’m trying to do.17:09
I’ll go try this. Thanks people17:09
safinaskar _ikke_: thanks17:10
safinaskar left17:11
mizu_no_oto joined17:11
mizu_no_oto left17:11
p1k left17:12
mizu_no_oto joined17:13
OnBrokenWings left17:13
shymega joined17:14
boudiccas left17:18
lindenle_ left17:19
lindenle joined17:19
vdv joined17:20
boudiccas joined17:20
PryMar56 joined17:21
ahmedelgabri left17:21
stevenbenner joined17:22
fuchstronaut left17:23
ams_ left17:23
SwiftMatt left17:23
kaiza joined17:25
dermoth joined17:26
cdg_ joined17:29
lindenle left17:30
lindenle joined17:31
cdg left17:32
cdg_ left17:33
mizu_no_oto left17:34
shinnya left17:34
ahmedelgabri joined17:35
arooni joined17:36
davisonio left17:37
CrypticGator joined17:38
mehola joined17:40
sto0pkid left17:40
arooni left17:40
aswen left17:41
dreiss joined17:42
xelxebar left17:43
thinsoldier How do I make git pull forcefully overwrite all files in the directory. All current files match a commit from 5 commits ago so I know I won’t lose anything.17:43
SwiftMatt joined17:43
ncd|leeN left17:44
_ikke_ git pull is not the command you want17:44
knighthawk joined17:44
_ikke_ thinsoldier: Do you want to match the files as they are on your remote?17:45
thinsoldier Yes17:45
mdw left17:46
_ikke_ Only the files, or also your local branch?17:46
fuchstronaut joined17:47
thinsoldier Not sure what you mean.17:47
Hang on. How can I check if my local master is tracking origin/master or not?17:47
Balliad joined17:47
_ikke_ git branch -vv would show17:48
reim left17:48
thinsoldier Thanks. ok my local master is tracking origin master.17:49
doppo left17:49
knighthawk left17:49
_ikke_ And you want your master to point to origin/master17:49
thinsoldier I want to fast forward my local master to match the origin master but git checkout origin/master and git pull both complain about some of the files presently in the directory.17:49
ronny hi17:49
circ-user-m8dfI left17:50
thinsoldier Yes I want master to point to origin/master17:50
ronny im on branch a, - it has a common ancestor with branch b, how do i figure the oldest commit of b thats not part of a17:50
_ikke_ thinsoldier: git reset --hard to get rid of the local changes, then just git merge origin/master17:50
(you almost never want to use checkout origin/master)17:51
jaguarma_ joined17:51
doppo joined17:52
ojacobson ronny: the last commit of git log a..b will be one such commit17:52
there may be more than one17:52
CrypticGator left17:52
jaguarmagenta left17:52
groton joined17:53
siaw_ joined17:54
siaw left17:55
siaw_siaw17:55
reim joined17:56
acton left17:56
grayjoc left17:56
xelxebar joined17:56
Someguy123 left17:57
ronny ojacobson: is there a plumbing way, i have a branch i want to rebase step by step one commit on the target branch a time due to the conflict matrix of both lines being a mess to resolve all at ocne for the complete move17:57
cagmz_ joined17:57
ojacobson git rev-list, then17:57
mdw joined17:58
acton joined17:58
elastix left17:58
ronny ojacobson: is it sensible to always ise the last object id given by that command=17:58
ojacobson that will be a commit whose immediate ancestor is in b, yes17:59
er, in a18:00
aro joined18:00
aro No submodule mapping found in .gitmodules for path 'app/vendor/dereuromark/cakephp-data' - why am i getting that when i try to commit to my repo?18:00
ojacobson (the output is ordered topographically by default)18:00
Someguy123 joined18:01
ronny ojacobson: so if i go for rev_list a..b --first-parent i should be able to get a line of rebase targets?18:01
glebihan left18:02
thinsoldier When I SSH into a server it says: Could not chdir to home directory - which means I have no idea where to put .gitconfig and .gitignore_global files18:02
mellernoia left18:02
cagmz_ left18:02
thinsoldier I put a .bash_profile in the root directory and that gets loaded automatically but putting .gitconfig in the same place does noting18:02
Any ideas?18:03
ronny thinsoldier: more details on the server needed18:03
thinsoldier Mac OSX 10.618:03
I have an account I can ssh in with, but if you looked at the actual mac os user settings in the GUI you’d see only 1 real user who had a real user folder who is not me18:04
rim-k joined18:05
mellernoia joined18:06
SuperflyR6 joined18:07
sangy joined18:07
njbair joined18:08
jaguarmagenta joined18:08
davisonio joined18:09
jaguarma_ left18:10
ffio left18:10
rominronin left18:10
ronny thinsoldier: you migth need an admin setting it up then, it sounds like the box you ssh to is by design unusable18:11
MattMaker joined18:11
ronny (which in some cases is done deliberately for security policies or something like that, the admins in charge should know18:11
ffio joined18:12
mizu_no_oto joined18:13
xlegoman left18:14
xlegoman_ joined18:14
icio joined18:14
knighthawk joined18:14
Balliad left18:14
mr-bravo joined18:14
ronny hmm, i would like to see one target branch commit as a time rebase iteration be added to git rebase directly, the conflixts where considerably less complicated to resolve than my earlier attempt18:16
in the end after that run of repeated rebases i had a working branch and every conflict was solved simple18:16
OnBrokenWings joined18:16
fuchstronaut left18:16
circ-user-m8dfI joined18:17
tvon joined18:17
deadnull joined18:19
apprentice left18:19
arooni joined18:19
SuperflyR6 left18:20
cbreak ronny: man git-for-each-ref18:20
gitinfo ronny: the git-for-each-ref manpage is available at http://jk.gs/git-for-each-ref.html18:20
cbreak hmm... no18:20
unbalancedparen left18:20
bronson joined18:20
cbreak ronny: man git-rev-list18:20
gitinfo ronny: the git-rev-list manpage is available at http://jk.gs/git-rev-list.html18:20
cbreak that one, + reverse + some scripting18:21
unbalancedparen joined18:21
unbalancedparen left18:21
JanC_ joined18:22
unbalancedparen joined18:22
zarel left18:22
JanC left18:23
dreiss left18:23
arooni left18:23
nevodka joined18:25
bronson left18:25
daynaskully left18:25
stantonk joined18:27
JanC_JanC18:27
unbalancedparen left18:28
unbalancedparen joined18:28
ahmed_elgabri joined18:28
Glooomy left18:29
daynaskully joined18:31
cagmz left18:31
dreiss joined18:31
ahmedelgabri left18:31
stantonk left18:31
unbalancedparen left18:32
unbalancedparen joined18:32
mdw left18:32
glebihan joined18:33
zarel joined18:34
nadare left18:36
subhojit777 left18:36
reim left18:37
userx left18:38
Jeroen left18:39
userx joined18:40
knighthawk left18:40
rim-k left18:41
klear left18:41
reim joined18:41
tos9 joined18:43
arooni joined18:44
Peng__ left18:44
tos9 I want to list all of the tracked + untracked files in a directory in my repo in a way similar to ls. I appear to be out of luck on doing that "easily", which is fairly surprising.18:44
ojacobson That would be `ls`, wouldn't it?18:45
jaguarma_ joined18:45
tos9 No, sorry, to the exclusion of ignored files18:45
Which it doesn't appear to be easy to list either.18:45
g ls-files is recursive by default, and doesn't appear to be able to be non-recursive.18:45
g ls-tree --name-only HEAD <dir> doesn't support untracked, although I could add those myself, but it has really weird behavior, providing foo is different from foo/ for dirs, the former is useless and basically acts like ls -d18:46
mizu_no_oto left18:46
jaguarmagenta left18:47
mdw joined18:47
arooni left18:48
osse tos9: a combination of "ls-tree --name-only HEAD ." and "ls-files --others --exclude-standard -x '*/*'" seems to give the correct results18:52
reim left18:52
mizu_no_oto joined18:53
tos9 osse: I've tried those I think.18:53
osse: Which of those are you using to list a directory within the repo18:53
osse tos9: the first lists tracked files in the current dir; the second lists untracked files in the current dir18:54
deadnull left18:54
tos9 osse: Right, now I want to list arbitrary paths in the repo18:54
osse: The first one works for that, but only if I know that the path is a directory18:54
osse i don't know, then18:55
what do you want this for18:55
Balliad joined18:55
tos9 I'm implementing ls :)18:56
_ikke_ Why not use ls? :P18:56
You don't want ignored files, right18:56
tos9 Yes.18:57
mike_r_ joined18:57
mizu_no_oto left18:58
ncd|leeN joined18:58
Balliad left19:00
acetakwas joined19:01
_W_ joined19:01
victortyau left19:02
rubie joined19:02
cryptopsy joined19:02
inflames joined19:03
cryptopsy how can i get a log of incoming files on the remote server when i push files with git?19:03
basically i get a list of changes when i run it locally, but i need a list of that on the remote file. Like, to show on my website what new files were received19:03
simulate it first and then push that file with the others?19:03
osse tos9, _ikke_: there was a proposed patch that added "git ls"19:05
tos9 osse: That would have been nice -- do you happen to have a link to it or just remember it flying by?19:06
nwkj86 joined19:07
victortyau joined19:07
OnBrokenWings left19:07
osse tos9: thread.gmane.org/gmane.comp.version-control.git/26514219:07
i think this is the latest iteration. not sure.19:08
acetakwas left19:08
tos9 cool, thanks19:09
multi_io left19:10
Joanna___ joined19:11
multi_io joined19:12
reim joined19:13
cryptopsy fuck it lets simulate19:14
pwnawannab_ joined19:14
pwnawannab[NE] joined19:14
dreiss left19:16
tlaxkit left19:16
fuchstronaut joined19:17
userx left19:17
bollullera left19:17
groton left19:17
reim left19:18
cryptopsy how can i see 'git diff --stat --cached origin/master' dump to stdout instead of opening a prompt?19:18
shum left19:18
sanketdg left19:19
durham joined19:19
sdothum joined19:19
userx joined19:20
justanotheruser joined19:22
fuchstronaut left19:22
Shentino left19:23
sdothum left19:23
tobiasvl cryptopsy: git config diff.tool19:23
johnny56 joined19:24
nilg joined19:24
knighthawk joined19:24
dreiss joined19:24
Xaratas joined19:25
bremner opening a prompt? git diff shouldn't do that19:25
rudi_s Hi. It seems git status runs the clean filter when I change the ctime of a file. Is it possible to tell git only to run the smudge filter when the mtime of a file has changed?19:26
robotroll left19:26
afuentes left19:27
tobiasvl bremner: less maybe?19:27
it has a : prompt at the bottom...19:27
sdothum joined19:27
bremner !nopager19:27
cryptopsy: if you're complaining about less, use the --no-pager option to git19:28
Shentino joined19:29
mariuscc left19:29
dreiss left19:30
McNozes left19:30
Rodya_ joined19:31
mr-bravo left19:31
Kobaz joined19:34
knighthawk left19:34
rudi_s Ah, found it. core.trustctime = false seems to work fine.19:35
JagaJaga joined19:36
knighthawk joined19:36
sdothum left19:37
flash joined19:38
nnyk left19:40
knighthawk left19:40
doppo left19:41
sdothum joined19:41
SteffanW left19:41
Rodya_ left19:44
SwiftMatt left19:44
justanot1eruser joined19:45
justanotheruser left19:45
Strout left19:45
AustinMatherne left19:45
AustinMatherne joined19:45
Rodya_ joined19:47
doppo joined19:47
WaReZ joined19:47
davisonio left19:48
CrypticGator joined19:48
lindenle left19:52
dsfreak93 joined19:53
lindenle joined19:53
McNozes joined19:54
cdg joined19:54
mar77i_ joined19:54
Rodya_ left19:55
Rodya_ joined19:55
felher joined19:56
felixjet_ joined19:56
Strout joined19:56
mar77i left19:56
felixjet_ left19:56
felixjet joined19:57
irqq left19:58
dsfreak93 left19:58
sdothum left19:58
bollullera joined19:59
ciampix joined19:59
toogley left19:59
nilg left20:00
sdothum joined20:00
acetakwas joined20:00
reim joined20:01
duderonomy joined20:01
nnyk joined20:02
icio left20:02
nevodka left20:02
Strout left20:02
toogley joined20:03
AustinMatherne left20:03
zmachine left20:03
irqq joined20:03
ronny cbreak: that is what i did20:04
mar77i_ left20:04
mar77i joined20:05
AustinMatherne joined20:05
staticshock left20:05
sdothum left20:05
zmachine joined20:06
jaguarmagenta joined20:06
justanotheruser joined20:06
jaguarma_ left20:07
justanot1eruser left20:07
boombatower joined20:09
Kobaz left20:12
sdothum joined20:12
irqq left20:12
Balliad joined20:12
acetakwas left20:13
rubie left20:14
TomyLobo left20:14
Shentino left20:15
apotry joined20:16
SwiftMatt joined20:16
sdothum left20:16
cagmz joined20:17
Strout joined20:17
apotry left20:18
thebloggu joined20:18
Jackneill left20:18
Kobaz joined20:18
ahmed_elgabri left20:19
acetakwas joined20:20
Yarne joined20:20
dopesong joined20:20
durham left20:21
acetakwas left20:21
acetakwas joined20:22
Balliad left20:22
bronson joined20:22
sdothum joined20:22
acetakwas left20:23
acetakwas joined20:24
flash left20:25
dreiss joined20:25
Chunky_Ks joined20:26
bronson left20:27
durham joined20:27
Chunky_Ks Hey all. I have what I think is a pretty good mental model of how git works. I'm regretting some things I did before, and would like advise on how to remedy stuff. On github, I forked a project, messed about on a branch of the same name as the upstream project, and pushed it. I now realise I should have used a feature branch for that. How do I "just make this thing like upstream, except with the stuff I did on a branch" ? Or am I asking completely the wrong que20:28
Kicer86 left20:28
justanot1eruser joined20:29
texasmynsted left20:29
Shentino joined20:29
cagedwisdom joined20:30
justanot1eruseryolandivisser20:30
justanotheruser left20:30
Shentino left20:31
Zarthus Chunky_Ks: Has your upstream already gotten the new changes on master?20:31
or the branch you rather not have it at, at least20:31
mar77i_ joined20:31
Chunky_Ks I put in a pull request, but upstream decided they wanted a different approach, so made a bunch of *different* changes20:31
fuchstronaut joined20:31
Chunky_Ks so my branch-named-v6.0b and their branch-named-v6.0b have now diverged and never the twain shall meet20:32
Shentino joined20:32
mar77i_ left20:32
nnyk left20:32
Shentino left20:32
sdothum left20:33
Zarthus if nothing has been changed yet in the branch you'd like to change (on upstream), you can just checkout to a different branch. But I'm not sure how many changes there are between the two branches you're talking about.20:33
mar77i left20:33
Zarthus from what it sounds like their branch has been updated to some degree, and you believe syncing with those chances is no longer feasable?20:33
Chunky_Ks Well, it's partially infeasible and partly pointless20:33
toogley left20:34
Chunky_Ks The feature I want is implemented, but in a different way that obviates the need for my changes20:34
Shentino joined20:34
Chunky_Ks https://github.com/chunky/openmap/tree/v6.0b <-- this specifically20:34
dopesong left20:34
Shentino left20:35
thebloggu left20:35
sdothum joined20:35
mischat left20:35
Zarthus so you want to clean your changes, sync up with the main branch, and work on something new?20:36
fuchstronaut left20:36
Chunky_Ks Exactly.20:36
fuchstronaut joined20:36
fuchstronaut left20:36
fuchstronaut joined20:36
Shentino joined20:36
Zarthus you can git reset --hard to a previous commit (with git log), and then sync with upstream. Force push to your main branch to override your existing changes20:36
you may wish to make a backup or checkout your existing changes to a different branch first.20:37
git reset --hard sha is a destructive command; so make sure you're okay with losing your progress.20:37
(although none of it will be lost for the moment because GitHub still has it, but that will be gone once you force push your syncing)20:37
ToBeCloud joined20:38
gitinfo set mode: +v20:38
Chunky_Ks I'm totally ok with vaporising everything I have done, on this project20:38
wutf joined20:38
JagaJaga left20:39
wutf does git checkout mybranch ensure that only the files for the branch will exist?20:39
mdw left20:40
sdothum left20:40
tobiasvl wutf: well uncommited changes will !float over20:40
gitinfo wutf: If you have made a change in your working directory and have NOT YET COMMITTED, you may "float" that change over to another (`git checkout oldbranch`) or new (`git checkout -b newbranch`) branch and commit it there. If the files you changed differ between branches, the checkout will fail. In that case, `git stash` then checkout, and `git stash apply` and go through normal conflict resolution.20:40
knighthawk joined20:41
wutf i have a jenkins job that builds branches. i'm wondering if i can just checkout new branches (without rm -fr'ing) and have the guarantee that only the files for that branch will be in there20:41
sdothum joined20:41
durham left20:42
wutf it sounds like i can do this20:42
tobiasvl wutf: look at git checkout -f maybe?20:42
if what you want is to throw away local changes20:42
not entirely sure what kind of files that don't belong to the branch you're expecting in the working directory20:42
satifant left20:43
wutf if a file exists in branch a but not b and you switch to branch b, the file won't be there right?20:43
that's the basic thing, i think20:43
s00pcan_ left20:44
s00pcan_ joined20:44
flash joined20:44
tobiasvl correct20:44
wutf cool, that will save some time20:45
dreiss left20:45
diego1 joined20:45
knighthawk left20:46
diego1diegoviola20:46
j416 wutf: unless you have uncommitted changes or ignored files20:48
Saylen joined20:48
j416 as tobiasvl mentioned above. not sure if that was conveyed.20:49
tobiasvl ignored files don't exist in any branch though. but yes20:50
yolandiv1sser joined20:51
userx_ joined20:52
durham joined20:52
userx left20:52
yolandivisser left20:53
victortyau left20:56
vdv left20:58
fuchstronaut left20:58
phaleth left20:58
elastix joined21:01
flash left21:03
sdothum left21:04
victortyau joined21:04
pantsman- left21:05
sdothum joined21:05
sdothum left21:06
tomog999_ joined21:07
ciampix left21:08
sdothum joined21:09
weox joined21:09
mizu_no_oto joined21:10
tomog999 left21:10
teresko left21:10
CheckDavid left21:12
afuentes joined21:13
yolandivisser joined21:14
yolandiv1sser left21:14
yolandivisserjustanotheruser21:14
sdothum left21:16
cagmz left21:16
durham left21:16
cagmz joined21:16
staticshock joined21:16
Es0teric joined21:18
userx_ left21:18
CrypticGator left21:23
userx joined21:23
durham joined21:23
justanotheruser left21:24
dreiss joined21:25
acetakwas left21:26
elastix left21:26
Noldorin joined21:27
jmpp left21:27
isxek left21:27
SuperflyR6 joined21:28
SuperflyR6 left21:28
emPi left21:29
jmpp joined21:30
tematibr joined21:32
userx left21:35
durham left21:35
kaendfinger joined21:36
mischat joined21:38
thinsoldier left21:38
LoganG joined21:38
kaendfinger left21:39
kaendfinger joined21:39
userx joined21:40
mischat_ joined21:41
fuchstronaut joined21:42
sdothum joined21:42
mischat left21:43
stantonk joined21:45
msafi joined21:45
victortyau left21:45
mischat joined21:45
Joanna___ left21:46
dreiss left21:46
Rodya_ left21:47
ferr left21:47
aard_ left21:47
msafi left21:47
mischat_ left21:47
fuchstronaut left21:47
userx left21:48
userx joined21:50
mizu_no_oto left21:52
raijin joined21:53
sebhoss left21:54
nwkj86 left21:54
King_Hual left21:55
userx left21:55
KnownSyntax left21:56
barduck left21:57
KnownSyntax joined21:57
userx joined21:58
SwiftMatt left21:58
fragMental joined22:05
nevodka joined22:05
Rodya_ joined22:05
Rodya_ left22:06
Rodya_ joined22:06
watabou_ joined22:07
watabou_ left22:08
nwkj86 joined22:09
Fissure left22:09
watabou left22:10
reim left22:10
Gitzilla left22:10
przemoc joined22:11
pld left22:12
Fijit left22:12
userx left22:12
circ-user-m8dfI left22:13
reim joined22:13
userx joined22:13
sdothum left22:14
watabou joined22:14
Es0teric left22:14
sdothum joined22:15
przemoc left22:17
przemoc joined22:18
Rodya_ left22:20
stantonk left22:21
stantonk joined22:22
reim left22:23
userx left22:24
bronson joined22:24
Dyonisos left22:27
bollullera left22:27
userx joined22:27
bronson left22:29
Fissure1 joined22:29
Guest59517 left22:31
Guest59517 joined22:31
Guest59517nuck22:31
cryptopsy left22:31
tematibr left22:31
wutf does git checkout also invoke pull?22:32
ie if you checkout a branch you are already in, will it pull or is it a no-op?22:32
cbreak wutf: nope22:32
checkout is local only22:32
wutf ah22:33
albioner left22:34
_wwwBukoLaycom joined22:34
stantonk left22:35
SwiftMatt joined22:35
Jeroen joined22:36
Xaratas left22:36
userx left22:37
cagmz left22:37
diego1 joined22:38
diego1 left22:38
diego1 joined22:38
diegoviolaGuest6511422:38
diego1diegoviola22:38
rbr joined22:38
bronson joined22:38
bronson left22:40
dm7freek left22:40
Guest65114 left22:41
userx joined22:41
choki joined22:43
fuchstronaut joined22:43
tristanp left22:45
_wwwBukoLaycom left22:45
tematibr joined22:46
MattMaker left22:47
st0opkid joined22:48
fuchstronaut left22:49
rkazak joined22:50
st0opkid left22:50
nevodka left22:51
st0opkid joined22:51
rh775 left22:51
st0opkid left22:52
st0opkid joined22:52
userx left22:53
st0opkid left22:53
st0opkid joined22:54
Noldorin left22:54
userx joined22:56
ajf- joined22:57
choki left22:58
jeffreylevesque joined22:58
s00pcan_ left23:00
nwkj86 left23:01
diegoviola left23:02
diegoviola joined23:02
s00pcan_ joined23:03
voice_of_me joined23:05
Gamecubic joined23:05
mizu_no_oto joined23:07
WaReZ left23:08
noteness left23:08
livingstn joined23:11
ajf- left23:12
userx left23:12
livingstn left23:12
lindenle left23:13
thinkwork joined23:13
lindenle joined23:13
userx joined23:13
thinkwork left23:13
thinsoldier joined23:14
ffabi left23:15
noteness joined23:15
texasmynsted joined23:16
KnownSyntax left23:16
diegoviola left23:16
diegoviola joined23:16
s00pcan_ left23:16
jaguarma_ joined23:16
KnownSyntax joined23:17
mizu_no_oto left23:17
theskillwithin joined23:18
s00pcan_ joined23:18
ffabi joined23:19
jaguarmagenta left23:19
postsneakernet joined23:19
mischat left23:19
CrypticGator joined23:19
Rodya_ joined23:20
ensyde joined23:22
noteness left23:22
ajf- joined23:23
weox left23:24
userx left23:24
Rodya_ left23:25
voice_of_me left23:25
ajf- left23:26
jbitdrop left23:26
Rodya_ joined23:29
noteness joined23:29
userx joined23:30
cdg left23:31
SporkWitch left23:31
livingstn joined23:32
SonikBoom left23:33
thinsoldier left23:34
noteness left23:36
lindenle left23:36
timvisher left23:36
lindenle joined23:37
timvisher joined23:37
mwhooker joined23:37
Noldorin joined23:38
st0opkid left23:39
st0opkid joined23:40
bronson joined23:40
dm7freek joined23:41
ToBeCloud left23:43
bronson left23:45
noteness joined23:46
MattMaker joined23:48
mattfoo left23:48
userx left23:48
kugel joined23:49
userx joined23:50
Gitzilla joined23:51
mattfoo joined23:52
mwhooker left23:52
MattMaker left23:53
staticshock left23:54
zarel left23:54
SwiftMatt left23:54
rbr left23:54
harish left23:55
afuentes left23:58
rbern joined23:58
fstd left23:59
userx left23:59

Logs Search ←Prev date Next date→ Channels Documentation