Version Control are systems that allow users to keep track of file modifications in an efficient manner. Target files are usually source code, and users are generally programmers.

learn more… | top users | synonyms (1)

1
vote
1answer
58 views

How to un-commit a file in git?

I have did git commit <file> for a file and also submitted that file with git submit <file>. but now i want to un-commit the changes. i have also tried git reset HEAD~1 <file> ...
0
votes
0answers
24 views

enforcing php version based on git branch

Is there a way similar to .rvmrc to automatically set the php version used while developing in a branch? I think phpbrew will do what we want, however we are uncertain how to enforce a specified ...
0
votes
1answer
185 views

Fix version issues of Python on CentOS 6.6

I'm very new to Linux and Python as I am an intern, please bare with me. If I'm missing something then let me know I can update the post. I installed python 2.7.9 under a users directory on centOS ...
0
votes
0answers
12 views

Hacking caja on mint

I'm trying to add a couple of changes to caja on Mint (MATE edition) and I'm trying to test them out, manually. Doing autogen.sh && make && sudo make install on the upstream version ...
1
vote
2answers
109 views

What is advantage of backing up a filesystem by version control software?

Version control software seems to be used for backing up project mostly in plain text files. For backing up a file system, with large amount of files or large size, regular file copying/transferring ...
4
votes
1answer
102 views

git: show which files have changed between kernel 3.18.6 and 3.18.7

I have checked out linux kernel git repository git clone git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git I know how to use git log, git show and similar commands to see ...
1
vote
1answer
33 views

symlinking to `.rbenv/`: how much is too much?

I've been keeping most of my dotfiles in a git repo and symlinking to them, e.g. ln -s ~/Development/dotfiles/bash_profile ~/.bash_profile which has been great. I did something similar with .vim/ ...
0
votes
0answers
139 views

Use inotify to detect what FTP user changes a file for revision history?

I've set up inotify using incron to detect if a file in the web root is changed. I'm using the triggers IN_MODIFY and IN_MOVED_TO and when it triggers, a bash script copies the file to a specific ...
0
votes
0answers
245 views

Teach tripwire or AIDE about renamed files

In my /etc directory there is something I do with files. Let us say that I am looking at /etc/passwd. What I do when it will be modified is to copy it over, in the following sense. I have a hierarchy ...
-2
votes
1answer
23 views

Which editor (or plugin) makes a version control workflow feel most first-class? [closed]

By "first class" I can just work by forking and merging my code willy-nilly, several times every minute, without ever thinking about the VCS.... I'm looking for an editor environment where the most ...
2
votes
0answers
22 views

Logging and controlling changes to the system [duplicate]

I am looking for an advice on a very lightweight local server or option for version of control of system administration changes. We have few secure Ubuntu servers that are not on the network, but we ...
1
vote
2answers
42 views

How to execute a program when a text file is called and still return the proper text

The question is fairly simple. I want to create a program that would hook the VFS and run the program in order to generate or read the data that would be create. I.E.: the file itself would hold all ...
0
votes
1answer
176 views

unable to create SCCS file

I am working on Ubuntu13.04. I created a file named quit.c I am trying check-in this file in to its SCCS file, s.quit.c I am creating the SCCS file as below using admin command: ...
1
vote
1answer
51 views

Saving source code from the internet

How can I save all the documents from this adress to my PC? https://svn.linuxsampler.org/svn/liblscp/trunk/ This is a package I need to build "Open Octave DAW" from source.
1
vote
3answers
139 views

How to use git for this particular purpose?

Here is the situation. There are two machines, laptop A and workstation B. B has a fixed IP, A has a dynamic IP, and I want to avoid the need of connecting from B to A (setting up an ssh tunnel for ...
6
votes
1answer
864 views

Subversion: how to determine when files became corrupt

I'm using Subversion just for private synchronization between a laptop and a desktop. Recently I discovered that several ASCII files and several binary files were corrupted. Instead of the expected ...
2
votes
4answers
139 views

Is there a structured format of version info for OS-level executables?

I am looking for a structured format of version info for OS-level executables, such as in /usr/bin and /usr/local/bin. The problem we are having is the inconsistent architecture between our PROD and ...
2
votes
2answers
38 views

Putting a warning flag on a particular version

I have 4 versions of a file 1.21, 1.22, 1.23 and 1.24. After a month of time I came to know that the version 1.22 and 1.23 have some errors in them. Now I don't want anyone to use those versions. One ...
28
votes
8answers
5k views

Are there pitfalls to putting $HOME in git instead of symlinking dotfiles?

I have for many years had my entire $HOME directory checked into subversion. This has included all my dotfiles and application profiles, many scripts, tools and hacks, my preferred basic home ...
3
votes
2answers
610 views

How to change file permissions for newly generated files in largefiles directory of Mercurial?

I got some Mercurial repositories which are served by Apache over HTTP. But there is a dedicated user performing some automated tests, which needs to check out the repositories locally. Recently this ...
6
votes
3answers
196 views

Managing multiple configurations (/etc) - With a VCS?

I have a machine that needs to have two configurations that I need to maintain (the machine is occasionally moved between two environments and has different roles in each environment). Note: This is ...
5
votes
4answers
589 views

Can I have my own version control system?

In the linux/unix machine I am using, I am just a normal user. However, I want a version control system to manage my files to prevent accidental delete/rename/lost/modification. Obviously I don't have ...
3
votes
1answer
2k views

How to fully sync local repository using Mercurial (bitbucket)

I'm new to VCS and I decided to give Mercurial a try. I signed up for bitbucket and created some repositories. The I created /home/max/hgrepo/ and ran hg clone ...
8
votes
2answers
5k views

Github adding a repository as a fork from an existing clone

So I have a git repository that I cloned from an upstream source on ghithub. I made a few changes to to it (that are uncommitted and in the master branch). What I want to do is push my changes onto my ...
2
votes
5answers
3k views

tool or technique to get a diff of two different linux installations

Albert Einstein quote Insanity: doing the same thing over and over again and expecting different results Often-times, Linux drives me mad because I'm doing the same thing over and over again ...
-1
votes
1answer
144 views

standard VCS ignore list [closed]

What all do you think is the best standard list of ignored files for VCS? For example here's my .gitignore_global file. # Compiled Sources # ################### *.pyc *.pyo *.exe *.so *.o *.a *.la ...
3
votes
1answer
1k views

subversion 1.6 file svn:externals help

Can someone please point out how I could do svn:externals for a single file? I know how to use svn:externals for directories, having used it for a while now under svn 1.4 but I can't seem to figure ...
12
votes
3answers
655 views

version control for /etc under *BSD

What turnkey solutions exist to put /etc under version control, under various unices? Turnkey doesn't necessarily mean part of the base install, but the following features would be nice: hooks into ...
62
votes
9answers
4k 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 ...
1
vote
2answers
521 views

Version Control System similar to Bazaar needed for CentOS 4.8 dedicated hosting server

I have recently had to have our dedicated server rebuilt as core system files were deleted. But that's another story... Before the rebuild, we were merging, branching, and committing changes to a ...
8
votes
3answers
3k views

Good introduction to Subversion for inexperienced users? [closed]

Can you suggest a good introduction to Subversion for UNIX (or Mac OS X) users? It can assume familiarity with basic command-line usage, but not any advanced topics (with bash scripting counting as ...