Development & Project Setup - achille005/DevMaterials GitHub Wiki
error: refusing to create funny ref 'US5526-HA-convert-old-screens2' remotely
Solution: Configure remote repos and add: refs/heads/name_of_your_new_branch to "Target Ref Name"
How to solve the git error fatal: unable to access '.config/git/config'
-
got to your git repo ( C:\myRepo ) and execute "git init".
-
cd to C:\myRepo and run "git clone https://[email protected]/scm/st_myresults/myproject.git"
-
Now in your C:\myRepo you should have "myproject"
-
Now use this "C:\Users\ak061a\Documents\git\myproject" where .git exist as value of System variable HOME
-
got to eclipse Windows > preferences > git > Configuration and add user.name and user.email entries to
- See Support images here https://github.com/achille005/DevMaterials/issues/1
How to Install Maven on Mac
- Maven Built-In To verify the Maven installation, in terminal, issue the command mvn -version.
$mvn -version
1.1 – Where is Maven installed? A quick check with whereis command :
$ whereis mvn /usr/bin/mvn
$ cd /usr/bin $$ ls -ls | grep mvn 8 lrwxr-xr-x 1 root wheel 24 May 23 15:57 mvn -> /usr/share/maven/bin/mvn
2.1 – Download Maven Download the Maven, for example apache-maven-3.1.1-bin.tar.gz. Extracts it,
tar -xvf apache-maven-3.1.1-bin.tar.gz
$pwd /Users/yourusername/apache-maven-3.1.1
2.2 – Set Maven command in environment variable.
Update ~/. bash_profile – create this file if doesn’t exist.
$ vim ~/.bash_profile
~/.bash_profile export M2_HOME=/Users/yourusername/apache-maven-3.1.1 export PATH=$PATH:$M2_HOME/bin
Restart the terminal. Test it. $mvn -version
To run your app on a specific port, do:
- java -jar myWebApp.jar --server.port=8085