Package org.eclipse.jgit.api

Examples of org.eclipse.jgit.api.Git.stashApply()


       
        // drop the 1st stash without applying it
        ObjectId call = git.stashDrop().setStashRef(0).call();
        System.out.println("StashDrop returned: " + call);
       
        ObjectId applied = git.stashApply().setStashRef(stash.getName()).call();
        System.out.println("Applied 2nd stash as: " + applied);

        repository.close();
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.