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
-
3
votes1
answer225
viewsI have a problem with my Github repository - Empty directories
I have a problem after submitting my project on Github, which contains two directories. However, after sending and committing, the repository on Github gets empty folders and a little arrow. This…
-
3
votes1
answer622
viewsHow to reverse git push --force?
I made a git push --force, but I wish I had git push --force-with-lease it is possible to reverse this?
-
3
votes1
answer44
viewsDo I lose commit history if I switch to remote branch?
If I change the Git remote I end up losing commit history to the new remote?
-
3
votes1
answer667
viewsWhat does the "git branch -M" main command do?
I’m creating a new repository and Github gives me the option to use the command: git branch -M main What does he do ?
-
3
votes0
answers99
viewsHow to hide files on Github?
I want to make some of my Github projects public, but some of their files contain sensitive information (such as database access passwords). It is possible to leave these specific files hidden so…
-
2
votes4
answers21058
viewsHow to push local folder to Github
I would like to push a local repository to my Github. I did the standard procedure for this: git clone <chave ssh> Until then everything wonderful, he created a copy of the Gihub repository…
-
2
votes1
answer87
viewsFiles. Sass do not compile
I’m working on a project using Jekyll with Github Pages. I’m trying to use a file .sass, saving it in the folder _sass, using the syntax recommended by the Jekyll website: --- --- .page-header…
-
2
votes1
answer121
viewsCreate an ALIAS for a . /configure File?
I cloned the Github repository, and to execute the command I always need to type, . /directory name/vv I imagine that this "file" is of the Linux CONFIGURE type, correct? I wonder how I create an…
-
2
votes1
answer397
viewsWhich files should be inserted into . gitignore in a Rails project?
I’m starting in Git and also in Ruby on Rails. I created a new project using rails new myapp -d mysql and added to my Github repository. When creating the project Rails generates multiple files. So…
-
2
votes1
answer229
viewsImport netbeans projects from Github into Eclipse Luna
My teacher has a github where he sends all the material produced in the room, however, he uses netbeans... I wonder if I can import these projects in Eclipse? I use Egit in Eclipse.
-
2
votes1
answer1677
viewsHow to create a clean branch without taking the master branch history?
I need to create a clean branch that doesn’t reflect the master branch commits. This branch will be used to provide information about the project on Github through Gh-pages and will never be used to…
-
2
votes0
answers269
viewsUpdate files from multiple servers automatically with git
I have a system that is used by several clients and each has its own server, most of them linux. I would like to update the files via git automatically, can anyone tell me if it’s possible? I…
-
2
votes1
answer484
viewsGit - line breaking problem between different Operating Systems
I’m trying to fix a problem concerning Git, it’s a line break problem in files that were uploaded from a DOS-based operating system and later changed into a UNIX-based OS. What happens: when I…
-
2
votes1
answer1638
viewsHow to set up github in Ubuntu?
Now that I’ve finished my final project on C and delivered at the end of that first semester. I’m trying to configure and post my project to github. I followed a video lesson and got configurar one…
-
2
votes2
answers4800
viewsNetbeans Project Upload on Github
I never had experience with Github, I made a simple library of php and wanted to publish it in Git through the IDE NetBeans, I’ve been doing some research, I found something similar, but I couldn’t…
-
2
votes1
answer40
viewsError: "update Were Reject because the remote work that you do not have locally"
I’m trying to store a project for Github by git, but when I use the command: git push oringin master Displays this message: Updates Were Reject because the remote work that you do not have locally.…
-
2
votes2
answers1652
viewsSend specific branch with Git to Github
how I can send a specific branch to Github through Git? I am creating a project to learn how to use Gulp and its plugins, and in it I created a folder with source code, called src and a folder…
-
2
votes2
answers125
viewsIs there a workflow in git that determines file access and blocking?
On Git, it would have some way where each user determines which files and for how long, the other user will have access to editing certain files, wanted some way where to avoid file conflicts.…
-
2
votes1
answer414
viewsRecovering Deleted Project in Staged E-git
Good evening guys! Today I tried to use the E-git plugin for a project made in the eclipse, following an internet tutorial. I’ve never had contact with the plugin before. And due to this unprepared…
-
2
votes1
answer240
viewsHow to restrict Github permissions on Windows? (To ask for password every time)
Hello, I need the password requested in every commit. Currently the password is saved and I don’t need to type it. I think I saved this password somehow (actually I didn’t even know what I was doing…
-
2
votes0
answers115
viewsMultiple users and key-pair for Github connection
I’m having trouble setting up more than one public key on the same server for different account users on github. I’m using a test computer: Linux kali 4.3.0-kali1-686-pae #1 SMP Debian 4.3.3-5kali4…
-
2
votes1
answer88
viewsGithub pages and rstudio
I’m using the Rstudio to create my documents in the format .Rmd and address in .md with the following function: rmarkdown::render("2016-09-07-post1.Rmd",output_format = "md_document",encoding =…
-
2
votes0
answers50
viewsDelete the repository on Github Pages, recreate and DNS does not update
I heard about Github Pages and decided to check the service and acquired a domain name. I’m not very experienced, so I was following step-by-step what to do. I made the necessary settings, created…
githubasked 8 years, 2 months ago Gabriel Bueno 121 -
2
votes1
answer60
viewsIs it possible to integrate SELENIUM IDE testing into Github?
I have some tests with the SELENIUM IDE and would like to integrate it with a repository on Github. It is possible?
-
2
votes1
answer57
viewsGIT central repository + external server communication
Good morning I have a question, here in the company where I work we think about creating a shared local server that will be the central repository and all will clone and give the push. So far so…
-
2
votes0
answers68
viewsDescription of Files and Directories on Github
I cannot insert an individualized description into directories and files on Github. In several projects I saw this resource, but, according to the documentation, I’ve used the git add and…
-
2
votes1
answer687
viewsGit, upload code directly to the server
I wanted to know if it is possible a way to leave all my projects online so that I don’t keep modifying my code to upload it to the server. Go some questions: I use git, wanted to use a branch for…
-
2
votes0
answers32
viewsHow do I add dependencies via the Github web/desktop interface (non-git)?
How do I add dependencies (one repository depends on another) via the Github web/desktop interface? Of course there is how, if there is no specific answer to the question, I also accept alternative…
githubasked 7 years, 6 months ago Josué Caleb 21 -
2
votes2
answers1923
viewsI can’t upload files to the project on github
I’m trying to put an html page on the air, but nothing happens and the git terminal error appears: Everything up-to-date Follow commands I used: cd Desktop/ cd projeto-html/ git init . git remote…
githubasked 7 years, 5 months ago user77896 -
2
votes2
answers208
viewsWorking with Github
We are with a project to create an application server based on J2EE + Glassfish in order to update the way we work in our company. In this environment, two programmers will work on the same project,…
-
2
votes2
answers1758
viewsI can’t clone repository with git bash
I wonder why I can’t clone a public Github repository with git bash. I give the command git clone plus ssh or https, but gives the following message: Permission denied (publickey). Fatal: Could not…
-
2
votes1
answer982
viewsTwo GIT Projects
If I have a project already being done in git and at some point I need to unite with another project but keep the histories of commit has as?
-
2
votes0
answers148
viewsMarkdown - Links in page
With markdown the link in page: * [Minha localização](#minha-localização) points to ## Minha localização In the title, markdown automatically inserts the id="minha-localização" (accented), but when…
-
2
votes2
answers441
viewsOutdated branch pull request in Git
I created a branch of a repository in the Github. I worked on that branch creating their own commits. The branch is in the remote repository. However, the master, developing code in master. In…
-
2
votes1
answer451
viewsHow to join multiple commits from the same file?
I did three commits on even file using git commit arquivo.ext -m "msg". I realized that these three commits would look better together, as if they were one commit. There are ways to do this even…
-
2
votes1
answer1738
viewsHEAD Detached at origin/master
I started studying a little while ago, Git, and I was creating a branch, but I ended up creating more branch than I wanted. So, I was deleting the branch that I didn’t want with the command line: To…
-
2
votes1
answer30
viewsHow do I publish all git branchs at once to my remote repository on github?
I have several branchs that I created in my git (Aula1, aula2, aula3) that are variations of the same index.html file, but when I send to github I can send only the master Is there any way to send…
-
2
votes1
answer266
viewsLogin error when trying to upload project from Android Studio to Github by IDE
I tried to upload my project from Android Studio to Github, but it is giving login error. I confirmed my login and password and are correct. Does anyone know how to fix it? I Googled and I couldn’t…
-
2
votes1
answer95
viewsHow to protect my account from unauthorized`pushs`?
I’m starting to use the git repository, through gitlab, but I’m using it on a company computer where I work. Assuming I leave the company and leave the setup ready, how can I block a new programmer…
-
2
votes0
answers41
viewsAsp.net with Github
I have some time of experience with versioning GITHUB with java, always worked efficiently between teams. I’m with an ASP.NET project based on Webforms, and I’m trying to get in touch with GITHUB. I…
-
2
votes1
answer241
viewsImport github code for eclipse Oxygen
I have a code that I would like to import into my eclipse by downloading the zip, however at the time of importing the following error No Projects are found to import Searching for git features ,I…
-
2
votes1
answer1036
viewsHow Workflow Works with Pull Request
I’m willing to work with Pull Request in Git, but I don’t understand how it works, I know when I contribute to a project, I have to do Fork, Branch, Commit and Pull Request, and then the owner of…
-
2
votes1
answer256
viewsWhat is Keybase Proof?
Recently I saw some gists with a content called Keybase Proof. Is that any way to prove identity? How does it work? NOTE: I know this question may not be considered a topic for the site, but it is…
-
2
votes2
answers434
viewsWhat’s the difference between the remote Github repository and the remote one on my dedicated server?
On Github we can create remote repositories, and when we do we gain a certain set of administrative functionalities under this repository, one of these functionalities is the administrator’s ability…
-
2
votes1
answer99
viewsHow do I work with github when A2F is enabled?
By enabling two-factor authentication on Github I am required to work with RSA key to update repositories? When A2F (Authentication Two-Factor) is active unique code is requested, I imagine Git…
-
2
votes1
answer35
viewsGit and Github: Need to remote more than once?
When I’m going to do the procedure to upload the files from my directory to Github, through Git, I need to give git remote add origin ... every time or only the first time is enough?…
-
2
votes1
answer141
viewsMilestones and Projects on Github
I’m using github for my personal projects. One of the things I like the most is that he has several tools to help me, not only control the source but also what was done. One of the interesting…
githubasked 5 years, 10 months ago Marcos Gonçalves 46 -
2
votes1
answer713
viewsGit - Change commit message
How do I change the message I made in a particular commit? Example: Primeira Mensagem 1212121 Segunda Mensagem 8989898 I’ve tried with: git rebase -i HEAD~2 git commit --force but it didn’t work...…
-
2
votes2
answers2049
viewsVisual Studio and Github - Which files to ignore (C#)
Hello! I’m studying C# and created a repository on Github to save the exercises. When starting a new project, Visual Studio Community (2017) creates the following structure: PastaDoProjeto/…
-
2
votes2
answers41
viewsCan I name folders in Gtihub with special characters?
I have doubts whether it is a good practice to name folders using accented or "ç" characters on github, (I’m still at the beginning of the Developer journey, I want to follow good practices).
githubasked 5 years, 3 months ago Anderson S. Leite 23