Git is an open-source DVCS (Distributed Version Control System)
2
votes
3answers
196 views
What's the best way to manage reusable classes/libraries separately?
When coding, I naturally often come up with classes or a set of classes with a high reusability. I'm looking for an easy, straight-forward way to work on them separately.
I'd like to be able to easily ...
3
votes
2answers
129 views
Is Perforce as good at merging as DVCSs?
I've heard that Perforce is very good at merging, I'm guessing this has to do with that it tracks changes in the form of changelists where you can add differences across several files in a single ...
1
vote
1answer
27 views
git changing head not reflected on co-dev's branch
Basically, we undid history. I know this is bad, and I am already committed to avoiding this at all costs in the future, but what is done is done.
Anyway, I issued a git push origin ...
0
votes
0answers
41 views
Useful git commit messages for merged branches
As a follow-up to this question:
If I'm working on a team by myself, I can maintain useful commit messages when merging branches by squashing all the commits to a single diff and then merging that ...
10
votes
5answers
275 views
Why not commit unresolved changes?
In a traditional VCS, I can understand why you would not commit unresolved files because you could break the build. However, I don't understand why you shouldn't commit unresolved files in a DVCS ...
3
votes
2answers
94 views
I have a library and several small programs that use it: how should I structure my git repositories?
I have some code that uses a library that I and others frequently modify (usually only by adding functions and methods). We each keep a local fork of the library for our own use.
I also have a lot of ...
1
vote
1answer
111 views
Sharing a database while we work on local copies?
A friend and me are working on a webapp. We're using git so each of us has a local copy of the app. But the problem is the database. We want to be able to see the latest changes the other person made. ...
4
votes
1answer
122 views
svn vs git for the sole developer? [closed]
If I am sole developer (I do not work in a team) working from my laptop (Windows OS and Linux VM) and backing up data to the cloud (Dropbox etc), then is git still better than svn for my version ...
2
votes
2answers
56 views
Pulling changes from master to my work branch?
There's two of us working on something. We're using this branch structure
master
dev-A
dev-B
We both work on separate branches (dev-A,B) and whenever we're done - we promote our changes to master.
...
6
votes
3answers
172 views
Examples of non open source projects on Bitbucket or Github
Need examples to show management that these are used for source control and effectively backup of projects.
They will be concerned about having their source code off-site. If there are good ...
0
votes
1answer
72 views
Git commit messages with nvie branching model
This Git branching model recommends branching for all development efforts and merging when complete:
Branch
Develop
Merge when complete
I'm wondering how this works in practice, given that ...
2
votes
0answers
94 views
Tracking work history in a git repo
Previous related questions:
Code bases for desktop and mobile versions of the same app
Git branching and tagging best practices
Question:
I have split my repo into three directories (swing, ...
1
vote
2answers
205 views
Git branching and tagging best practices
I am currently learning to use Git by reading Pro Git. Right now I'm learning about branching and tags. My question is when should I use a branch and when should I use a tag?
For example, say I ...
4
votes
2answers
224 views
Which VCS is efficient for storing small changes to big text files?
A government agency publishes a text file with thousands of records. The entire file is about 60MB. Every day the file has about 60 new or changed records.
We need to validate some info against that ...
2
votes
1answer
109 views
Can DVCSs enforce a specific workflow?
So, I have this little debate at work where some of my colleagues (which are actually in charge of administrating our Perforce instance) say that workflows are strictly a process thing, and that the ...