Tagged Questions
-1
votes
2answers
60 views
i want to display the git version on my site
I want to display the git version number on my site.
I found that it was a commit hash and this wasn't suitable for non-technical users to reference.
I have created this class to display the version ...
2
votes
3answers
54 views
How should I employ a versioning system?
Ok, so different versions of this question is everywhere, but the more I google it, the more confusing it gets.
So. I am a sole developer of a Content Management System that runs on my Linux server ...
0
votes
1answer
17 views
How to notify push events sending mail for git on Window?
I searched through internet but I could not find anything.
Is it possible to send notification emails for each GIT's push events to all the participants?
if yes, could you give me some tips?
0
votes
2answers
14 views
How can we version two different git repositories at the same place?
How can we version two different git repositories at the same place?
For example, if we have a folder twoRepositories and insided of it we have two files common.txt and root.txt (owned by the root ...
0
votes
1answer
31 views
Real diff between two GIT repositories
I have pulled and merged code.
I want to see the changes which will be applied to the code.
Unfortunately, all of the following ones show also changes which are performed by other developer (these ...
0
votes
2answers
35 views
Version numbers best practice: how to turn a bugless RC into Final without forcing users to download a distro that has no useful changes?
I'm trying to adopt a good practice of naming versions.
I've finished coding my project. As it may contain unknown bugs, i tag it "v1.0rc1". When all bugs are found and fixed, i'll tag the updated ...
0
votes
2answers
48 views
Git/Github: How to sync local files with most up to date online files?
My local files are synchronised with Github, but I want to make changes on the README online. After I made this changes, how do I update my local file?
OBS: I'm new to Git and also to Git Hub. I've ...
1
vote
1answer
41 views
Line history viewer - GIt
I was wondering if any of you knew of a tool that would allow me to select a line in my code and then view a list view of the history of that line, on a commit by commit basis.
Anyone know of such a ...
0
votes
5answers
51 views
When should i create a new branch?
I am using git as the first time for a versioning system.
I am starting a new project, and therefore to experiment a little bit with the technologies used in the project (hello world examples...) i ...
1
vote
2answers
53 views
What is the best way to manage rolling out bug fixes to versions of a given solution? [closed]
I’m trying to use Git to manage different versions of a product. There are a few ways I could do this. I’m familiar with the concept of having a “master” branch, and labelling different points along ...
1
vote
2answers
54 views
How can I include a version file in a commit?
Warning: I'm not a git wizard, so I may not have the right terminology...
Before I push a release to github, I create a version file that reflects the current commit tag, sort of like this:
git ...
3
votes
1answer
92 views
How Do I Implement Semantic Versioning in Git?
I've been able to convince my group to use semantic versioning and move to git (from CVS, where all development happened on the trunk).
This is what we've been using for a bit (where the version ...
3
votes
1answer
39 views
Versioning image sprites in a git repository
Imagine this scenario:
We have a massive repository, with many different features branches. Each of the feature branches uses one large sprite image. This large sprite image might be slightly ...
0
votes
3answers
74 views
Git: Any way to ignore files that have gotten version number changed only
I'm trying to look at some changes done in a new version of a software named IP.Board. However, when I run a git show between their version 3.4.2 and 3.4.3 in my local repo there is a lot of files ...
0
votes
1answer
42 views
Methodology of developing different versions of same product [closed]
I have a product in its base version, and some of my clients demands some modifications that cannot be handled by plugin structure as it's not additional feature - but heavily modified version of some ...
0
votes
2answers
141 views
Auto Version numbering your Android App using Git and Eclipse (on Linux)
I believe that computers are the best things for doing repetitive tasks. I certainly am not, I either forget, or (mostly) don't do things in an inconsistent way - which isn't what I want.
One of the ...
0
votes
1answer
53 views
What is the behavior of git checkout with one file?
If x and y were your files and you did a few commits like so:
commit 0: x / y
commit 1: x / y+1
commit 2: x+1/y+1
commit 3: x+1 / y+2 (HEAD)
If you did:
git checkout master~1 x
Would you get x ...
3
votes
1answer
142 views
Versioning and release management with multiple products with shared code base
I am currently trying to figure out, how to do release management with git flow in a scenario where I have one git repository with about 15 projects in two solutions plus scripts for the database.
...
1
vote
2answers
61 views
Git versioning conventions
I have a project that I track with Git. For the most part I have had no problem with the Git paradigm, but there is one issue that I haven't quite figured out. Currently, my master branch points to ...
1
vote
2answers
40 views
How to handle versioning of htaccess file?
I'm using git to develop a project and each machine may need a slightly different .htaccess file. I wonder if there's any technique to handle versioning this file without having a separate one on each ...
1
vote
1answer
193 views
Supporting multiple versions with Successful Git Branching Model
At our company we are moving from SvN to Git (yeah, better late than never). With that, we also try to streamline the versioning process. To do that I found an interesting article: Successful Git ...
3
votes
2answers
520 views
Difference between git branch --set-upstream-to vs git remote add origin
I find it little confusing to know the difference between git branch --set-upstream-to vs git remote add origin or even git remote add upstream
Basically I have a bare repository created with git ...
2
votes
2answers
742 views
Composer versioning private repositories
I have several private repos on github that I use composer to load into my projects. My composer.json file looks like this:
...
"repositories": [
{
"type": "git",
"url": ...
4
votes
2answers
159 views
Best Git strategy for testing different client and server versions
I would like to be able to run integration tests for a Java client/server (using embedded jetty). In addition I would like to be able to mix-and-match different server and client source code versions ...
14
votes
5answers
390 views
Best way to combine Git with .NET when versioning
I'm currently working on a project (just me), and I already know how to handle versioning on it. I'm using the classic <major>.<minor>.<build or patch>.
The problem I have is that I ...
0
votes
1answer
82 views
Delete a specific commit knowing commit id
Lets say i have a repo (git version 1.7.1) that contains following commits
A -> B -> C -> D ->E and my HEAD is on E. Now i want to delete C while keeping everything same like A -> ...
3
votes
2answers
146 views
Generate a version number of my site thanks to git?
I am building a PHP/Yii application. While developing and testing on different machines, I'd like to be able to quickly see in the footers if the version I am seeing is the latest. So basically I want ...
0
votes
3answers
175 views
Gradle: read latest xy-release GIT tag for versioning
I'm currently migrating a project from ant to gradle. Everything is fine, only one problem exists: currently we have a custom ant-contrib based task for executing the git command on the repo to read ...
0
votes
2answers
123 views
Git: How to push only tracked files to remote
I've seen many variants of this question on SO but none of them had what I looking for. Say I have a repo ~/MyRepo/:
$ ls -a ~/MyRepo
code.r junk.txt .git
In MyRepo only the file code.r is being ...
2
votes
0answers
80 views
Distributed version control systems in one-man projects? [closed]
I used to make use of git in many of the projects i was involved in, both with employer and as a member of hobbyists team. However, recently i caught myself in a word that i used to exploit the power ...