[git-users] How build git server to only one user - two at the most
Hello folks, I intend build a git server on machine with ubuntu server 16 L.T.S. Do you suggest any article to read and do this task? i googled by "install git server ubuntu" But I was confused with many option! This git server will be one user, for me. But I want build this with good options and good security because will be connected with internet some hours. I following first step on this article https://help.ubuntu.com/lts/serverguide/git.html but this is a good option? I can let it stay like this? The main user on this machine is "git", obvious after sudo :) I create directory "repo" on / (slash) and on inside this directory I created my repository git, e.g. projectone.git. This repository git has only git:git as user and permission are 700. This is good setup? Thanks -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Could GIT help with this task?
Hello, I thought the git is good for all types project. Because the Linux distribution using this Version Control System. I haven't sure this thought, am I right? Thanks terça-feira, 6 de Setembro de 2016 às 23:26:54 UTC+1, charlesmanning escreveu: > > > > On Wed, Sep 7, 2016 at 10:19 AM,> wrote: > >> Colleague: >> >> Before I decide to learn GIT I would like to know if it can partially >> handle a task which I will describe briefly. I work with a large numerical >> weather prediction modeling system called WRF. For sake of simplicity >> let’s suppose I start with version A which has been unmodified by me. I >> make changes to A which makes version B. Then comes along a new version C >> from the WRF distributer. Would GIT help me take the changes I made in >> version B and incorporate them into version C to make a new version D? >> What would that operation be called in the GIT context? >> >> Many thanks, >> Kevin Doty >> > > That's merging. > > The way you'd do this is start with A, create a branch on which you do > your fiddling and end uopp with B. > > Likewise do the same for a branch with the changes ending up with C. Then > merge the two branches and see if that works. > > So it sounds like you're hoping git will magically do merges for you... > That might be wishing too much. > > Git is pretty good at merging changes in source code, but cannot > effectively merge binary code. Even machine XML is more like binary code > than text and often gets messed up. > >> >> -- >> 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+...@googlegroups.com . >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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. For more options, visit https://groups.google.com/d/optout.
[git-users] If world ends tomorrow it would be simple save a repository git?
Hey folks, Just imagine that the world ends tomorrow :) and today, just moment, I copy the entire folder where I have my project git, my repository on my private system. But, the world don't finish and tomorrow is another day with beautiful sunrise :P I sold all my pc's and all stuff and I don't any hardware, I will begin and mount all environment from beginning! I have the backup, my repository git, in usb drive, and I copy this directory to new environment for all my developers use it. This is so simple? Just install (sudo apt-get install git -y), copy directory backup git for new environment, configurations permissions, users and just fine? All people can git clone and git pull or whatever? *Note:* Sorry about greeting if offends them, but English isn't my mother language. By the way this greeting all right? This is cool? :P Thanks -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Re: Commit only two files from stage to repository at once
At this moment I stay stupid with my naivety :P I used this instruction on my scripts and command at the shell, I should have recognized this! :) Thanks anyway -- 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. For more options, visit https://groups.google.com/d/optout.
[git-users] Push to my repository at the github and my owner private repository
Hello, I have a repository in github and I also need have this repository in my owner private repository, at home. I would like do "git push origin master", once time to github and another time to my owner private repository, it's possible? Thanks -- 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. For more options, visit https://groups.google.com/d/optout.
[git-users] Re: Commit only two files from stage to repository at once
It's simple, Simple omit the && and use: git commit content/content-a95.php exercises/css/excss57.html -m "added excss57.html" Only I has the path wrong :P But why and what this command do with parameter &&? domingo, 4 de Setembro de 2016 às 21:56:51 UTC+1, edgaroli...@gmail.com escreveu: > > Hello everyone, > > I have three files on stage and I need commit only two of them. I was > trying this > > git commit content/content-a95.php && content/css/excss57.html -m "added > excss57.html" > > but opened the editor nano and asked me to write an commit. I was insecure > about this function and abort the mission :P > I know only commit one of them, but I want commit two at once, in this > case, from stage to repository. It's possible? > > Thanks > -- 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. For more options, visit https://groups.google.com/d/optout.
[git-users] Commit only two files from stage to repository at once
Hello everyone, I have three files on stage and I need commit only two of them. I was trying this git commit content/content-a95.php && content/css/excss57.html -m "added excss57.html" but opened the editor nano and asked me to write an commit. I was insecure about this function and abort the mission :P I know only commit one of them, but I want commit two at once, in this case, from stage to repository. It's possible? Thanks -- 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. For more options, visit https://groups.google.com/d/optout.
[git-users] Re: response different in same version git on different computers
Hello, I was search for an answer about this problem and I found this: http://stackoverflow.com/questions/16288176/your-branch-is-ahead-of-origin-master-by-3-commits According to this answer the differ between of the output the git status is relative of than repository is clone and another is the directory which started the project. Am I right? This means which output like [code] On branch masterYour branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local commits) nothing to commit, working directory clean [/code] it's impossible configure on directory which started the project? thanks sexta-feira, 2 de Setembro de 2016 às 22:06:37 UTC+1, edgaroli...@gmail.com escreveu: > > Hello everyone, > > I have git install on different pc, and on this pc I have different > behavior on result of the command "git status". After did some git commit I > do git status and have this two situation: > > > *PC1*[code] > > On branch master > nothing to commit, working directory clean > [/code] > > > *PC2*[code] > On branch masterYour branch is ahead of 'origin/master' by 1 commit. > (use "git push" to publish your local commits) > nothing to commit, working directory clean > [/code] > > I would like have the same detail in response of the git in same machine. How > can I fix this? > *Note:* the environment is the same, version git 2.7.4 and Lubuntu 16.04 LTS > > thanks > > > -- 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. For more options, visit https://groups.google.com/d/optout.
Re: [git-users] Why the directory, through git clone, has less files of the older directory through git pull origin master?
Hello, So, this means which I can stay rested because this is normal! :) This means if I delete my directory on pc1 or pc2 I won't lost any files. Because this difference on numbers of file it is refers archive which git created derivate of my commits and another action on git, rights? Which I could see the difference on number of files isn't only .git directory. This means the git save files in another directory on tree of directory, right? Thanks sexta-feira, 2 de Setembro de 2016 às 23:29:25 UTC+1, Philip Oakley escreveu: > > This is normal. > > The internal .git/ repository will have different levels of packing. The > clone will recieve a highly packed version, while the one you developed > will have internal loose files. These are internal features that should be > your tomorrows problem. > > Philip > > - Original Message - > *From:* edgaroli...@gmail.com > *To:* Git for human beings > *Sent:* Friday, September 02, 2016 8:42 PM > *Subject:* [git-users] Why the directory, through git clone, has less > files of the older directory through git pull origin master? > > Hello everyone, > > I am a newbie on git. I was use the git more a less a week and I was > working in two different computer. I started work on pc1 and after I turned > pc2, where I clone the project repository, and now, after more a less 5 > days of work, I came back to pc1. On pc1 I did "git pull origin master" and > git downloaded all stuffs and files from git repository for my pc1. But, > for analyze and secure I git clone to the same projecto but in different > folder. I compared this different folders and I discovered the different > number of the files in this folders. > > The structure is this: > > pc1 > repo_git_old -> 11281 files > repo_git_new -> 7328 files (this is the same repository, but this is a new > clone) > > My questions is: Why the older directory have more files to the new > directory? > First time I think this different reside in folder .git, maybe in .trash > folder. But I can't find this folder on my structure of repository. > > Well, I hope I can explain myself well, > thanks > > -- > 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+...@googlegroups.com . > For more options, visit https://groups.google.com/d/optout. > > -- 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. For more options, visit https://groups.google.com/d/optout.
[git-users] response different in same version git on different computers
Hello everyone, I have git install on different pc, and on this pc I have different behavior on result of the command "git status". After did some git commit I do git status and have this two situation: *PC1*[code] On branch master nothing to commit, working directory clean [/code] *PC2*[code] On branch masterYour branch is ahead of 'origin/master' by 1 commit. (use "git push" to publish your local commits) nothing to commit, working directory clean [/code] I would like have the same detail in response of the git in same machine. How can I fix this? *Note:* the environment is the same, version git 2.7.4 and Lubuntu 16.04 LTS thanks -- 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. For more options, visit https://groups.google.com/d/optout.
[git-users] Why the directory, through git clone, has less files of the older directory through git pull origin master?
Hello everyone, I am a newbie on git. I was use the git more a less a week and I was working in two different computer. I started work on pc1 and after I turned pc2, where I clone the project repository, and now, after more a less 5 days of work, I came back to pc1. On pc1 I did "git pull origin master" and git downloaded all stuffs and files from git repository for my pc1. But, for analyze and secure I git clone to the same projecto but in different folder. I compared this different folders and I discovered the different number of the files in this folders. The structure is this: pc1 repo_git_old -> 11281 files repo_git_new -> 7328 files (this is the same repository, but this is a new clone) My questions is: Why the older directory have more files to the new directory? First time I think this different reside in folder .git, maybe in .trash folder. But I can't find this folder on my structure of repository. Well, I hope I can explain myself well, thanks -- 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. For more options, visit https://groups.google.com/d/optout.