Questions tagged [github]

12081 questions
0

votes
0

answer
8

Views

Hugo fails to build with GitHub Pages because of YAML error

I'm using Hugo on Github Pages, and whenever I push my site to origin, I get this error message sent to my email: The page build failed for the master branch with the following error: There was a YAML syntax error on line 2 column 1 in : did not find >expected key while parsing a block mapping. For...
torchatlas
0

votes
0

answer
2

Views

Need to provide password for yarn add jest

I'm trying to yarn add jest to the work repo I cloned onto my machine. C:\COMPANY_NAME\Work-Folder\frontend>yarn add jest yarn add v1.13.0 [1/4] Resolving packages... [2/4] Fetching packages... error Command failed. Exit code: 128 Command: git Arguments: ls-remote --tags --heads [email protected]:COMP...
J.Ko
0

votes
0

answer
14

Views

When I am using Github how can I create a version 1.1 of my application while I still maintain a version 1.0?

I have an application that I am working on. It's the Master Branch. Now I would like to continue fixing bugs with that but at the same time work on the next version. On my front-end I am using Visual Studio Community on the Mac OS. Can someone explain to me how I can start on another version a...
Alan2
0

votes
0

answer
5

Views

Is there a way to exclude specific branch names/patterns in GitHub branch protection?

I want to enable GitHub branch protection on all branches except those prefixed with "private_", for example. This way, we do not have to enable every new 'non private' branch as it is created. I cannot find a way, using GitHub's pattern matching/globbing rules, to accomplish this. Something like a...
Mike Goddard
0

votes
0

answer
6

Views

Why is my GIT Submodule *NOT* a detached head?

Basically the opposite of this question. I'm cloning a repo that has a submodule in it. After running git submodule init git submodule update when I cd to the subdirectory that contains the submodule, I expect to see that I am in a detached HEAD state when I do git status but I'm not. I read up on...
Murkantilism
0

votes
0

answer
3

Views

IBM Watson Explorer Deep Analytics Edition v12.0 not working

Previously worked with Watson Explorer Deep Analytics v12.0.0 and this worked fine until several days ago. The application to launch the WEX launcher works properly and you are able to select the 'miner' and 'admin' console. However, once you try to continue to one of the interfaces, the system show...
Ted
-2

votes
0

answer
19

Views

Create a function that accepts a GitHub username, and returns that users “Score”

I am interested in obtaining the following data from the GitHub API. PushEvent = 10 points. PullRequestEvent = 5 points. IssueCommentEvent = 4 points. Any other event = 1 point This is my first time using the GitHub API. I would like some assistance. I need to create a function which will return use...
syed1234
-1

votes
0

answer
16

Views

Getting error while pull github to pythonanywhere

error: Your local changes to the following files would be overwritten by merge: db.sqlite3 Please, commit your changes or stash them before you can merge.
Prakash Vegiraju
1

votes
2

answer
370

Views

GIT clone all repositories in parallel i.e. total time taken to clone all is close to what you'd take for the largest repo: fatal: index-pack failed

OK. Mac OS. alias gcurl alias gcurl='curl -s -H "Authorization: token IcIcv21a5b20681e7eb8fe7a86ced5f9dbhahaLOL" ' echo $IG_API_URL https://someinstance-git.mycompany.com/api/v3 Ran the following to see: list of all orgs that a user has access to. NOTE: to a new user (passing just $IG_API_URL here...
Arun Sangal
1

votes
1

answer
1.7k

Views

how to update one submodule git?

I have a couple of submodules and I only want to update one of them. I think this command updates all of them in .gitmodules git submodule update --init --recursive --remote I just want one of the modules updated though.
1

votes
2

answer
273

Views

Run Ruby Script after Build on Heroku

I have a rails app running on Heroku. I have it set to watch a branch on Github so that it automatically 'builds' and updates when I push a commit to that branch. Awesome. I have a file in my repo scripts/dostuff.rb. I want Heroku to fire off that script each time it 'builds' my rails app. Google...
Matthew James Briggs
0

votes
0

answer
3

Views

Travis: Deploy after merging pull request into master

Let's say I have release-1.0.0 branch, and I want to create a pull request into master for this branch. After creating pull request Travis starts checks and run build script. If everything is ok, github gives me a green flag and allows me to merge release branch into master. I merge release branch i...
Guseyn Ismayylov
0

votes
0

answer
3

Views

RStudio and Travis CI build check do NOT match (libudunits2.so)

Travis CI detects and issue which is not found by the Build > Check in RStudio for my lares library (found in Github as laresbernardo/lares). My last "Passed" commit, according to Travis CI, was literally a typo change so the library's code should not be the problem; so, when I run devtools::check()...
Bernardo
1

