Questions tagged as 'git'

1
answer

Once I made a PR of a repo, should I delete my fork?

Working with a free project on GitHub, I made a fork of it, made some changes and asked for a PR, which was accepted. I updated my fork upstream and kept making other changes, and then going back to doing another PR. At that moment, I re...
asked by 12.04.2018 / 22:02
3
answers

Set up a network in Git for collaborative work

I want to set up a network using git for the repositories, but not in a local way, but in some way there is a server and the other colleagues connected from home make their respective changes. I have a PC that I can use as a server, but it will...
asked by 24.12.2015 / 00:57
1
answer

How to change the date of a commit before doing 'git push'?

I was working ahead because I need free time in the next few days and I have already comiteado the changes to my local repository and pusheado a fork that I have as backup. Now, regarding the origin, I want to put commits A and B with date of...
asked by 20.03.2016 / 00:19
1
answer

Git from command line in windows 7 can not create folder 'could not create /home/username/.ssh'

In a new installation of git, when the keys are set and everything using tortoise git the repositories are cloned correctly. also the pull and push command works without problems. However, when you open a command line to do that, when you run...
asked by 08.08.2017 / 20:58
2
answers

Does it make sense to create pull request for oneself? [closed]

I'm creating pull request that I approve and merge myself. In the end they are registered and can be consulted in the remote repository, but I do not know if it makes much sense to do this or there is a better mechanism, such as the use of t...
asked by 13.06.2018 / 19:01
2
answers

How to create my own Git server?

I'm trying to work with Git and some problems arise, the scheme is as follows: I have two PCs in my house, one I want as a server, to host my projects and the other I want to clone these projects. The problem arises when cloning. The two PC...
asked by 02.02.2016 / 04:58
2
answers

Return a repository to a specific commit

Based on How can I undo the last commit in Git? . Is there a way to return a Git repository to a specific commit? For example: commit to "First commit" commit b commit c commit d commit e commit f commit g commit h "Cu...
asked by 21.12.2015 / 17:56
1
answer

How to make a merge of specific commits

I have a project called Proyect that has three ( 3 ) branches: master ( M ) sdev ( S ) test ( T ) Which at the moment are like this: initial commit ↓ ↓ ↓ merge test into master ↓...
asked by 01.09.2017 / 00:40
2
answers

Problem connecting to a repository by SSH

Since a couple of days ago, I'm configuring GIT on a Linux server using GitLab (which was already pre-installed). I have created a new project, and if I connect via HTTP I do not have any problems. I do it to the following address: link...
asked by 04.04.2016 / 00:48
1
answer

How do I edit an incorrect message in a git push?

I wrote something I did not want in the commit comment. git commit -m "comentario indeseado" git push How can I change or update the message? Eye, I've already pushed and I want to remove the message in the repository as well. Is i...
asked by 26.01.2016 / 18:00