What are the green and red gems beside Github Gist Revisions

I have just started to use Github and have been doing some tests with Gist, I notice beside each revision there are little green and red dots of varying amounts. Does anyone know what they are? The following image, for example, is captured from this gist.

Github How to remove "octocat/Spoon-Knife" from my feed in Git?

After signing up for Git and going through the tutorial, I ended up Forking the Spoon-Knife repository and all subsequent actions performed on the repository are showing up in my feed. I have un-watched the repository: Yet still the actions are displaying in my feed: How can I remove these items from my feed? I notice these are from over 12 days ago, so I'm not sure if my un-watching has had any effect or if there hasn't been any activity on the repository. Has anyone else faced this issu

fatal: https://github.com/user/repo.git/info/refs not found: did you run git update-server-info on the server?

I am running the following script to set up a git repository on GitHub: Global setup: git config --global user.name "Your Name" git config --global user.email email_id@email.com Next steps: mkdir MultiView cd MultiView git init touch README git add README git commit -m 'first commit' git remote add origin https://github.com/nalgene/MultiView.git git push -u origin master The last line git push -u origin master or git push origin master for that matter returns an error: f

Github Composer cannot find package for a Symfony2 bundle

I'm creating a Symfony2 bundle hosted on GitHub. I suppose that everything is configured well! However, when I try to install it something goes wrong. Here follows a summary of the key info. First, in my Symfony2 app I update the composer.json as follows: "require": { ..., "bundle-name": "dev-master" }, When I try to install the bundle through the command php composer.phar update, I get the following error: Loading composer repositories with package information Installing dependen

How to add images to README.md on GitHub?

Recently I joined GitHub. I hosted some projects there. I need to include some images in my README File. I don't know how to do that. I searched about this, but all I got was some links which tell me to "host images on web and specify the image path in README.md file". Is there any way to do this without hosting the images on any third-party web hosting services?

Can I use a Markdown file in a GitHub page?

Since the GitHub wiki does not support directories, I want to put my md files into GitHub pages. However when I open them I found they are not interpreted at all. GitHub just gives me the raw file. See http://greenlaw110.github.com/Rythm/en/index.md. Any idea?

How to list organization's private repositories via GitHub API?

