Re: [git-users] GIT and posh-git

2023-08-21 Thread Konstantin Khomoutov
On Sat, Aug 19, 2023 at 12:47:40PM -0700, RHH wrote: > I followed the Mosh Hamadoni tutorial and managed to get GIT installed; > however, it resides in my user directory on the C: drive. I have a > partition for developing code other than the C: drive. ...while we're at it, since running Git o

Re: [git-users] GIT and posh-git

2023-08-21 Thread Konstantin Khomoutov
On Mon, Aug 21, 2023 at 02:04:05PM +0300, Konstantin Khomoutov wrote: [...] > I have just downloaded Git for Windows from its official site [1], and the > first question the installer asked after having me agreed with the terms of > the software license was the question about the installation loca

Re: [git-users] GIT and posh-git

2023-08-21 Thread Konstantin Khomoutov
On Sat, Aug 19, 2023 at 12:47:40PM -0700, RHH wrote: > I followed the Mosh Hamadoni tutorial and managed to get GIT installed; > however, it resides in my user directory on the C: drive. I have a > partition for developing code other than the C: drive. I would like to > have GIT in that devel

Re: [git-users] git - controlling user access to specific git repositories

2023-07-24 Thread Konstantin Khomoutov
On Mon, Jul 24, 2023 at 12:58:49AM -0700, aksrin...@gmail.com wrote: > I am new to the implementation of git and i had a requirement where i need > to control user access to specific git repositories. > > For ex: I have 3 different projects for which i create 3 different git > repositories and

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-11 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov writes: > On Tue, Jul 11, 2023 at 08:20:23PM +0200, Uwe Brauer wrote: >>> Do I assume correctly that you have had that configuration option set in >>> some >>> of the Git configuration sources? >> >> Well I had in my global .gitconfigure file indeed the line >>

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-11 Thread Konstantin Khomoutov
On Tue, Jul 11, 2023 at 08:20:23PM +0200, Uwe Brauer wrote: >> Do I assume correctly that you have had that configuration option set in some >> of the Git configuration sources? > > Well I had in my global .gitconfigure file indeed the line > [pull] > rebase = true > > I forgot it complet

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-11 Thread Uwe Brauer
> On Mon, Jul 10, 2023 at 09:51:12PM +0200, Uwe Brauer wrote: > [...] > Do I assume correctly that you have had that configuration option set in some > of the Git configuration sources? Well I had in my global .gitconfigure file indeed the line [pull] rebase = true I forgot it complet

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-11 Thread Konstantin Khomoutov
On Mon, Jul 10, 2023 at 09:51:12PM +0200, Uwe Brauer wrote: [...] > I just realized also > > [pull] > rebase = true > > So I will set this to false and see what happens > that was the culprit. > > Thanks all of your for your patience. Should have checked by > configuration first 😳 Do I

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Uwe Brauer
> from https://git-scm.com/docs/git-config > pull.ff > By default, Git does not create an extra merge commit when merging a > commit that is a descendant of the current commit. Instead, the tip > of the current branch is fast-forwarded. When set to |false|, this > variable tells G

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Uwe Brauer
>>> "CS" == Chris Stone writes: > from https://git-scm.com/docs/git-config > pull.ff > By default, Git does not create an extra merge commit when merging a > commit that is a descendant of the current commit. Instead, the tip > of the current branch is fast-forwarded. When set to |fa

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Chris Stone
from https://git-scm.com/docs/git-config pull.ff By default, Git does not create an extra merge commit when merging a commit that is a descendant of the current commit. Instead, the tip of the current branch is fast-forwarded. When set to |false|, this variable tells Git to create an

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Uwe Brauer
>>> "KK" == Konstantin Khomoutov writes: > On Mon, Jul 10, 2023 at 06:30:04PM +0200, Uwe Brauer wrote: >> While in mercurial «hg fetch» is equivalent to «hg pull» and «hg merge» >> >> it seems that «git pull --no-ff» is not equivalent to >> «git fetch» and «git merge». > This might be wrong ex

Re: [git-users] git pull --no-ff is not equivalent to git fetch+merge

2023-07-10 Thread Konstantin Khomoutov
On Mon, Jul 10, 2023 at 06:30:04PM +0200, Uwe Brauer wrote: > While in mercurial «hg fetch» is equivalent to «hg pull» and «hg merge» > > it seems that «git pull --no-ff» is not equivalent to > «git fetch» and «git merge». This might be wrong expectations. I'll try to explain in simple words.

Re: [git-users] Git default behaviour regarding submodules

2022-12-29 Thread Konstantin Khomoutov
On Thu, Dec 29, 2022 at 04:39:42AM -0800, Daniel Torrescusa Rubio wrote: (Rehashed the original text for easier commenting.) [...] > I mean, for example. if there is some submodule on a git repository, the > default behaviour should be to make it available when you clone the > repository, and u

