All Questions
Tagged with git programming-practices
14 questions
36
votes
4
answers
7k
views
When should a commit not be version tagged?
Context: I recently found out about Semantic Versioning, and am trying to determine how to best use it practically for my own projects.
Given that semver takes major changes, minor changes, and ...
1
vote
2
answers
112
views
SVN / Git How to administer branches
I'm the technical lead for a small company (6 developers). We currently use SVN and we're slowly porting over to Git, after everyone gets their training.
Currently our clients are the ones who "pull ...
-1
votes
1
answer
232
views
AngularJS-style commit type for a version bump
The AngularJS commit message format is a set of rules for how to your commit message should look. It has been adopted by AngularJS and other projects. According to these rules, a commit must be ...
8
votes
3
answers
2k
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 ...
-1
votes
1
answer
62
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 ...
2
votes
1
answer
2k
views
Best practices for working with public_html folders and git
Currently, everything that is in the public_html folder automatically gets published live. The git repository is also inited in this folder (though this can change if it's necessary).
What is a good ...
1
vote
1
answer
136
views
Git Question: What to do when multiple people working on a project?
I made a project and put it on github, it's basically a small powershell function that is pretty useful in some situations. I've since made some improvements to it to add functionality...but someone ...
2
votes
0
answers
62
views
tracking branch relations with Git [closed]
here is my workflow.
I have master as the most complete version of the program. If I want to add a feature I'll create a branch named with -feat as a suffix. as bugs come up, I'll create new branches ...
3
votes
1
answer
516
views
Should I rename package after Android app name change?
I have an Android app.
I have changed the app's name from appname1 to appname2. I would like to know if I should also change my package name from com.myname.appname1 to com.myname.appname2 to reflect ...
2
votes
1
answer
507
views
What workflow do you find efficient when simultaneously developing multiple inter-dependent GIT branches? [closed]
Let me start by saying that my GIT knowledge is fairly shallow, so I'm guessing that there might be something I'm missing.
THE SETUP:
As an example, we have a project which is being developed as a ...
10
votes
4
answers
6k
views
What should I include in my repositiory from IDE projects
I want to add a project which in this case is created in Netbeans but this question is general for most IDE's. It's simply, what should I include in my repository. For example Netbeans creates a ...
189
votes
2
answers
229k
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 ...
13
votes
1
answer
3k
views
Git workflow / practices for a small project (flowchart in png)
I'm trying to come up with a personal workflow. I've put together a flowchart of the hypothetical lifespan of a release: one developer pushing to a public github repo + a friend helping with some ...
282
votes
6
answers
168k
views
Choosing between Single or multiple projects in a git repository?
In a git environment, where we have modularized most projects, we're facing the one project per repository or multiple projects per repository design issue. Let's consider a modularized project:
...