Skip to content

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