Comments (6)
I don't wanna introduce a breaking change, would've just changed to more specific clone_args
and pull_args
while removing args
.
from caddy-git.
It has been implemented and should show up in Caddy soon.
from caddy-git.
Good point you've raised there, though the document indicates the args are for clone.
How does changing pull
to fetch
and checkout
help your scenario ?
from caddy-git.
Yes, the documentation's good @abiosoft, sorry I should have been more clear, but I meant when reading code it's not clear unless familiar with the particular argument used.
pull
attempts a merge in the presence of local changes; if it instead fetch
ed (without moving HEAD
) and then checkout
ed the remote copy, local changes would be lost in favour of remote, just as with pull -X theirs
.
My goal is just to ignore anything I've done tinkering around on the server, or that's been overwritten by something (presumably accidentally) and replace it with the latest revision under version control.
from caddy-git.
I wanted to --allow-unrelated-histories
so that my static site which's generated and (force)-pushed to a branch works. But, of course, the arg goes to clone and not to pull
from caddy-git.
That sounds good; potentially solves some problems people might have the other way around too.
from caddy-git.
Related Issues (20)
- 400 Bad Request - Bitbucket
- Does this package assume git repo URLs with always have ".git" in them? HOT 5
- Prevent pulling / running script on start
- Using a pure Go git HOT 3
- Caddy's import path has changed HOT 2
- Hook from gitlab.com fails with http 400 error
- parse ssh invalid port ":sjatsh" after host HOT 16
- submodules not getting updated
- Problems with clone on startup with git host in same Caddyfile HOT 2
- Caddy 2 support HOT 3
- Travis webhook verification HOT 1
- Cloning private repo fails HOT 2
- Support for multiple remote urls for a single repo (ssh and https URLs) HOT 2
- Webhook - Bad Request 400 HOT 1
- Large number of zombie processes in docker HOT 3
- RFE: whitelisted blocks of IP addresses for webhooks should be configurable HOT 3
- Error during parsing: Unknown directive 'repo' HOT 2
- problem at git HOT 6
- Pulling `{latest}` via WebHook HOT 4
- caddy-git error when cloning repos with custom port (SSH) HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from caddy-git.