This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Check out the original file should receive the changes. This should be the version on your working branch | |
git checkout {MY-WORKING-BRANCH-SHA} -- path/to/my/file.txt | |
# Generate a diff of the file, ignoring space changes against a known branch. You should be on your working branch for this | |
git checkout my-working-branch | |
git diff HEAD..master --ignore-space-change -- path/to/my/file.txt > patch.diff | |
# Apply the patch. Note that you MUST use the same --ignore-space-change flag to apply properly | |
git apply --ignore-space-change patch.diff |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var total=0;$('#issuetable .issuerow .customfield_10025').each(function(index){if(this.innerText != ''){total += parseInt(this.innerText)}});console.log(total); |
OlderNewer