Tag Info

New answers tagged

1

Ok, full moon is coming up and my sleep deprived mind starts to spin in creative overdrive. I think I have cracked the problem. In the process I discovered a second major security issue and will discuss them both. Problems gitolite must be able to pull changes into /etc/.git as well as have them checked out. Thus it must have privileges, but as it is a ...


2

I found this guide titled: gitolite and etckeeper but it's untested by me. excerpt In an effort to track changes on my many Linux boxes, I’ve installed etckeeper which tracks all changes to /etc. It comes with a nice hook into apt which autocommits anytime a package is installed. In addition to keeping the changes in a git repo, I’ve started ...


0

The problem on the CentOS 6 server I was working on was that EPEL 5 was installed I found this through the following command. sudo yum repolist I solved this through the following commands: wget http://mirror.umd.edu/fedora/epel/6/i386/epel-release-6-8.noarch.rpm sudo yum remove epel-release sudo rpm -ivh epel-release-6-8.noarch.rpm --test sudo rpm -ivh ...


1

The git way is to commit everything. Remember, branches are cheap. git checkout -b intermediate-releases/20140414 git commit -m 'Wibble wobble wubble' Then restore your working copy — I don't know to do that reliably but I'm sure there's a way. Now you can make an archive of the new branch's tip: git archive intermediate-releases/20140414 | gzip ...


1

In my case, my local branch was not set to track the remote branch. I had to manually run: git pull origin remotebranch Then next time you do a push do "git push -u" to set up correct tracking.


2

To check out a specific commit: git checkout 45c09bfe58c37bbf7965af25bdd4fa5c37c0908f This will report an error if it would need to overwrite files that are not committed. To unconditionally overwrite file, pass the -f option. To extract a commit without affecting the working copy: git archive 45c09bfe58c37bbf7965af25bdd4fa5c37c0908f | gzip ...


2

You may be interested in the git commit --verbose command. This will show the output of git diff --staged in your editor as you enter the commit message.


2

git uses less as a pager. If you want to use the pager on a specific, just pipe the output directly to less (git won't try to invoke less itself if it is outputting to a pipe, so no need to worry about have two less processes). Just do: git diff | less You could also add similar options to less that git does to get the same output, and add the --color ...


1

It seems that you don't register with RHN, so you missed base repo for Redhat to work. You can not get Redhat official packages without register. If you don't have RHN credential, you can use Centos base repo instead. See this link for more details.


7

Q#1: Can you set up a RAID system using USB sticks as the storage media You should be able to use any block storage devices in a RAID. Any standard directions for setting up a RAID using SATA HDD's should be applicable when using USB storage as well. You'll have to set it up so that the USB devices are assembled as members of the RAID array. Q#2: ...


3

If you take a look at the Git book accessible here: 4.1 Git on the Server - The Protocols there is mention of the various formats for the protocols that Git will accept. excerpt Probably the most common transport protocol for Git is SSH. This is because SSH access to servers is already set up in most places — and if it isn’t, it’s easy to do. SSH is ...



Top 50 recent answers are included