Most voted "git" questions
Git is an open-source distributed version control (DVCS) system. Use this tag for Git-related questions, DO NOT USE for programming issues involving a Git repository.
Learn more…924 questions
Sort by count of
-
1
votes1
answer344
viewsPermission of GIT files
All my systems I have are giving permission problem after I give one git pull, so that for example I have a folder where my js and css files are generated mimicked. Folder Assets/min/, after I give…
-
1
votes2
answers2666
viewsGit, how do I move a file or folder to another repository keeping the history?
I have 2 repositories: /var/www/project /var/www/project_disabled I have a file in a specific folder within my repository project and I want to move this file with all its git history from the…
gitasked 6 years, 9 months ago Lucas Lima 773 -
1
votes1
answer1039
viewsError while creating . ssh folder in windows
When I execute the command $ ssh-keygen -t rsa -C "[email protected]" get the error message: Generating public/private rsa key pair. Enter file in which to save the key (/c/Program Files…
-
1
votes2
answers360
viewsHow to sync git between two machines?
I have a project staying at bitbucket, access it on my machine normally and update the files so: git add. git commit -m 'novo nome' git push Data goes to good cloud. My question is: When I have…
gitasked 6 years, 9 months ago Italo Rodrigo 4,344 -
1
votes1
answer3123
viewsCan you undo the "git reset HEAD~1" command?
I was wanting to go back to the last commit performed, and nothing works anymore, I was wondering if you can undo the git reset command
gitasked 6 years, 8 months ago Gabriel Becher 193 -
1
votes2
answers411
viewsProblem with push and pull on github
I’m trying to do a git pull and git push to upload files to my repository on github but in both cases it gives this error : error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol…
-
1
votes1
answer628
viewsHow do I work with git release?
The appeal release Is Github a platform resource or Git itself? I ask this because I didn’t see this feature in Bitbucket.…
-
1
votes1
answer1179
viewsHow to work with Fork of a project?
I made the Fork of a project, made the appropriate changes, pushed to my repository on Github and there generated a pull request to the original project’s Object. After a few days I decided to make…
-
1
votes1
answer1653
viewsGit installation is not recognized by Windows
I’m not familiar with the Bower and installation of packages as well... I went to install the Foundation Zurb, for email marketing installed correctly, but when I give the command foundation new to…
-
1
votes1
answer121
viewsHeroku login error on Windows cmd
I try to access the services of Heroku by cmd, but I receive this message: C:\Users\xxx.xxx.xxx λ heroku login ! EPERM: EPERM: operation not permitted, open 'C:\Program Files (x86)\GNU\SSH\_netrc'…
-
1
votes2
answers12789
viewsChange GIT password in Windows
Use the git in the Windows and I need to know how to change his password through CMD. Every time I try to make one git push, it gives the error below and I need to enter the login and the 'new'…
-
1
votes1
answer39
viewsGit Bash is suggesting saving to removable disk
Git Bash already starts on the removable disk, and all commands you need to create a folder it sends to this address that is apparently the default. I wonder if you have any global command to set…
-
1
votes1
answer137
viewsHow do I login to a repository?
I needed to change the password in the bitbucket, so the push and the pull from my local repository no longer work. I authenticated myself via https. What command to use to authenticate me in the…
-
1
votes1
answer349
viewsError: 'could not read Username for 'https://github.com' while pushing
I have an ASP.NET versioned project on Github and while trying to do one push the following error is returned: fatal: could not read Username for 'https://github.com': terminal prompts disabled Does…
-
1
votes0
answers33
viewsDiscarding changes directly from the GIT server
I’m having a giant problem, let’s say I have a system in my hands that has been updated via FTP and I needed the GIT area free without having to commit to what is different from the server , that is…
-
1
votes0
answers86
viewsShould I use HTTPS or SSH in Gitlab ? What would be the differences?
I noticed that in gitlab there are two ways to clone a project, one by SSH and the other by HTTPS, my question is what would be the difference between them ? For safety what would be the recommended…
-
1
votes3
answers100
viewsDeployment of GIT
I work in a site factory and among the actions of this semester is the deployment of GIT. Today we work as follows: We request a server, install Joomla and develop the sites in type approval…
-
1
votes0
answers320
viewsCommand "git status" does not show changed files inside folders
The structure of my briefcase is this: If I change (without editing the code) any file inside any of these folders(Calculator, Color, etc), when I run git status it does not list any modified file,…
gitasked 6 years, 4 months ago Lone Tonberry 525 -
1
votes1
answer621
viewsWhat is the git push -u command for?
I know the push command sends the file to the virtual repository, but I don’t know what PUSH -U does
-
1
votes1
answer3231
viewserror allow git local
I’m having trouble already caught on the 2nd day. I can’t commit files on my system. Error found while posting to remote repository: Git failed with a fatal error. Could not read from remote…
gitasked 6 years, 4 months ago hyperpixel 389 -
1
votes1
answer887
viewsI am not able to finish the merge always appears this error:
fatal: Exiting because of an unresolved conflict. U course-git-blog-project When I merged a branch, it conflicted with the code on the master branch. I correct the code in hand, saved index.html but…
-
1
votes1
answer1284
viewsRecover deleted files with git
I created a repository on github, gave my git init folder and after that I made the mistake of giving these two commands below, after that my files that were in my folder disappeared... how to get…
-
1
votes1
answer1303
viewsWhat is a git diff, how to do it, and what is it for?
I’m having a problem with my project. I make contributions to a git project, and when I check the Master branch, I saw that some methods are missing that you have in a branch, but don’t have in…
-
1
votes1
answer131
viewsFind substring in recent commits messages
I’m looking for a substring in the most recent commits from my repository. I use the command git log -n1 --grep='${subString}'. But using the flag -nI’m just gonna get the last commit, which is…
-
1
votes1
answer100
viewsFile Additions and Deletions in a commit
I’m using the remote git log --stat <commit> to get additions and deletions made to a commit. Ex: commit 1a1a Author: Gabriel Hardoim Date: 2018-08-20 20:30:40 arquivo.java | 3 +++ arquivo.css…
-
1
votes2
answers163
viewsIs there a way to "link" specific content from one repository to another?
I have a program that needs some DDLs, those DDLs are available in another Git, also on Github. Therefore, it would be possible for my library link such a file to such a repository? To be more…
-
1
votes2
answers169
viewsHow to list the log of a local GIT repository through PHP?
The git has a command called git log, that shows the commit history of the repository. I wonder if I could use that git log GIT and pass it to a array of PHP. In this case, the PHP script would be…
-
1
votes0
answers113
viewsDifference between URL FETCH and URL PUSH
Hello ! Consulting my remote origin via command git remote show origin I got the return: $ git remote show origin * remote origin Fetch URL: [email protected]:/var/git/Projeto.git Push URL:…
gitasked 6 years ago Allan Dantas 359 -
1
votes1
answer63
viewsInformation of a specific tag
I am looking for information present in the tags of a repository with the following command that returns the information depending on the parameter I pass in the flag --format. git tag…
-
1
votes1
answer280
viewsPush in Bitbucket
I can’t seem to get one push in my Bitbucket project, every time the message appears below. I follow the instructions by placing the email and name, but when I give the commands again the same…
-
1
votes1
answer225
viewsHow to merge Github codes?
I downloaded a project from Github, then made some changes, another colleague of mine did the same thing with a single difference, he committed and updated the repository on Github. I needed to…
-
1
votes1
answer146
viewsDifference between commit done on the github website and on the command line
Problem Different contributors to the same account in the repository. Historic When I created the repository, I uploaded some files from the github site itself and the commits were registered as…
-
1
votes1
answer1284
viewsI can versioning a Word Document in Git
I would like to do a test in Git doing the versioning of any Word document for example: Type any line and commit Type another line and commit Go back from version 2 to version 1 and check the word…
-
1
votes1
answer606
viewsHow to make a file. gitignore global
I may have a file .gitignore global? IE, that independent of the project it eliminates for example the files of the operating system?
gitasked 5 years, 10 months ago Roberto Leite de Moraes 127 -
1
votes1
answer758
viewsIgnore files when uploading to repository
I have a . net core project in bitbucket and I use visual studio 2017 to do the operations next to the repository. The problem is that even without me having made any changes to the project, when I…
-
1
votes2
answers86
viewsHow do I search to find which files have a particular word?
Use case: I’m browsing a project, trying to understand the code. It’s several different code files. I’m analyzing one of these files and it calls an abc function(). How do I, via web, know which…
-
1
votes0
answers40
viewsHow to apply the patch to a specific file?
I managed a patch of master branch and would like to apply it to a secondary branch, but the error, I believe, happens because it was created by master branching patch: error: patch failed:…
gitasked 5 years, 9 months ago Igor Gabriel 530 -
1
votes1
answer427
viewsAccess path space environment variables
I created an environment variable that stores a path roomy: /c/Users/Bruno Xavier Despite being in windows, my intention is to use it by git bash for easy access to the directory. I tried the two…
-
1
votes1
answer1196
viewsGIT error: key does not contain a Section: user-mail
I did the following sequence after installing GIT in my note with windows 10: $ git config --global user.name "Fabrício Valle" $ git config --global user.mail "meu email" *informed my email…
gitasked 5 years, 8 months ago Fabricio Valle 21 -
1
votes1
answer42
viewsEmail and Password continue to appear even after creating an SSH key
I created a key SSH to use on Github and even following all the steps that were the following: I used the command: ssh-keygen -t rsa -b 4096 -C "[email protected]" Then I used the command cat:…
-
1
votes1
answer40
viewsHow to handle specific customizations with git
Where I work, we follow the following methodology when working with git We have a production branch We have an approval branch And we create branchs for every development sprint But the need arose…
-
1
votes1
answer62
viewsHow do I remove a commit from the history?
In the first commits I versioned my e-mail password, now I uploaded a file. dist without this password, but wanted to remove from the commit history the file that had my password. That’s possible?…
-
1
votes2
answers3487
viewsmove up to the repository on github
I’m a beginner in programming, I’m doing a project with a person and I needed to clone a repository of it on github and make some changes, how do I send the changes to github back? ps.: preferably…
-
1
votes1
answer265
views -
1
votes3
answers8005
viewsProblem when pushing on Github
Oops, I’m trying to send my files to a repository on github but it’s going wrong. I did it this way: git init git add . git commit -m "xxx" git remote add origin…
-
1
votes1
answer385
viewsHow do version control ( git, version control) using notebook jupyter?
I recently started programs in Python using the Jupyter Notebook (web) and wanted to give a push in my Github repository. I cloned my repository through cmd, I changed the document, I did a lot of…
-
1
votes1
answer62
viewsPush in git is not linked to my account
I’m doing some studies and using git to store them, when I’m going to push the master, my git even push that, but not on behalf of my git hub user This is my git user: And that’s the name that’s…
-
1
votes2
answers278
viewsWhy is GIT ignoring one folder and others not within wwroot?
I’m new to git and I’m using it to control an Asp.net core project in VS 2017. I set up the file. gitignore, but I’m having trouble creating folders. I created, within the wwwroot directory, a…
-
1
votes1
answer319
viewsHow to make a git clone without the . git repository?
I have a repository where I keep my front-end files. I wanted to know a way to make a "git clone" of this Reset into a project folder (ex: a wordpress theme), so that only the files come without the…
-
1
votes1
answer190
viewsDelete Directory via Git Bash - Error: Device or Resource Busy
I’m trying to delete a directory via Git Bash, but it’s giving the error "Device or Resource Busy", as print below. I have not located any application that is occupying this Directory. Is there any…
gitasked 5 years, 4 months ago Emanuel Santos 13