Questions tagged as 'git'

1
answer

git stash - Save and view custom messages

I'm doing a git stash in which I keep a personalized message: git stash save 'mi mensaje' I'm trying to read that message. I can use: git stash show and so I can see a list of the saved files. If I use it in the following way: g...
asked by 25.05.2018 / 11:07
1
answer

Recover deleted files with git -rm

I have a problem, create a repository with git and upload it to Github, then I realized that I had uploaded the entire directory including the key files of the APIs that I used. Then I made a git -rm of those files and git commit...
asked by 06.12.2017 / 17:23
1
answer

Can a user's push be reversed in git?

The topic is the following, I want to revert the Push of other users whenever I want, example: UsrA and UsrB work in a repository UsrB does a Push UsrA wants to revert it completely so that it is as if UsrB never made that Push. How c...
asked by 29.06.2017 / 23:51
1
answer

How to make git include a .git

Good, I'm in Linux, and for some reason I want to backup it with git to everything that interests me, some configuration files and some projects that I'm working on, that these projects use git. The problem is that when trying to version the...
asked by 05.06.2017 / 17:43
1
answer

How can I license my project on Github, if when I created it I did not license it?

I want to license my projects already created in Github but when I created them I did not put them on and now I do not know how to put them on.     
asked by 27.05.2017 / 05:04
2
answers

Help with error in git $ git fsck Checking object directories: 100% (256/256), done. error: HEAD: invalid sha1

In my git practice, it turns out that this appeared to me in git: $ git fsck Checking object directories: 100% (256/256), done. error: HEAD: invalid sha1 pointer 1a410efbd13591db07496601ebc7a059dd55cfe9 error: refs/heads/master: invalid sha1 p...
asked by 12.04.2017 / 20:16
1
answer

Conflict (CONFLICT) when doing git stash pop

I tried to save in the stash the current state of work, change to another branch, make a change in another branch, commit that other change. Up here well. But when I try to return to the state I had saved in the stash, it gives me a conflict....
asked by 27.02.2017 / 17:12
1
answer

Installing gitlab in subdomain subdomain (apache) in Debian

I wanted to ask if to install gitlab I can do it from a subdomain of a subdomain, that is, I am trying to install on a server of a university so it is a subdomain: ing.universidad.edu.co; therefore the question is if I can specify gitlab to be a...
asked by 10.12.2016 / 03:55
1
answer

Return to previous commit on the same branch both local and on github

My question is this, I have the following commit: 4e3cb77 cambio local 7978945 despues de revertir el cambio de hensel 60e65f9 actualizacion 8397e64 Update prueba.txt c9bd0fb primer cambio online 39c7cc0 Base de la prueba, archivo inicial loca...
asked by 18.10.2018 / 04:08
2
answers

Git init inside a folder of a git repository by mistake

I have a git repository with different folders. By mistake I made a git init within one and continued working as if nothing happened, but saving the modifications in a subdirectory of the main program. Now I have two different git, each of them...
asked by 13.09.2018 / 11:08