Git is a free & open source, distributed version control system designed to handle everything from small to very large projects with speed and efficiency.
44
votes
10answers
3k views
Tips for putting ~ under source control
I want to put my home directory (~) under source control (git, in this case), as I have many setting files (.gitconfig, .gitignore, .emacs, etc.) in there I would like to carry across machines, and ...
8
votes
7answers
2k views
How do I encrypt git on my server?
Heres the closest I've gotten: I installed gitolite in the /Private folder using ecryptfs-utils (sudo apt-get install ecryptfs-utils adduser git ecryptfs-setup-private then the rest was configuring ...
7
votes
3answers
303 views
Given a git patch id, how to find out which kernel release contains it?
Assume I have some issue that was fixed by a recent patch to the official Linux git repository. I have a work around, but I’d like to undo it when a release happens that contains my the fix. I know ...
19
votes
9answers
825 views
How to keep track of changes in /etc/
I would like to keep track of changes in /etc/
Basically I'd like to know if a file was changed, by yum update or by a user and roll it back if I don't like the chage.
I thought of using a VCS like ...
12
votes
4answers
650 views
How can I create an alias for a command that includes a space?
Most of my my aliases are of this form: alias p='pwd'
I want to alias git commit so that it does git commit -v
But trying to create an alias with a space gives an error:
$ alias 'git commit'='git ...
2
votes
2answers
3k views
How can I update to a newer version of Git using apt-get?
I've just set up a new machine with Ubuntu Oneiric 11.10 and then run
apt-get update
apt-get upgrade
apt-get install git
Now if I run git --version it tells me I have git version 1.7.5.4 but on my ...
3
votes
3answers
2k views
I am failing to clone a git repo when behind a proxy
When I run git clone git://git.gnome.org/tracker, I get:
Cloning into tracker...
git.gnome.org[0: 209.132.180.173]: errno=Connection refused
fatal: unable to connect a socket (Connection refused)
...
2
votes
2answers
251 views
how to perform git push using crontab
I'm using crontab for synchronizing git repositories. I was able to do operations like git add and commit, but can't perform git push to origin, since every git push asks for a password.
How can I ...
0
votes
0answers
145 views
git and remote security with Encfs [duplicate]
Possible Duplicate:
How do i encrypt git on my server?
I wanted to create a user on my server to use as a private repository. I'd like the files to be encrypted. Encfs will timeout after ...