Beruflich Dokumente
Kultur Dokumente
servicenow_learning
Branch: master New pull request Create new file Upload files Find file Clone or download
README.md
Generated files
This repository contains generated files and a checksum.
https://github.com/syarbeats/servicenow 1/3
13/04/2017 syarbeats/servicenow:servicenow_learning
If you find yourself unable to import your repository due to the presence of files edited outside an instance of ServiceNow,
merge commits that mix files from different revisions, or other data that does not match the checksum, you may recover
using either of the following techniques:
i. Clone your repository to a personal computer with the git command line tools installed and open a git command
prompt in the repository root
ii. Run gitlog and take note of the SHA1s of the problem commits
iii. Build revert commits using gitrevertSHA1 repeatedly, working backward in time, for each commit that introduced
changes not generated by a ServiceNow instance
iv. Run gitpush
i. Clone your repository to a personal computer with the git command line tools installed and open a git command
prompt in the repository root,
ii. Locate a known good code snapshot and record its SHA1. For this step, gitlog can be useful.
iii. Run gitresethardSHA1 to a commit that was generated by a ServiceNow instance
iv. Run gitresetHEAD{1}
v. Run gitaddA
vi. Run gitcommit
vii. Run gitpush
2017 GitHub, Inc. Terms Privacy Security Status Help Contact GitHub API Training Shop Blog About
https://github.com/syarbeats/servicenow 2/3
13/04/2017 syarbeats/servicenow:servicenow_learning
https://github.com/syarbeats/servicenow 3/3