Questions tagged [version-control]

A programming discipline for tracking, storing and retrieving revisions of source code.

Filter by
Sorted by
Tagged with
3 votes
3 answers
287 views

How can I inform my team when components are ready for integration?

My team is developing a system with embedded and Windows components. Currently we have seperate repositories for the Windows and embedded platforms. The rest of the team have concerns that there is ...
  • 718
1 vote
1 answer
111 views

How to handle regional versions of a website

The site I'm building currently has three different regional versions (Australia, Germany, rest-of-world). These will be deployed to seperate urls. It's a static site, hosted on s3 using react. The ...
2 votes
3 answers
305 views

Conflict resolution and merging order for the project code?

A team simultaneously made several refactorings (to raise system genericity) to the same project with some overlaps (yes, unfortunately, more like "big bang"). Code is spanning representation, ...
  • 1,703
4 votes
1 answer
1k views

When do I update the Git repo package.json/version release?

I am starting to get into versions/releases more now with Git and wanted to know if the structure I am doing now is correct. Right now, there is typically a few feature branches. A few commits from ...
  • 183
1 vote
2 answers
1k views

Strategy for version controlling database changes during development

I am redesigning a CRM tool, of sorts, from the ground up. We are creating the application and the database from scratch. In order for developers to stay out of each others' way, each developer has a ...
  • 189
3 votes
5 answers
855 views

Version control: Backup vs. publishing

The situation: Our team of developers and testers is transitioning from ClearCase to git, in some pioneering fashion. While experience with git is limited there is some familiarity with Linux, cygwin ...
3 votes
2 answers
734 views

Version control of embedded OS system image

I'm working on a hardware product that contains an embedded Linux system. The majority of what we execute on that system is a set of Python code which currently has its own Git repository and is ...
  • 406
2 votes
2 answers
3k views

Is git squash a good practice for ordinary activity?

It's considered a good practice to commit to git a lot. Sometimes this is necessary where git is used as a delivery mechanism to test in the cloud. But my git history gets cluttered up with lots of ...
  • 1,080
0 votes
2 answers
96 views

CLI to Aid Versioning of Input, Source, and Output

I'm currently working in an environment where I have the following: Multiple Inputs (with multiple versions) Source code to generate output (multiple versions) Output generated by a combination of ...
1 vote
2 answers
902 views

What does it mean Public API in the Semantic Versioning Specification

All,We need a convention to assign a version number for our product. After I research. I found this post answer my question. And it lead me to the http://semver.org/, The Semantic Versioning ...
  • 113
0 votes
2 answers
453 views

Git workflow with continuous deployment team

I'm struggling with finding the best branching model for my team and would like advice on what branching models will work best. We have 2 enviroments - Test & Production. I recently started to ...
0 votes
2 answers
72 views

Ways to version deployments of different software as one piece ?

We are C# shop (and just starting with TFS) with number of different solutions (and there are lot of them) that represent different components, that we deploy on fairly large number of production ...
  • 342
0 votes
1 answer
149 views

Git and continuous integration [duplicate]

After using SVN for years I'm finally trying to learn Git. The tutorial explains how with Git you commit to your local repo for much of the time. I thought Git was supposed to make continuous ...
0 votes
1 answer
154 views

Tracking entire project versus only modified files

I recently joined a SaaS company that has so far not been using source control track and maintain their development, instead just separately working on their own portions of a given client's codebase. ...
4 votes
1 answer
161 views

GitHub - Should I unassign an issue once closed?

Whenever I am using issue tracking on GitHub with my team, should we unassign people from the issue once we close it? I don't know which way should be done, and if there is any advantage to ...
's user avatar
4 votes
2 answers
130 views

Safe way of starting a project from scratch while keeping old, working code

I have a Mandelbrot Set explorer project that I have hosted on GitHub. I used it to learn how to generate the Mandelbrot set, and to get more experience with using the Java ExecutorService. It works ...
6 votes
2 answers
705 views

Stating Python version in repository when using pyenv-virtualenv

