All Questions
Tagged with version-control java
294
questions
1
vote
0
answers
47
views
How to discard changes in a specific file before pushing
Is there a way to reset all changes or a mechanism like .gitignore where changes to a certain file will be not pushed.
Let's say I have a prod-settings.property
link=acbdc.com/acnbdsds
password=...
0
votes
1
answer
743
views
My project's Gradle version is incompatible with the Java version Flutter uses for Gradle
First I want to say that I wanted to run a flutter program on my cell phone that was connected by USB to my PC, but the following appeared in the console:
Your project's Gradle version is incompatible ...
0
votes
0
answers
280
views
OpenApi versioning by header in Spring
I am using Spring Boot to run my service. Now I want to be able to define different versions of my api and separate them by some header. My current approach is to design specification first and then ...
-1
votes
1
answer
429
views
Not able to connect Gitlab Repositry with Intellij IDEA
I am not able to fetch my Gitlab repository with my Intellij Idea. Due to this, I'm not able to push my code into my repository. Git is installed on my laptop. Can anyone please help me to fix my ...
0
votes
1
answer
31
views
git History view in Eclipse changed unintentionally, how do I get back to "default"? [closed]
I have recently started to work with Java and git and followed a tutorial (I am new to eclipse and java so please don't be too harsh if the question is trivial.).
After I attempted to merge branches ...
1
vote
1
answer
30
views
Best practice to store Subversion revision info app-wise
Subversion has the $Rev$ keyword, that's replaced by in example $Rev: 1843 $ when a file with that keyword is committed. Subversion places on it the revision this commit created.
I'd like to use this ...
0
votes
1
answer
95
views
Is there a solution to automate the versioning of an API inside a spring project?
I would like to automate the process of changing the version of the API I use in my java project (from the pom.xml) and build the project automatically in a branch on Azure DevOps.
I'm working on a ...
1
vote
0
answers
95
views
Best way to share a single class dependency in Java
I often make many Java projects to deal with parsing and string manipulation. Since the native String class from Java is a bit limited for these cases, I always end up creating an utility class to ...
0
votes
0
answers
93
views
how to automatically update a .jar, I am finishing up a very small application that I want to be able to have version control on after I deploy it
I have stumbled across many things, OSGi, Install4j, JWS(Java Web Start deprecated), Jgit, etc. I want to know what the best solution is for a very small java application that will be installed on the ...
1
vote
1
answer
48
views
Issues with version management in maven
The problem I encountered is this, here is the definition in my POM file.\
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-...
0
votes
1
answer
34
views
TortoiseSVN: How to get a list of all revisions that update files in specific directories
Say I have a project with the following structure:
Some-Project
> src
> inputs
> outputs
> docs
> libs
How can I get a list of all SVN revisions where updates are made to any code ...
0
votes
1
answer
532
views
Version control tool for spring-boot based java application, Flyway like
Problem description
I have a spring-boot based application that creates entities on a 3rd party environment.
The application is deployed on prod.
I've discovered a bug whose fix required changes on ...
-1
votes
1
answer
47
views
Best git workflow for creating multiple features on same files on a shared project?
I am refactoring a 2000-line method from class A into several smaller methods in class B. As such, class A is having chunks of code replaced with single-line calls to methods defined in class B. Class ...
0
votes
0
answers
133
views
Why "java -version" is not changing? on Mac?
I am running below command to see available versions.
/usr/libexec/java_home -V
and the result is: (I have deleted java8 folder from VirtualMachines directory)
Matching Java Virtual Machines (2):
...
1
vote
1
answer
476
views
Git: How to clone project without losing the current branches?
I have a project in my local Git repository and there is a problem in the project that is not fixed after lots of pull from origin etc. So, I need to clone the project from origin without losing the ...