Git is an open-source DVCS (Distributed Version Control System)

learn more… | top users | synonyms

0
votes
0answers
75 views

What benefits do source code commit email notifications bring? [on hold]

I've recently suggested to my team that we should try SVN source code email notifications on commit. I thought it would help the team to feel more connected, informed, etc. However, majority of ...
0
votes
0answers
10 views

Is there any advantages to use Integration-Manager Workflow instead of Centralized Workflow when using gitosis or gitolite

As I understand, the biggest advantage of Integration Manager Workflow versus Centralized Workflow in GIT is that only one person (integration manager) has access to the blessed repository and which ...
1
vote
1answer
81 views

How to use git when project files are on different drives?

I am new to Git, and am trying to figure out how use a git repository when a project's files are spread across different drives. For example: The project requires html files on one drive. The CSS ...
1
vote
2answers
100 views

Best practice for git commit messages for specific modules

Our current project consists of multiple modules in /modules/. When I work on my current module and i.e. update its README how should I write a commit message for this? Update README Update README in ...
0
votes
2answers
72 views

Source control utilizing single, remote development server, with “local repository” not on dev's machine

We have a small team currently working on numerous projects. We originally started out as a two person team and jumped in head first without any kind of source control. We currently break numerous ...
3
votes
2answers
89 views

Long-term branch - when and how to merge it?

In my computer science capstone project, we have a team of 5 working on various things for an Android app for Pokemon as a multiplayer game (Github). One or two people are working on implementing the "...
0
votes
1answer
29 views

how to handle small change requests in the automated deployment process

I've setup a Gitlab server to manage several different Laravel Apps. I'm also able to configure the Gitlab CI to deploy the code to the development and production sites. Everything is kind of ...
2
votes
1answer
70 views

How to sync a dirty private git branch between personal workstations

I have a git repo on the internet and two workstations. Other developers have access to the git repo. Workstation A is at the office and is not accessible from the internet, but can push/pull the git ...
0
votes
3answers
75 views

How soon can/should someone issue a pull request for a new branch?

Pull requests are a great feature of modern vcs hosting. They provide a consolidated view of everything that's happened within a branch's development, including a master diff of the composite change, ...
0
votes
1answer
73 views

What is a good format to deliver a set of versioned files to a third party?

Background: We have less than a gigabyte of documents stored in a database. In most cases there are multiple versions of a document with the same name. The versions need to be preserved. I've been ...
6
votes
3answers
144 views

What is the “definition” of a finished feature in Gitflow?

This is a Gitflow process question. In all the documentation (and diagrams) I've read about Gitflow, they always indicate that once a feature is completed it is merged back into the develop branch. ...
1
vote
0answers
37 views

How to improve my workflow (git, symfony, composer, bower, grunt)?

It's time to improve my workflow. I never had the responsibility of setting up the infrastructure, managing git, versions or releases. For me it was simple push/pull most of the time and I think, the ...
-1
votes
0answers
6 views

How to remove files from a pushed Git commit [migrated]

While working on some files, I have created a backup file to each one, but I forgot to erase them before pushing and rebasing. I have committed multiple times since but haven't pushed it yet. That's ...
1
vote
1answer
67 views

How to manage code experiments meant to stay permanently with git?

I have an asm/C code which implements some image filters. The objective of this project is experimentation with different implementations, benchmarking, plotting and reporting data to write a paper ...
0
votes
0answers
43 views

What is best practice for building your app on top of 'starter' code someone else prepared?

I want to build Angular2 application on top of angular2-webpack-starter. After pulling this repository, I'm going to add my own app code and commit many changes. Also, developers that built angular2-...
-1
votes
1answer
39 views

New project development & git guidlines and hints [closed]

We are two senior students and we want to develop an app. Although we dont have experience on using git & github. Our app will consist of a server handling requests with a mongoDB database. The ...
0
votes
0answers
55 views

VS2015 & Git Submodules