I'm trying to get a list of an organization's all repositories, including private ones. (Or to be more specific, all of the private repositories a certain user has access to.) Reqesting info for the organization (https://api.github.com/orgs/acme?access_token=[...]) shows that there indeed are plenty of private repositories: ... "public_repos": 5, "total_private_repos": 68, "owned_private_repos": 68, ... (The access token I'm using had been previously generated using the API for username/pa

Where can I see my pull requests on GitHub?

Is there a way to view on GitHub: All my pull requests My open pull requests The only place where I usually see that is in my Contribution Activity, which unfortunately does not go further than 1 month ago.

How to search using Github API with enterprise

I'm trying to search through repositories, but I can't seem to figure it out with github enterprise edition. I have tried the following with no results. Any suggestions? curl -i http://my.domain.com/api/v3/repositories "If-Modified-Since: Mon, 16 Jun 2014 01:01:01 CST" curl -i http://my.domain.com/api/v3/search/repos?q=pushed:2014-06-17 HTTP/1.1 404 Not Found Server: GitHub.com Date: Wed, 18 Jun 2014 16:45:58 GMT Content-Type: application/json; charset=utf-8 Connection: keep-alive

How to install package from github

I would like to use psd-tools package from github. Given I am not a programer, I found the installation process difficult to follow. Can someone advice in simple terms how to install and use the psd-tool package. Apparently, this is all done via the terminal in OSX. If I understand correctly the package requires python, pip, pillow and packbits to run correctly. Python is pre installed in OSX. Pip and packbits need to be installed. This where I start to get lost with the installation procedur

Custom domain for github using internetbs

I'm trying to configure the dns for my domain to target one of my pages in github I'm currently using https://internetbs.net for domains but I can't seem to configure it correctly. I tried searching for a solution but no luck.

gh-pages across Github projects all link to domain

I'm using GitHub Pages and Jekyll on my repository and have linked the repository to my own URL. So, rimager.github.io links to rimagerhard.com When I create a new repo and push to the gh-pages branch, that repo becomes available under my URL as well. For instance, I pushed to my literary-quotes gh-pages branch and poof, it's all up under http://www.rimagerhard.com/literary-quotes/ Could someone explain to me why this is happening? I am feeling a bit obtuse today. Thanks :)

How to center Github footers

As far as I can see, centering a Github footer is very hard. So far, I have tested: <div style="center code">Footer</div> <span style="center code">Footer</span> |Message to be centered| |:--------------------:| All three have not worked. Is there a way that works in footers?

Subfolders do not show up on github

I have pushed code to github however the subfolders do not have anything in them and they are greyed out on github. Is there a way to get the information inside the subfolder on github as well?

How to change the user name who push with deploy key to github

In my organization of GitHub, my team member (suppose that his name is John) added a deploy key to repository. We have a bot user account. Suppose this account name is BotUser and email is bot@example.com. I put private key (which is pair of deploy key John added) to /home/botuser/.ssh/ and configure /home/botuser/.gitconfig like this: [user] name = BotUser email = bot@exampe.com And pushed tags (command is git tag -a tag_name -m 'message' && git push --tags) automatically

GitLab Omniauth restricted for select GitHub organization members

I have a GitLab running for my Github Organization members to log in. I have configured GitLab to use GitHub to login. I know that I can set GitLab to block every new user, so that I can manually unblock them as I want. GitHub announced last year that you can now select new scopes such as read:org which allows my GitLab to get the user's organizations. Is it possible to configure GitLab to create new users only for members of my organization? If not, I don't want to fork the code and impleme

Is installing a Go package with 'go get' counted as cloning at GitHub?

When a user installs a Go package with the command: go get github.com/username/repositoryname/packagename is this counted in the GitHub traffic as cloning? I have a new Go repository and my GitHub account counted several clones. However I installed my own package as a test with the go get command a few times. Is this also counted as cloning or only when a user clicks on 'Clone in desktop'?

How can I update github wiki pages?

I just forked a repo, and the wiki pages. On my copy of repo, I updated the wiki pages, and now I would like to create a Pull Request to the original repository, with the updated wiki pages. (I just modified the wiki pages, nothing else.) I tried to make a pull request, clicking and creating a "new pull request", but it says "There isn’t anything to compare." How can I PR my wiki changed to the original repository?

NPM install/dependency from a GitHub Release Binary

I know how to make an NPM dependency from a GitHub release : "dependencies": { "package-name": "user/repo#v1.0.0" } That's nice, but I want to install a specific binary from this release. I tried "dependencies": { "package-name": "https://github.com/user/repo/releases/download/v1.0.0/bin.tgz" } But I gives me the following error : ❯ npm install npm ERR! fetch failed https://github.com/user/repo/releases/download/v1.0.0/bin.tgz npm WARN retry will retry, error on last attempt: Er

How to get list of contributors of particular organisation in GitHub API

Is there any way to get all contributors from organisation on GitHub using GitHub API or any external service? I am trying to get all contributors from angular organisation using GitHub API. I've found only one solution: Get all repos from angular organisation using this request: GET https://api.github.com/orgs/angular/repos For each repo, get all its contributors by this request: GET https://api.github.com/repos/angular/:repo/contributors Merge all derived data to one array. It seems

Github UI - cannot edit file further after viewing in preview pane

I want to create a README.md file using the Github edit/preview file interface. The problem is when I switch to the Preview pane and then back to the Edit pane, I can see a cursor blinking at the very top of the document but cannot move it or perform any further editing. If I want to add/modify content I need to cancel the entire operation and start again from scratch. Needless to say, this isn't optimal. Is there something I am missing here? Or is it simply not possible? Any pointers much ap

Github Jenkins webhook security problems

I've been using Github Jenkins webhook for a while with no problem. I have my Jenkins running behind a Nginx proxy and the only security installed was the nginx htpasswd. So my Github webhook looked like this: https://user:pass@jenkins.blablabla.biz/job/script/buildWithParameters Being user and pass the credentials from htpasswd file. Right now I'm trying to add users to my Jenkins and I activated matrix based security to it with the option to register and login to Jenkins. The server works

Github How do I turn a h2 Markdown header into a link?

I'm new to creating sites with Jekyll and markdown in general, so please tell me if there is something obviously wrong with my approach. My code is: [## Red Hat Certified Systems Administrator (RHCSA) Guide]({% post_url 2017-09-11-RHCSA %}) The output I was expecting was an h2 Header that's also a link. However, when I serve the page using Jekyll, the link works perfectly, but instead of the link text being a h2 header, it simply contains ## Red Hat Certified Systems Administrator (RHCSA) G

POSIX Spawn time-out error for static site on Github Pages

I have a static plain HTML/CSS website on Github pages without Jekyll. Everything has been working just fine until recently the following build error started appearing: The page build failed for the `master` branch with the following error: POSIX::Spawn::TimeoutExceeded I am not sure why this occurs, as my commits were mostly incremental changes to existing HTML files. Googling the error message has not yielded anything useful. What could cause this problem and how can it be fixed and prev

Github Find event type that triggered hook in Jenkinsfile

I have a GitHub webhook triggering a Jenkins pipeline job. I've set several events that triggers the webhook (like push, pull requests, ...). Once my Jenkinsfile triggered, I want to run different commands according to the type of event that triggered the hook, but I can't find any variable giving me this event type. Is there a way to find it ? I checked the env variables available in Jenkins but found nothing like it. I've also seen 'hacks' checking if the variable CHANGE_ID exists but it see

Modifying a github public repository from a travis build

In the build of my first public repository https://github.com/yafred/test-push/ I try to modify my second repository https://github.com/yafred/test 1/ I am using the same personal access token with scope repo (GH_TOKEN) that I'm using to deploy releases. 2/ The commands I am executing from the .travis.yml are language: generic script: - git clone https://github.com/yafred/test.git - cd test - echo "hello" > test.txt - git add . - git -c user.name='travis' -c user.email='travis

providing HTML link on github

I try to give an HTML link on github. HTML page is already uploaded (week3.html in below example),and I gave the link in index file.Still it does not direct me. I kindly ask your advice. below are the screenshots.

Create custom GitHub emojis

GitHub seems to have a rich set of emojis it supports. https://gist.github.com/rxaviers/7360908 I am looking for a green triangle face down. There is a red triangle face down, however, I am looking for precisely this, but in green.

Github Commonising parts of Markdown READMEs

I maintain a few tiny Nuget Packages. The Github project page needs a README file. The Nuget page needs a README file. There is a very heavy overlap between what I want on those two pages ... but they're not identical. There's stuff that want on the Nuget page, that I don't want on the GitHub README, and v.v. Currently I solve this, by having 2 README files, which I try to keep in sync, for the duplicated sections. This makes me sad :( Is there any way to commonise text shared across mu

Github action does not trigger when I push code from a local to a remote branch

I created a Github action that prints out some strings with the statement. The action triggers when I make commits on github.com, but does not trigger when I make commits locally and push them to the remote repository at github.com. Why is this? Here is my action... name: FeatureCI on: push: branches: - '*' jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v1 - name: Run a one-line script run: echo "Only on featuer branches" - name: Ru

Github How to pass variables beween steps secretly?

GitHub Actions allows you to pass environmental variables from one step to the other by doing echo "::set-env name=YOUR_VARIABLE_NAME::YOUR_VALUE" in one step, and then accessing the value in the next step ${{ env.YOUR_VARIABLE_NAME }} However, this prints the variable value to the GitHub Actions runner's console. This is problematic if one step generates some kind of a secret value and wants to pass it to the next step. Is it possible to pass variables secretly, without them being printe

sonarqube github project analysis

I have a repository in my github account and i want to analyse it with sonarqube after each commit I put the repository url in my sonar scanner properties : sonar.sources=https://github.com/rahma/JavaTest but does not work . any idea about this please ?

How would I add associate a remote GitHub repository to a local repository in the Visual Studio 2019 Team Explorer?

How would I associate remote repository from the Visual Studio 2019 Team Explorer to a local repository? There does not seem to be any way to specify the GitHub URL of a remote repository in Team Explorer or Visual Studio 2019. The steps I am using are below. Create a new solution in Visual Studio 2019. Do a File | Add to Source Control to add a local repository. Go to GitHub on the Internet and Sign In. Create a new repository with a ReadMe and Visual Studio setting. Copy the URL for the newl

Github multidots/zf3-rest-api no longer exists

I've been using this library for a long time in my project, yesterday i tried to install my project with composer and i found out the package was abandoned on packagist and page was not found on github (404), I'm not sure if this package was deleted or restricted access because i don't have any other alternative and my whole project is based on it. composer response: fatal: repository 'https://github.com/multidots/zf3-rest-api.git.git/' not found

Github How can I find the definition of the method load_weights of the class keras.models?

I'm trying to find the definition of the method load_weights of class keras.models. Where can I find it? In Pytorch it's very easy because each entry in Pytorch docs links to the corresponding source code. In Keras this doesn't happen, and I couldn't find the source code for this method on Github. I'm looking for an answer which explains how to find such information, rather than just a link to the source code. This way, I won't have to ask a new question each time I need to look for the source c

Github Status Check for Versioning

Im trying to achieve the following scenario. Our developers maintain a version.plist file in the repo. Lets consider master has version 1.1.1. (Follow semver 2.0 specs) When a dev A works on a feature, he creates PR and updates version to 1.2.1. I would like a status check on the PR, to say whether the PR has the correct version to be merged to master. I don't want a scenario where merge can happen if the version is same or lower than master. Let us consider similarly another developer B also wo

GitHub OAuth2 and Swagger UI

I am trying to use the Swagger UI with OAuth2 authentication. I am using GitHub as OAuth2 provider. OpenAPI specification is configured as follows: security: - github-oauth2: - read:user components: securitySchemes: github-oauth2: type: oauth2 description: GitHub OAuth2 flows: authorizationCode: authorizationUrl: https://github.com/login/oauth/authorize tokenUrl: /github/login/oauth/access_token scopes: read:user:

Github run dependency jobs if condtion is true in gitlab pipeline

I want to run dependency job if condition is true. Do we have that feasibility in git lab.When i manual triggered test job with DEPLOY variable then dependencies should run otherwise skip dependencies. I don't want to keep condition at build stage. build: stage: build when: manual script: - echo build test: stage: test when: manual dependencies: - build if [ $deploy = 'true' ] script: - echo test

GitHub main/master branch

I thought the default head branch was now called "main", but today, I noticed in a new repo, the default branch was still called "master". But when I wanted to rename it, the popup told me that I should use main? My colleagues did see main as default, so I'm wondering, why don't I? Am I using an old version or something?

GitHub what causes gaps in issue #Number (404 This is Not...)

github uses the same auto-increment Number for issues/Pull Requests(PR)/discussions. (it seems that issue ID is different from issue Number) https://github.com/git/git/issues/10 redirects me to https://github.com/git/git/pull/10 so I'm fine iterating Numbers like this: https://github.com/git/git/issues/Number I do this and find that some URLS give: 404 This is not the Web Page you are looking for. for example: https://github.com/git/git/issues/7 What could be the causes ? I know that this isn

If condition in Github Actions for another Job

My use case is, to trigger docs build when there is a trigger word in Pull Request Comments. I am using pull-request-comment-trigger to know if a Trigger word is present in the code. After knowing Action is triggered, I want to run some commands inside the repo. So, I have to use actions/checkout for that. My doubt is, inside the run command, Only Shell Commands are valid, Right? I want to run another job if above condition satisfies. My Current Yaml File name: Testing GH Actions on: pull_req

  1    2   3   4   5   6  ... 下一页 最后一页 共 38 页