Questions tagged [github]

GitHub is a web-based hosting service for software development projects that use Git for version control. Use this tag for questions specific to problems with repositories hosted on GitHub, features specific to GitHub and using GitHub for collaborating with other users. Do not use this tag for Git-related issues simply because a repository happens to be hosted on GitHub.

0
votes
0answers
5 views

Push to github doesn't trigger jenkins pipeline job

I have configured jenkins pipeline job which should be triggered by github push but it isn't. I specified github project https://github.com/// I checked GitHub hook trigger for GITScm polling And I ...
0
votes
1answer
15 views

Ignoring “appsettings.json” from being uploaded to github

I would like visual studio to ignore "appsettings.json" from being uploaded to github repository. I have tried putting the file name in .gitignore but visual studio 2017 still record it as a change ...
0
votes
0answers
10 views

Can't get my <a> tags to work in GitHub webpage (but works fine on Codepen)

I created a random quote generater webpage as part of the freecodecamp curriculum and am now uploading the files to github so that they can be hosted on there as their own webpages. The page works ...
1
vote
1answer
28 views

How to undo a reset after push? [duplicate]

I wanted to revert a pushed commit and because of lack of knowledge I did git reset --hard HEAD~1 git push -f Now , after this , people who already had pulled the commit which i reset , they are ...
0
votes
2answers
17 views

Git - Merge Files From Other Repository

Is it possible (And how to) merge files from a different repo and then track pull requests of them, even if your repo isn't a fork?
0
votes
1answer
20 views

how to fix 'AssertionError: expected false to be truthy' error?

I am beginner on E2E Tests and I want to make a e2e signup to a github account test with TestCafe, but I get this error when runing test: ExternalAssertionLibraryError { code: 'E53', ...
1
vote
1answer
22 views

Git clone doesn't download all the files due to windows limit on length of file path

I am trying to clone a Git repo on windows 7. But git is not cloning all the files. I have checked the repo and there are no submodules so adding --recursive flag is also not helpful. IMO the reason ...
0
votes
1answer
8 views

fatal: adding files failed

I am new on github. Please provide me a better solution with explanation. I like to add Django files into github. But it shows the following error: fatal: adding files failed My code is here: ...
0
votes
1answer
33 views

Why does PowerShell not seem to honour the $env:path variable? [on hold]

I installed GitHub and Git, and want to add Git to the PowerShell path. I added it to the system path, it works in cmd.exe, and shows the correct path when I print $env:path, yet PowerShell still ...
-3
votes
1answer
16 views

How do I uninstall Travel Mate App in Android?

It has been some time now that I installed Travel mate. https://github.com/project-travel-mate/Travel-Mate/tree/master/Android But the problem is: I can't uninstall it now. :( Every time I click on ...
-1
votes
0answers
13 views

What is the fastest customizable tool for github PR code review?

I have hundreds of repositories in github for ~100 products. I have 350+ PR on a daily basis and I need to provide a quick fast code review for C#, Java, and Javascritp code directly in PR pages in ...
1
vote
1answer
19 views

How to 'self-host' fonts on github-pages - website fonts not loading

I have launched my portfolio website on Github recently, unfortunately, my fonts are not loading on my GitHub portfolio. How do I 'self-host' the fonts on Github? I have researched and came across ...
0
votes
0answers
4 views

GitHub bot to auto update CDNJS urls via pull requests [on hold]

In my projects I often use libraries via CDNJS. So I was wondering if there exists a bot that automatically makes a PR every time a new version of a library I use (eg. Vue.js) is released? Or is ...
0
votes
0answers
15 views

How to integrate a python script with source code in GIT, to Jenkins, to create a parameterized job?

I want to run a python script Jenkins, in the form of a parameterized job, so that it takes input, and shows the output. The script is pushed to a branch in Github. When I am running the Jenkins job, ...
1
vote
2answers
19 views

How to use Squash And Merge in GitHub?

While merging Pull-Requests (PR) on GitHub, there is one option "Squash And Merge", What is purpose of that and what it will do ??
-3
votes
0answers
21 views

How to compile a Github repo with Visual Studio or node.js

Good afternoon, Im a student learning about github thing. I wanted to download, open, modify and compile a repo I found and I dont know how, I tried to search in the internet but maybe because this ...
1
vote
0answers
32 views

Git denying access - Permission denied (publickey)

Recently I encountered a problem where I was unable to push commits to a github repository that I have been working on. The error looked like this. Unable to negotiate with XX.XXX.XX.XX: no matching ...
2
votes
1answer
54 views

Git: unable to resolve differences between master and origin/master

I have recently changed my code to be hosted on Github, and have been deploying it onto my live site using: git pull origin master Where origin is set to https://github.com/myname/myproject. ...
1
vote
0answers
23 views

What GIT / workflow do I use to avoid overwriting my server side Django users, with my local users who are dummy/test users?

I am developing a Django application in Atom locally, and then on pythonanywhere, when I'm ready, I'm doing a GIT PUSH command after syncing those changes to GITHUB. The problem is, at some point, ...
3
votes
1answer
47 views

Git no longer detecting file changes in repo

I've been working in a repo for a long time and have created many new branches. Today I created a new branch as normal git checkout -b new-branch and made some changed to a file - a file I have ...
1
vote
2answers
33 views

ASP.NET Core Error Development Mode only in Area

In Azure, I have a small app deployed: https://jsnamespace.azurewebsites.net/. In localhost, it works perfectly when navigating to localhost/Admin. However, in the deployed app, navigating to https://...
0
votes
1answer
13 views

Need help making a new repository on a project I've started already [duplicate]

I have NO idea what I am doing with git. I started a project in vs code. I then decided after, that I would like to upload it to github to attempt to make my site live. I went through the ...
1
vote
1answer
23 views

How to fix my Jekyll website from only loading locally

I cloned and modified a LogChimp Jekyll theme locally on my Windows 10 and pushed my changes to an online Github Pages repository titled "Timeline". I input bundle exec jekyll serve in my terminal ...
0
votes
0answers
10 views

Jenkins pipelines failing on pull from GitHub

I'm running a Jenkins pipeline and it fails when trying to pull code from GitHub. In the successful releases, the credential is listed after the Askpass line. using GIT_ASKPASS to set credentials &...
-1
votes
1answer
24 views

Whiy git does not see an external repository located on github?

I created a repository on github. Completed all the steps to initialize and add your code execute the command git remote add origin https://github.com/###/###.git after run git push-u origin ...
1
vote
1answer
21 views

Cherry-Picking commit from someone's PR

I am working on a github repository (not mine) and want to cherry-pick some commits from someone else's PR (so that the ownership remains) and then make a new PR with some more changes. I am currently ...
0
votes
1answer
22 views

my contributions not showing up on my profile. Activity overview graph not showing all contribution on graph

Activity overview graph not showing all contribution to the graph. How can I saw all the contribution? Activity graph is below.
1
vote
2answers
48 views

Rebased with merge conflicts: How to undo?

I was working on a feature branch B that I had branched out from master a month ago. As other new features came in, the master branch kept getting updated. This is how master branch looks like right ...
0
votes
0answers
21 views

Why am I seeing this ~$ML infront of the a file named HTML Tid Bits.docx in Git Terminal?

I'm seeing two versions of the same word doc file. modified: HTML Tid Bits.docx modified: ~$ML Tid Bits.docx I did a hard reset to unstage my files. Then, I modified the file and after that, I ...
0
votes
0answers
39 views

How to stage repository with multiple folders

I have a multifolder project that I want to push to a remote repository. It's a pretty standard issue structure with a root folder that contains a client and a server. For some reason when I want to ...
0
votes
0answers
15 views

Mount GitHub user as a drive

I am setting up my Ubuntu Desktop machine, and I had this idea of mounting my GitHub account to a folder on my machine. Does this make any sense? I came across this question while searching: Mount ...
0
votes
0answers
18 views

Github says that I have changes in my forked repo, but those changes are already merged in the main repo

I did the following: Forked a repo in github Commited a change on my forked repo Created a PR in order to merge changes to the original repo PR got merged After doing this, the changes were merged ...
0
votes
0answers
10 views

How to keep up to date with 3rd party boilerplate and keep project in private repo

I am using electron-react-boilerplate and as they suggest I cloned repository by using git clone --depth 1 --single-branch --branch master https://github.com/electron-react-boilerplate/electron-react-...
0
votes
0answers
13 views

How do I enable HTTPS on subdomain hosted on GitHub pages?

I have a naked domain (sebsartlist.com) hosted on one server (carrd.io), but want to host a subdomain pro.sebsartlist.com on Git hub pages. I have managed to host the subdomain on GitHub pages but can'...
0
votes
0answers
22 views

Why are there always these many files to commit in Xcode? (Even right after I've just committed them.)

Even after I've committed and pushed local changes to my github account, these 112 files still appear in the list and the button still says "Commit 112" files. What's happening here?
0
votes
0answers
8 views

page using html shows {% include filename %}

I just post my github demo to github,but when I go to myusername.github.io , it just shows some code like {% include filename %} on the screen , it's the code in index.html。 How can I fix that ...
3
votes
0answers
35 views

Very simple HTML resulting in 404 Not Found on GitHub Pages [duplicate]

I have what I imagine is the simplest of simple websites hosted in GitHub Pages. The site consists of one file, index.html, and its contents are <html> <head> <title>...
0
votes
1answer
31 views

How to integrate WSO2 with GitHub?

I want to integrate WSO2 with GitHub so, that i can push the code directly to my repository. Is there any configuration file in wso2am that serves this purpose.
0
votes
1answer
29 views

How to create git Remote-Tracking Branch

They said that is it as simple as You can tell Git to track the newly created remote branch simply by using the -u flag with "git push". But it never worked for me. How to create the git Remote-...
0
votes
0answers
14 views

Authenticate as GitHub Org during build in Jenkins

Every example of integration between GitHub and Jenkins requires "personal token" to be used during build. While it is fine if you work alone, additional methods are needed if you work as part of ...
0
votes
0answers
7 views

how can we simply upload the UCD configuration to GitHub?

I am using IBM-Urban Code Deploy, and wants to store its script in GitHub. Is there a way that : 1, Every time there is a UCD configuration change, the config files/folders(if exist) will be uploaded ...
0
votes
1answer
30 views

I'm looking for real-life example of React testing with Jest & Enzyme

I know my question is very abstract, but I'm struggling to understand what exactly should/shouldn't be tested in React app. What I'm looking for: Something like Git repository of popular project with ...
0
votes
1answer
17 views

Execute shell scrip from Git in specific EC2 instance

I have a shell script. Per rule in my organization we should save all the code in GitHub and use it from there. How can I run this script in a specific set of EC2 instances from GitHub using Jenkins?
0
votes
0answers
21 views

Downloading and merging pull-request code from GitHub

Firstly, I apologize if this has been asked before. I am new to GitHub and I am not sure how to differentiate questions asking how to merge pull-requests in GitHub, and my own problem, which involves ...
0
votes
0answers
8 views

Github desktop commit issues

Adding a separate folder in the repo and committing it is adding commit comments on all the folders. How do I only commit a folder without adding commit status/comments on other folders on my ...
0
votes
0answers
4 views

Using Probot to create a Github issue on response from express route

Is it possible to use Probot to create an issue on response from an express route? I've tried the following, but they async function can't access context.github. const createIssue = async function (...
0
votes
1answer
22 views

Revert git commad (filter-branch)? [duplicate]

I had a finished a project but could not upload it to git because of a huge file with more than 100MB because git doesn't allow it. So I deleted the file, and I was still getting the same error. I ...
3
votes
2answers
37 views

Pushing pre-commit git hook (Rubocop)

I've currently configured my repository to use Rubocop for pre-commit linting by creating a pre-commit hook under ./git/hooks However, I'd like this to be available to everyone working on my team, ...
0
votes
0answers
18 views

Git. How to roll back to previous commit and delete from git all commits what i don't need?

I have few commits, for example : first, second, third, fourth, fifth Now i see that i done a lot of things what i don't need and want to redo all from third commit. How to roll back on my local ...
0
votes
1answer
28 views

Editing files as a collaborator on GitHub

I am trying to make changes to a GitHub repository for which I have been invited as a collaborator. I can create new files and modify them, but when I tried to do any changes to an existent file I saw ...

http://mssss.yulina-kosm.ru