Re: [git-users] New user gets lost driving the Git Bash
PS: The "command like" provided with Git for Windows is something like Bash for Linux. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] how to git format patch without swith to that branch
how to? Lei On Tue, Jul 24, 2012 at 12:18 AM, Konstantin Khomoutov wrote: > On Mon, 23 Jul 2012 23:43:50 +0800 > lei yang wrote: > >> I want to format patch from branch A, but current branch is B, is it >> possible to format patch without switching to B? > Yes. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] Sorry...need help installing on windows
Daniel P. Wright (Tue, Jul 24, 2012 at 11:12:04AM +0900) >> > Jeffery Brewer (Mon, Jul 23, 2012 at 03:24:46PM -0700) >> > > OK, so I've read about GIT, I took the free online course over at Code > > School, I spent more time reading about git, read the git book on the git > > website...I'm eager to try it out...I go to the Git website, download the > > windows installation, install, find a command prompt, type "$ git config" > > like it says in the booknothing. I'm getting "'$' is not recognized as > > an internal or external command, operable program or batch file." > > The "$" represents your prompt, so you shouldn't type it. Try "git > config" instead. > > -Dani. > Whoops, didn't see the thread further down where you figured it out. Sorry for the noise. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] Sorry...need help installing on windows
Jeffery Brewer (Mon, Jul 23, 2012 at 03:24:46PM -0700) >> > OK, so I've read about GIT, I took the free online course over at Code > School, I spent more time reading about git, read the git book on the git > website...I'm eager to try it out...I go to the Git website, download the > windows installation, install, find a command prompt, type "$ git config" > like it says in the booknothing. I'm getting "'$' is not recognized as > an internal or external command, operable program or batch file." The "$" represents your prompt, so you shouldn't type it. Try "git config" instead. -Dani. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] New user gets lost driving the Git Bash
you need a space between the command and argument "cd .." On Mon, Jul 23, 2012 at 7:36 PM, Jeffery Brewer wrote: > Thanks to both... > > how do you move up one level in the directory structure without having to > type the entire path? e.g. "cd.." > > > On Monday, July 23, 2012 4:30:14 PM UTC-7, Serge Matveenko wrote: >> >> On Tue, Jul 24, 2012 at 3:18 AM, Łukasz Siwiński >> wrote: >> > Ps: after: "$ echo dir alias='ls' >> .bashrc" exit & relaunch your >> > prompt (bach/command line) >> >> alias dir='ls -Alh' >> >> gives more familiar look for windows user >> >> personally I use this alias in my linux shell for over 6 years >> >> >> -- >> Serge Matveenko >> se...@matveenko.ru >> http://www.ohloh.net/accounts/lig >> http://ru.linkedin.com/in/sergematveenko > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/git-users/-/mBcY5sU4qI0J. > > To post to this group, send email to git-users@googlegroups.com. > To unsubscribe from this group, send email to > git-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/git-users?hl=en. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] New user gets lost driving the Git Bash
Thanks to both... how do you move up one level in the directory structure without having to type the entire path? e.g. "cd.." On Monday, July 23, 2012 4:30:14 PM UTC-7, Serge Matveenko wrote: > > On Tue, Jul 24, 2012 at 3:18 AM, Łukasz Siwiński > wrote: > > Ps: after: "$ echo dir alias='ls' >> .bashrc" exit & relaunch your > > prompt (bach/command line) > > alias dir='ls -Alh' > > gives more familiar look for windows user > > personally I use this alias in my linux shell for over 6 years > > > -- > Serge Matveenko > se...@matveenko.ru > http://www.ohloh.net/accounts/lig > http://ru.linkedin.com/in/sergematveenko > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/mBcY5sU4qI0J. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] New user gets lost driving the Git Bash
On Tue, Jul 24, 2012 at 3:18 AM, Łukasz Siwiński wrote: > Ps: after: "$ echo dir alias='ls' >> .bashrc" exit & relaunch your > prompt (bach/command line) alias dir='ls -Alh' gives more familiar look for windows user personally I use this alias in my linux shell for over 6 years -- Serge Matveenko se...@matveenko.ru http://www.ohloh.net/accounts/lig http://ru.linkedin.com/in/sergematveenko -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] New user gets lost driving the Git Bash
Ps: after: "$ echo dir alias='ls' >> .bashrc" exit & relaunch your prompt (bach/command line) 2012/7/24 Łukasz Siwiński : > do the following: > > echo "alias dir =ls" > > > if you want to go to c: drive do the following > > cd /c > > if you want to go to d: do the following > > cd /d > > next I recomend You git magic book (as the first position to read), it > helped me > > practice & n'joy. > > 2012/7/24 Jeffery Brewer : >> Aha! Figured out that after installing on windows you don't go to a command >> line directly, you have to go through "Start > All Programs > Git > Git >> Bash" which gives you a different kind of command line. >> >> Was able to set up my configuration settings as described in "The Book". Am >> now at the beginning of Chapter 2 "Installing a Repository in an Existing >> Directory" and trying to figure out how to drive the Git Bash over to my >> existing directory. I tried a "dir" which in a normal command line gives you >> a listing of the contents of the current directory, but that's giving me an >> "sh.exe": dir: command not found" error. "cd" seems to work, so I tried a >> "cd c:" but not sure I've gone into the root or not. Any way to list files >> in the Git Bash? >> >> -- >> You received this message because you are subscribed to the Google Groups >> "Git for human beings" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/git-users/-/ORaKXYZbarcJ. >> To post to this group, send email to git-users@googlegroups.com. >> To unsubscribe from this group, send email to >> git-users+unsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/git-users?hl=en. > > > > -- > Łukasz Siwiński > +48 504 490 537 > http://siwinski.info -- Łukasz Siwiński +48 504 490 537 http://siwinski.info -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] New user gets lost driving the Git Bash
do the following: echo "alias dir =ls" if you want to go to c: drive do the following cd /c if you want to go to d: do the following cd /d next I recomend You git magic book (as the first position to read), it helped me practice & n'joy. 2012/7/24 Jeffery Brewer : > Aha! Figured out that after installing on windows you don't go to a command > line directly, you have to go through "Start > All Programs > Git > Git > Bash" which gives you a different kind of command line. > > Was able to set up my configuration settings as described in "The Book". Am > now at the beginning of Chapter 2 "Installing a Repository in an Existing > Directory" and trying to figure out how to drive the Git Bash over to my > existing directory. I tried a "dir" which in a normal command line gives you > a listing of the contents of the current directory, but that's giving me an > "sh.exe": dir: command not found" error. "cd" seems to work, so I tried a > "cd c:" but not sure I've gone into the root or not. Any way to list files > in the Git Bash? > > -- > You received this message because you are subscribed to the Google Groups > "Git for human beings" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/git-users/-/ORaKXYZbarcJ. > To post to this group, send email to git-users@googlegroups.com. > To unsubscribe from this group, send email to > git-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/git-users?hl=en. -- Łukasz Siwiński +48 504 490 537 http://siwinski.info -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] New user gets lost driving the Git Bash
Aha! Figured out that after installing on windows you don't go to a command line directly, you have to go through "Start > All Programs > Git > Git Bash" which gives you a different kind of command line. Was able to set up my configuration settings as described in "The Book". Am now at the beginning of Chapter 2 "Installing a Repository in an Existing Directory" and trying to figure out how to drive the Git Bash over to my existing directory. I tried a "dir" which in a normal command line gives you a listing of the contents of the current directory, but that's giving me an "sh.exe": dir: command not found" error. "cd" seems to work, so I tried a "cd c:" but not sure I've gone into the root or not. Any way to list files in the Git Bash? -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/ORaKXYZbarcJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] SSH keys required for SSL authentication/authorization?
ths for your post response, but I have some questions and comments (embedded within your post) On Saturday, July 21, 2012 6:56:50 AM UTC-7, Konstantin Khomoutov wrote: > > > > First, SSH and SSL have nothing in common except for the word [S]ecure > and the naturally following fact they secure something (SSH secures the > [SH]ell access and SSL secures the [S]ocket [L]ayer). These are > completely disjoint protocols invented for differing needs. > > These protocols also use different approach for what you call "keys". > SSH uses "shallow" approach to keys: a client generates a pair of > keys -- one public and one private, -- then transfers the public part to > the server and adds it to an *explicit* list of trusted keys. Hence the > server either trusts that key or not; nothing else. The client actually > does the similar thing by checking the server's key's fingerprint to see > if it's known and trusted. > SSL uses hierarchical approach to its "keys", which it calls > "certificates": this stuff involves certification authotities (CAs) and > trust chains they create. The whole topic is too deep to cover here but > the end result is that usually either side or both explicitly trust some > CA, and through this fact they tust each other. > In either case, the wire format of the keys used by these protocols and > the semantics of their usage is different. > Despite SSL support for hierarchical CAs, compared to your "shallow" definition that is likely only an additional feature. x509 certs can be self-signed, generated on the host itself, without a CA or levels of hierarchy. In both cases the use of certs for identification, authentication and authorization seems to me only a case of details when the handshakes for both protocols sre actually similar.Also AFAIK the keys for each protocol are similar, the containers for storage and exchange may be different. > > One last thing to note is that while SSL/TLS is based solely around > those X.509 certificates, SSH defines various methods for authentication > of the client to the server: besides the "pubkey" method we've just > discussed, it supports the very popular "keyboard interactive" method, > Kerberos authentication and GSSAPI (SSPI in Microsoft lingo) which can > also do Kerberos. > Agreed, but I think that for the purposes of establishing trusted sessions with Github, we're only talking about two methods... Username/password and cert keys. What prompted me to ask this question is that I've observed that setting up Git to github requires generating clientside keys, but also seems to require username/password... Am trying to verify my observation that - Trying to authenticate to Github even using SSL requires generating SSH keys and entering the pubkey into your github Admin account - Even after properly configuring your Github account with your pubkey, you will still be prompted for Username/Password on each connetion, but can be partially addressed clientside by modifying the credential helper caching timeout. So, this leads me to believe that SSH keys and Username/Password are required for authentication (And looking for verification) > > So no, the same keys can't be used for both SSL and SSH. > For the reasons I've described, I guess I'm still not convinced. You may be correct, but not likely for the reasons you've given. I think I'm not just being stubborn, and allow that perhaps I could be fundamentally mistaken somewhere, but to me an RSA key is a generic key that's only specific to the way the key is generated, and can be used by any given application or protocol for proving identity and possibly encryption. > > As to github, I think they implement two modes: > 1) SSH keys are used to access the repo via SSH. You associate your SSH >key with your github account and so when you're trying to >authenticate the next time, Git knows who you are from your key. > 2) SSL is used to simply encrypt the conversation with the server, and >then HTTP (which tunnelled over SSL) uses simple password-based >authentication method called "basic" to verify your identity. >See https://github.com/blog/642-smart-http-support for hints on this. > What you state may be true for SSH, but regarding SSL doesn't seem to be consistent with what I've experienced. But then, maybe I can try more experiments with SSL to prove that the SSH pubkey that's now configured isn't necessary or used for SSL. Thx, Unless a post describes where my obeservations and/or reasoning may be flawed, I may just devote some time to experimenting with what may or may not work with github. TSU -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/uQB6N2AjPzgJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, s
[git-users] Bug? "status --porcelain" only quotes spaces in added files
Consider this scenario: $ touch "a 1.txt" $ touch "a 2.txt" $ git add "a 1.txt" $ git status --porcelain A "a 1.txt" ?? a 2.txt Note that the added file is properly quoted to account for the space, but the unadded file is not. This makes these scenarios incredibly troublesome to parse with scripts, etc. As well, this behaviour just seems inconsistent. I am using *1.7.11.msysgit.0*. Can someone suggest a next step or an easy shell-based bandaid for this scenario? Thanks, Graham -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/lYaMSRkIfMYJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Sorry...need help installing on windows
OK, so I've read about GIT, I took the free online course over at Code School, I spent more time reading about git, read the git book on the git website...I'm eager to try it out...I go to the Git website, download the windows installation, install, find a command prompt, type "$ git config" like it says in the booknothing. I'm getting "'$' is not recognized as an internal or external command, operable program or batch file." -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/29lW_nQfOA0J. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Re: Git as a teaching/grading tool?
Thanks Konstantin and Bryce, I've been looking at rsync today and think that will do exactly what I need. Thanks again, Tom. On Monday, July 23, 2012 11:29:45 AM UTC-6, ottathom wrote: > > I teach web page design and Javascript programming at a public university. > I want a system that will allow my students to first upload their files to > individual directories on a web server where the permissions are such that > only I and the student can see them. Once graded, I would like to be able > to push or "publish" the files to individual directories that the world > could see. Would Git be a suitable tool to accomplish these tasks? > Overkill, perhaps? > > Thanks, > > Tom > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/bq4NBBEnLpgJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] Git as a teaching/grading tool?
On 7/23/12 10:45 AM, Konstantin Khomoutov wrote: On Mon, 23 Jul 2012 10:29:45 -0700 (PDT) ottathom wrote: I teach web page design and Javascript programming at a public university. I want a system that will allow my students to first upload their files to individual directories on a web server where the permissions are such that only I and the student can see them. Once graded, I would like to be able to push or "publish" the files to individual directories that the world could see. Would Git be a suitable tool to accomplish these tasks? Overkill, perhaps? Yes. Looks like a task for rsync/[S]FTP. I could see Git being a good way to publish work from one student to all students, but that is after grading has happened. I agree with Konstantin that rsync/[S]FTP would probbably be the best way to have students submit their work. Bryce -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] Git as a teaching/grading tool?
On Mon, 23 Jul 2012 10:29:45 -0700 (PDT) ottathom wrote: > I teach web page design and Javascript programming at a public > university. I want a system that will allow my students to first > upload their files to individual directories on a web server where > the permissions are such that only I and the student can see them. > Once graded, I would like to be able to push or "publish" the files > to individual directories that the world could see. Would Git be a > suitable tool to accomplish these tasks? Overkill, perhaps? Yes. Looks like a task for rsync/[S]FTP. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Git as a teaching/grading tool?
I teach web page design and Javascript programming at a public university. I want a system that will allow my students to first upload their files to individual directories on a web server where the permissions are such that only I and the student can see them. Once graded, I would like to be able to push or "publish" the files to individual directories that the world could see. Would Git be a suitable tool to accomplish these tasks? Overkill, perhaps? Thanks, Tom -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/GIIPayTVISgJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] how to git format patch without swith to that branch
On Mon, 23 Jul 2012 23:43:50 +0800 lei yang wrote: > I want to format patch from branch A, but current branch is B, is it > possible to format patch without switching to B? Yes. -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] how to git format patch without swith to that branch
Hi I want to format patch from branch A, but current branch is B, is it possible to format patch without switching to B? Lei -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
Re: [git-users] Re: how to change message of old commit
On Mon, Jul 23, 2012 at 11:54 AM, Thomas Ferris Nicolaisen wrote: > > Could you point me to that 'git-bash thing'? -- Looks very useful >> > > Note that it only works for zsh (z-shell) and bash, so you'll need to run > either Linux, Mac, or Windows with Cygwin (or Git Bash). > > In the above shells, you have a variable called the PS1 which value > appears in front of your command line prompt (typically username@machine, > timestamp and stuff like that). There's a very popular script called > git-prompt.sh that adds useful Git context to the PS1. It's available here: > > https://github.com/git/git/blob/master/contrib/completion/git-prompt.sh > > Thanks. Neat! -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.
[git-users] Re: Gitweb on Rackspace
The vhosts configuration was pointing to the projects folder (where all the .git 's were located) rather than the git web folder. How stupid of me! -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To view this discussion on the web visit https://groups.google.com/d/msg/git-users/-/0nYr8u8zHPgJ. To post to this group, send email to git-users@googlegroups.com. To unsubscribe from this group, send email to git-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/git-users?hl=en.