We have a few projects in my organization that are being developed in parallel and I have found that they are increasingly using similar Utility/Logging/Etc functionalities that they have as separate ...
0
votes
0answers
25 views

should I fork or branch in a use case where I and a collaborator make changes to jupyter notebooks

I was hoping on a suggestion about whether forking or branching was better for this particular use case. I work with a professor and have created a jupyter notebook for some of our research. The ...
9
votes
3answers
284 views

github strategy for keeping one version of file private

I am a lecturer writing coding problems for students. What I want to do is give the students the boilerplate code with placeholders for the functions which students are to complete. I will give the ...
-1
votes
1answer
54 views

Ideas to improve our development and deployment process?

In the interest of continuous improvement I'm interested in finding ways to improve our software development process. There are a lot of articles out there which define a set of workflows, but all of ...
6
votes
3answers
169 views

Git philosophy: public vs. personal files: is there hybrid versionning?

I often find myself puzzled with such a questionning. I need to version my projects for two reasons: publish source code with its whole history so that people will be able to get into it, explore it ...
2
votes
2answers
62 views

Using Pull Requests with different commits

For a new project we try to set up the development process and the intention is to have a simple, pragmatic process. We use Atlassian Stash with Git in our company. We came up with the following ...
0
votes
1answer
47 views

How to work with starter kits and their updates?

When I start a new project based on a nice starter kit like this Angular 2 one. How do you keep up with changes to a base repo like this? I know that it is a 'starter', but it would be nice to merge ...
1
vote
4answers
168 views

Auto-merging from master to all branches — good or bad idea?

A question has surfaced on the team: would it be a good or a bad idea to have a script auto merge from master to all this release's branches on a daily basis? I'm not entirely convinced by it -- it ...
1
vote
2answers
64 views

Git workflow that allow new hire to work on feature without polluting git history

We want a new hire to work on some features of our current project, however, since he is a new hire, we would like to do code review before he can commit into master branch. Also, we don't want his ...
0
votes
1answer
84 views

How to manage multiple projects in a Git Monorepo

I am thinking about putting some files into a larger git respository but I have a feeling that git isn't going to be suitable. This is what I would put into the repo: Various scripts on servers. ...
0
votes
0answers
50 views

How does Jenkins Pretested Integration Plugin handle conflicts?

To be sure that all code is tested before it gets to master, you can set up system, for example with Jenkins Pretested Integration Plugin, that works like this: You push code to a special integration ...
4
votes
4answers
308 views

Why use pull requests instead of merging

What is the advantage of using pull requests instead of simply merging a branch into master without one? Particularly on a team where all developers have full access to master.
4
votes
2answers
463 views

Should minified CSS be stored in Git?

I use Gulp to generate minified CSS from my SASS code for a project I'm working on. I wondered whether it's considered best practice to regenerate this minified CSS when pushing live from Git... or ...
1
vote
0answers
83 views

How can I use local Git with VSS

My employer still uses VisualSourceSafe6. Everything is checked-in into the main project directory in VSS. They are not using branching in VSS. Check-in's are supposed to be ready for release to QA ...
4
votes
2answers
208 views

Is it important to have a consistent commit message style on a team?

On my team of 5 coders, we've traditionally adhered to a common git commit message standard stating (only) two rules: commit messages should include the why rather than just the what and they should ...
-1
votes
1answer
99 views

Version control problem

I heavily use excel and csv at my workplace. File 0 excel file Initial file is a excel file. Lets call thia file zero. This may or may not change with time depending upon the requirement of the ...
6
votes
1answer
57 views

Workflow for a Github fork with compatible and incompatible changes

I've forked a Github repo and added an upstream remote as described here. I expect to make some backward-compatible bug fixes for which I'd like to submit upstream pull requests, as well as some ...
0
votes
0answers
20 views

Should a test system release really be a common release in GitFlow?

