[git-users] Re: Getting started with Git
To answer my own questions: why is the log so long? The colon at the bottom indicates the pager (Git uses the Bash "less" function to page). To navigate, press down arrow until the colon turns into the word "END". Press "q" to quit the pager and return to the prompt. On Friday, June 11, 2021 at 9:26:02 AM UTC-4 Thomas Archibold wrote: > Hi, > > I have been setting up my Chromebook for web development and have > installed Visual Studio Code with the integrated terminal. > > I log into my remote server in the VSCode terminal, navigate to a > directory that I want to create a Git repository for, run Git init to > create the repository - all is good. > > I add two files to the repository using Git add, then Git commit to save > their initial state. > > I make a change to one of the files as a test of Git. I save the file, > then run Git add, then Git commit > > This is where I then have trouble: I want to view the log to see the > change I made (why is the log so long? - and why does the the prompt never > reappear?) Here is the terminal window: > > [prompt]$ git log > commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master) > Author: ArchieJr > Date: Fri Jun 11 08:45:56 2021 -0400 > :...skipping... > commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master) > Author: ArchieJr > Date: Fri Jun 11 08:45:56 2021 -0400 > > I added a test comment > :...skipping... > commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master) > Author: ArchieJr > Date: Fri Jun 11 08:45:56 2021 -0400 > > I added a test comment > > commit 946f8c725c608954d31728e1c25a4c4f44cab0d3 > :...skipping... > commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master) > Author: ArchieJr > Date: Fri Jun 11 08:45:56 2021 -0400 > > I added a test comment > > commit 946f8c725c608954d31728e1c25a4c4f44cab0d3 > Author: ArchieJr > :...skipping... > commit 3eec317d12d9b92a3dd23e112499e2d11dd9f69e (HEAD -> master) > Author: ArchieJr > Date: Fri Jun 11 08:45:56 2021 -0400 > > I added a test comment > > commit 946f8c725c608954d31728e1c25a4c4f44cab0d3 > Author: ArchieJr > Author: ArchieJr > Date: Fri Jun 11 08:43:20 2021 -0400 > > The initial state > > commit b6098205af8e6abc896a9b4ef6fcc1e443336387 > Author: ArchieJr > Date: Fri Jun 11 08:34:49 2021 -0400 > > A first commit > (END) > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/70731359-d949-4f56-ac64-51450eaf1ffbn%40googlegroups.com.
[git-users] Re: Getting Started
Thanks a lot On Monday, 16 September 2019 04:15:57 UTC+5:30, Rohit Ashiwal wrote: > > Hey Shubham! > > It is nice to see people interested in contributing to the project! > You can browse the source code here[1]. And look for issues here[2]. > There is a really nice post by Matheus (GSoC '19 Student) feel free > to give it a read[3]. You can meet up with people over through our > public chat channels at freenode (irc; #git and #git-devel). > > Best Wishes > Rohit > > [1]: https://github.com/git/git > [2]: https://github.com/gitgitgadget/git/issues/ > [3]: > https://matheustavares.gitlab.io/posts/first-steps-contributing-to-git > > > On Sunday, September 15, 2019 at 7:18:09 PM UTC+5:30, Shubham Ghule wrote: >> >> Hi Everyone.I am Shubham Ghule a second year IT engineering student from >> India.I am a C programmer.I am new to Open Source and I would like to >> contribute to this Organization, can anyone suggest me some first timer >> bugs to solve ? >> > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/d08e8f97-c085-4ec1-8b75-b524e1ee013c%40googlegroups.com.
[git-users] Re: Getting Started
Hey Shubham! It is nice to see people interested in contributing to the project! You can browse the source code here[1]. And look for issues here[2]. There is a really nice post by Matheus (GSoC '19 Student) feel free to give it a read[3]. You can meet up with people over through our public chat channels at freenode (irc; #git and #git-devel). Best Wishes Rohit [1]: https://github.com/git/git [2]: https://github.com/gitgitgadget/git/issues/ [3]: https://matheustavares.gitlab.io/posts/first-steps-contributing-to-git On Sunday, September 15, 2019 at 7:18:09 PM UTC+5:30, Shubham Ghule wrote: > > Hi Everyone.I am Shubham Ghule a second year IT engineering student from > India.I am a C programmer.I am new to Open Source and I would like to > contribute to this Organization, can anyone suggest me some first timer > bugs to solve ? > -- You received this message because you are subscribed to the Google Groups "Git for human beings" group. To unsubscribe from this group and stop receiving emails from it, send an email to git-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/git-users/6285ea9a-5976-4f4a-b489-8f749ccc8cc1%40googlegroups.com.
[git-users] Re: Getting started with git on cygwin - can't get anywhere. What am I missing?
I found this answer to work quite well so far, for my limited testing. http://cygwin.com/ml/cygwin/2007-09/msg00584.html. Basically text mounts mess everything up. Git will work on binary mounts of cygwin. On Saturday, December 1, 2012 2:49:40 PM UTC-8, munene kiruja wrote: Git already came in with the cygwin install. So I thought I could just start using it. After 2 days of reading and searching, not even one step ahead. Anyone help. What am I doing wrong? :; git --version git version 1.7.9 mkdir ~/dev/testGit cd ~/dev/testGit git init Initialized empty Git repository in /home/dev/testGit/.git/ now the trouble: :; git log fatal: bad default revision 'HEAD' What have I already missed? :; cat foo.txt this is a test ^C :; git add . fatal: cannot use .git/info/exclude as an exclude file So I just hide the file :; mv .git/info/exclude .git/info/exclude.bak :; git add . :; git status # On branch master # # Initial commit # # Changes to be committed: # (use git rm --cached file... to unstage) # # new file: foo.txt # :; git commit -a error: bad index file sha1 signature fatal: index file corrupt --
[git-users] Re: Getting started with git on cygwin - can't get anywhere. What am I missing?
Thank you all for your replies. On Saturday, December 1, 2012 2:49:40 PM UTC-8, munene kiruja wrote: Git already came in with the cygwin install. So I thought I could just start using it. After 2 days of reading and searching, not even one step ahead. Anyone help. What am I doing wrong? :; git --version git version 1.7.9 mkdir ~/dev/testGit cd ~/dev/testGit git init Initialized empty Git repository in /home/dev/testGit/.git/ now the trouble: :; git log fatal: bad default revision 'HEAD' What have I already missed? :; cat foo.txt this is a test ^C :; git add . fatal: cannot use .git/info/exclude as an exclude file So I just hide the file :; mv .git/info/exclude .git/info/exclude.bak :; git add . :; git status # On branch master # # Initial commit # # Changes to be committed: # (use git rm --cached file... to unstage) # # new file: foo.txt # :; git commit -a error: bad index file sha1 signature fatal: index file corrupt --
[git-users] Re: Getting started with git on cygwin - can't get anywhere. What am I missing?
On Saturday, December 1, 2012 11:49:40 PM UTC+1, munene kiruja wrote: Git already came in with the cygwin install. So I thought I could just start using it. After 2 days of reading and searching, not even one step ahead. Anyone help. What am I doing wrong? You're not doing anything wrong here. The first `git log` error message is normal, as there are no commits yet, there is nothing to log (bad error message, I know). The exclude stuff and the corrupt index file definitely should not happen. So I reckon your Git environment is faulty. I don't know much about the CygWin Git, but the popular opinion is that msysgit is the way to go on Windowshttp://stackoverflow.com/questions/783906/git-under-windows-msys-or-cygwin . --
[git-users] Re: Getting Started with git-svn
On Feb 20, 1:39 pm, Rob Wilkerson r...@robwilkerson.org wrote: 1. Having cloned a current Svn repository ( git svn clone -shttps://svn.mydomain.com/myproject/workingdirectory), I'm under the assumption that it's pulled all of my branches and tags, but git branch returns only master. I'd like to be working on a branch that exists in Svn (at branches/development/newfeature), but does not appear to exist in my cloned repository. Am I missing something? 2. What is a remote branch, exactly? I see references to local vs. remote, but I don't understand how they're different from each other in terms of behavior or my own interaction. I understand what the works local and remote mean, just not sure how it applies here. I assumed that cloning meant that everything became local. Hopefully that makes sense. So I'm learning more about branches and I think I've spotted at least part of the problem and maybe an inconsistency. I have a semi- standard branching and tagging structure. I have maintenance and dev branches along with build and release tags. For example: trunk/ branches/maintenance/ branches/maintenance/1.0.0 branches/maintenance/1.1.0 branches/development/ branches/development/feature1 branches/development/sandbox1 tags/build/ tags/build/v1.0.0.2909 tags/build/v1.0.0.3290 tags/build/v1.1.0.3337 tags/release/v1.0.0.3290 tags/release/v1.1.0.3337 You get the idea. These are representative rather than actual subdirectories and revision numbers. After cloning the entire repository, git seems to recognize the remote branches as: $ git branch -r development developm...@1340 maintenance maintena...@1340 tags/build tags/bu...@1340 tags/release tags/rele...@1340 trunk tr...@1340 Does git-svn just not branches subdirectories or is there a way that I can pull the friendlier branch names? What I'd like to see is development/feature1, development/sandbox1, maintenance/1.1.0, etc. Is there any way to make that happen? Thanks again. --~--~-~--~~~---~--~~ 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: getting started
I would like to append to Eric's excellent list: An audio interview with Junio at http://twit.tv/floss19 to get you excited about using git. A good reference script to building git. This came in handy for installing git on Tiger. All of the nice symbolic links to git-* are missing, but git is there and useable. http://dysinger.net/2007/12/30/installing-git-on-mac-os-x-105-leopard -- Mark On Sep 15, 2008, at 2:07 AM, Eric wrote: You'll definitely want to learn about merges *and* all that stuff before your proceed too much further. There are a lot of great tutorials out there. If you're on windows, install this: http://msysgit.googlecode.com/files/Git-1.5.6.1-preview20080701.exe (Git-Bash only mode is acceptable) Say Yes when the installer asks if you'd like to install the Explorer extension so you can right click on and folder and say Git Bash Here. Once you have git, follow the gittutorial: http://www.kernel.org/pub/software/scm/git/docs/gittutorial.html Watch this video: http://www.youtube.com/watch?v=8dhZ9BXQgc4 And maybe this one: http://www.youtube.com/watch?v=4XpnKHJAok8 Read these: http://www.kernel.org/pub/software/scm/git/docs/everyday.html http://www.newartisans.com/blog_files/git.from.bottom.up.php The easiest thing to do is to each develop on your own machine, and email a zipped working directory (with .git/ directory) back and forth. Unzip her files next to your working directory and pull her repository in. Now, if you just want to share code with your friend, you create a public repository. It which will have read access, but not write access. http://www.kernel.org/pub/software/scm/git/docs/user-manual.html#setting-up-a-public-repository On Sep 12, 11:06 am, M@ [EMAIL PROTECTED] wrote: Sorry, should have been clearer /public_html/me /public_html/her then commit to /public_html. It sounds like what you're saying is for me to set it up in public_html, have her clone it, and the push and pull as we need to with no separate directories. I was looking at some how_to's and they were talking about merging and all that stuff. Thanks! M@ On Sep 12, 11:01 am, Petr Baudis [EMAIL PROTECTED] wrote: Hi, On Fri, Sep 12, 2008 at 07:53:14AM -0700, M@ wrote: I have a small project that I am going to be working on using PHP/ mySQL. I have a friend who would like to help me work on it. We're both on windows machine and she is really unfamiliar with command line stuff, but picks things up pretty quickly. I'm also getting into some ruby development and saw Git mentioned everywhere. I thought this might be a good opportunity to start getting my feet wet with Git. I have git installed on my webhost (bluehost.com), and I'd like to start utilizing it. Is there a way for me to develop in tandem with my friend? We're going to be developing different parts of the project so there shouldn't be any overlap, but I was hoping on some advice for getting started. I had thought I might create two directories inside the site, one for her, and one for me, and merge our code when it was ready into the main site directory. Am I going about this all wrong? I'm not sure what two directories inside the site means, but be sure to both work within the same directory hierarchy within the repository itself. Simplest setup: First, import your project to Git and upload that to the site, then let her clone it. Then, you can both start hacking away and committing stuff, pulling from the site pushing back once in a while. Sometimes, you will get an error that newer changes are at the site than in your local repository - in that case, git pull first - that will merge the changes of the other person - and then try git push again. I recommend you to follow one of the many Git tutorials lying around all over the net. -- Petr Pasky Baudis The next generation of interesting software will be done on the Macintosh, not the IBM PC. -- Bill Gates --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/git-users?hl=en -~--~~~~--~~--~--~---