Why github could do not count my contribution?
I've pull a request to github repo, and maintainer was merge it to a master.
But I can't see my contribution in the Insights.
See also questions close to this topic
Delete files tracked in git stash and then git stash pop
git stash. I then did
git stash popbut got the following error:
error: Your local changes to the following files would be overwritten by merge: [proj].xcodeproj/project.xcworkspace/xcuserdata/[user].xcuserdatad/UserInterfaceState.xcuserstate Leaflet-[proj]/Leaflet.xcodeproj/xcuserdata/[user].xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist Please commit your changes or stash them before you merge. Aborting
I committed my changes. I tried
git stash popagain to no avail. I then removed the files with
git rm --cachedand committed those deletions.
git stash popnow gives
error: refusing to lose untracked file.
Your branch is ahead of 'origin/temp' by 2 commits. (use "git push" to publish your local commits)
Unmerged paths: (use "git reset HEAD ..." to unstage) (use "git add/rm ..." as appropriate to mark resolution)
deleted by us:
[proj].xcodeproj/project.xcworkspace/xcuserdata/[user].xcuserdatad/UserInterfaceState.xcuserstate deleted by us:
Can I invoke circleci for pytest such that any new pull requests must not decrease code coverage?
I'm interested in setting up my
config.ymlfor CircleCi such that any new pull requests (in order to pass) must
- Have all tests pass
- Must not decrease code coverage from master (either stay the same, or increase it).
Currently our setup just confirms that all tests pass.
I find circleci setup a bit challenging and haven't found any great explanations online.
- Using CircleCi version 2
- Using the pytest testing framework
- All of this is integrated through github
Any help would be very appreciated! I'm happy to clarify any points/post any code that could be helpful.
Github and git show different changes for a commit
I have a commit in a PR that I need to revert. Github shows a ton of changes for the commit, but git shows just a few. I cannot find the changes that Github shows---the ones I need to revert---locally. Github commit linked above; local changes below. What am I missing?!
$ git show --name-only fc44285b630a2152f41f000195ec8f76bca7658c commit fc44285b630a2152f41f000195ec8f76bca7658c Merge: b626839 1d24d68 Author: xxxx Date: Wed Apr 18 21:31:26 2018 -0400 site updates docs/dev/articles/site_only/healthcareai.html docs/dev/articles/site_only/transitioning.html docs/dev/index.html docs/dev/reference/evaluate.html docs/dev/reference/figures/README-plot_predictions-1.png docs/dev/reference/machine_learn.html docs/dev/reference/plot.predicted_df-2.png docs/dev/reference/predict.model_list.html docs/dev/reference/step_date_hcai.html man/figures/README-plot_predictions-1.png