Most voted "github" questions
Github is a Shared Web Hosting Service for projects that use Git versioning control. It is written in Ruby on Rails by the developers of Logical Awesome (Chris Wanstrath, PJ Hyett and Tom Preston - Wernder). Github has free business plans for open source projects.
Learn more…434 questions
Sort by count of
-
31
votes3
answers97159
viewsHow do I delete a local and remote Git branch(branch)?
I want to delete a local branch and in my remote project on Github.
-
27
votes5
answers19389
viewsDifferences and advantages between Github and Gitlab
Today I became aware about Gitlab, I saw that many major companies, like NASA and Spacex, use it. I would like to know what are his differences with Github, main advantages and disadvantages in…
-
26
votes4
answers8564
viewsWhat good is a gists on the github?
What is the purpose of a gists in the github? Where it differentiates into a repository?
githubasked 9 years, 3 months ago Wallace Maxters 102,340 -
22
votes2
answers3477
viewsApplying licenses to Github
I have applications on Github (public repository) and would like to know if it is possible to license repositories, and if there is any software license that: Ensure that I am the author of the…
-
16
votes4
answers5013
viewsWhat’s the content of the Github?
In the Github I realized that there is an option called issue. I’ve asked questions there, but I realized that there are some specific tags for a issue (that do not seem to be only for question).…
githubasked 8 years, 11 months ago Wallace Maxters 102,340 -
16
votes1
answer20057
viewsWhat do these words mean in Git/Github: Fork, clone, track?
It’s not long since I started using Git and until this week I only used it through the Visual Studio interface. After a lot of problems with Git for the interface, I started solving some things on…
-
16
votes6
answers12128
viewsError typing GIT PUSH
I’m on my machine and want to upload the files on my local machine to my repository on github with.. I’ve already executed the commands git add, git commit and all that remains is to raise them.…
-
14
votes1
answer33017
viewsDelete folders on Github
I committed my project on github and after a while, some folders wouldn’t need to be there anymore. I have knowledge that you can delete manually on github, but for that to happen, I need to delete…
githubasked 8 years, 10 months ago Guilherme Nass 939 -
14
votes1
answer41436
viewsFatal: Not a git Repository
I created a la repository on Github and then went to play files through Git using cd C:\Users\Nikolai\Desktop\exercicios-c git remote add origin https://github.com/NikolaiCinotti/exercicios-c.git…
-
14
votes3
answers3678
viewsCan I upload folders along with the code on Github?
I already put code in my Github repositories once, but now I’m dealing with Netbeans site using HTML5, and I have other folders like CSS, Javascript, and the like. You have the possibility, when you…
githubasked 7 years, 4 months ago who who who who 653 -
13
votes1
answer1771
viewsHow to perform automatic pull with Git?
Imagine that I have a test environment for a web application, where there is a cloned Github repository that is directly inside the server, and any modification in it already results in a real-time…
-
12
votes2
answers1088
viewsHow to work efficiently with branch in git?
I’m trying to define a working scheme to keep my repository on Github organized, but it is difficult to reach a solution. My "idea": I thought about keeping the branch in the remote repository…
-
11
votes1
answer1778
viewsHow do I create a webhook in Gitlab to update a mirror repository in Github?
I’d like to create a webhook in Gitlab to update a mirror repository in Github whenever there is one push. I consulted this one demo page, but I didn’t quite understand how to do. My version of…
-
11
votes1
answer1230
viewsHow to make README.Md multilingual for Github?
In one of my git projects, the archive README.md is in English, so I made another call README-pt.md and a link to navigate between them, for example: [Read this page in English](http....README.md)…
githubasked 10 years, 6 months ago anisanwesley 2,280 -
10
votes3
answers2292
viewsHow do I leave a "Default" language on Github?
This is a project done in Ruby, however, how I used the Twitter Bootstrap, it presents as the predominant language Javascript, because it is the language that predominates in the repository. It is…
-
10
votes1
answer838
viewsHow do I keep one git repository updated with another?
I participate in two repositories on Github, the second being a clone of the first, and for now private (for security reasons). I cloned this second on my machine to be able to work on top, but in…
-
10
votes3
answers5691
viewsCan everyone see my projects on Github?
Personal greetings I’m starting there with the concepts of Github and would like to know when I put my project there it becomes accessible to all people with the download option. If yes: Is there a…
githubasked 8 years, 1 month ago Pedro Soares 786 -
10
votes2
answers412
viewsIs Markdown not working on README on Github?
Just put it in the file for example README the symbol # before a title that Github automatically transforms into h1 or you have to set up or download something for Markdown to work.…
-
10
votes1
answer1426
viewsOn Github, what’s the difference between a project and a repository?
On Github, I saw that I can create a repository, but I can also create a project. What’s the difference between one and the other? When should I create a project instead of a repository and vice…
githubasked 4 years, 10 months ago emanoellucas 886 -
9
votes2
answers598
viewsGit workflow (workflow) using Github?
I need to learn how to clone a project from github to my local computer and, after making the necessary changes, send the modifications back to the remote project. Basically the workflow git by…
-
9
votes2
answers3718
viewsHow do I create my own package/project for "Composer" on github?
I never distribute a library using a repository with commiserate, I have no experience with this, what I tried to do was to create a folder structure like this: ./ |-- composer.json |-- src/ |--…
-
9
votes1
answer388
viewsHow do I create a home page for my GITHUB libraries?
Usually, when we activate the github page for a particular package, a url is generated for you to publish documentation regarding a particular library in the Github. In case if my account is called…
githubasked 8 years, 7 months ago Wallace Maxters 102,340 -
9
votes2
answers413
viewsWhat’s the difference between "Issues" and "Pull Requests"?
In a Github repository, what is the difference between "Issues" and "Pull Requests"?
-
9
votes1
answer668
viewsCan I accept a pull request locally? Via terminal or Github desktop?
I can accept pull request open locally, via terminal or Github desktop.
-
8
votes1
answer1769
viewsHow to clone/download a repository with just the last commit?
I read a while ago that it is possible to clone a repository in a more performative way just by downloading the last commit, that is, download the repository without previous changes of other…
-
8
votes2
answers59817
viewserror: failed to push some refs
trying to push to the repository and being rejected $ git push origin master To https://github.com/me/myproject ! [rejected] master -> master (fetch first) error: failed to push some refs to…
-
7
votes1
answer8430
viewsMake git go through proxy
I’m setting up my work environment here at the service. It is windows 7 and has a proxy with user and password. I want to download a project from my repository on Github and need to go through the…
-
7
votes6
answers19214
viewsProblem to publish project - Github
I’m trying to publish a project on Github, but every time I give a git push message appears: error: src refspec source does not match any. error: failed to push some refs to…
-
7
votes1
answer12506
viewsGenerate ssh key in git
I could use a little help! These days I was in college, committing some projects in my repository on Github through the Git, and going up some files in the repository, when I went up the last one…
-
7
votes1
answer1097
viewsWhat is the Milestone field on the github for?
In the issue edition of github there is a field called Milestone. I would like to know what it’s for and what is that date and percentage that appears on the side.
githubasked 8 years, 1 month ago Danilo Silva 307 -
7
votes3
answers36730
viewsError pushing origin master on github
I have the following error in github when I’m going to push. Please make sure you have the correct access Rights and the Repository exists. I created the repository and as I was already with the…
-
7
votes1
answer98
viewsGit, Doubt when I commit
I have a question when using git, and would like your help. I have the following situation: I’m developing a new feature in my application, but I haven’t completed it. Let’s assume I’m developing it…
-
7
votes3
answers9654
viewsHow to give permission to other users to upload content to my project on Github
I am doing an academic work and created a project and wanted each member of the group to create a branch and upasse part of the code used at work, but when someone tries to create a branch in the…
-
6
votes2
answers42348
viewsHow to update/sync my repository master on github with the original master
Using the command line, how can I update/sync my master with the original master from where I did the fork. What are the different ways and their options, what is best, and how history is…
-
6
votes2
answers2487
views.gitignore delete all folders but one
I need to make that one .gitignore delete from versioning all folders except one. Example: Library/nao_ignorar Library/ignorar Library/ignorar Library/ignorar ....…
-
6
votes1
answer424
viewsHow do I use a Github project as the basis for a new one?
I’m trying to use the angular-phonecat as a basis for a new project, and make modifications on top of it, because the structure is very similar to what I want to develop and so I wouldn’t have to…
-
6
votes1
answer5685
viewsHow to unlink local directory from remote repository?
I need to switch machines and unlink the local directory from the repository to use it only on another machine. How can I do this untying?
-
6
votes1
answer89
viewsHow to clone only one subdirectory of github
Assuming you have a dummy directory on github: https://github.com/fulano/Diretorio And within "Directory" have the subdirectories: https://github.com/fulano/Diretorio/sub1…
-
6
votes1
answer1288
viewsHow do I delete a commit from github history?
I would like to delete a commit made on github but WITHOUT deleting the changes, which is why I discovered that in one of my files the code contained personal information and by altering it that…
-
6
votes3
answers230
viewsCode shortcut for multiple git commands
How do I have only one command run another automatically on git? Example: When sending git atalho perform the following instructions: git status git add Post.txt git commit -m "aqui coloco uma…
-
6
votes3
answers11154
viewsCreate local branch from a remote branch
I have a cloud branch on Github called x1 and I need to create a local branch called xlocal from that cloud branch called x1. How do I do that?
-
6
votes2
answers135
viewsIs it possible to delete previous commits and only remain the current one?
While I was modifying the profile README, I ended up making many attempts and solving some errors, it generated me 90 commits in a single file. I wonder if you can delete all the previous commits…
-
5
votes1
answer162
viewsHow to use github live code for development, testing and demos?
How can I use Github code in real time in a demo or in development? When I try to use code in jsFiddle or jsBin I get the error: Refused to execute script from…
-
5
votes1
answer9108
viewsHow do I update Github repository after changing files locally in Git?
After I created a repository on Github and uploaded some files to that repository, I had to make some changes to the file, made the commits, but I don’t know how to send these changes to Github. How…
-
5
votes2
answers1430
viewsCopy files from one remote to another using GIT
I have two configured remotes, origin (Heroku repository) and github (github repository). In my local repository I made several changes but I gave the "push" only in origin, leaving github without…
-
5
votes1
answer21697
viewsCommands to upload files to github
I’m trying to upload files to Github. I already created the directory and in Github created the account. I cannot establish a connection to Github when I enter the folder containing the file I want…
-
5
votes1
answer2115
viewsSwitch between branchs in GIT and changes remain in the current branch
Well personal I was with a doubt and when asking the question here on this same topic I am opening I answered myself but decided to continue to help someone who might have the same doubt. My…
-
5
votes1
answer246
viewsHow do I set up a project in Git and Github?
I own a project on Github called ProdRegex it does not contain any file, I have saved the project on my PC in the following path ~/Projetos C/Feichas Aula/ProjetoProdRegex where is all the files of…
-
5
votes1
answer195
views -
5
votes1
answer412
viewsDeploy using GIT on my server
Hello, I use it to upload my files from the GIT site, deploying to my server automatically so I did the following: 1 - I created a GIT repository on my server outside the public_html folder 2 - then…