We are actually releasing a version to the test system as a common release in GitFlow. We create a release branch, clean things up and merge it into master and development. The thing is that if I ...
3
votes
2answers
114 views

Git workflow - possibly long running branches for future release

I am a member of a small team which is part of a larger team of developers working with Git. We (the larger team) have a main branch in a central repository into which we commit our work for the next ...
0
votes
0answers
74 views

share private SSH keys with bash on windows

I have windows 10 with Git installed. This Git uses my C:/Users/MyName dir as the HOME directory and the /.ssh/ dir within, appropriately for sourcing my private SSH keys. I have just enabled and ...
2
votes
2answers
141 views

How to split development / staging / production versions of an application

I'm facing a situation that does not seem to have a clear solution to it, which leads me to believe I'm actually doing something wrong. Here I am seeking advice once again. To rapidly let you ...
0
votes
1answer
39 views

Github workflow for public/provide codebase

I would like to develop and release and SDK in an open fashion, via GitHub. That said, I would like to have a team of developers work on this, make commits, create issues and comments etc in a ...
0
votes
1answer
99 views

Simpler git-flow model, am I doing it right?

I'm trying to implement a branching model that is similar to git-flow, but simpler (no release or hotfix branches). The idea is to have the master branch always up to date with the latest tagged ...
1
vote
1answer
105 views

Does Source Control Have Any Provisions For Preventing Old Code From Overwriting New Code?

I'm sure that there is a similar question like this already in existence, but I didn't see one that matched closely enough, so here goes... We use a third party company to host our site and do most ...
2
votes
1answer
124 views

Why is it important to maintain a readable Git history?

Every time I read Merge branch 'origin/master' into master, or Oops, forgot to commit changes, in a Git history, I die a little inside. Of course I know why it is bad to clutter your history with ...
0
votes
1answer
51 views

Use git to keep repository of small unrelated applications

I find myself writing small test cases and applications to post bug cases, answer questions in some forums, make feature showcases for clients, etc. and for that I created a TestCases project inside ...
0
votes
0answers
43 views

How can I include common strings (regexes) in several projects written in different languages?

I have a simple Go library (~300 lines, mostly type declarations and nice methods and compatibility methods for gomobile etc., also pretty-printing scripts). The heart of the whole project are two ...
-3
votes
1answer
140 views

Git Repository design questions

I have following hierarchy of topics I am working on DataStructure Linked List Array Stacks Tree Enterprise Apps EJB JMS Android App Games Productivity Apps My question is how can I best ...
1
vote
1answer
54 views

What is the purpose of keeping “open” a merged MR in Gitlab?

In gitlab, there is Merge Requests (MR) like in github there is Pull Requests (PR). If the MR is rejected, sure, we close it. But what if the MR is merged ? In that case the button to close the MR ...
6
votes
1answer
199 views

Why is it more unsafe to store your password in the URL of a git repo?

As a comment on a response to this question, someone says: It is not advisable to put the password in the URL for this file is saved on the .git/config . Is not safe, it is better to use ssh key ...
18
votes
3answers
914 views

Should I use git stash to save ongoing changes of my project and push it to github to access in other computers?

I very often work on some features of my project that I need to take a break before it is good enough for a commit. However, I use daily two different computers to code (my laptop and my research lab ...
1
vote
1answer
103 views

Tracking number of code lines added/removed by me

I do like to write code, but what I like even more is to remove code! Following the mantra "code that does not exist cannot have bugs", if we can accomplish the same result with less code, we will ...
1
vote
1answer
39 views

Frontend end UI Library using multiple repos for multiple clients

I've just inherited a HTML/CSS based internal UI library, which the place I work is planning to use to standardize CSS styles for all of its products across the board, mainly webapps. The library has ...
0
votes
1answer
98 views

Why does git branch workflow merge into the production branch

I am wondering why every git workflow merge develop into the production branch. Is there any reason why we cannot just leave the old production branches and create new ones from develop (in case we ...