votes
1

answer
708

Views

sonarcloud badge on github

I am trying to add sonarcloud badge to my README. But when I do like this ![https://sonarcloud.io/dashboard?id=com.lapots.breed.judge%3Ajudge-rule-engine](https://sonarcloud.io/api/project_badges/measure?project=com.lapots.breed.judge%3Ajudge-rule-engine&metric=alert_status) The badge itself looks...
lapots
1

votes
2

answer
33

Views

Which is better way to merge selected commits from one branch to other branch in Git

I have Master and Develop branch, developers are commit their code on Develop branch at the time of release some commits which is in develop branch not going for release so i have skip that commits while creating release branch or merging on master branch which is a best approach to handle this case...
AniketGole
1

votes
2

answer
24

Views

How to remove unwanted files(100's in number) from git add list

I have around 30 files in the local repo that I needed to push to the server. But when I do git add . >> git commit -a "msg"... a large number of files also getting committed along with that. How do I remove those files? What I have tried: Adding all those wanted 30 files individually using git add...
RISHI KHANNA
0

votes
0

answer
8

Views

Github - transfer issues between two private repos

Let's say user A owns a private repo A on Github. He is part of an organization which has a private repo B. User A has admin privileges on both repo A & repo B. User A wants to transfer an issue from his own repo A to his organization's repo B. He can't do that since the repo B doesn't appear in the...
Zenoo
1

votes
0

answer
14

Views

How to fix github oauth token for invalid characters: “__TOKEN__”?

when I want to download new laravel application then the error occur: composer create-project --prefer-dist laravel/laravel App [UnexpectedValueException] Your github oauth token for github.com contains invalid characters: "TOKEN" create-project [-s|--stability STABILITY] [--prefer-source] [--prefe...
anower hasan
1

votes
1

answer
1.1k

Views

Remote SSH git pull asks id_rsa passphrase every time

I'm trying to git pull from another computer i'm connected to through SSH. Every single time I execute git pull on this remote desktop, I get prompted Enter passphrase for key '/home/**me**/.ssh/id_rsa': However when I git pull from the same location but directly on the computer, nothing is prompt...
ted
1

votes
1

answer
34

Views

Númber of active repositories in GitHub info site differs from advanced search tool result

I was trying to fetch the number of active repositories in GitHub filtering by language. The http://githut.info/ informs that for JavaScript for example, the number of active repositories is almost 324k at actual date, but the advanced search ( https://github.com/search/advanced ) fetchs different r...
Digao
1

votes
2

answer
965

Views

Git changes to be committed files marked as deleted

I am wanting to delete some old files on my repository due to some refactoring. Git is saying my local repo is up-to-date. However when I run git status I get the following: # On branch master # Changes to be committed: # (use "git reset HEAD ..." to unstage) # # deleted: app/foo1.php #...
jakehallas
1

votes
1

answer
2.2k

Views

Composer package not found in any version

I am trying to create a custom vendor package but have not yet put the package on packagist. According to the docs, the package can be loaded from git (vcs) instead of packagist: https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository The yii2 project (although don't t...
gvanto
0

votes
0

answer
3

Views

Keep Github Pages and Hugo output in same directory?

I recently decided to generate a Github Pages website using Hugo. I wanted to keep Hugo input (configuration, themes) in the same directory as the output, for easy management. Unfortunately, Github Pages's CI complains when I try to turn public directory into a symlink into ., as well as when I crea...
d33tah
1

votes
3

answer
134

Views

how to convert a raw readme file to html formated document after geting it from github in angular js

I used the following controller but how to format each line of the README.MD raw file to html document angular.module('ExampleApp', []) .controller('ExampleController', function($scope, Slim,$sce) { Slim.getReadme().then(function(resp) { $scope.readme = $sce.trustAsHtml(resp.data); }).catch(function...
Achuth hadnoor
1

votes
1

answer
401

Views

Meaning of lib directory in github repositories

Most of the time, when I look at projects in github , I see lib/ directory. I just googled if there is a conventional meaning of lib/ directory. But I couldn't find much. I would like to know what lib/ directory is for just to choose where to start looking at in github projects. Project which have...
FurkanO
1

votes
1

answer
53

Views

Github gh-pages dosen't show update from laptop Browser

I'v pushed a new version of code to gh-pages for 5 hours but the page doesn't show the update when i use the Chrome on laptop. however when I check the page from Safari of my cellphone, it just show the updated Page. what could possibly be the reason?
Li Zeng
1

votes
1

answer
1.8k

Views

Markdown Table not working (kramdown)

code Its working perfectly in the atom md preview but it outputs terribly in Github hosted jekyll website? My posted md file online: https://kevin-do.github.io//aztec-parking/ Could someone please help?
Kevin Do
1

votes
2

answer
814

Views

How to REALLY remove a too large file from git push that was already deleted? [duplicate]

This question already has an answer here: Issues with pushing large files through GIT 4 answers On "git push origin master" the following errors occure: remote: Resolving deltas: 100% (84/84), completed with 30 local objects. remote: error: GH001: Large files detected. You may want to try Git Large...
itinance
1

votes
1

answer
781

Views

Sublime text 3, Package Controll - cant install packages

I realized like a week ago that I cannot install any new packages via Package Control. I tried everything even reinstalling sublime, while cleaning all files /Library/Application Support/ everything. Still the same problem. Any ideas? ignored packages updated to: ["Emmet", "Vintage"] reloading setti...
DN.
1

votes
1

answer
637

Views

How to install python packages in travis without sudo?

sudo is disabled in my travis script, so I can not execute 'pip install' to install python packages. Is there any other way that I can install python packages without sudo ? It still fails using the following command install: - pip install -U pip - pip install $ pip install -U pip You are using pi...
zjffdu
3

votes
1

answer
16

Views

Getting Permission Denied Error When I push to remote ( Please make sure you have the correct access rights and the repository exists)

I cloned another person's repository. I was able to add and commit a file in my local copy of the repository. When I try to execute a "git push" command however I am getting an error message. My git hub username is Nikola901. The user that I am getting the repository from is mqttbroker here are th...
Steve Bien-Aime
1

votes
1

answer
45

Views

Last update of a github repo on my website

I'd like to get the date of the last update made for some of my github projects, and use these date on my site (inside a html table of projects that I list there). Is this possible and how? Grateful for help! PS: Not sure if this makes a difference, but my site is an "organization site" hosted on gi...
sunyata
1

votes
1

answer
205

Views

git revert remote to a particular commit with a merge doesn't work with -m

I'm trying to revert back our remote repo to a previous commit. The tree is as shown below: The idea is that we want to go back to that commit without requiring anyone who's pulled from master branch to have to deal with the problems that would arise from resetting back to commit 2dda031. So I'm usi...
GenAsis
1

votes
1

answer
157

Views

Travis CI deployment from GitHub to Azure returns ! [remote rejected] HEAD -> master (shallow update not allowed)

I am trying to deploy a simple NodeJS website using Travis CI to Azure. I have followed all the steps outlined in this article: https://www.microsoft.com/developerblog/2015/09/30/using-travis-ci-to-deploy-to-azure/ This is the repo (public): https://github.com/mizrael/barfer . The build process is...
MizRaeL
1

votes
1

answer
316

Views

running jekyll locally on a github pages site project

I want to create a project site documentation (not a blog). I create a "project site" github page, as explained in https://pages.github.com, and select the theme 'jekyll-theme-cayman'. However, when I edit the index.md file in github editor, the preview looks different from the output in my github p...
David Portabella
1

votes
1

answer
102

Views

Can I run an R Shiny app that is on a Github Enterprise repo?

My company recently signed up for Github enterprise. I'm in the process of moving my Shiny apps there and can't quite figure out how to launch the app. The function runGitHub calls: https://github.com/repoName, but I somehow need it to point to: https://github.companyName.org/repoName Is this possib...
Mark
0

votes
0

answer
4

Views

How to access raw.githubusercontent.com on Github for Enterprise?

I'm trying to create a helm chart repo on our enterprise's Github. As suggested in the following link here https://hackernoon.com/using-a-private-github-repo-as-helm-chart-repo-https-access-95629b2af27c I should get access to something similar to raw.githubusercontent.com on our Github. Where can I...
Phạm Nhật Minh
1

votes
1

answer
49

Views

Reviewing only changes I did not review before

I'm reviewing a huge GitHub pull request. I've reviewed the originally pushed code and made a lot of comments. Now I'm supposed to review the changes that were committed according to my comments but going through all the changed files is just inhumane. Is there a way to look through only the changes...
SiberianGuy
1

votes
2

answer
797

Views

Select * for Github GraphQL Search

One of the advantage of Github Search v4 (GraphQL) over v3 is that it can selectively pick the fields that we want, instead of always getting them all. However, the problem I'm facing now is how to get certain fields. I tried the online help but it is more convolution to me than helpful. Till now,...
xpt
1

votes
2

answer
842

Views

Difference between 'git request-pull' and 'pull request'

What is git request-pull and how does it compare to making a pull request, e.g. on github? 1. How is it supposed to be used? 2. Can it be used as replacement for pull requests (e.g. on github)? 3. What are the advantages of using it?
jschnasse

View additional questions