Questions tagged as 'git'

2
answers

How to clone GIT repository with all branches and tags

In GIT it would be possible to clone a repository the same already downloading all branches and tags There would be a single command for this without the need to create a shell script ?     
asked by 09.04.2014 / 23:05
2
answers

How do I change the contents of a file within an old commit in Git?

I have a file that has undergone three changes and commits have been made for each change, I want to manually change the contents of the first commit to correct an unauthorized mention. Would it be possible to do something like this, or will...
asked by 14.10.2015 / 01:26
2
answers

Merge a feature with multiple commits over time in another project

It has a tenis feature with multiple commits over time, and you need to merge this feature into other project. Consider this timeline: - x - tenisV1 - x - x - tenisV2 - x - tenisV3 - x - x - x - x - x - tenisV4 I want to: - te...
asked by 03.08.2018 / 22:06
1
answer

I can not clone repository with git bash

I wonder why I can not clone a public repository of Github with git bash. I give the command git clone plus ssh or https,  but it gives the following message:    Permission denied (publickey).     fatal: Could not read from remote repo...
asked by 27.07.2017 / 19:05
1
answer

What does the -n command in git mean

I've been given a command to see the last commit of a file that has been deleted, I know what the subcommand means but I do not know what the -n command means, see example command below : log --diff-filter=D --name-status -n 1 -- lib/docs/in...
asked by 15.06.2018 / 16:31
2
answers

Error: Another git process seems to be running in this repository

I have a repository with several files, including html, javascript, css and others, and today I had this error, I already researched a lot of other solutions so far.    Another git process seems to be running in this repository, e.g.   an ed...
asked by 26.12.2017 / 20:39
1
answer

How to configure github in ubuntu?

Now that I've finished my final project at C and delivered it at the end of this first semester. I'm trying to set up and post my project on github . I followed a video lesson and got configurar a repositório on my no...
asked by 17.12.2015 / 22:51
2
answers

Is there any workflow in git where file access and blocking are determined?

About Git, it would have some way where each user determines which files and for how long, the other user will have access to edit certain files, wanted some way to avoid file conflicts.     
asked by 08.04.2016 / 15:47
1
answer

How to work with github when A2F is enabled?

When I enable two-factor authentication in Github, do I have to work with the RSA key to update the repositories? When A2F (Authentication Two-Factor) is enabled the unique code is requested, I imagine that Git itself does not work with this,...
asked by 27.08.2018 / 06:14
2
answers

How to exit the git listing?

I'm having a project downloaded from the GitHub repository. When I run the command git log within this project, it lists all the branches in the project, but I can not get out of the list. I've already tried ESC on keyboard, I al...
asked by 28.11.2018 / 16:59