Re: [git-users] git blame display name-rev?

2022-12-15 Thread Uwe Brauer
> Uwe Brauer writes: > Here we go: > auctex on  master took 7s > ❯ git blame -l tex.el | git name-rev --refs=master --name-only > --annotate-stdin | head > master~624 (Tassilo Horn 2020-09-04 17:19:57 +0200 1) > ;;; tex.el --- Support for TeX documents. -*- lexical-bi

Re: [git-users] git blame display name-rev?

2022-12-15 Thread Tassilo Horn
Uwe Brauer writes: > Currently (taking auctex https://www.gnu.org/software/auctex/ as an > example) I obtain using > > git blame tex.el > > f7c0c735d (Tassilo Horn 2020-09-04 1) ;;; tex.el > fedf75103 (Per Abrahamsen 1994-04-07 2) > 4b1c7015a (Ikumi Kei

Re: [git-users] git log fails: Segmentation fault (core dumped) for GNU emacs

2022-11-21 Thread Uwe Brauer
> I think I will try to upgrade git. I tried 2.18 and it crashes again, I tried 2.38 and used git log --since=2years --graph --color=always --all --decorate --pretty=short | git name-rev --annotate-stdin | less -R And that worked like charm Thanks -- Warning: Content may be disturbing to so

Re: [git-users] git log fails: Segmentation fault (core dumped) for GNU emacs

2022-11-21 Thread Uwe Brauer
>>> "TH" == Tassilo Horn writes: > Uwe Brauer writes: >> On the other hand it is possible to use the following git command to >> obtain a more or less similar information >> >> git log --graph --color=always --all --decorate --pretty=short | git name-rev >> --stdin | less -R > It's more less t

Re: [git-users] git log fails: Segmentation fault (core dumped) for GNU emacs

2022-11-21 Thread Tassilo Horn
Uwe Brauer writes: > On the other hand it is possible to use the following git command to > obtain a more or less similar information > > git log --graph --color=always --all --decorate --pretty=short | git name-rev > --stdin | less -R It's more less than more more similar information. :-) git

Re: [git-users] git should not allow commit while in middle of rebase

2022-10-18 Thread Sameer Mahajan
Interesting perspectives. Thanks for sharing your inputs. I can definitely see the need now. I guess some kind of additional check (e.g. even git branch for that matter) before commit from my side would definitely help / protect me. On Tuesday, October 18, 2022 at 5:32:17 PM UTC+5:30 Konstantin

Re: [git-users] git should not allow commit while in middle of rebase

2022-10-18 Thread Konstantin Khomoutov
On Tue, Oct 18, 2022 at 03:44:48AM -0700, Sameer Mahajan wrote: > git should not allow commit while in middle of rebase but allow only rebase > --continue until all conflicts are resolved. > > are there any use cases where someone may want to commit in middle of > rebase before rebase --continu

Re: [git-users] git clone ssh key -i error

2022-10-06 Thread Konstantin Khomoutov
On Tue, Oct 04, 2022 at 10:51:48AM -0700, Philippe Couas wrote: > > > I use git 2.37 on Windows 10 and i have an problem with git clone ssh > > > > > > This command is Ok > > > > > > ssh g...@127.0.0.1 -v -p 2223 -i Z:\zpoubelle\tssh4\id_rsa > > > But following command failed > > > > > > set GI

Re: [git-users] git clone ssh key -i error

2022-10-04 Thread Philippe Couas
i have same problem with set GIT_SSH_COMMAND="ssh -p 2223 -i Z:\zpoubelle\tssh4\id_rsa" Le mardi 4 octobre 2022 à 09:54:27 UTC+2, Konstantin Khomoutov a écrit : > On Mon, Oct 03, 2022 at 10:24:39PM -0700, Philippe Couas wrote: > > > I use git 2.37 on Windows 10 and i have an problem with git clo

Re: [git-users] git clone ssh key -i error

2022-10-04 Thread Konstantin Khomoutov
On Mon, Oct 03, 2022 at 10:24:39PM -0700, Philippe Couas wrote: > I use git 2.37 on Windows 10 and i have an problem with git clone ssh > > This command is Ok > > ssh git@127.0.0.1 -v -p 2223 -i Z:\zpoubelle\tssh4\id_rsa > But following command failed > > set GIT_SSH_COMMAND="ssh -p2223-i Z:\zp

Re: [git-users] git fetch creates many threads

2022-07-07 Thread xin ma
thank you for your reply Details are showed in this Youtube video. Please feel free to ask if I can provide anything. https://www.youtube.com/watch?v=DTXvgKYjy5k 在2022年7月4日星期一 UTC+8 19:43:41 写道: > On Fri, Jul 01, 2022 at 03:21:18AM -0700, xin ma wrote: > > > I am using git fetch under one repo

Re: [git-users] git fetch creates many threads

2022-07-04 Thread Konstantin Khomoutov
On Fri, Jul 01, 2022 at 03:21:18AM -0700, xin ma wrote: > I am using git fetch under one repository and it will create a lot of > threads, does anyone know about this problem? > git version 2.33.0 The process of fetching is more complicated than it may seem on the first glance: it first need t

Re: [git-users] git rebase bug report

2022-06-20 Thread Konstantin Khomoutov
(Reformatted sensibly before replying.) On Fri, Jun 17, 2022 at 03:58:25PM -0700, yakou tsuchimikado wrote: [...] > > Please report this bug to the main Git mailing list dedicated to its > > development [1]. This one is for helping mere mortals with their day-to-day > > prblems using Git; report

Re: [git-users] git rebase bug report

2022-06-17 Thread yakou tsuchimikado
Thank you for your advice. I have reported this bug through official channels, but I'm not sure I succeeded. If anyone is familiar with how to report bugs, please be sure to feedback this bug again. On Friday, June 17, 2022 at 7:11:35 p.m. UTC+8 Konstantin Khomoutov wrote: > On Thu, Jun 16, 20

Re: [git-users] git rebase bug report

2022-06-17 Thread Konstantin Khomoutov
On Thu, Jun 16, 2022 at 04:01:20PM -0700, yakou tsuchimikado wrote: > First step > > echo "11" >> test.txt && git commit -m "1" > echo "22" >> test.txt && git commit -m "2" > git rebase -i HEAD~2 Technically speaking this script is incorrect as `git commit -m message`

Re: [git-users] git: bash: command not found

2022-04-25 Thread Konstantin Khomoutov
On Fri, Apr 22, 2022 at 07:35:35PM -0700, Erika B wrote: > I cannot run any commands using git bash! Each time I run a command I get > "git: bash: command not found". I have uninstalled, reinstalled, and edited > my path...NOTHING is working. I have a Windows 11 OS. Can anyone help??? I > need

Re: [git-users] Git CLI username not validated

2021-12-21 Thread Konstantin Khomoutov
On Tue, Dec 21, 2021 at 08:20:57AM -0800, Gajendra wrote: Hi! > OS: Linux Mint 20.2 Cinnamon > Cinnamon Version: 5.0.4 > Linux Kernel : 5.4.0-74-generic > > When I am using the git CLI client on my linux to push to repositories on > github, when it asks me for the credentials verification that

Re: [git-users] Git Sparse-Check fails to download Large files (lfs).

2021-12-09 Thread Konstantin Khomoutov
On Wed, Dec 08, 2021 at 09:08:38AM -0800, vinay wrote: > We are migrating from SVN to GitHub version control system. A minot nitpick: there's no such thing as a "GitHub version control system". Github is a Git hosting service; it has pretty much value added to plain Git but it in inself is not a

Re: [git-users] GIT failed to checkout the linux kernel on a 6 GB system

2021-12-02 Thread skybuck2000
On Thursday, December 2, 2021 at 11:16:34 AM UTC+1 Konstantin Khomoutov wrote: > On Wed, Dec 01, 2021 at 09:01:36PM -0800, skybuck2000 wrote: > > > I would like to report that GIT failed to checkout the linux kernel on a > 6 > > GB system. > > > > For now I believe it ran out of memory. I

Re: [git-users] GIT failed to checkout the linux kernel on a 6 GB system

2021-12-02 Thread Konstantin Khomoutov
On Wed, Dec 01, 2021 at 09:01:36PM -0800, skybuck2000 wrote: > I would like to report that GIT failed to checkout the linux kernel on a 6 > GB system. > > For now I believe it ran out of memory. I only tried once. > > PAGEFILE.SYS on this system was disabled. [...] Again: * Please do not po

Re: [git-users] Git for configfiles for different locations

2021-11-22 Thread Konstantin Khomoutov
On Mon, Nov 22, 2021 at 04:51:07AM -0800, 'Sebastian G' via Git for human beings wrote: Hi, i'm very kew to git and want it to use for configfiles for our opsi-installations. There are 11 seperate locations, with different configfiles. When updating a software for opsi, i manually change the ne

Re: [git-users] `$ git commit --fixup=xxx -e` doesn't open editor anymore

2021-08-16 Thread Konstantin Khomoutov
On Mon, Aug 16, 2021 at 12:49:02AM -0700, Sergey Solovyev wrote: > OK, we found the regression > point > https://github.com/git/git/commit/494d314a0526a8bee9f8af7a6e6b74b66043c9fa > and my co-worker is making a fix for that. That's cool! You can then search [1] to see whether it was reported an

Re: [git-users] `$ git commit --fixup=xxx -e` doesn't open editor anymore

2021-08-16 Thread Sergey Solovyev
OK, we found the regression point https://github.com/git/git/commit/494d314a0526a8bee9f8af7a6e6b74b66043c9fa and my co-worker is making a fix for that. On Sunday, August 15, 2021 at 2:32:39 PM UTC+2 Konstantin Khomoutov wrote: > On Wed, Aug 11, 2021 at 03:05:09AM -0700, Sergey Solovyev wrote: >

Re: [git-users] `$ git commit --fixup=xxx -e` doesn't open editor anymore

2021-08-15 Thread Konstantin Khomoutov
On Wed, Aug 11, 2021 at 03:05:09AM -0700, Sergey Solovyev wrote: > Previously `$ git commit --fixup=xxx -e` would open an editor before > committing the change. It should still be the case according to the command > documentation: > * -e, --edit* > * The message taken from file w

Re: [git-users] git gc error

2021-06-05 Thread Magnus Therning
Mallikarjuna Reddy writes: Hi Tassilo, Yes, we are getting the error in Gerrit 3.2.7, any clue for the fix? I suggest asking the gerrit community directly. The page https://www.gerritcodereview.com/support.html lists several ways of doing that. /M On Thursday, 3 June 2021 at 01:18:43

Re: [git-users] git gc error

2021-06-02 Thread Mallikarjuna Reddy
Hi Tassilo, Yes, we are getting the error in Gerrit 3.2.7, any clue for the fix? On Thursday, 3 June 2021 at 01:18:43 UTC+5:30 Tassilo Horn wrote: > Mallikarjuna Reddy writes: > > > Hi Mallikarjuna, > > > Git gc is configured in gerrit.config to run weekly once on all. > > after completing the

Re: [git-users] git gc error

2021-06-02 Thread Tassilo Horn
Mallikarjuna Reddy writes: Hi Mallikarjuna, > Git gc is configured in gerrit.config to run weekly once on all. > after completing the gc when I noticed in logs some of the repos are > failed with error as follows: > > [Project_path] before: sizeOfPackedObjects=21029828, > sizeOfLooseObjects=25

Re: [git-users] git-subtree recursion depth (1000) reached

2021-02-26 Thread Natália Achberger
Dňa pi 26. 2. 2021, 6:31 Arun Sharma napísal(a): > > So I'm trying to split out a directory from postgres source code (which > has 52k commits). > I was able to split a directory into a separate subtree (with 1685 > commits). All good so far. > > Now I do a pull from upstream and want to push the

Re: [git-users] git merge problems

2021-02-13 Thread Tassilo Horn
Thomas Schweikle writes: Hi Thomas, > I am more or less downloading sources within an automated process: > > cd /pathtosoures > git reset --hard I think you want "git reset --hard origin/master" here (or whatever the remote https://pathtoremote and the branch there is named). > git clean -ffdx

Re: [git-users] Git for beginners

2020-09-02 Thread Mark Brown
Dear Martin, Thank you for your reply. Basically my website was hacked and someone helped me recover it. He then sent me the Github link and the database. I want to recover the website. I have downloaded both Git hub software and Gitbucket. On Wednesday, 2 September 2020 at 14:15:32 UTC+1 traxp..

Re: [git-users] Git for beginners

2020-09-02 Thread Martin Møller Skarbiniks Pedersen
On Fri, 28 Aug 2020 at 16:14, Mark Brown wrote: > > I'm completely new to Git. > Someone recovered a website for me and they sent me a link with a database > > the link looked like g...@bitbucket.org:h*s.git > > I have no idea what to do. Please i need help. I've downloaded github

Re: [git-users] git access to previous commit levels

2020-07-17 Thread Konstantin Khomoutov
On Fri, Jul 17, 2020 at 11:09:28AM -0500, lbd...@gmail.com wrote: [...] > > > The indicated command streams the contents of the named file as recorded > > > in the named commit to a file. The stream gets saved no matter whether you > > > consider the file to be textual or binary - as on contempora

RE: [git-users] git access to previous commit levels

2020-07-17 Thread lbdyck
out your character than your reputation. Character is what you are, reputation merely what others think you are." - John Wooden -Original Message- From: git-users@googlegroups.com On Behalf Of Konstantin Khomoutov Sent: Friday, July 17, 2020 10:53 AM To: git-users@googlegroups.com

Re: [git-users] git access to previous commit levels

2020-07-17 Thread Konstantin Khomoutov
On Fri, Jul 17, 2020 at 07:32:34AM -0500, lbd...@gmail.com wrote: > My quandary: I want to retrieve a copy of an element from a previous commit. [...] > I've tried: git show : > /tmp/file > > And it works GREAT for text based elements. For binary elements the results > are useless. Can you expla

Re: [git-users] Git workflow recommendations

2020-05-15 Thread Magnus Therning
SJW writes: > On Thursday, 14 May 2020 15:54:31 UTC+10, Magnus Therning wrote: >> >> >> SJW > writes: >> >> > New to Git and I'm using a basic workflow that I'm not sure is that good >> so >> > wanted to post it here for feedback, critique and suggestions if >> possible. >> > >> > Dev = Local Wi

Re: [git-users] Git workflow recommendations

2020-05-14 Thread SJW
On Thursday, 14 May 2020 15:54:31 UTC+10, Magnus Therning wrote: > > > SJW > writes: > > > New to Git and I'm using a basic workflow that I'm not sure is that good > so > > wanted to post it here for feedback, critique and suggestions if > possible. > > > > Dev = Local Win 7 PC > > Staging =

Re: [git-users] git stash

2020-05-14 Thread Konstantin Khomoutov
On Wed, May 13, 2020 at 08:59:14AM +0200, Tassilo Horn wrote: > > I gone through the git doc but I am not able to do the git stash > > particular file [...] > so it must be > > git stash push -m "message " -- filepath > > That filespecs go after a double-dash is quite common with git. For > e

Re: [git-users] Git workflow recommendations

2020-05-13 Thread Magnus Therning
SJW writes: > New to Git and I'm using a basic workflow that I'm not sure is that good so > wanted to post it here for feedback, critique and suggestions if possible. > > Dev = Local Win 7 PC > Staging = Staging Server > Production = Live Site > >1. Develop on a branch (new-feature) >2.

Re: [git-users] git stash

2020-05-12 Thread Tassilo Horn
Kunal Chauhan writes: Hi Kunal, > I gone through the git doc but I am not able to do the git stash > particular file > > like 1. >>>git stash show //its some some 2 files +++ and > > but I tried > :>> git stash push -m "message " filepath > above command is working ? git stash -h shows

Re: [git-users] git submodule update behavior

2020-05-05 Thread Kunal Chauhan
Please can you brief what is the use of build_root folder here , how the code is build and how it is pussed. On 5 May 2020 8:02 a.m., "Alexander Lindsay" wrote: Hi all, I am a maintainer for github.com/idaholab/moose. I had a developer submit a pull request the other day trying to update our li

Re: [git-users] git submodule update behavior-relates

2020-05-05 Thread Kunal Chauhan
Hi Team, Can specify or describe why the project is having build_root folder. What is the motive of it . On 5 May 2020 8:02 a.m., "Alexander Lindsay" wrote: Hi all, I am a maintainer for github.com/idaholab/moose. I had a developer submit a pull request the other day trying to update our

Re: [git-users] Git keeps getting out of sync and I cant figure it out

2020-04-26 Thread Constantine Shulyupin
First of all, would you like to send us report generated by utility https://github.com/makelinux/git-wizard ? The second, you can save your commits with command "git format-patch ". But your valuable commits, not theirs. And save changes: "git diff HEAD > changes.patch" Or, the third, you can c

Re: [git-users] git bash logout by shutdown laptop..

2020-04-10 Thread Front-end Developer Kumar
Thank you Konstantin. I hope this works. On Friday, April 10, 2020 at 6:27:06 PM UTC+5:30, Konstantin Khomoutov wrote: > > On Fri, Apr 10, 2020 at 02:19:06AM -0700, Front-end Developer Kumar wrote: > > (Reformatted to remove top-posting.) > > >>> I'm having an issue, whenever I shut down my lap

Re: [git-users] git bash logout by shutdown laptop..

2020-04-10 Thread Konstantin Khomoutov
On Fri, Apr 10, 2020 at 02:19:06AM -0700, Front-end Developer Kumar wrote: (Reformatted to remove top-posting.) >>> I'm having an issue, whenever I shut down my laptop, the git Bash >>> logout by own, and when I start my VSCode it asks me to login again >>> and again. >>> Please let me know what

Re: [git-users] git bash logout by shutdown laptop..

2020-04-10 Thread Front-end Developer Kumar
This is the popup that came up every time. I have attached the image. On Friday, April 10, 2020 at 2:31:06 PM UTC+5:30, Konstantin Khomoutov wrote: > > On Thu, Apr 09, 2020 at 10:38:20AM -0700, Front-end Developer Kumar wrote: > > > I'm having an issue, whenever I shut down my laptop, the git Ba

Re: [git-users] git bash logout by shutdown laptop..

2020-04-10 Thread Konstantin Khomoutov
On Thu, Apr 09, 2020 at 10:38:20AM -0700, Front-end Developer Kumar wrote: > I'm having an issue, whenever I shut down my laptop, the git Bash logout by > own, and when I start my VSCode it asks me to login again and again. Please > let me know what is the issue. Please elaborate on your issue.

Re: [git-users] Git Newbie

2020-02-21 Thread Michael
On 2020-01-15, at 9:19 AM, Subbu Subbu wrote: > How do you select the build software after doing a fork of your source in > github. How can multiple developers use github. Github is an entirely different beast than git. There may be people on this list that can help you, but that's a differe

Re: [git-users] Git Newbie

2020-01-15 Thread Michael
On 2020-01-15, at 9:19 AM, Subbu Subbu wrote: > How do you select the build software after doing a fork of your source in > github. How can multiple developers use github. Can you please clarify what you'd like to find out? -- You received this message because you are subscribed to the Goo

Re: [git-users] Git Newbie

2020-01-15 Thread Marty McGowan
Big open-ended questions. I'm sure you'll find this helpful: https://git-scm.com/book/en/v2 =*+[]+ Marty McGowan 908 230-3739 64 Diamond Spring Dr, Monroe Twp NJ 08831 http://mcgowans.org/pubs/family On Wed, Jan 15, 2020, at 11:19, Subbu Subbu wrote: > How do you select the build software aft

Re: [git-users] git commit message template plugin

2019-12-20 Thread Tim Schofield
>From the comments at the beginning of the prepare-commit-msg.sample script: # An example hook script to prepare the commit log message. # Called by "git commit" with the name of the file that has the # commit message, followed by the description of the commit # message's source. The hook's purpo

Re: [git-users] git commit message template plugin

2019-12-19 Thread Python Prog
i am aware of that hook ,prepare-commit-msg hook runs in the background on a "git commit" and does some checks,I am looking for a UI to pop-up (via plugin) on git commit so that user can the requested commit message fields which can then be saved as a commit message,anyone know how this can be

Re: [git-users] git commit message template plugin

2019-12-19 Thread Tim Schofield
I think it is the prepare-commit-msg hook that you require. Thanks Tim On Thu, 19 Dec 2019 at 00:31, Python Prog wrote: > > @Philip - I looked at https://githooks.com/ before but not clear if these > will provide the functionality am looking for,I am looking for something like > a UI popup ,m

Re: [git-users] git commit message template plugin

2019-12-18 Thread Python Prog
@Philip - I looked at https://githooks.com/ before but not clear if these will provide the functionality am looking for,I am looking for something like a UI popup ,may be after a "git commit" event where folks can enter the commit message info.All these hooks seems like they run in the backgro

Re: [git-users] git commit message template plugin

2019-12-18 Thread Philip Oakley
Look up the 'hooks' which are scripts that are run on various events happening, such as a commit, etc. I believe there will be a suitable hook that can be set. Philip On 18/12/2019 23:42, Python Prog wrote: > Hello > > I am looking to develop a commit message plugin where developers > working on

Re: [git-users] Git, windows and '/' in branch names

2019-10-11 Thread Philip Oakley
On 10/10/2019 14:55, Magnus Therning wrote: Philip Oakley writes: On 09/10/2019 08:53, Magnus Therning wrote: I have a vague memory of there being problems using '/' in branch names on Windows. Is that still the case? /M I don't believe so for 'normal' situations (here I'm thinking of it as

Re: [git-users] Git, windows and '/' in branch names

2019-10-10 Thread Magnus Therning
Philip Oakley writes: > On 09/10/2019 08:53, Magnus Therning wrote: >> I have a vague memory of there being problems using '/' in branch names on >> Windows. Is that still the case? >> >> /M > > I don't believe so for 'normal' situations (here I'm thinking of it as a > directory separator or pa

Re: [git-users] Git, windows and '/' in branch names

2019-10-09 Thread Philip Oakley
On 09/10/2019 08:53, Magnus Therning wrote: I have a vague memory of there being problems using '/' in branch names on Windows. Is that still the case? /M I don't believe so for 'normal' situations (here I'm thinking of it as a directory separator or path component separator). There will s

Re: [git-users] Git Branching and Merging Strategy for a Shared Team Resource

2019-04-29 Thread Mikko Rantalainen
On Fri, 26 Apr 2019, 04:22 ckdev101, wrote: > > Here is the team make-up: > >- Sprint Team #1 >- Sprint Team #2 >- *Shared* DBA across teams >- Dev. Lead (Myself) > > ... > > The problem is that the shared DBA needs to constantly and consistently > make changes *across* teams for

Re: [git-users] git svn clone and migration steps - quick questions

2019-04-18 Thread Zk W
Hi Philip, thx for responding. will update if we make any progress with your suggestion. Thank you On Thursday, April 18, 2019 at 11:16:27 AM UTC-5, Philip Oakley wrote: > > Hi ZK W, > You should be able to set the config in the --global config file (as > oppose to the config file specific to t

Re: [git-users] git svn clone and migration steps - quick questions

2019-04-18 Thread Philip Oakley
Hi ZK W, You should be able to set the config in the --global config file (as oppose to the config file specific to the created repository). There are three or four config file locations with a priority order, so go for the level most suited. There may also be an environment variable (check the

Re: [git-users] git svn clone and migration steps - quick questions

2019-04-18 Thread Zk W
Hi Philip After issuing git svn clone, we could not issue git config gc.auto to change its setting at the same time in that local directory that git svn clone would clone to. If there's a way to do it, we don't know how. Q: Do we just open another terminal to issue git config gc.auto 0 while anot

Re: [git-users] git svn clone and migration steps - quick questions

2019-04-18 Thread Philip Oakley
Hi Zk W, That sounds like its a configurable item to tell _gc_ to stop that warning (change the limits, or change the 'when it looks' settings). I don't know enough about the gc auto settings but the manual should help for both gc and for config in spotting what to set. It doesn't sound lik

Re: [git-users] git svn clone and migration steps - quick questions

2019-04-18 Thread Zk W
Hi Philip Thx for responding. It failed during the git svn clone step. It essentially crashed with message " error: The last gc run reported the following. Please correct the root cause and remove .git/gc.log Automatic cleanup will not be performed until file is removed. warning: There are too

Re: [git-users] git svn clone and migration steps - quick questions

2019-04-18 Thread Philip Oakley
Hi Zk W, While I know nothing of svn, could you at least clarify when the 'gc' fails. I think I've seen threads where the 'gc' is performed at the end, with an implication that the transfer had happened but the problem was afterwards. You may also want to search the main Git List archive

Re: [git-users] git rebase obscure and vague options

2019-04-06 Thread Philip Oakley
Normally rebase takes a segment of your command history, so _always_ has a definite start point in the _middle_ of history because even if you leave the parameter blank, git will use the upstream branch default. So if you don't want to do that, but actually take _everything_ from the root commi

Re: [git-users] Git for Windows and .NET?

2019-04-04 Thread Mark Waite
https://www.nuget.org/packages/Git-Windows-Minimal/ says: Minimal Git for Windows is a reduced sized package designed to support > application integration (like integrated development environments, graph > visualizers, etc.) where full console support (colorization, pagniation, > etc.) is not need

Re: [git-users] git push --recurse-submodules not recursing

2019-03-06 Thread Philip Oakley
I think (but I'm no expert here) that this is a current limitation that is slowly being worked on upstream. If you want to have a look at the developer list discussions try https://public-inbox.org/git/?q=git+push+--recurse-submodules (adjust the search to taste...) Stephan Beller is the pow

Re: [git-users] git subtree add: Import only specified folder from remote git

2019-02-04 Thread nsugraiah
hello, How to add multiple folders in GIT. something like this, I have git repo as below projectFolder --> .git --> folder1 -->subfolder1 --> files -->folder2 --> subfolder2 subfolder21 --> files(1--n) and I want add multiple new folders --> .git --> folder1 -->subfol

Re: [git-users] git checkout file with custom mtime

2019-01-09 Thread Daniel Fanjul
The mtime of the files in my working copy change when I amend or rebase or checkout different branches or in general when I use git commands. I carefully store the mtime when these files are generated or overwritten and restore it when it is going to be read. The tool I use is https://packages.ubun

Re: [git-users] git checkout file with custom mtime

2019-01-09 Thread Konstantin Khomoutov
On Sat, Jan 05, 2019 at 10:44:47PM +0100, Daniel Fanjul wrote: > I'm on Ubuntu. I do not use LFS. I track mods and saved games of > Skyrim with git, TESV.exe sorts the saved games only by their mtime. I > know it is not the most usual use case for git. > > I agree with that viewpoint and I like th

Re: [git-users] git checkout file with custom mtime

2019-01-09 Thread Philip Oakley
Hi Daniel, I think between us we have two wrongs and a right. On 06/01/2019 14:11, Daniel Fanjul wrote: Yes, I know about it but it does not work completely for me: Examples: $ git update-index --no-assume-unchanged saves/* && touch saves/* && time git status saves/* 20 seconds reading file co

Re: [git-users] git checkout file with custom mtime

2019-01-06 Thread Daniel Fanjul
Yes, I know about it but it does not work completely for me: Examples: $ git update-index --no-assume-unchanged saves/* && touch saves/* && time git status saves/* 20 seconds reading file contents that did not actually change. $ git update-index --assume-unchanged saves/* && touch saves/* && time

Re: [git-users] git checkout file with custom mtime

2019-01-06 Thread Philip Oakley
Hi Daniel (trimmed the cc, removing the Git List as they won't have seen these HTML emails.. I'd only added it to confirm their address and forgot to remove it, doh!) Yes, the 'git update-index --assume-unchanged' is confusing because actually it is a _user_ promise not to change things, so

Re: [git-users] git checkout file with custom mtime

2019-01-05 Thread Daniel Fanjul
I'm on Ubuntu. I do not use LFS. I track mods and saved games of Skyrim with git, TESV.exe sorts the saved games only by their mtime. I know it is not the most usual use case for git. I agree with that viewpoint and I like the way git works right now, I do not want to change that. Checking out the

Re: [git-users] git checkout file with custom mtime

2019-01-05 Thread Philip Oakley
Daniel, Do you use the Git LFS (Large File System) add-on?, are you on Windows or Linux?, and what tools need mtime (or is it something about the process of using the tool..)? The Git viewpoint is that the mtime shouldn't be important for the version storage & control aspects, though it may

Re: [git-users] git with "bumper lanes" for basic users

2018-10-26 Thread Konstantin Khomoutov
[...] > > I wanted to reach out to suggest an idea I had for the git community. > [...] > > Wouldn’t it be great if there was a constrained version of git that you > > knew would NEVER let you get into those situations? > > I doubt so: to me, it's entirely unclear where you'd draw a line across

Re: [git-users] git with "bumper lanes" for basic users

2018-10-26 Thread Konstantin Khomoutov
On Fri, Oct 26, 2018 at 08:51:44AM -0700, nsjac...@g.ucla.edu wrote: > Hello git community! Hi! You might have hit a wrong venue to discuss your idea. This particular community is concentrated on helping newbie Git users solve the problems they have with _using_ Git. What you would like to disc

Re: [git-users] git with "bumper lanes" for basic users

2018-10-26 Thread Rick Umali
Hi Nate, Check out gitless: https://gitless.com/ I can't remember if I read about it in this group or in the main Git mailing list, but it looked intriguing. The intro to gitless says: "Gitless is a version control system built on top of Git. Many people complain that Git is hard to use. We thin

Re: [git-users] Git and Svn

2018-09-27 Thread Konstantin Khomoutov
On Thu, Sep 27, 2018 at 11:13:19AM -0700, mondino.m...@gmail.com wrote: JFTR, this question was also crossposted to SO: . [...] -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe

Re: [git-users] Git and Svn

2018-09-27 Thread Konstantin Khomoutov
On Thu, Sep 27, 2018 at 11:13:19AM -0700, mondino.m...@gmail.com wrote: > I tried to commit my git repo on a subversion system and something went > wrong. Here in detail what I've done so far: > > 1. starting from a commit on our svn, I launched this command: > `$git svn clone my_repo_url

Re: Re: [git-users] "git add ." : where does this dot come from ?

2018-09-08 Thread Philippe Baret
Thank you for your answer and your hint Philipp. I am using Debian 9 Stretch / git version 2.18.0 On Saturday, September 8, 2018 at 12:25:11 PM UTC+3, Philip Oakley wrote: > > Hi > > The `.` dot is a possible path spec on Linux (You didn't say which OS/git > version you were running on). Just as

Fwd: Re: [git-users] "git add ." : where does this dot come from ?

2018-09-08 Thread Philip Oakley
Hi The `.` dot is a possible path spec on Linux (You didn't say which OS/git version you were running on). Just as you can use double dot for the parent directory in many commands, you can use a single dot to represent the current directory. Hence adding '.' should add the current directory.

Re: [git-users] Git Bash for Windows bug v2.18.0 - Command prompt text is not appearing when typed.

2018-08-29 Thread Konstantin Khomoutov
On Thu, Aug 23, 2018 at 09:49:09PM -0700, MutualCore wrote: > Command prompt text is not appearing when typed. It's there, I can execute > the commands but I can't see the text. On Fri, Aug 24, 2018 at 03:36:38PM -0700, MutualCore wrote: > Another bug, >git log ends up stuck in the listing and

Re: [git-users] Git tags and information as file header

2018-08-23 Thread Michael
> - version: doesn't make sense in git, would it be the hash? what does > that tell me? "Version" is not a git-native concept. Semantic versioning is an end-developer convention, not a "text history tracking tool" issue. https://semver.org/ Note that items 9 and 10 in that list permit in

Re: [git-users] Git tags and information as file header

2018-08-23 Thread Michael Forbes
A general strategy for this type of problem is to add this information to the files during the build or deploy phase - i.e. at the point where the file leaves the repository to venture out into the wild. I use, for example "hg log -v -l 1" to replace a tag in my files when I deploy something so

Re: [git-users] Git tags and information as file header

2018-08-23 Thread Konstantin Khomoutov
On Thu, Aug 23, 2018 at 09:34:04AM -0700, Michael Brininstool wrote: > Wow! How condescending of you! In my 35 years of programming and system > administration, tagging a script or config file with a label that > identifies which "version" it is, is essential. When you deploy these > files t

  1   2   3   4   5   6   7   8   9   10   >