I came to know about virtualenv and pyenv a while ago, and used them separately for a while. Recently, while investigating best practices and tools for Python development I found pyenv-virtualenv. I ...
1 vote
1 answer
2k views

Proper Version Control Angular 2 Project

Hoping to get some guidance regarding version control of Angular2 project. Recently i started coding in Angular2, used angular-cli to create a brand new project and go through standard 5 minute setup ...
  • 227
54 votes
7 answers
9k views

Is it bad practice to not delete redundant files right away from VCS but instead mark them as "To be deleted" with comments first?

I wanted to know if the way I deal with source files that need to be deleted from version control could be regarded as bad practice. I want to explain it to you based on that example: I recently ...
6 votes
3 answers
710 views

Is it a good practice to split one commit into two, where one is content change, the other is style(indent) change?

Suppose I am to make a commit that wrapped a section of code inside another thing, so the section came to have 1 more level of indent. In diff it will show delete 100 lines, add 100 lines though all ...
  • 246
1 vote
1 answer
214 views

Paid and Free Version in seperate git branches [duplicate]

How do I manage and update two different app versions, which are with and without advertisements, but are otherwise identical, using git. Up to this point in development, I've only needed to maintain ...
0 votes
1 answer
139 views

Engineering change orders (ECOs) and software version control

Is it common practice in the software development/engineering profession for engineering change orders (ECOs) to be used for or in conjunction with software version control? Is this a good idea? Are ...
  • 248
2 votes
1 answer
1k views

git: multiple repositories but still "grouped"

I have a rather simple application which consists of an angular frontend and a REST API done in C# For the frontend I use WebStorm and for the backend Visual Studio. Now we need to introduce a new ...
  • 131
3 votes
4 answers
310 views

If taking over code of a third party, what are the delivarables?

My team has to take over a project from an external company. They've provided the last state of trunk to us as a zip file and are trying to convince us, to accept this as a complete delivery of their ...
  • 213
5 votes
4 answers
5k views

Should versions be bumped in dev branches or master branch?

I have released API 1.0.0 in the master branch (default branch). Since then I have separately branched to branches api2/foo and api2/bar, both containing backwards-incompatible changes. The API ...
  • 618
1 vote
1 answer
309 views

CI/CD & source control process using Git and VSTS

We are trying get our CI/CD up and running and I was after some feedback on it. We are using VSTS and building c# api + JavaScript applications. We want to use VSTS build and Release management. ...
  • 263
1 vote
1 answer
63 views

How to keep images in sync with a website without including them in version control?

I would like to know if there are best practices for this situation: a website with its source code in version control (e.g. git). code makes references to specific assets like images, that can't be ...
  • 243
4 votes
1 answer
3k views

How to handle complete project rewrite in git?

I'm developing a software library that I began during my PhD and used in my thesis. I've since started a research position and, as an experiment, I wanted to try rewriting parts to see if I could ...
6 votes
1 answer
3k views

Is it acceptable to commit code that doesn't compile? [duplicate]

I would expect any build that I ever pulled from a repository to just compile, along with any dependencies that are required. Likewise, I would never commit anything that didn't at least compile. That ...
  • 2,728
2 votes
1 answer
381 views

How do I explain why version control is a good idea? [closed]

We have a few team members that have been working at software for a very long time and are not used to the idea of a version control system. These people are fairly good at what they do but can't get ...
  • 2,728
-2 votes
1 answer
768 views

what are cons and pros between the two version control designs of a project: multiple repositories, vs single repository [duplicate]

I am working on a project which is split into multiple git repositories instead of just one. Each repository is for a library or an application. The libraries are used by the projects or other ...
  • 5,301
4 votes
1 answer
217 views

How to integrate versions with changelog?

Before I start the question I want to tell you guys I'm new to this type of workflow. The previous companies I worked didn't used Version Control and/or changelogs. Also, I've been working as ...
4 votes
6 answers
4k views

Is daily commit and push necessary for managers and supervisors to check my progress and productivity?

During work, i only make commit and push my work to our shared repository at Github, when i consider that I have done my task up to necessary changes which I may realize later. So that means that I ...
  • 5,301
