Skip to main content
Software Engineering

Questions tagged [git]

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

Filter by
Sorted by
Tagged with
7 votes
1 answer
439 views

Do these diagrams correctly model Git file state transitions?

I am in the process of engineering some UML state diagrams to explicitly model the transitions among Git’s file states: TRACKED, UNTRACKED, UNMODIFIED, MODIFIED, UNSTAGED, and STAGED. The diagrams I’...
0 votes
1 answer
163 views

What is the best way to manage git workflows for applications built on top of in progress libraries?

I am doing something I haven't done prior, which is that I built a library (that is still in progress as it is somewhat ambitious), and now I am developing an application on top of the "alpha&...
th hh's user avatar
  • 9
5 votes
5 answers
257 views

How to ensure that release tags are uniformly created throughout a cohort of closely-related Git repositories?

Working as part of the release team for a sprawling open source project that uses dozens of Git repositories, I regularly run into situations where one or more of the satellite repositories are ...
1 vote
4 answers
560 views

How to decompose a large Git commit with an AI

Given a large Git commit, how can I split it in a "virtual branch" of multiple smaller coherent changes properly annotated with commit messages? How can AI be applied to the task? I like ...
1 vote
4 answers
429 views

All git branches in one directory, or one directory per branch. Any technical reason?

We are a recently formed embedded software team, having a minor religious war. Please note that we all work multiple tickets at a time, so will always each of us have multiple branches. Some prefer to ...
Mawg's user avatar
  • 4,298
0 votes
1 answer
141 views

Configurations stored in database & GitOps

I recently came upon the concept of GitOps. One idea that's central to GitOps is the use of static configurations (e.g. Git repositories are the source of truth for configurations). In my distributed ...
2 votes
0 answers
126 views

How to design a plugin architecture in Node.js?

I have a Node.js application and I want users to be able to develop custom plugins. I have multiple ideas and I am unsure how good they are. I need some tips from more experienced developers. My first ...
2 votes
2 answers
157 views

Is my understanding of the GitFlow release process valid?

We currently use the GitFlow process to manage our releases (or so I think) for a native iOS app. Here are the steps we carried out for context: We created a new repo with the main branch We then ...
Shawn Frank's user avatar
1 vote
1 answer
140 views

Database table updates in GitOps

The scenario: I have a web application running in Kubernetes. The web application is managed and updated by Argo CD, which means a Git repo defines the state of the application. Now the new ...
JF Meier's user avatar
  • 700
-1 votes
1 answer
224 views

Where is the source code for the GitHub fork of Git? [closed]

I may be misunderstanding the GPLv2 license of Git itself, but I thought that "distribution" of a derived work requires the source to be released. According this post, GitHub is running a ...
merlin2011's user avatar
14 votes
8 answers
4k views

When is it acceptable to commit directly to main/master?

Working with Git, I’ve often heard that committing directly to the main (or master) branch is generally discouraged. Instead, many teams adopt workflows where all changes are made in separate branches,...
2 votes
2 answers
916 views

What are the pros and cons of using cherry-pick versus merge for release management? [closed]

What are the pros and cons of using cherry-pick versus merge for release management? Background We have a dev branch, and just created a release1 branch from it. Folks will commit relevant content to ...
4 votes
4 answers
748 views

Is it okay to deploy both front end and backend everytime if they are in a single repository

I have a project with .net core web api backend and angular as front end. I have single repository for both the projects with front end and backend in their own separate folders. I have written ...
18 votes
7 answers
5k views

Is there anything wrong in reordering commits?

So, in many software you can do that easily using the mouse: Although very useful, they aren't in chronological order anymore. Is there anything wrong in doing that?
aybe's user avatar
  • 955
0 votes
1 answer
91 views

Git: Trunk based development for change to build sytem and documentation

I want to adopt trunk based development for an opensource product and but I am not sure how it can be applied to documentation and build system changes. Feature flags does not help for things that are ...

15 30 50 per page
1
2 3 4 5
...
80

AltStyle によって変換されたページ (->オリジナル) /