I have been using Git for some time now and so far like it a lot. Especially the set up as described by Vincent Driessen in combination with the git-flow (and perhaps even better for lots of Java projects) the Maven implementation of it make using it easy.
However you might always end up in a situation as I did lately that you have to share your sources with someone who doesn’t use Git. In that case there is a simple Git command to help you out. It is the ‘git archive‘ command. You can use it like this:
git archive --format zip --output my-project-sources.zip develop
In this case a zip file ‘my-project-sources.zip’ is created containing all the sources that are in the ‘develop’ branch.
For lots more Git commands see this page and for more general background info about the way Git works see this book.
Tag CloudActiveMQ amazon Artifactory AWS AWS Beanstalk AWS DynamoDB AWS EMR AWS Glacier AWS IAM AWS RDS AWS Route 53 AWS S3 AWS SDK Java AWS SQS AWS VPC Axis2 Boxfuse BPEL BPMN Citrus Cloud CloudCheckr Continuous Build CruiseControl CXF DataMining DZone EJB3 Git GitLab GlassFish Hadoop Hibernate IntelliJ IDEA iOS Jasper Reports JavaCodeGeeks JAX-WS JAXB JBoss AS JMS Linux MapForce MapReduce maven MongoDB Mule Mule ESB Mule iON Netbeans OpenEJB Oracle BPEL Oracle iAS Oracle WSM Oracle XE Quartz Red Hat REST SAML Scala Security Smooks SOA/Web Services SoapUI Spring Boot Spring Framework Spring Integration Spring WS SqlDeveloper Swift TOGAF9 Tomcat WSO2 ESB XCode XML/XSD/XSLT
Top Posts & Pages
- Validating JWT with Spring Boot and Spring Security
- Assign a fixed IP to AWS EC2 instance
- Run your Spring Boot application on AWS using Elastic Beanstalk
- Using Amazon RDS with your WordPress installation
- Using a WAR module as dependency in Maven
- Running PageRank Hadoop job on AWS Elastic MapReduce
- Use Spring and Hibernate with MongoDB
- Using AWS SQS as JMS provider with Spring
- Writing a Hadoop MapReduce task in Java
- Starting developing in Swift: Using GitLab with XCode
Pascal is a senior software developer and architect. Pascal has been designing and building applications since 2001. He is particularly interested in Open Source toolstack (Mule, Spring Framework, JBoss) and technologies like Web Services, SOA and Cloud technologies. Lately he is having great fun by building iOS apps with Swift. Specialties: JEE AWS XML/XSD/XSLT Web Services/SOA Mule ESB/ WSO2 ESB Maven Cloud Technology Swift/ iOS