Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

variable git command in conf file #29

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

ThomDietrich
Copy link

I wanted to make sure that the working copy on my deployment system is always an exact copy of the newest revision at github/origin. 'git fetch' is insufficient for that reason.
Change 1: git command is part of the config file
Change 2: config example
Remark: example command is hardcore and will delete all local changes.
git checkout: is redundant here but needed if you want to define a git post-checkout hook (i have one)

Cheers!

glaslos added a commit to glaslos/git_deploy that referenced this pull request Nov 20, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant