Questions tagged as 'github'

2
answers

push origin HEAD error

I did git clone to a repository hosted on github: $ git clone https://github.com/USUARIO/REPOSITORIO.git Then I did a git fetch --all to move to the branch dev : $ git fetch --all $ git checkout dev To make sure I w...
asked by 12.11.2016 / 01:17
2
answers

Correct way to start a project in Git [closed]

There is a project in Git which I have to modify. What would be the difference between: Make a fork of the project, then do a pull, work local and then push it not fork, just pull, work local and then push
asked by 12.03.2018 / 21:31
2
answers

Why does not my project with JQuery work on github pages? [closed]

This is my first project using JQuery that obtains data from an API and shows them link It works well in codepen, but when I uploaded it to github pages the requests to the API stopped working link If someone knows why the projec...
asked by 24.11.2016 / 17:05
1
answer

Git hub asks me for credentials when doing push

I am working with several github users and I am the administrator for it myself. I have an account on github, and that account is the one that other users upload their progress, since this is the main project. The inconvenience is that des...
asked by 30.05.2018 / 00:37
1
answer

class Mysqli_Database.php does not return results in a prepared query

I am running the following code to make a query: public static function myfuncion(){ $conm = new Database(); $sql = "select 'user_nombre' from '".self::$tablename."' where 'user_nick' = ?;"; $conm->prepare(...
asked by 01.04.2018 / 20:48
3
answers

Error: Repository not found, Please make sure you have the correct accesses?

Creating my github repository run the codes in the order git add . , git commit -m 'un commit , but at the time of wanting to upload my code to the remote repository with the command git push -u origin master I get an error,...
asked by 03.01.2018 / 02:38
1
answer

I do not see my local project on github?

I have my local project but when doing the steps to upload it to github and I see my work on github.com my repository is not displayed, it is empty What is it that I am doing wrong? these are the commands that came in the example git init...
asked by 07.12.2017 / 00:02
2
answers

Github refusing to merge unrelated histories

You can leave me the steps to connect to my remote github repository and update all the code that is in that repository, thanks $ git remote add origin github.com/alexhak1/ThinkSecWEB fatal: remote origin already exists $ git push master fata...
asked by 04.11.2018 / 23:59
1
answer

Not all files are uploaded to Github when committing

The following question arises: I'm working with a PHP project and it weighs around 1.5 GB. And besides this it contains a little more than 5000 files. When doing the git add. and the git commit -m "Comments of the commit" no problem oc...
asked by 16.04.2018 / 17:40
1
answer

Differences between "Push" and "Commit & push" in Android Studio

I am a student of programming, every time I give push in android studio does not upload anything to the repository, but if I give a commit & push up the changes, I would like to explain the difference between these and the use that should gi...
asked by 17.06.2018 / 03:46