0 votes
1 answer
3k views

GitHub pull request without forking

Is it possible to submit a pull request if I originally cloned a repo locally rather than using the GitHub "fork" functionality?? The scenario is that I have created a local clone of a repository and ...
5 votes
1 answer
3k views

How should Visual Studio Solutions and Projects mapped to Visual Studio Online GIT Projects and Repos?

I have a number of visual studio solutions and projects (many projects may belong to multiple solutions) that I would like to add to Visual Studio Online (GIT Version). An example would be: Solution ...
  • 247
2 votes
2 answers
118 views

is there a way to know the type of web based version control application from a git url?

Background I'm researching the ability to add some services on top of git web hosts (ie github, gitlab, bitbucket etc, I'm not even sure what they're called, I borrowed that term from the github wiki)...
  • 259
2 votes
1 answer
266 views

Version control with delta processing uploads?

I am planning to build a version control system to learn some advanced programming concepts in the process. I've used git , perforce and svn. I was wondering if any of them or other uses delta ...
  • 195
0 votes
1 answer
74 views

Team collaboration with limited access to the entire project?

We have a following scenario where a team A develops a large Visual Studion asp.net MVC project and uses github as a version control tool. In case team A needs an outside help completing a part of ...
  • 745
3 votes
1 answer
75 views

How does ClearCase prioritize deliverable activities?

We're performing a delivery from our Developer stream to the Integrated stream that we share - this process allows our build team to construct our application from the Integrated view. This is for a ...
  • 1,502
12 votes
5 answers
3k views

How should I version control my bash profile?

So I'm very comfortable with version control, and just thought to start tracking versions of my bash profile: ~/.bash_profile with the added benefit of being able to share my various aliases and such ...
1 vote
1 answer
219 views

Managing Linux Kernel Config Files in Revision control

I am working on some Linux kernel drivers for a specific embedded system (NVIDIA Tegra X1). I am using the kernel source provided by NVIDIA (L4T), which has its own default kernel config files. My ...
13 votes
1 answer
1k views

Sharing parts of a monorepo

We currently have a complex and inefficient build system consisting of many SVN and Git repos (about 50% each), including one which is a git submodules repo. We also have homemade scripts that manage ...
  • 239
6 votes
1 answer
409 views

At what PBI level should I be creating branches?

I have been making the mistake creating branches at the User Story Level. See: User Stories != Features. I believe I have been doing it this way because of my poor practice in organizing Features ...
1 vote
3 answers
689 views

How often to commit code when nothing works [duplicate]

I am trying to explain the benefits of version control to a colleague (recent graduate with little software experience), but he doesn't think it is useful in his case. I explained you commit every ...
  • 121
3 votes
1 answer
1k views

Are you supposed to commit changes to the parent when the submodules change?

I noticed some strange behavior when working with submodules in Git, which is maybe not so strange to anyone with more experience than I. Well, what I am noticing is that whenever I make changes to ...
  • 2,728
3 votes
4 answers
1k views

Database modeling, software development, and version control

Here is the framework We have an SQL database in which our database model lives in. On the other side, there is a bunch of code using and filling that database. Here is what we want We want to put ...
3 votes
2 answers
135 views

Vendoring part of my repository in someone else's project

I have a repository for a project that contains both an executable and a library. My repo |->src |->my-exe |->my-lib I am now working with a company that wants to use my library in ...
5 votes
1 answer
235 views

Should I include necessary additional changes in a merge commit?

I'm going to explain my question with a concrete example where this question has cropped up: I'm working on a large-ish Django project with a few people. Django automatically creates migration plans ...
0 votes
4 answers
232 views

What are obstacles to creating a viable language that is not text&file based?

Please help brainstorm/dream about an important problem (I believe this is a valid question, if you think it's not a valid question, please give me concrete critique so I can work on it). Almost ...
  • 119
0 votes
1 answer
186 views

Introducing version control with a simple pull request workflow

I have very little experience of using a version control system and my work colleagues have no experience though I would like to introduce one into our team as the current workflow (non-existent ...

1 2 3
4
5
20