Tong's Work Notes
The learning process
Tuesday, September 19, 2017
Only get git repository file without any git metadata
1. Do a git pull to get latest from the repo
2. Run the following command to get the latest code into /var/tmp/junk directory
git archive --format=tar --prefix=junk/ HEAD | (cd /var/tmp/ && tar xf -)
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment