gitpack | Git-based package manager written in POSIX shell | Script Programming library
kandi X-RAY | gitpack Summary
kandi X-RAY | gitpack Summary
Simple Git-based package manager.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gitpack
gitpack Key Features
gitpack Examples and Code Snippets
$ gitpack install github.com/dominiksalvet/pathfinding-robots
>>> running install for github.com/dominiksalvet/pathfinding-robots
downloading repository
reading status database
using automatic candidate version
installing version 1.1.0
runni
Community Discussions
Trending Discussions on gitpack
QUESTION
I have a PHP project (an wordpress plugin). When i need to publish this project to a remote test or production server, I have to send files through common FTP. In order not to upload all files, I'd like to obtain only modified files from the last build.
Is there an way to use GIT to, given two different branches or commits, create a folder with files changed or added between this two branches/commit. This would give me all files I have to upload.
I've tried using git diff branch1..branch2 > result.diff
, but that would give me a single text file with all changes, and that wont't help with the FTP upload process, I'd like to copy all changed/added files to a folder, following the same folder structure, so i could just upload this folder.
Based on @LeGEC answer, I wrote a little command line utility that read the results of gitDiff and generate a folder with the files. If someone is interested, its on GitHub:
...ANSWER
Answered 2020-Feb-19 at 13:27You can try one of :
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gitpack
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page