I would like to see an overview of my activities (e.g., commits in several branches, issues) on GitHub to see in which periods I was busy. I tried the following ways:
URL https://github.com/MYNAME/REPOSITORY/commits/?author=MYNAME, the problem is it returns only the master branch, while I have commits in other branches as well.
URL https://github.com/MYNAME?tab=overview&from=2022-02-01&to=2022-02-04, but the following graph does not seem to show commits in the branches other than master:
Does anyone have any ways to get a better overview? It is not necessarily by a direct URL, I could use GitHub Desktop, command lines, or a little bit of scripts as well.
Unfortunately, GitHub does not provide a way to see overall activity across branches in a repository, other than the default and the gh-pages branch - more information on https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile
As I haven't found anyone else resolving this, this leaves you with the option to write a piece of software that iterates through your repositories and checks the commits on all branches - introducing all kinds of challenges, such as overlapping commits and branches. Should be an interesting challenge though!
Related
In our Github organization, we merge everything to develop. Once a week we merge everything from develop to master. We want to have a list of all issues in the PR description based on the commits, which are linked to the issues (with #number of issue).
We have a Github Actions workflow that automatically creates the master PR. This PR usually has a lot of commits. We try to find a way to automatically write a comment with the titles of the issues which are referenced in the commits!
I tried to use the Github REST API but Im way to unexperienced with that so nothing seemed to work. I also tried to use some github changelog tools like this and this and tried to add them to a github action worklow, no success. Im also pretty new to github actions and coding in general.
In our Github organization, we merge everything to "develop". Once a week or bi-weekly we merge everything from "develop" to "master". We want to have a list of all the issues associated with the PR in the PR description based on the commits, which are linked to the issues (with #).
We have a Github Actions workflow that automatically creates the master PR. This PR usually has a lot of commits. We try to find a way to automatically write a comment with the titles of the issues which are referenced in the commits.
I tried to use the Github REST API but Im way to unexperienced with that so nothing seemed to work. I also tried to use some github changelog tools like this and this and tried to add them to a github action worklow, no success.
Suppose we have a large GitHub repo with many contributors. Is it possible to force contributions via PR for all files in the repo except for a few files which can be immediately pushed to main by the contributor?
Use case: suppose 95% of the PRs to the repo are for changes to README.md or CHANGELOG; things you know will not cause any impact on customers if there's a bug or problem, then it may make sense to allow these PRs to be merged without inspection or manual work from a maintainer (or possibly even without raising a PR which triggers notifications to 'watchers'). Can this be achieved?
I recently made several commits, but they are not being counted, they all follow the patterns they were giving in the past, but recently they are simply not going to the chart anymore, could you help me?
Was there any update that removed this benefit from free users?
https://github.com/Peedrooo
In order for a commit to be counted in the contribution graph, it must have been merged into the default branch in the main repository. Commits in forks or in branches other than the default branch don't count.
Additionally, if it's in a private repository, you must enable the option for those to appear in your profile.
GitHub provides documentation on how to troubleshoot this.
It is against general git workflow to make feature changes on a master branch. Sow= if I were to fork a repo my work ends up in .. feature branches..
How can I search those non-master branches on github?
Actually - even advanced search on Github seems to not find much of anything except for repository names and README files. It is not searching the codebase??
Here is an example of searching the yahoo user account for Process
: that should come up with dozens if not hundreds of hits. But we get .. four hits ..
So in general the github code search is a bit of a mystery . I really want to find certain code snippets .. either on master or another branch .. is there a way to do this??
There are tabs just below the header of the page - Repositories, Code, Commits, etc. If I click the Code tab I get 2k+ results.
There are some restrictions with searching code on GitHub, however, and branches other than master are not considered in the search. Also, only files smaller than 384 KB and repositories with less than 500,000 files are searchable. You can find more information related to searching code on GitHub here: https://help.github.com/articles/searching-code/